@import url('https://fonts.googleapis.com/css2?family=Philosopher:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
    --wg-ink: #20201e;
    --wg-muted: #76736e;
    --wg-line: #e6e2dc;
    --wg-paper: #fffefa;
    --wg-gold: #b8813e;
    --wg-gold-light: #faf5ee;
    --wg-primary: #dd3333;
    --wg-primary-dark: #b82222;
    --wg-navy: #050a30;
    --wg-dot-size: 44px;
    --wg-radius-card: 22px;
    --wg-shadow-card: 0 16px 40px rgba(117, 81, 38, 0.07);
}

.wg-finder {
    width: 100%;
    background: var(--wg-paper);
    color: var(--wg-ink);
    font-family: "Philosopher", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.6;
    isolation: isolate;
    text-align: left;
    position: relative;
    box-sizing: border-box;
}

.wg-finder * {
    box-sizing: border-box;
}

.wg-finder [hidden] {
    display: none !important;
}

.wg-finder button,
.wg-finder a {
    -webkit-tap-highlight-color: transparent;
    font-family: inherit;
}

.wg-finder button {
    letter-spacing: inherit;
    text-transform: none;
    cursor: pointer;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    min-height: 0;
    line-height: 1.5;
    background: none;
}

.wg-finder button:focus-visible,
.wg-finder a:focus-visible {
    outline: 2px solid var(--wg-gold);
    outline-offset: 3px;
}

.wg-finder h2,
.wg-finder h3,
.wg-finder p {
    margin: 0;
    color: inherit;
}

.wg-finder .wg-title:focus {
    outline: none;
}

/* ==========================================================================
   Catalogue 2-Column Core Layout
   ========================================================================== */
.wg-finder.wg-finder--catalogue {
    display: grid;
    grid-template-columns: minmax(560px, 420px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(24px, 1.3vw, 44px);
    margin: 0 auto;
    padding: clamp(24px, 3.5vw, 64px) clamp(24px, 3vw, 64px);
    min-height: 100vh;
    min-height: 100dvh;
    background: #faf6ef url("../images/bg_form.png") center top / cover no-repeat fixed;
}

.wg-finder--catalogue .wg-panel,
.wg-finder--catalogue .wg-catalogue {
    position: relative;
    display: block;
    min-width: 0;
    padding: clamp(24px, 2.5vw, 36px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: var(--wg-radius-card);
    background: rgba(255, 253, 248, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--wg-shadow-card);
    scroll-margin-top: 24px;
}

/* Desktop sticky questionnaire panel */
@media (min-width: 1025px) {
    .wg-finder--catalogue {
        --wg-filter-top: 24px;
    }

    .admin-bar .wg-finder--catalogue {
        --wg-filter-top: 56px;
    }

    .wg-finder--catalogue .wg-panel {
        position: sticky;
        top: var(--wg-filter-top);
        align-self: start;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: rgba(184, 129, 62, 0.3) transparent;
    }

    .wg-finder--catalogue .wg-panel::-webkit-scrollbar {
        width: 5px;
    }

    .wg-finder--catalogue .wg-panel::-webkit-scrollbar-thumb {
        background: rgba(184, 129, 62, 0.3);
        border-radius: 4px;
    }
}

.wg-finder--catalogue .wg-content {
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   Stepper Navigation
   ========================================================================== */
.wg-progress {
    margin-bottom: clamp(20px, 3vh, 36px);
    width: 100%;
}

.wg-progress-steps {
    --wg-dot-size: 44px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

.wg-finder .wg-dot {
    position: relative;
    flex: 1;
    min-width: 0;
    padding: 0 2px;
    background: none;
    color: #6c6460;
    text-align: center;
    transition: opacity 0.2s;
}

.wg-dot:not(:last-child)::after {
    content: "";
    position: absolute;
    top: calc(var(--wg-dot-size) / 2 - 1px);
    left: calc(50% + (var(--wg-dot-size) / 2));
    width: calc(100% - var(--wg-dot-size));
    height: 2px;
    background: #e5d9c8;
    z-index: 0;
    transition: background 0.3s ease;
}

.wg-dot.is-complete::after {
    background: var(--wg-gold);
}

.wg-step-number {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: var(--wg-dot-size);
    height: var(--wg-dot-size);
    margin: 0 auto 8px;
    border: 1px solid #dfd1bf;
    border-radius: 50%;
    background: #faf7f1;
    color: #79522d;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.wg-step-name {
    display: block;
    font-size: 12.5px;
    line-height: 1.35;
    color: #6c6460;
    overflow-wrap: break-word;
    word-break: break-word;
    transition: color 0.2s;
}

.wg-dot[aria-current=step] .wg-step-number,
.wg-dot.is-complete .wg-step-number {
    background: var(--wg-navy);
    color: white;
    border-color: var(--wg-navy);
    box-shadow: 0 4px 12px rgba(5, 10, 48, 0.2);
}

.wg-dot[aria-current=step] .wg-step-name {
    color: #24201c;
    font-weight: 700;
}

.wg-dot:disabled {
    cursor: default;
}

.wg-dot:not(:disabled):hover .wg-step-number {
    border-color: var(--wg-gold);
    color: var(--wg-gold);
}

/* Mobile step tracker (displayed instead of squished individual labels on mobile) */
.wg-step-tracker {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--wg-gold);
    letter-spacing: 0.05em;
}

.wg-step-tracker-count {
    color: var(--wg-navy);
}

.wg-step-tracker-sep {
    opacity: 0.5;
}

.wg-step-tracker-name {
    color: #513618;
}

/* ==========================================================================
   Question Header & Options
   ========================================================================== */
.wg-question-header {
    margin-bottom: clamp(18px, 2.5vh, 26px);
    text-align: left;
}

.wg-question-header .wg-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--wg-gold);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.wg-question-header .wg-eyebrow::before {
    content: "";
    width: 24px;
    height: 1px;
    background: var(--wg-gold);
    flex-shrink: 0;
}

.wg-finder .wg-title {
    font-weight: 600;
    font-size: clamp(20px, 3vw, 30px);
    line-height: 1.25;
    letter-spacing: -0.025em;
    text-transform: none;
    color: var(--wg-ink);
}

.wg-finder .wg-question-hint {
    margin-top: 8px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--wg-muted);
}

.wg-options {
    display: flex;
    flex-direction: column;
    gap: clamp(9px, 1.4vh, 12px);
}

.wg-finder .wg-choice {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.5vw, 14px);
    width: 100%;
    min-height: clamp(62px, 8vh, 76px);
    padding: clamp(10px, 1.4vw, 14px) clamp(12px, 1.6vw, 16px);
    border: 1px solid #ebdcc8;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    color: #24201c;
    text-align: left;
    box-shadow: 0 4px 14px rgba(117, 81, 38, 0.04);
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    user-select: none;
}

