:root {
    --studio-accent: #ff8a3d;
    --studio-bg: linear-gradient(180deg, #f8f9ff 0%, #fff5f8 50%, #f0f9ff 100%);
    --studio-surface: #fffdf9;
    --studio-ink: #111111;
    --studio-muted: #69635d;
    --studio-border: #151515;
    --studio-max: 1120px;
    --studio-radius: 24px;
    --studio-transition: all 0.2s ease;
}

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

body {
    font-family: "Nunito", sans-serif;
    background: var(--studio-bg);
    color: var(--studio-ink);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.top-bar {
    background: var(--studio-ink);
    color: #fff;
    text-align: center;
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
}

.site-header,
.page-main,
.site-footer {
    padding-inline: 0.6rem;
}

.site-header {
    background: white;
    border-bottom: 1px solid var(--studio-border);
}

.header-inner,
.hero-section,
.catalog-grid,
.product-detail,
.related-products-section,
.content-page,
.footer-inner {
    width: min(100%, var(--studio-max));
    margin: 0 auto;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    /* border-bottom: 1px solid var(--studio-border); */
}

.shop-logo {
    font-family: "Nunito", sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
}

.shop-logo img {
    max-height: 50px;
    display: block;
}

.primary-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.primary-nav a {
    padding: 0.7rem 0.95rem;
    border: 2px solid var(--studio-border);
    border-radius: 999px;
    background: var(--studio-surface);
    font-weight: 600;
    transition: var(--studio-transition);
}

.primary-nav a:hover {
    background: var(--studio-accent);
    border-color: var(--studio-accent);
}

.header-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    /* border: 2px solid var(--studio-border);
    border-radius: 50%; */
    background: var(--studio-surface);
    transition: var(--studio-transition);
    margin-left: 10px;
}

.social-icon svg {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.page-main {
    padding-top: 1.2rem;
    padding-bottom: 4rem;
    flex: 1;
}

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-section-compact {
    grid-template-columns: 1fr;
}

.hero-copy,
.hero-stats,
.product-card,
.product-detail-media,
.product-detail-content,
.content-panel,
.checkout-card,
.footer-main {
    background: var(--studio-surface);
    border: 2px solid var(--studio-border);
    border-radius: var(--studio-radius);
    box-shadow: 8px 8px 0 rgba(17, 17, 17, 0.08);
}

.hero-copy,
.content-panel,
.checkout-card,
.product-detail-content {
    padding: 1.6rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    overflow: hidden;
}

.hero-stats div {
    display: grid;
    place-items: center;
    padding: 1.2rem;
    text-align: center;
}

.hero-stats div + div {
    border-left: 2px solid var(--studio-border);
}

.hero-stats strong {
    font-family: "Nunito", sans-serif;
    font-size: clamp(2.5rem, 7vw, 4rem);
    line-height: 1;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 0.8rem;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--studio-accent);
    font-weight: 800;
}

h1,
h2,
h3,
.lead-price,
.product-price {
    font-family: "Nunito", sans-serif;
    line-height: 1;
}

.hero-copy h1,
.section-heading h1,
.product-detail-title {
    font-size: clamp(2rem, 2.2rem, 3rem);
    margin-bottom: 0.9rem;
}

.hero-copy p,
.content-panel p,
.product-variation-copy p {
    color: var(--studio-muted);
}

.hero-copy p,
.content-panel p,
.product-variation-copy li,
.product-variation-preview li {
    list-style: none !important;
}

.product-detail-preview {
    padding-top: 1rem;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.product-card {
    overflow: hidden;
    transition: var(--studio-transition);
}

.product-card:hover {
    transform: translateY(-3px);
}

.product-card-media {
    aspect-ratio: 4/5;
    overflow: hidden;
    border-bottom: 2px solid var(--studio-border);
}

.product-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-body {
    padding: 1rem;
    display: grid;
    gap: 0.85rem;
}

.product-card-top {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    align-items: flex-start;
}

.product-card-top h2 {
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.5rem;
}

.product-card-tag {
    flex-shrink: 0;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    background: #f1e4d7;
    font-size: 0.74rem;
    font-weight: 700;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
    flex-wrap: wrap;
    margin: auto;
}

.product-price,
.lead-price {
    font-size: 1.5rem;
    font-weight: bold;
}

.product-price-old {
    color: #968f89;
    text-decoration: line-through;
}

.product-cta,
.product-variation-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--studio-accent);
    background: var(--studio-accent);
    color: #fff;
    font-family: "Nunito", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--studio-transition);
}

