/* ============================================
   Maison Mimo — Layout Moderno
   Luxo minimalista • 2025
   ============================================ */

:root {
    --black: #0c0c0c;
    --white: #fafafa;
    --gray-50: #f5f5f5;
    --gray-100: #e5e5e5;
    --gray-300: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.6;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
    padding-bottom: env(safe-area-inset-bottom);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

picture {
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

a:hover {
    opacity: 0.75;
}

/* ============================================
   Header
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0.9rem 2rem;
    padding-top: max(0.9rem, env(safe-area-inset-top));
    transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.header--dark {
    background: var(--black);
}

.header--dark .header-nav a,
.header--dark .header-instagram {
    color: var(--white);
}

.header--dark .header-toggle span {
    background: var(--white);
}

.header--dark.scrolled {
    box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}

.header-logo {
    display: flex;
}

.header-logo img {
    height: 48px;
    width: auto;
}

.header-inner {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.header-nav--right {
    margin-left: auto;
}

.header-nav a,
.header-instagram {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
}

.header-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.header-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--black);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 99;
    padding: 4rem;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: 0.05em;
}

/* ============================================
   Hero com Carrossel
   ============================================ */

.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero--dark {
    background: var(--black);
}

.hero--light {
    background: var(--white);
}

.hero-carousel {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.hero-slide--active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide-inner {
    text-align: center;
    padding: 2rem;
    max-width: 90%;
}

.hero-slide-inner--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.hero-slide-content {
    padding-right: 1rem;
}

.hero-logo img {
    max-width: min(280px, 50vw);
    width: 100%;
    height: auto;
    margin-bottom: 1.25rem;
}

.hero-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.hero-heading {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 500;
    line-height: 1.25;
    color: var(--black);
    margin-bottom: 0.75rem;
}

.hero-tagline {
    font-size: 0.95rem;
    max-width: 380px;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero--light .hero-tagline {
    color: var(--gray-600);
}

.hero-cta {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--black);
    padding: 0.9rem 1.75rem;
    transition: background 0.3s, transform 0.3s;
}

.hero-cta:hover {
    background: var(--gray-700);
    transform: translateY(-1px);
}

.hero-slide-visual {
    max-width: 240px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.hero-slide-visual--large {
    max-width: 340px;
    margin: 0;
}

.hero-slide-visual img {
    width: 100%;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.hero-circle-deco {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: var(--gray-100);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.hero-slide-visual--large .hero-circle-deco {
    width: 380px;
    height: 380px;
}

.hero--dark .hero-tagline {
    color: rgba(255, 255, 255, 0.9);
}

.hero--light .hero-tagline {
    color: var(--gray-700);
}

.hero-carousel-nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.hero-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s;
}

.hero--dark .hero-carousel-dot {
    background: rgba(255, 255, 255, 0.4);
}

.hero--dark .hero-carousel-dot:hover,
.hero--dark .hero-carousel-dot--active {
    background: rgba(255, 255, 255, 0.9);
}

.hero--light .hero-carousel-dot {
    background: rgba(0, 0, 0, 0.25);
}

.hero--light .hero-carousel-dot:hover,
.hero--light .hero-carousel-dot--active {
    background: var(--black);
}

.hero-carousel-prev,
.hero-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    z-index: 10;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.hero--dark .hero-carousel-prev,
.hero--dark .hero-carousel-next {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.hero-carousel-prev {
    left: 1rem;
}

.hero-carousel-next {
    right: 1rem;
}

.hero--dark .hero-carousel-prev:hover,
.hero--dark .hero-carousel-next:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero--light .hero-carousel-prev,
.hero--light .hero-carousel-next {
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: var(--black);
}

.hero--light .hero-carousel-prev:hover,
.hero--light .hero-carousel-next:hover {
    background: rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.25);
}

/* Hero prévia */
.hero-preview {
    background: var(--white);
    padding: 1.25rem 2rem;
    border-top: 1px solid var(--gray-100);
}

.hero-preview-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.hero-preview-text {
    font-size: 0.85rem;
    color: var(--gray-600);
    letter-spacing: 0.05em;
}

.hero-preview-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--black);
    letter-spacing: 0.03em;
}

.hero-preview-link:hover {
    color: var(--gray-600);
}

/* ============================================
   Banner
   ============================================ */

.banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.65rem 2rem;
    background: var(--black);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.banner-dot {
    opacity: 0.4;
    font-size: 0.5rem;
}

/* ============================================
   Coleção
   ============================================ */

.collection {
    padding: clamp(2.5rem, 6vw, 4rem) 2rem;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.section-desc {
    font-size: 1rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.section-count {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gray-500);
    background: transparent;
    border: 1px solid var(--gray-100);
    cursor: pointer;
    transition: all 0.25s var(--ease-out);
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--black);
    border-color: var(--black);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 3rem;
}

.product-card {
    cursor: pointer;
}

.product-link {
    color: inherit;
    display: block;
}

.product-link:hover {
    opacity: 1;
}

.product-soldout {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.product-image {
    position: relative;
    aspect-ratio: 3 / 4;
    background: #fafafa;
    border: 1px solid var(--gray-100);
    margin-bottom: 1.25rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image .product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.product-placeholder-box {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #fafafa;
}

.product-placeholder-icon {
    width: 40px;
    height: 40px;
    color: var(--gray-300);
}

.product-placeholder-text {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.product-placeholder-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--black);
}

.product-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-500);
    z-index: 1;
}

.product-price {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--black);
    margin-top: 0.25rem;
}

.collection-empty,
.collection-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--gray-500);
}

