/**
 * Gozzip - Store Landing Page Styles
 */

.store-page {
    min-height: 100vh;
    background: var(--bg);
    color: var(--cream);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Back button */
.back-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(var(--navy-rgb), 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--gold-rgb), 0.3);
    border-radius: 30px;
    color: var(--cream);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
    transform: translateX(-4px);
}

/* ============================================
   HERO
   ============================================ */

.store-hero {
    position: relative;
    min-height: 75vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 30px 80px;
    overflow: hidden;
}

.store-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(var(--navy-rgb), 0.75) 0%,
        rgba(var(--navy-rgb), 0.9) 60%,
        rgba(var(--bg-rgb), 1) 100%
    );
    z-index: 1;
}

.store-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 0.9s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.store-hero-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    width: 100%;
}

.hero-badge-pill {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(var(--gold-rgb), 0.15);
    color: var(--gold);
    border: 1px solid rgba(var(--gold-rgb), 0.3);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.hero-status.open {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.hero-status.closed {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.store-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    color: var(--cream);
    line-height: 1.1;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    width: 100%;
}

.store-hero-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 30px;
    width: 100%;
}

.store-hero-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 35px;
    color: rgba(var(--cream-rgb), 0.8);
    font-size: 0.95rem;
    width: 100%;
}

.store-hero-info span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.store-hero-info i {
    color: var(--gold);
}

/* ============================================
   HERO CTA — INDEPENDENT FULL-WIDTH
   ============================================ */

.store-hero-cta {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 0;
    margin-bottom: 0;
    padding: 0 20px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    left: 0;
    right: 0;
    transform: none;
    float: none;
}

.store-hero-cta > a,
.store-hero-cta .cta-primary,
.store-hero-cta .cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
    text-align: center;
    white-space: nowrap;
    min-width: 200px;
    max-width: 280px;
    flex: 0 1 auto;
    transform: none;
    float: none;
    position: relative;
    left: auto;
    right: auto;
}

.cta-primary {
    background: var(--gold);
    color: var(--navy);
    border: 1px solid var(--gold);
}

.cta-primary:hover {
    background: #e8c988;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(var(--gold-rgb), 0.3);
}

.cta-secondary {
    background: rgba(var(--cream-rgb), 0.08);
    color: var(--cream);
    border: 1px solid rgba(var(--cream-rgb), 0.2);
}

.cta-secondary:hover {
    background: rgba(var(--cream-rgb), 0.15);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
}

/* Content wrapper */
.store-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px 60px;
}

/* Sections */
.store-section {
    padding: 70px 0;
    position: relative;
}

.store-section-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.section-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 600;
    color: var(--cream);
    text-align: center;
    margin-bottom: 15px;
}

.divider {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto 40px;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}

.divider::before { left: -15px; }
.divider::after { right: -15px; }

.section-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(var(--cream-rgb), 0.8);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-card {
    background: linear-gradient(
        145deg,
        rgba(var(--charcoal-rgb), 0.6) 0%,
        rgba(var(--navy-rgb), 0.8) 100%
    );
    border: 1px solid rgba(var(--gold-rgb), 0.2);
    border-radius: 14px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(var(--gold-rgb), 0.1);
    border: 1px solid rgba(var(--gold-rgb), 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--gold);
    font-size: 1.5rem;
    transition: all 0.35s ease;
}

.feature-card:hover .feature-icon {
    background: var(--gold);
    color: var(--navy);
    transform: rotate(-8deg) scale(1.1);
}

.feature-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--cream);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.gallery-item {
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    border: 1px solid rgba(var(--gold-rgb), 0.2);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.gallery-item:hover {
    transform: scale(1.03);
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.gallery-item::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--navy-rgb), 0.6);
    color: var(--cream);
    font-size: 1.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Contact & Hours */
.contact-hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.info-block {
    background: rgba(var(--charcoal-rgb), 0.4);
    border: 1px solid rgba(var(--gold-rgb), 0.2);
    border-radius: 14px;
    padding: 28px 24px;
    transition: all 0.3s ease;
}

.info-block:hover {
    border-color: var(--gold);
    background: rgba(var(--charcoal-rgb), 0.6);
}

.info-block h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-block h3 i {
    font-size: 1rem;
}

.info-block p {
    color: rgba(var(--cream-rgb), 0.8);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.inline-link,
.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 6px 0;
    transition: all 0.25s ease;
    font-weight: 500;
}

.contact-link {
    display: flex;
    margin-bottom: 6px;
}

.inline-link:hover,
.contact-link:hover {
    color: var(--cream);
    transform: translateX(4px);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(var(--gold-rgb), 0.1);
    font-size: 0.9rem;
    color: rgba(var(--cream-rgb), 0.8);
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 10px;
}