.product-cta:hover,
.product-variation-button:hover {
    background: var(--studio-ink);
    border-color: var(--studio-ink);
    color: #fff;
}

.product-variation-button {
    font-size: 1.05rem;
    padding: 0.9rem 1.25rem;
}

.product-variation-form {
    margin-top: 1rem;
}

.email-capture-form .form-group {
    margin-bottom: 1.5rem;
}

.email-capture-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--studio-ink);
}

.email-capture-form input[type="email"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--studio-border);
    border-radius: 8px;
    font-family: "Nunito", sans-serif;
    font-size: 0.95rem;
    transition: var(--studio-transition);
}

.email-capture-form input[type="email"]:focus {
    outline: none;
    border-color: var(--studio-accent);
}

.empty-state {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--studio-muted);
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 0.5fr) minmax(320px, 0.5fr);
    gap: 1rem;
    align-items: start;
}

.product-detail-media {
    padding: 0.4rem;
    min-width: 0;
    position: sticky;
    top: 1.2rem;
}

.product-gallery {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.product-gallery .swiper-wrapper,
.product-gallery .swiper-slide,
.product-gallery-thumbs,
.product-gallery-thumbs .swiper-wrapper,
.product-gallery-thumbs .swiper-slide {
    min-width: 0;
}

.product-gallery .swiper-slide {
    width: 100%;
}

.product-detail-image {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 16px;
}

.product-gallery-thumbs {
    margin-top: 0.8rem;
}

.product-gallery-thumbs .swiper-slide {
    width: 76px;
    height: 76px;
    overflow: hidden;
    border-radius: 14px;
    border: 2px solid transparent;
    opacity: 0.55;
}

.product-gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--studio-accent);
}

.product-gallery-thumb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery .swiper-button-next,
.product-gallery .swiper-button-prev {
    color: var(--studio-ink);
}

.product-gallery .swiper-pagination-bullet-active {
    background: var(--studio-accent);
}

.product-detail-content {
    display: grid;
    gap: 1rem;
}

.purchase-points {
    list-style: none;
    display: grid;
    gap: 0.55rem;
    color: var(--studio-muted);
}

.purchase-points li {
    padding-left: 1.1rem;
    position: relative;
}

.purchase-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: var(--studio-accent);
}

.product-detail-variations {
    display: grid;
    gap: 0.85rem;
}

.product-variation-card {
    padding: 1rem;
    border: 2px solid var(--studio-border);
    border-radius: 20px;
    display: grid;
    gap: 0.9rem;
}

.product-detail-description,
.content-page {
    display: grid;
    gap: 0.8rem;
}

.section-heading {
    margin-bottom: 1rem;
}

.checkout-page {
    width: min(100%, 680px);
    margin: 0 auto;
    padding-top: 2rem;
}

.checkout-card {
    text-align: center;
    display: grid;
    gap: 1rem;
}

.checkout-loader {
    width: 56px;
    height: 56px;
    margin: 0 auto;
    border-radius: 50%;
    border: 4px solid rgba(17, 17, 17, 0.14);
    border-top-color: var(--studio-accent);
    animation: spin 1s linear infinite;
}

.site-footer {
    padding-bottom: 0.75rem;
    border-top: 1px solid var(--studio-border);
    background: white;
}