.collection-loading {
    font-style: italic;
}

.collection-empty code {
    background: var(--gray-100);
    padding: 0.2rem 0.5rem;
    font-size: 0.85em;
}

.product-info {
    text-align: left;
}

.product-brand {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-500);
    display: block;
    margin-bottom: 0.25rem;
}

.product-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--black);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.collection-cta {
    text-align: center;
}

.btn-outline {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--black);
    border: 1.5px solid var(--black);
    padding: 1rem 2.5rem;
    transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.btn-outline:hover {
    background: var(--black);
    color: var(--white);
    opacity: 1;
}

/* ============================================
   About
   ============================================ */

.about {
    padding: clamp(4rem, 10vw, 6rem) 2rem;
    background: var(--gray-50);
}

.about-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 5rem);
    align-items: center;
}

.about-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--black);
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 1rem;
    color: var(--gray-700);
    margin-bottom: 1rem;
    line-height: 1.75;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-visual img {
    max-width: 320px;
    width: 100%;
    opacity: 0.9;
}

/* ============================================
   Categories
   ============================================ */

.categories {
    padding: 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.category-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(2rem, 4vw, 3rem);
    min-height: 220px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.category-card:hover {
    background: var(--black);
    border-color: var(--black);
}

.category-card:hover .category-label,
.category-card:hover .category-arrow {
    color: var(--white);
}

.category-card--large {
    grid-row: span 2;
    min-height: 100%;
}

.category-label {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--black);
    transition: color 0.3s var(--ease-out);
}

.category-arrow {
    font-size: 1.5rem;
    color: var(--gray-500);
    transition: color 0.3s var(--ease-out);
}

/* ============================================
   Contact
   ============================================ */

.contact {
    padding: clamp(4rem, 10vw, 6rem) 2rem;
    text-align: center;
    background: var(--black);
}