.wg-finder .wg-choice:hover {
    background: #fff8ee;
    border-color: #b7803b;
    box-shadow: 0 6px 20px rgba(117, 81, 38, 0.1);
}

.wg-finder .wg-choice:active {
    transform: scale(0.985);
    background: #fdf2e2;
}

.wg-finder .wg-choice[aria-pressed=true] {
    background: #fff6e8;
    border-color: #b7803b;
    box-shadow: 0 6px 22px rgba(183, 128, 59, 0.16);
}

.wg-choice-icon {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    height: 42px;
    border-radius: 50%;
    background: #f8f3eb;
    color: #8e571d;
    transition: background 0.2s, color 0.2s;
}

.wg-choice-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wg-choice[aria-pressed=true] .wg-choice-icon {
    background: #f3dfc0;
    color: #6d400e;
}

.wg-choice-copy {
    flex: 1;
    min-width: 0;
}

.wg-choice-label {
    display: block;
    font-size: clamp(14.5px, 1.4vw, 16px);
    font-weight: 500;
    line-height: 1.35;
    overflow-wrap: break-word;
    color: #24201c;
}

.wg-choice-description {
    display: block;
    margin-top: 3px;
    color: #78716b;
    font-size: 12.5px;
    line-height: 1.4;
    font-weight: 400;
}

.wg-choice-arrow {
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    height: 32px;
    border-radius: 50%;
    background: #f8f3eb;
    color: #89571f;
    font-size: 15px;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.wg-choice:hover .wg-choice-arrow {
    transform: translateX(2px);
}

.wg-choice[aria-pressed=true] .wg-choice-arrow {
    background: var(--wg-primary);
    color: white;
}

.wg-choice-number {
    display: none;
}

/* ==========================================================================
   Question Footer & Continue Button
   ========================================================================== */
.wg-question-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: clamp(20px, 3vh, 32px);
}

.wg-footer-note {
    flex: 1;
    min-width: 160px;
    border-top: 1px solid #dfd1bf;
    padding-top: 12px;
    text-align: left;
}

.wg-finder .wg-previous {
    display: inline-block;
    background: none;
    color: #895b2a;
    font-size: 13.5px;
    font-weight: 600;
    padding: 0 0 6px;
    cursor: pointer;
    transition: color 0.2s;
}

