/* W Cellar Age Gate Styling */
.wcellar-age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wcellar-age-gate__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.wcellar-age-gate__content {
    position: relative;
    z-index: 2;
    background: #fff;
    width: 90%;
    max-width: 500px;
    padding: 60px 40px;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.wcellar-age-gate__logo {
    margin-bottom: 30px;
}

.wcellar-age-gate__logo img {
    max-height: 60px;
    width: auto;
}

.wcellar-age-gate__title {
    font-family: var(--font-serif, serif);
    font-size: 1.75rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 400;
}

.wcellar-age-gate__desc {
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
}

.wcellar-age-gate__buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wcellar-age-gate__btn {
    width: 100%;
    padding: 18px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.wcellar-age-gate__btn--yes {
    background: #1a1a1a;
    color: #fff;
}

.wcellar-age-gate__btn--yes:hover {
    background: var(--color-accent, #800020);
}

.wcellar-age-gate__btn--no {
    background: #f5f5f5;
    color: #999;
}

.wcellar-age-gate__btn--no:hover {
    background: #eee;
    color: #666;
}

.wcellar-age-gate__footer {
    margin-top: 30px;
    font-size: 11px;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========================================
   Welcome Popup
   ======================================== */
.wcellar-welcome {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wcellar-welcome__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.wcellar-welcome__content {
    position: relative;
    z-index: 2;
    background: #fff;
    width: 92%;
    max-width: 520px;
    padding: 48px 40px 40px;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    max-height: 90vh;
    overflow-y: auto;
}

.wcellar-welcome__close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color 0.2s;
}

.wcellar-welcome__close:hover {
    color: #1a1a1a;
}

.wcellar-welcome__logo {
    margin-bottom: 24px;
}

.wcellar-welcome__logo img {
    max-height: 48px;
    width: auto;
}

.wcellar-welcome__title {
    font-family: var(--font-serif, serif);
    font-size: 1.6rem;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 400;
    line-height: 1.4;
}

.wcellar-welcome__subtitle {
    font-size: 0.875rem;
    color: #888;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Features */
.wcellar-welcome__features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
    text-align: left;
}

.wcellar-welcome__feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.wcellar-welcome__feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f6f3;
    border-radius: 50%;
    color: #1a1a1a;
}

.wcellar-welcome__feature div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 2px;
}

.wcellar-welcome__feature strong {
    font-size: 0.875rem;
    color: #1a1a1a;
    font-weight: 600;
}

.wcellar-welcome__feature span {
    font-size: 0.8125rem;
    color: #888;
    line-height: 1.4;
}

/* Payment Structure: 0% → 70% → 30% */
.wcellar-welcome__payment {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 10px;
}
.wcellar-wp__step {
    text-align: center;
    flex: 1;
}
.wcellar-wp__step strong {
    display: block;
    font-size: 0.75rem;
    color: #1a1a1a;
    margin: 0 0 2px;
    letter-spacing: 0.03em;
}
.wcellar-wp__step span {
    font-size: 0.625rem;
    color: #aaa;
    letter-spacing: 0.02em;
}
.wcellar-wp__circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}
.wcellar-wp__circle span {
    font-size: 0.875rem;
    font-weight: 300;
    font-family: Georgia, serif;
    color: inherit;
}
.wcellar-wp__circle--zero {
    background: transparent;
    border: 1px solid #ccc;
    color: #bbb;
}
.wcellar-wp__circle--seventy {
    background: #1a1a1a;
    border: 1px solid #1a1a1a;
    color: #d4b87a;
}
.wcellar-wp__circle--thirty {
    background: #800020;
    border: 1px solid #800020;
    color: #fff;
}
.wcellar-wp__line {
    flex: 0 0 28px;
    height: 1px;
    background: #ddd;
    margin-top: 26px;
}
.wcellar-welcome__payment-note {
    text-align: center;
    font-size: 0.625rem;
    color: #800020;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin: 0 0 28px;
}

/* Tracking Journey */
.wcellar-welcome__tracking {
    background: #1a1a1a;
    border-radius: 6px;
    padding: 24px 28px 20px;
    margin-bottom: 28px;
}
.wcellar-welcome__tracking-label {
    font-size: 0.5625rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: #d4b87a;
    text-align: center;
    margin: 0 0 4px;
    text-transform: uppercase;
}
.wcellar-welcome__tracking-title {
    font-size: 0.875rem;
    font-weight: 300;
    color: #fff;
    text-align: center;
    margin: 0 0 20px;
    font-family: Georgia, serif;
    letter-spacing: 0.05em;
}
.wcellar-wt__journey {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-left: 6px;
}
.wcellar-wt__row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 7px 0;
    position: relative;
    font-size: 0.75rem;
    color: #555;
    letter-spacing: 0.03em;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}
.wcellar-wt__row::before {
    content: '';
    position: absolute;
    left: 3.5px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #2a2a2a;
}
.wcellar-wt__row:first-child::before { top: 50%; }
.wcellar-wt__row:last-child::before { bottom: 50%; }
.wcellar-wt__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2a2a2a;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}
.wcellar-wt__row--done .wcellar-wt__dot {
    background: #d4b87a;
}
.wcellar-wt__row--done {
    color: rgba(212, 184, 122, 0.85);
}
.wcellar-wt__row--done::before {
    background: rgba(212, 184, 122, 0.4);
}
.wcellar-wt__row--active .wcellar-wt__dot {
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.15);
}
.wcellar-wt__row--active {
    color: #fff;
    font-weight: 600;
}

/* Coupon */
.wcellar-welcome__coupon {
    background: #faf8f5;
    border: 1px dashed #d4c9b8;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 24px;
}

.wcellar-welcome__coupon-label {
    font-size: 0.8125rem;
    color: #888;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.wcellar-welcome__coupon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.wcellar-welcome__coupon-box span {
    font-family: var(--font-mono, 'SF Mono', 'Consolas', monospace);
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.15em;
}

.wcellar-welcome__coupon-copy {
    background: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 8px;
    cursor: pointer;
    color: #888;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

.wcellar-welcome__coupon-copy:hover {
    border-color: #1a1a1a;
    color: #1a1a1a;
}

.wcellar-welcome__coupon-note {
    font-size: 0.75rem;
    color: #aaa;
    margin-top: 8px;
}

/* CTA Button */
.wcellar-welcome__btn {
    width: 100%;
    padding: 16px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: #1a1a1a;
    color: #fff;
}

.wcellar-welcome__btn:hover {
    background: var(--color-accent, #800020);
}

/* Mobile */
@media (max-width: 600px) {
    .wcellar-age-gate__content {
        padding: 40px 25px;
    }
    .wcellar-age-gate__title {
        font-size: 1.5rem;
    }
    .wcellar-welcome__content {
        padding: 36px 24px 32px;
    }
    .wcellar-welcome__title {
        font-size: 1.35rem;
    }
    .wcellar-welcome__coupon-box span {
        font-size: 1.25rem;
    }
    .wcellar-wp__circle {
        width: 44px;
        height: 44px;
    }
    .wcellar-wp__circle span {
        font-size: 0.75rem;
    }
    .wcellar-wp__line {
        flex: 0 0 14px;
        margin-top: 22px;
    }
    .wcellar-wp__step strong {
        font-size: 0.6875rem;
    }
    .wcellar-wp__step span {
        font-size: 0.5625rem;
    }
    .wcellar-welcome__tracking {
        padding: 20px 18px 16px;
    }
    .wcellar-wt__row {
        font-size: 0.6875rem;
        padding: 6px 0;
    }
}