.contact-inner {
    max-width: 500px;
    margin: 0 auto;
}

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 1.75rem);
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.contact-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.contact-handle {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.contact-handle:hover {
    opacity: 0.85;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    padding: 3rem 2rem;
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo img {
    height: 36px;
    width: auto;
    opacity: 0.9;
}

.footer-nav {
    display: flex;
    gap: 2rem;
}

.footer-nav a {
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.8);
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* ============================================
   Responsivo
   ============================================ */

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-visual {
        order: -1;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .category-card--large {
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.5rem 1rem;
        padding-top: max(0.5rem, env(safe-area-inset-top));
    }

    .header-logo img {
        height: 32px;
    }

    .header-toggle {
        display: flex;
        z-index: 101;
        padding: 6px;
    }

    .header-toggle span {
        width: 20px;
    }

    .header-nav {
        display: none;
    }

    .header-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .header-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .header-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero {
        min-height: 580px;
        padding: 5.5rem 1rem 3rem;
    }

    .hero-slide {
        align-items: center;
        overflow: visible;
    }

    .hero-slide-inner {
        padding: 1rem 0.75rem;
    }

    .hero-slide-inner--split {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.25rem;
    }

    .hero-slide-content {
        padding-right: 0;
        order: 1;
    }

    .hero-slide-visual--large {
        margin: 0 auto;
        order: 0;
        max-width: 200px;
        min-height: 0;
        flex-shrink: 0;
    }

    .hero-slide-visual--large img {
        max-height: none;
        height: auto;
        width: 100%;
        object-fit: contain;
    }

    .hero-slide-visual--large .hero-circle-deco {
        width: 220px;
        height: 220px;
    }

    .hero-heading {
        font-size: 1.5rem;
    }

    .hero-tagline {
        margin-left: auto;
        margin-right: auto;
        font-size: 0.9rem;
    }

    .hero-carousel-nav {
        bottom: 1rem;
        padding-bottom: env(safe-area-inset-bottom);
    }

    .hero-preview {
        padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
    }

    .hero-preview-inner {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .collection {
        padding: 2rem 1rem 4rem;
        padding-bottom: calc(4rem + env(safe-area-inset-bottom));
    }

    .container {
        padding: 0 0.5rem;
    }

    .hero-carousel-prev,
    .hero-carousel-next {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .hero-carousel-prev {
        left: 0.5rem;
    }

    .hero-carousel-next {
        right: 0.5rem;
    }

    .banner {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }

    .banner-dot {
        display: none;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .footer-nav {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================
   Página de Produto
   ============================================ */

.page-product .header--solid {
    background: var(--black);
}

.page-product .header--solid .header-nav a,
.page-product .header--solid .header-instagram {
    color: var(--white);
}

.page-product .header--solid .header-toggle span {
    background: var(--white);
}

.page-product .hero,
.page-product .banner,
.page-product .categories,
.page-product .contact,
.page-product .footer {
    display: none;
}

.product-page {
    min-height: 100vh;
    padding: 6rem 2rem 4rem;
}

.product-page-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.product-loading {
    text-align: center;
    padding: 4rem;
    color: var(--gray-500);
}

.product-error {
    text-align: center;
    padding: 4rem 2rem;
}

.product-error p {
    margin-bottom: 1.5rem;
    color: var(--gray-700);
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 5rem);
    align-items: start;
}

.product-detail-image {
    position: sticky;
    top: 6rem;
    aspect-ratio: 3 / 4;
    background: #fafafa;
    overflow: hidden;
    border: 1px solid var(--gray-100);
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-detail-image .product-placeholder-box {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.product-detail-info {
    padding-top: 0.5rem;
}

.product-detail-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.product-detail-name {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 500;
    line-height: 1.3;
    color: var(--black);
    margin-bottom: 1rem;
}

.product-detail-desc {
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.product-detail-desc p {
    margin: 0 0 1rem;
}

.product-detail-desc p:last-child {
    margin-bottom: 0;
}

.product-desc-heading {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
    margin: 1.5rem 0 0.75rem;
}

.product-detail-desc .product-desc-heading:first-child {
    margin-top: 0;
}

.product-desc-list {
    margin: 0.5rem 0 1rem;
    padding-left: 1.25rem;
}

.product-desc-list li {
    margin-bottom: 0.35rem;
}

.product-detail-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-detail-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--black);
}

.product-detail-stock {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.product-detail-stock.out {
    color: var(--gray-500);
    font-style: italic;
}

.product-detail-cta {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--black);
    padding: 1rem 2rem;
    transition: background 0.2s, opacity 0.2s;
    text-decoration: none;
}

.product-detail-cta:hover:not(.disabled) {
    background: var(--gray-700);
}

.product-detail-cta.disabled {
    background: var(--gray-300);
    cursor: default;
    pointer-events: none;
}

@media (max-width: 768px) {
    .product-page {
        padding: 5rem 1rem calc(4rem + env(safe-area-inset-bottom));
    }

    .product-detail {
        grid-template-columns: 1fr;
    }

    .product-detail-image {
        position: static;
    }

    .header-back {
        display: inline-block !important;
    }
}