.hours-status.open {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.hours-status.closed {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

/* Other stores */
.other-stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.other-store-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    background: linear-gradient(
        145deg,
        rgba(var(--charcoal-rgb), 0.6) 0%,
        rgba(var(--navy-rgb), 0.8) 100%
    );
    border: 1px solid rgba(var(--gold-rgb), 0.2);
    border-radius: 14px;
    text-decoration: none;
    color: var(--cream);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.other-store-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.other-store-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.other-store-card:hover::before {
    opacity: 1;
}

.other-store-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(var(--gold-rgb), 0.12);
    border: 1px solid rgba(var(--gold-rgb), 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.other-store-card:hover .other-store-icon {
    background: var(--gold);
    color: var(--navy);
}

.other-store-info {
    flex: 1;
    min-width: 0;
}

.other-store-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 4px;
}

.other-store-info p {
    font-size: 0.82rem;
    color: rgba(var(--cream-rgb), 0.6);
    margin-bottom: 6px;
    line-height: 1.4;
}

.other-store-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 500;
}

.other-store-status.open { color: #2ecc71; }
.other-store-status.closed { color: #e74c3c; }

.other-store-arrow {
    color: rgba(var(--cream-rgb), 0.4);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.other-store-card:hover .other-store-arrow {
    color: var(--gold);
    transform: translateX(5px);
}

/* Footer */
.store-footer {
    text-align: center;
    padding: 50px 30px 30px;
    border-top: 1px solid rgba(var(--gold-rgb), 0.2);
    margin-top: 40px;
}

.store-footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 15px;
    opacity: 0.85;
}

.store-footer p {
    color: rgba(var(--cream-rgb), 0.6);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.store-footer-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.store-footer-socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(var(--gold-rgb), 0.08);
    border: 1px solid rgba(var(--gold-rgb), 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.store-footer-socials a:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-4px);
}

.store-footer-note {
    font-size: 0.8rem;
    color: rgba(var(--cream-rgb), 0.5);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.store-footer-note i {
    color: var(--gold);
}

/* ============================================
   GALLERY LIGHTBOX
   ============================================ */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(5, 10, 20, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 60px 20px;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    animation: lightboxZoomIn 0.35s ease forwards;
}

@keyframes lightboxZoomIn {
    to { transform: scale(1); }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(var(--gold-rgb), 0.15);
    border: 1px solid rgba(var(--gold-rgb), 0.3);
    color: var(--cream);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.lightbox-close:hover {
    background: rgba(231, 76, 60, 0.3);
    border-color: #e74c3c;
    color: #fff;
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(var(--gold-rgb), 0.15);
    border: 1px solid rgba(var(--gold-rgb), 0.3);
    color: var(--cream);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.lightbox-nav:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-counter {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 18px;
    background: rgba(var(--gold-rgb), 0.15);
    border: 1px solid rgba(var(--gold-rgb), 0.3);
    border-radius: 20px;
    color: var(--cream);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE — TABLET & MOBILE
   ============================================ */

@media (max-width: 768px) {
    .store-hero {
        min-height: 65vh;
        padding: 90px 20px 60px;
    }
    
    .store-hero-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .store-hero-badge {
        width: 100% !important;
        justify-content: center !important;
    }
    
    .store-hero-info {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    /* Independent full-width CTA container */
    .store-hero-cta {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding: 0 20px !important;
        box-sizing: border-box !important;
        gap: 12px !important;
        text-align: center !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        float: none !important;
    }
    
    /* Buttons at 75% width */
    .store-hero-cta > a,
    .store-hero-cta .cta-primary,
    .store-hero-cta .cta-secondary {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        width: 75% !important;
        max-width: 75% !important;
        min-width: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 15px 25px !important;
        text-align: center !important;
        transform: none !important;
        float: none !important;
        position: relative !important;
        left: auto !important;
        right: auto !important;
        flex: 0 0 auto !important;
    }
    
    .store-content-wrapper {
        padding: 0 20px 40px;
    }
    
    .store-section {
        padding: 50px 0;
    }
    
    .back-btn {
        top: 15px;
        left: 15px;
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    .feature-card {
        padding: 25px 15px;
    }
    
    .info-block {
        padding: 22px 18px;
    }
    
    .other-store-card {
        padding: 18px 18px;
    }
    
    .lightbox {
        padding: 50px 10px;
    }
    
    .lightbox-close,
    .lightbox-nav {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    
    .lightbox-close { top: 12px; right: 12px; }
    
    .lightbox-counter {
        font-size: 0.75rem;
        padding: 6px 14px;
    }
}

@media (max-width: 480px) {
    .store-hero {
        min-height: 60vh;
        padding: 85px 15px 55px;
    }
    
    .store-hero-title {
        font-size: 2rem;
    }
    
    .store-hero-tagline {
        font-size: 1.15rem;
    }
    
    .store-hero-cta {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        padding: 0 15px !important;
    }
    
    /* Buttons at 75% width on small mobile too */
    .store-hero-cta > a,
    .store-hero-cta .cta-primary,
    .store-hero-cta .cta-secondary {
        width: 75% !important;
        max-width: 75% !important;
        padding: 14px 20px !important;
        font-size: 0.95rem !important;
    }
    
    .section-heading {
        font-size: 1.6rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .other-store-icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    
    .other-store-info h3 {
        font-size: 1.05rem;
    }
}