.footer-top {
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-logo {
    font-family: "Nunito", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    align-items: center;
    font-size: 0.85rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0 0;
    color: var(--studio-muted);
    font-size: 0.8rem;
    flex-wrap: wrap;
}

.footer-banners {
    display: flex;
    gap: 0.7rem;
}

.footer-banners img {
    height: 34px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 960px) {
    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .product-detail-content,
    .product-detail-media {
        position: static;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-nav {
        justify-content: flex-start;
        overflow-x: auto;
        width: 100%;
        padding-bottom: 0.15rem;
    }
}

/* FAQ Accordion Styles */
.accordion-item {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 0;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-button {
    background: transparent;
    color: var(--studio-ink);
    font-family: "Nunito", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1.2rem 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: var(--studio-transition);
}

.accordion-button:not(.collapsed) {
    background: transparent;
    color: var(--studio-accent);
    font-weight: 800;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
    outline: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff8a3d'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: var(--studio-transition);
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 0 0 1.5rem 0;
    color: var(--studio-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.accordion-body strong {
    color: var(--studio-ink);
    font-weight: 700;
}

/* Thank You page */
.ty-subtitle {
    color: var(--studio-muted);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.ty-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.ty-step {
    display: grid;
    gap: 0.6rem;
}

.ty-step-icon {
    font-size: 2rem;
    line-height: 1;
}

.ty-step h3 {
    font-size: 1.1rem;
    font-weight: 800;
}

.ty-step p {
    color: var(--studio-muted);
    font-size: 0.95rem;
}

.ty-step ul {
    padding-left: 1.1rem;
    display: grid;
    gap: 0.4rem;
    color: var(--studio-muted);
    font-size: 0.95rem;
}

.ty-help {
    font-size: 0.95rem;
    color: var(--studio-muted);
}

.ty-help a {
    color: var(--studio-accent);
    font-weight: 700;
}

.ty-social {
    text-align: center;
    display: grid;
    gap: 0.8rem;
}

.ty-social-title {
    font-size: 1.35rem;
    font-weight: 800;
    font-family: "Nunito", sans-serif;
}

.ty-social-cta {
    color: var(--studio-muted);
    font-size: 0.95rem;
}

.ty-social-buttons {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 0.4rem;
}

.ty-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.3rem;
    border: 2px solid var(--studio-border);
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--studio-transition);
    background: var(--studio-surface);
    font-family: "Nunito", sans-serif;
}

.ty-social-btn:hover {
    background: var(--studio-accent);
    border-color: var(--studio-accent);
    color: white;
}

@media (max-width: 680px) {
    .ty-steps {
        grid-template-columns: 1fr;
    }
}

/* Mobile sticky CTA bar — product pages */
.mobile-sticky-cta {
    display: none;
}

@media (max-width: 960px) {
    .mobile-sticky-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 100;
        background: var(--studio-surface);
        border-top: 2px solid var(--studio-border);
        padding: 0.75rem 1rem;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    }

    .mobile-sticky-cta-inner {
        display: flex;
        align-items: center;
        gap: 1rem;
        max-width: var(--studio-max);
        margin: 0 auto;
    }

    .mobile-sticky-cta-price {
        font-family: "Nunito", sans-serif;
        font-size: 1.2rem;
        font-weight: 800;
        white-space: nowrap;
    }

    .mobile-sticky-cta-form {
        flex: 1;
        margin: 0;
    }

    .mobile-sticky-cta-form .product-variation-button {
        margin: 0;
        width: 100%;
    }

    /* Add bottom padding to page so content isn't hidden behind sticky bar */
    .page-main {
        padding-bottom: 6rem;
    }
}

/* Trust badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: #f4f0ec;
    font-size: 0.85rem;
    font-weight: 600;
}

.trust-badge-icon {
    font-size: 1.1rem;
    line-height: 1;
}

/* Social proof banner */
.social-proof-banner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #fef3f0 0%, #f5f0ff 100%);
    font-size: 0.92rem;
    font-weight: 600;
}

.social-proof-icon {
    font-size: 1.3rem;
    line-height: 1;
}

/* Home hero */
.home-hero {
    width: min(100%, var(--studio-max));
    margin: 0 auto 1.5rem;
    background: var(--studio-surface);
    border: 2px solid var(--studio-border);
    border-radius: var(--studio-radius);
    box-shadow: 8px 8px 0 rgba(17, 17, 17, 0.08);
    padding: 2.5rem 2rem;
    text-align: center;
}

.home-hero-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 0.6rem;
}

.home-hero-content p {
    color: var(--studio-muted);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto;
}

/* Categories list */
.categories-list {
    width: min(100%, var(--studio-max));
    margin: 0 auto 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
    border: 2px solid var(--studio-border);
    border-radius: 999px;
    background: var(--studio-surface);
    font-family: "Nunito", sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    transition: var(--studio-transition);
    white-space: nowrap;
}

.category-pill:hover {
    background: var(--studio-accent);
    border-color: var(--studio-accent);
    color: #fff;
}

.category-pill--active {
    background: var(--studio-accent);
    border-color: var(--studio-accent);
    color: #fff;
}

@media (max-width: 520px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }

    .categories-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 0.3rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .categories-list::-webkit-scrollbar {
        display: none;
    }
}