.wg-finder .wg-previous:hover {
    color: #5d3b17;
    text-decoration: underline;
}

.wg-finder .wg-footnote {
    padding: 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: #716a62;
}

.wg-finder .wg-continue {
    flex-shrink: 0;
    min-height: 48px;
    padding: 12px 28px;
    border-radius: 40px;
    background: linear-gradient(110deg, #dd3333, #c92828);
    color: white;
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 24px rgba(221, 51, 51, 0.26);
    transition: transform 0.18s, filter 0.18s, box-shadow 0.18s;
}

.wg-finder .wg-continue:hover:not(:disabled) {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(221, 51, 51, 0.32);
}

.wg-finder .wg-continue:active:not(:disabled) {
    transform: scale(0.98);
    filter: brightness(0.96);
}

.wg-finder .wg-continue:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    filter: none;
    box-shadow: none;
}

/* ==========================================================================
   Product Catalogue & Recommendations Section
   ========================================================================== */
.wg-catalogue-content {
    min-height: 400px;
}

.wg-finder--catalogue .wg-eyebrow {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--wg-gold);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.wg-finder--catalogue .wg-result-caption {
    font-size: 14px;
    color: var(--wg-muted);
    margin: 8px 0 20px;
    line-height: 1.6;
}

.wg-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.wg-finder .wg-chip {
    font-size: 14px;
    font-weight: 500;
    padding: 7px 14px;
    background: #f2eee8;
    color: #1f1d1a;
    border: 1px solid #e2dad0;
    border-radius: 20px;
    line-height: 1.4;
    transition: background 0.2s, border-color 0.2s;
    cursor: pointer;
}

.wg-chip:hover {
    background: #e9e2d8;
    border-color: var(--wg-gold);
}

/* Products Grid */
.wg-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

@media (min-width: 1025px) and (max-width: 1260px) {

    /* Two product columns when right side width is tight on standard laptops */
    .wg-finder--catalogue .wg-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 16px;
    }
}

.wg-finder .wg-product {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    background: transparent;
    color: var(--wg-ink);
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    align-self: start;
    transition: transform 0.25s ease;
}

.wg-finder .wg-product:active {
    transform: scale(0.975);
}

.wg-product-image {
    background: white;
    border: 1px solid var(--wg-line);
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    padding: 0px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    transition: border-color 0.25s, box-shadow 0.25s;
}

.wg-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.wg-product:hover .wg-product-image {
    border-color: #d6c6b2;
    box-shadow: 0 8px 24px rgba(117, 81, 38, 0.08);
}

.wg-product:hover img {
    transform: scale(1.04);
}

.wg-finder .wg-product-name {
    font-size: 16px;
    font-weight: 600;
    margin: 12px 0 6px;
    line-height: 1.35;
    color: #000;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wg-products .wg-price {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--wg-primary);
}

.wg-price .amount {
    color: inherit;
    font-size: inherit;
}

.wg-price del {
    color: #928b82;
    font-size: 12px;
    font-weight: 400;
    margin-right: 6px;
}

.wg-price ins {
    background: none;
    text-decoration: none;
}

.wg-finder .wg-primary {
    align-self: center;
    background: var(--wg-ink);
    color: white;
    border-radius: 30px;
    padding: 12px 24px;
    margin: 20px 0 0;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
}

.wg-finder .wg-primary:hover:not(:disabled) {
    background: #3f3c37;
}

.wg-finder .wg-restart {
    align-self: center;
    margin-top: 20px;
    margin-left: 12px;
    min-height: 44px;
    padding: 12px 24px;
    border-radius: 30px;
    background: linear-gradient(110deg, #dd3333, #c92828);
    color: white;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(221, 51, 51, 0.22);
}

.wg-finder .wg-restart:hover {
    filter: brightness(1.08);
}

.wg-finder--catalogue .wg-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.wg-finder--catalogue .wg-pagination .wg-primary {
    margin: 0;
    padding: 10px 18px;
    font-size: 13.5px;
    border-radius: 24px;
}

.wg-finder--catalogue .wg-pagination button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.wg-loading {
    padding: 60px 0;
    text-align: center;
    margin: auto 0;
}

.wg-spinner {
    display: block;
    width: 38px;
    height: 38px;
    border: 2px solid #dfd6c9;
    border-top-color: var(--wg-gold);
    border-radius: 50%;
    margin: 0 auto 24px;
    animation: wg-spin 0.9s linear infinite;
}

.wg-catalogue-empty {
    padding: 36px 0;
    color: var(--wg-muted);
    font-size: 15px;
    text-align: center;
}

.wg-enter {
    animation: wg-enter 0.35s ease both;
}

/* ==========================================================================
   Product Detail Modal (Fixed Full-Viewport Overlay)
   ========================================================================== */
.wg-detail-overlay,
.wg-detail-overlay * {
    box-sizing: border-box;
}

.wg-detail-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(18, 16, 14, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(12px, 3vw, 32px);
    animation: wg-fade-in 0.22s ease both;
}

.wg-detail-overlay.is-closing {
    animation: wg-fade-out 0.2s ease forwards;
}

.wg-detail {
    background: var(--wg-paper);
    border-radius: 22px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
    width: 100%;
    max-width: 820px;
    max-height: 88vh;
    max-height: 88dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    text-align: left;
    animation: wg-zoom-in 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.wg-detail-overlay.is-closing .wg-detail {
    animation: wg-zoom-out 0.2s ease forwards;
}

.wg-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--wg-line);
    background: #fffdf9;
    position: sticky;
    top: 0;
    z-index: 2;
    flex-shrink: 0;
}

.wg-detail-header .wg-step-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--wg-ink);
}

.wg-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    min-height: 40px;
    border-radius: 8px;
    background: #f2eee6;
    color: var(--wg-ink);
    font-size: 13.5px;
    font-weight: 600;
    transition: background 0.2s;
    margin: 0;
}

.wg-detail-back:hover {
    background: #e8e2d6;
}

.wg-detail-close {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f2eee6;
    color: var(--wg-ink);
    font-size: 16px;
    transition: background 0.2s;
    margin: 0;
    justify-content: center;
}

.wg-detail-media {
    display: none;
}

.wg-detail-close:hover {
    background: #e8e2d6;
}

.wg-detail-body {
    overflow-x: hidden;
    overflow-y: auto;
    min-width: 0;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    min-height: 0;
    padding: clamp(20px, 3vw, 32px);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.wg-detail-image-wrap {
    background: white;
    border: 1px solid var(--wg-line);
    border-radius: 16px;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 16px;
}

.wg-detail-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wg-detail-info {
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: normal;
    display: flex;
    flex-direction: column;
}

.wg-detail-title {
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 8px;
}

.wg-detail-price {
    font-size: clamp(18px, 2vw, 22px);
    color: var(--wg-primary);
    font-weight: 700;
    margin-bottom: 18px;
}

.wg-detail-subtitle {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--wg-ink);
}

.wg-detail-description {
    font-size: 14px;
    line-height: 1.7;
    color: #000;
}

.wg-detail-description p+p {
    margin-top: 10px;
}

.wg-detail-description * {
    max-width: 100%;
    min-width: 0;
}

.wg-detail-description pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.wg-detail-description table {
    width: 100%;
    table-layout: fixed;
}

.wg-detail-description img,
.wg-detail-description video {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.wg-detail-description iframe {
    max-width: 100%;
}


.wg-detail-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 28px;
    border-top: 1px solid var(--wg-line);
    background: #fffdf9;
    flex-shrink: 0;
}

.wg-detail-footer-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--wg-primary);
}

.wg-detail-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 26px;
    border-radius: 30px;
    background: linear-gradient(110deg, #dd3333, #c92828);
    color: white;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(221, 51, 51, 0.25);
    transition: transform 0.2s, filter 0.2s;
}

.wg-detail-link:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.wg-detail-link:active {
    transform: scale(0.98);
}

/* ==========================================================================
   Responsive Breakpoints: Tablet (769px - 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    .wg-finder.wg-finder--catalogue {
        grid-template-columns: 1fr;
        max-width: 760px;
        padding: clamp(20px, 3.5vw, 36px) clamp(16px, 3vw, 28px);
        gap: 28px;
    }

    .wg-finder--catalogue .wg-panel,
    .wg-finder--catalogue .wg-catalogue {
        position: static;
        max-height: none;
        width: 100%;
        padding: clamp(22px, 3vw, 32px);
        border-radius: 20px;
    }

    .wg-progress-steps {
        --wg-dot-size: 38px;
    }

    .wg-step-number {
        font-size: 15px;
    }

    .wg-step-name {
        font-size: 12px;
    }

    .wg-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px 14px;
    }
}

@media (max-width: 860px) and (min-width: 641px) {
    .wg-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 14px;
    }
}

/* ==========================================================================
   Responsive Breakpoints: Mobile (<= 640px)
   ========================================================================== */
@media (max-width: 640px) {
    .wg-finder.wg-finder--catalogue {
        padding: 16px 12px;
        gap: 20px;
        background-attachment: scroll;
    }

    .wg-finder--catalogue .wg-panel,
    .wg-finder--catalogue .wg-catalogue {
        padding: 18px 14px;
        border-radius: 18px;
    }

    /* Stepper Mobile: Hide squished multi-line text, show luxury active badge */
    .wg-progress {
        margin-bottom: 22px;
    }

    .wg-progress-steps {
        --wg-dot-size: 34px;
    }

    .wg-step-name {
        display: none !important;
    }

    .wg-step-number {
        font-size: 13.5px;
        margin-bottom: 0;
    }

    .wg-step-tracker {
        display: flex;
    }

    /* Questions & Options Mobile */
    .wg-question-header {
        margin-bottom: 18px;
    }

    .wg-finder .wg-title {
        font-size: clamp(22px, 5.5vw, 28px);
    }

    .wg-finder .wg-choice {
        min-height: 56px;
        padding: 10px 12px;
        gap: 10px;
        border-radius: 12px;
    }

    .wg-choice-icon {
        flex: 0 0 36px;
        height: 36px;
    }

    .wg-choice-icon svg {
        width: 19px;
        height: 19px;
    }

    .wg-choice-label {
        font-size: 14.5px;
    }

    .wg-choice-description {
        font-size: 12px;
    }

    .wg-choice-arrow {
        flex: 0 0 28px;
        height: 28px;
        font-size: 13px;
    }

    /* Footer Button Mobile */
    .wg-question-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-top: 20px;
    }

    .wg-footer-note {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 10px;
    }

    .wg-finder .wg-continue {
        width: 100%;
        min-height: 48px;
        font-size: 15px;
    }

    /* Products Grid Mobile: 2 Columns */
    .wg-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 10px;
    }

    .wg-finder .wg-product-name {
        font-size: 13px;
        margin: 8px 0 4px;
    }

    .wg-price {
        font-size: 13.5px;
    }

    .wg-finder--catalogue .wg-pagination {
        gap: 8px;
    }

    .wg-finder--catalogue .wg-pagination .wg-primary {
        padding: 9px 14px;
        font-size: 13px;
    }

    /* Product Detail Modal Mobile: Full-Screen Overlay */
    .wg-detail-overlay {
        padding: 0;
    }

    .wg-detail {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100dvh;
        border-radius: 0;
        border: 0;
    }

    .wg-detail-header {
        padding: max(12px, env(safe-area-inset-top)) 14px 12px;
    }

    .wg-detail-body {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        padding: 16px 14px calc(24px + env(safe-area-inset-bottom));
    }

    .wg-detail-image-wrap {
        max-height: 240px;
        aspect-ratio: auto;
        padding: 12px;
    }

    .wg-detail-image {
        max-height: 216px;
    }

    .wg-detail-title {
        font-size: 20px;
    }

    .wg-detail-price {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .wg-detail-footer {
        padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
        box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.06);
    }

    .wg-detail-footer-price {
        font-size: 16px;
    }

    .wg-detail-link {
        flex: 1;
        text-align: center;
        padding: 12px 18px;
        max-width: fit-content;
    }
}

/* ==========================================================================
   Small Mobile Devices (<= 380px)
   ========================================================================== */
@media (max-width: 380px) {
    .wg-finder.wg-finder--catalogue {
        padding: 10px 8px;
        gap: 14px;
    }

    .wg-finder--catalogue .wg-panel,
    .wg-finder--catalogue .wg-catalogue {
        padding: 14px 10px;
        border-radius: 14px;
    }

    .wg-progress-steps {
        --wg-dot-size: 30px;
    }

    .wg-step-number {
        font-size: 12px;
    }

    .wg-step-tracker {
        font-size: 12.5px;
    }

    .wg-finder .wg-choice {
        padding: 8px 10px;
        gap: 8px;
    }

    .wg-choice-icon {
        flex: 0 0 32px;
        height: 32px;
    }

    .wg-choice-icon svg {
        width: 17px;
        height: 17px;
    }

    .wg-products {
        gap: 12px 8px;
    }

    .wg-product-image {
        padding: 0px;
        border-radius: 10px;
    }
}

/* ==========================================================================
   Animations & Motion
   ========================================================================== */
@keyframes wg-enter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wg-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes wg-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes wg-fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes wg-zoom-in {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes wg-zoom-out {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    to {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .wg-finder * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
.wg-product-badge { display: inline-block; margin: 12px 0 0; padding: 5px 9px; border-radius: 4px; background: #f3eee5; color: #665139; font-size: 12px; line-height: 1.4; }
