/*
Theme Name: Sophia K Cruz Storefront Child
Template: storefront
Version: 1.0.0
*/

/* Mobile-first approach for WooCommerce block layout fixes */
/* Base styles - no margins/padding for list elements in WooCommerce blocks */
.wp-block-woocommerce-product-collection ul,
.wp-block-woocommerce ul,
.wp-block-product-collection-is-layout-flow ul,
.wp-block-query-is-layout-flow ul {
    margin-left: 0;
    padding-left: 0;
    list-style: none;
}

.wp-block-woocommerce-product-collection .wc-block-grid__products,
.wp-block-woocommerce .wc-block-grid__products,
.wp-block-product-collection-is-layout-flow .wc-block-grid__products {
    margin-left: 0;
    padding-left: 0;
}

.wp-block-woocommerce-product-collection .wc-block-grid__product,
.wp-block-woocommerce .wc-block-grid__product,
.wp-block-product-collection-is-layout-flow .wc-block-grid__product {
    margin-left: 0;
    padding-left: 0;
}

/* Higher specificity for entry content first child */
.entry-content > .wp-block-product-collection-is-layout-flow:first-child ul,
.entry-content > .wp-block-product-collection-is-layout-flow:first-child .wc-block-grid__products,
.entry-content > .wp-block-product-collection-is-layout-flow:first-child .wc-block-grid__product {
    margin-left: 0;
    padding-left: 0;
}

/* Block container fixes with higher specificity */
.entry-content .wp-block-woocommerce-product-collection,
.entry-content .wp-block-woocommerce,
.entry-content .wp-block-product-collection-is-layout-flow {
    margin-left: 0;
    padding-left: 0;
}

/* Even higher specificity for nested containers */
.entry-content .wp-block-woocommerce-product-collection .wp-block-woocommerce-product-collection,
.entry-content .wp-block-woocommerce .wp-block-woocommerce,
.entry-content .wp-block-product-collection-is-layout-flow .wp-block-product-collection-is-layout-flow {
    margin-left: 0;
    padding-left: 0;
}

/* Mobile-specific overrides for smaller screens */
@media (max-width: 480px) {
    .entry-content .wp-block-woocommerce-product-collection,
    .entry-content .wp-block-woocommerce,
    .entry-content .wp-block-product-collection-is-layout-flow {
        margin-left: 0;
        padding-left: 0;
    }
    
    .entry-content > .wp-block-product-collection-is-layout-flow:first-child {
        margin-left: 0;
        padding-left: 0;
    }
}

/* Product image styling with proper specificity */
.entry-content .wc-block-product-template img,
.entry-content .wc-block-product img,
.entry-content .wp-block-woocommerce-product-template img,
.entry-content .wp-block-product-template img,
.entry-content .woocommerce img,
.entry-content .wc-block-product-template__responsive img {
    border-radius: 5px;
}

.entry-content .wc-block-product .wc-block-product__image img,
.entry-content .wc-block-product .wc-block-product__image-link img,
.entry-content .wc-block-product-template .wc-block-product__image img {
    border-radius: 5px;
}

.entry-content .wp-block-woocommerce-product-collection .wc-block-grid__product img,
.entry-content .wp-block-woocommerce .wc-block-grid__product img {
    border-radius: 5px;
}

/*
 * Block product grids: more space between rows only (card layout unchanged).
 * WC default gap is 1.25em; row-gap adds room below the lowest button before the next row of images.
 */
.entry-content .wc-block-product-template.is-flex-container {
    row-gap: 3rem;
    column-gap: 1.25em;
}

.entry-content .wc-block-product-template.wc-block-product-template__responsive {
    row-gap: 3rem;
    column-gap: 1.25em;
}

/* Homepage / block product grids: square crop (matches prod 600×600 thumbnails) */
.entry-content .wc-block-product .wc-block-product__image img,
.entry-content .wc-block-product .wc-block-product__image-link img,
.entry-content .wc-block-product-template .wc-block-product__image img,
.entry-content .wc-block-product-template img,
.entry-content .wp-block-woocommerce-product-template img,
.entry-content .wp-block-woocommerce-product-collection .wc-block-grid__product img,
.entry-content .wp-block-woocommerce .wc-block-grid__product img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center center;
}

/* Catalog loop: square crop via CSS; HTML width/height set in PHP to match thumbnail size */
body.woocommerce #content .site-main ul.products li.product a.woocommerce-loop-product__link img.attachment-woocommerce_thumbnail,
body.post-type-archive-product #content .site-main ul.products li.product a.woocommerce-loop-product__link img.attachment-woocommerce_thumbnail {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center center;
    border-radius: 5px;
}

/* Catalog video preview: same square crop as static thumbnails (SKC-38) */
body.woocommerce #content .site-main ul.products li.product .sophiakcruz-catalog-video-preview__player,
body.post-type-archive-product #content .site-main ul.products li.product .sophiakcruz-catalog-video-preview__player,
body.single-product section.related.products ul.products li.product .sophiakcruz-catalog-video-preview__player {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center center;
}

/* Fix: Override WooCommerce's overly broad h2 styling that affects homepage headings */
/* Higher specificity (0,3,1) vs WooCommerce's (0,2,1) */
body .entry-content h2.wp-block-heading {
    font-size: var(--wp--preset--font-size--x-large, 42px);
    line-height: 1.2;
}

/* Keep WooCommerce's small heading size ONLY for headings specifically within product collections */
/* Even higher specificity (0,4,1) for product collection headings */
body .entry-content .wp-block-woocommerce-product-collection h2.wp-block-heading {
    font-size: var(--wp--preset--font-size--small, 14px);
    line-height: 20px;
}

/* ===== Mobile: reduce Storefront's large header margin on home/shop ===== */
/* Parent (0,3,0): .home.blog .site-header, etc. — we override with body prefix (higher specificity) and child theme loads after parent */
@media (max-width: 1024px) {
    body.home.blog .site-header,
    body.home.page:not(.page-template-template-homepage) .site-header,
    body.home.post-type-archive-product .site-header,
    body.storefront-child-shop-full-width .site-header {
        margin-bottom: 0;
    }
}

/* ===== Shop page: no sidebar on desktop, 4 cols desktop, 2 cols mobile ===== */
body.storefront-child-shop-full-width .widget-area {
    display: none;
}

/* Shop & category: hide "Shop" / category name + sorting row visually; leave in DOM for SEO */
body.storefront-child-shop-full-width .woocommerce-products-header,
body.storefront-child-shop-full-width .storefront-sorting {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Shop & category: minimal space under breadcrumb; pull products up */
body.storefront-child-shop-full-width .woocommerce-breadcrumb {
    margin-bottom: 0.05em !important;
    padding-bottom: 0 !important;
}
body.storefront-child-shop-full-width .site-main,
body.storefront-child-shop-full-width .content-area,
body.storefront-child-shop-full-width #primary {
    padding-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
body.storefront-child-shop-full-width .woocommerce {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
body.storefront-child-shop-full-width ul.products {
    margin-top: -0.75em !important;
    padding-top: 0 !important;
}
body.storefront-child-shop-full-width .skc-catalog-section--products ~ ul.products {
    margin-top: 0.35rem !important;
}
@media (max-width: 767px) {
    body.storefront-child-shop-full-width .woocommerce-breadcrumb {
        margin-bottom: 0.05em !important;
    }
    body.storefront-child-shop-full-width ul.products {
        margin-top: -0.5em !important;
    }
    body.storefront-child-shop-full-width .skc-catalog-section--products ~ ul.products {
        margin-top: 0.25rem !important;
    }
}

/* Hide pagination (replaced by infinite scroll) */
body.storefront-child-shop-full-width .woocommerce-pagination {
    display: none !important;
}

/* Shop & category: left-align product names and price like homepage */
body.storefront-child-shop-full-width ul.products li.product {
    text-align: left;
}
body.storefront-child-shop-full-width ul.products li.product .woocommerce-loop-product__title,
body.storefront-child-shop-full-width ul.products li.product .woocommerce-loop-category__title,
body.storefront-child-shop-full-width ul.products li.product h2,
body.storefront-child-shop-full-width ul.products li.product .price {
    text-align: left;
}

/* All product loops (shop, category, related, etc.): left-align names like homepage */
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-category__title,
ul.products li.product h2.woocommerce-loop-product__title,
ul.products li.product .price {
    text-align: left !important;
}

/*
 * Product loop star ratings: Storefront centers them with margin: 0 auto.
 * Keep them left-aligned with title/price on shop, category, related, etc.
 */
ul.products li.product .star-rating,
ul.products .wc-block-grid__product .star-rating,
.wc-block-grid__products li.product .star-rating,
.wc-block-grid__products .wc-block-grid__product .star-rating,
body.storefront-child-shop-full-width ul.products li.product .star-rating {
    margin-left: 0 !important;
    margin-right: auto !important;
    float: none;
    text-align: left;
}
ul.products li.product .wc-block-components-product-rating,
ul.products li.product .wc-block-components-product-rating-stars,
.wc-block-grid__product .wc-block-components-product-rating,
.wc-block-grid__product .wc-block-components-product-rating-stars {
    text-align: left !important;
    justify-content: flex-start;
    margin-left: 0;
    margin-right: auto;
}
body.storefront-child-shop-full-width ul.products li.product .button {
    margin-left: 0;
    margin-right: auto;
}
body.storefront-child-shop-full-width .content-area {
    width: 100%;
    float: none;
    margin-right: 0;
    margin-left: 0;
}

/* Desktop: 4 equal columns via CSS Grid (no float/first/last, no weird gaps) */
@media (min-width: 768px) {
    /* Remove left indent so first product is flush left */
    body.woocommerce.storefront-child-shop-full-width #primary.content-area,
    body.storefront-child-shop-full-width #primary.content-area,
    body.woocommerce.storefront-child-shop-full-width .content-area .site-main,
    body.storefront-child-shop-full-width .content-area .site-main {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }
    body.woocommerce .content-area .site-main ul.products,
    body.woocommerce.storefront-child-shop-full-width .content-area .site-main ul.products,
    body.storefront-child-shop-full-width .site-main ul.products {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        row-gap: 3rem;
        column-gap: 1.25em;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    body.woocommerce .content-area .site-main ul.products li.product,
    body.storefront-child-shop-full-width .site-main ul.products li.product {
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        clear: none !important;
        box-sizing: border-box;
    }
}

/* Mobile: 2 columns instead of 1 */
@media (max-width: 767px) {
    body.storefront-child-shop-full-width .site-main ul.products li.product {
        width: 48% !important;
        margin-right: 4% !important;
        float: left;
        clear: none;
    }
    body.storefront-child-shop-full-width .site-main ul.products li.product:nth-child(2n) {
        margin-right: 0 !important;
    }
    /* Only the very first product clears (not .first on each AJAX batch) */
    body.storefront-child-shop-full-width .site-main ul.products li.product:first-child {
        clear: both;
    }
}

/* Disable parent theme clearfix (::before/::after) on product list – creates a gap; grid doesn't need it */
body.storefront-child-shop-full-width ul.products::before,
body.storefront-child-shop-full-width ul.products::after,
body.woocommerce .content-area .site-main ul.products::before,
body.woocommerce .content-area .site-main ul.products::after {
    content: none !important;
    display: none !important;
    clear: none !important;
}

/* Shop & category: add-to-cart buttons – match homepage block button (#220440, radius 5px) */
body.storefront-child-shop-full-width ul.products li.product .button,
body.storefront-child-shop-full-width ul.products li.product a.button.add_to_cart_button,
body.storefront-child-shop-full-width ul.products li.product .added_to_cart {
    background-color: #220440 !important;
    border-color: #220440 !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    padding: 0.6180469716em 1.41575em;
    text-decoration: none;
    border-radius: 5px;
    border: 0;
    box-shadow: none;
    text-align: center;
    line-height: 1.618;
    width: 75%;
    max-width: 100%;
    box-sizing: border-box;
}
body.storefront-child-shop-full-width ul.products li.product .button:hover,
body.storefront-child-shop-full-width ul.products li.product a.button.add_to_cart_button:hover,
body.storefront-child-shop-full-width ul.products li.product .added_to_cart:hover {
    background-color: #1a0330 !important;
    border-color: #1a0330 !important;
    color: #fff !important;
}

/* ===== PDP catalog look and feel (SKC-73) — typography & buttons (all breakpoints) ===== */
body.storefront-child-pdp .woocommerce-breadcrumb {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #666;
}

body.storefront-child-pdp .woocommerce-breadcrumb a {
    color: #220440;
    text-decoration: none;
}

body.storefront-child-pdp .woocommerce-breadcrumb a:hover,
body.storefront-child-pdp .woocommerce-breadcrumb a:focus {
    text-decoration: underline;
}

body.storefront-child-pdp div.product .woocommerce-product-gallery__image img,
body.storefront-child-pdp div.product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img {
    border-radius: 5px;
}

/* PDP buy column: one consistent vertical rhythm */
body.storefront-child-pdp .skc-pdp-hero__buy.entry-summary,
body.storefront-child-pdp div.product .summary.entry-summary {
    --skc-pdp-gap: 0.65rem;
    --skc-pdp-gap-tight: 0.3rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--skc-pdp-gap);
}

body.storefront-child-pdp .skc-pdp-hero__buy.entry-summary > *,
body.storefront-child-pdp div.product .summary.entry-summary > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body.storefront-child-pdp div.product .product_title,
body.storefront-child-pdp div.product h1.product_title {
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.35;
    color: #220440;
    text-align: left;
    margin: 0;
    letter-spacing: 0.01em;
}

/* SKC-98: title → trust tags → Estimated Ship date (plain bold meta) */
body.storefront-child-pdp div.product .skc-pdp-policy {
    display: flex;
    flex-direction: column;
    gap: var(--skc-pdp-gap-tight);
    margin: 0;
    padding: 0;
    border: 0;
}

body.storefront-child-pdp div.product .skc-pdp-policy__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.8125rem;
    line-height: 1.4;
}

body.storefront-child-pdp div.product .skc-pdp-policy__tag {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

body.storefront-child-pdp div.product .skc-pdp-policy__tag:not(:last-child)::after {
    content: "·";
    margin: 0 0.55rem;
    color: #220440;
    font-weight: 600;
}

body.storefront-child-pdp div.product .skc-pdp-policy__tag-link,
body.storefront-child-pdp div.product .skc-pdp-policy__tag-label {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0;
    border: 0;
    background: none;
    color: #220440;
    font-size: inherit;
    font-weight: 600;
    line-height: inherit;
    letter-spacing: 0.01em;
    text-decoration: none;
}

body.storefront-child-pdp div.product .skc-pdp-policy__tag-link:hover,
body.storefront-child-pdp div.product .skc-pdp-policy__tag-link:focus {
    background: none;
    border: 0;
    color: #1a0330;
    text-decoration: underline;
}

body.storefront-child-pdp div.product .skc-pdp-policy__tag-label--gift {
    position: relative;
    cursor: help;
}

body.storefront-child-pdp div.product .skc-pdp-policy__info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.95em;
    height: 0.95em;
    border: 1px solid #220440;
    border-radius: 50%;
    font-size: 0.65em;
    font-weight: 700;
    line-height: 1;
    color: #220440;
}

body.storefront-child-pdp div.product .skc-pdp-policy__tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.4rem);
    transform: translateX(-50%);
    z-index: 5;
    width: max-content;
    max-width: 13rem;
    padding: 0.35rem 0.5rem;
    border-radius: 3px;
    background: #220440;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0;
    text-align: center;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, visibility 0.15s ease;
}

body.storefront-child-pdp div.product .skc-pdp-policy__tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -4px;
    border: 4px solid transparent;
    border-top-color: #220440;
}

/* Desktop: hover tooltip */
@media (hover: hover) and (pointer: fine) {
    body.storefront-child-pdp div.product .skc-pdp-policy__tag-label--gift:hover .skc-pdp-policy__tooltip,
    body.storefront-child-pdp div.product .skc-pdp-policy__tag-label--gift:focus .skc-pdp-policy__tooltip,
    body.storefront-child-pdp div.product .skc-pdp-policy__tag-label--gift:focus-within .skc-pdp-policy__tooltip {
        opacity: 1;
        visibility: visible;
    }
}

/* Mobile / touch: same tooltip, opened via tap (.is-tooltip-open) */
@media (max-width: 767px), (hover: none) and (pointer: coarse) {
    body.storefront-child-pdp div.product .skc-pdp-policy__tag-label--gift {
        cursor: pointer;
    }

    body.storefront-child-pdp div.product .skc-pdp-policy__tag-label--gift.is-tooltip-open .skc-pdp-policy__tooltip {
        opacity: 1;
        visibility: visible;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.storefront-child-pdp div.product .skc-pdp-policy__tooltip {
        transition: none;
    }
}

body.storefront-child-pdp div.product .skc-pdp-policy__ship {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.4rem;
    margin: 0;
    padding: 0;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: #220440;
}

body.storefront-child-pdp div.product .skc-pdp-policy__ship-label {
    font-weight: 600;
}

body.storefront-child-pdp div.product .skc-pdp-policy__ship-label::after {
    content: ":";
}

body.storefront-child-pdp div.product .skc-pdp-policy__ship-value {
    color: #220440;
    font-weight: 600;
}

body.storefront-child-pdp div.product .skc-pdp-policy__ship-note {
    color: #666;
    font-size: 0.75rem;
    font-weight: 400;
}

body.storefront-child-pdp div.product p.price,
body.storefront-child-pdp div.product span.price {
    color: #220440;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    margin: 0;
}

body.storefront-child-pdp div.product p.price del {
    color: #888;
    font-weight: 400;
    opacity: 1;
}

body.storefront-child-pdp div.product p.price ins {
    text-decoration: none;
    font-weight: 600;
}

/* Match About page body copy (.skc-about__card-text / lead) */
body.storefront-child-pdp div.product .woocommerce-product-details__short-description {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #5c5c5c;
    text-align: left;
    margin: 0;
    padding-bottom: 0.15rem;
}

body.storefront-child-pdp div.product .woocommerce-product-details__short-description p {
    margin: 0 0 0.65rem;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

body.storefront-child-pdp div.product .woocommerce-product-details__short-description p:last-child {
    margin-bottom: 0;
}

/* Clean break between short description and payment CTAs */
body.storefront-child-pdp div.product .woocommerce-product-details__short-description + #payment-method-message,
body.storefront-child-pdp div.product .woocommerce-product-details__short-description + .wcpay-express-checkout-wrapper,
body.storefront-child-pdp div.product .woocommerce-product-details__short-description + form.cart {
    border-top: 1px solid #e6deee;
    padding-top: 1.15rem;
}

body.storefront-child-pdp div.product .stock {
    font-size: 0.875rem;
    margin: 0;
    text-align: left;
}

body.storefront-child-pdp div.product .stock.in-stock {
    color: #2e7d32;
}

body.storefront-child-pdp div.product .stock.out-of-stock {
    color: #d7263d;
    font-weight: 600;
}

body.storefront-child-pdp div.product .woocommerce-product-rating {
    margin: 0;
    font-size: 0.8125rem;
}

body.storefront-child-pdp div.product .woocommerce-product-rating .star-rating {
    font-size: 0.8125rem;
}

body.storefront-child-pdp div.product .woocommerce-product-rating a {
    font-weight: 500;
    color: #666;
}

/* Price + stock on one row */
body.storefront-child-pdp div.product .skc-pdp-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.85rem;
    margin: 0;
}

body.storefront-child-pdp div.product .skc-pdp-price-row p.price {
    margin: 0;
}

body.storefront-child-pdp div.product .skc-pdp-price-row__stock .stock {
    margin: 0;
    font-size: 0.875rem;
}

/* Handcrafted: tiny eyebrow above the product title (not a chip) */
body.storefront-child-pdp div.product .storefront-child-handcrafted-label--single,
.single-product .skc-pdp-hero__buy .storefront-child-handcrafted-label--single,
.single-product .entry-summary .storefront-child-handcrafted-label--single,
.single-product .summary .storefront-child-handcrafted-label--single {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: #888;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-transform: uppercase;
    text-decoration: none;
}

body.storefront-child-pdp div.product a.storefront-child-handcrafted-label--single:hover,
body.storefront-child-pdp div.product a.storefront-child-handcrafted-label--single:focus,
.single-product .skc-pdp-hero__buy a.storefront-child-handcrafted-label--single:hover,
.single-product .skc-pdp-hero__buy a.storefront-child-handcrafted-label--single:focus,
.single-product .entry-summary a.storefront-child-handcrafted-label--single:hover,
.single-product .entry-summary a.storefront-child-handcrafted-label--single:focus {
    color: #220440;
    background: none;
    text-decoration: underline;
}

/* Collapse empty payment / captcha slots that plugins leave in the buy column */
body.storefront-child-pdp div.product #payment-method-message:empty,
body.storefront-child-pdp div.product #ppcp-recaptcha-v2-container:empty,
body.storefront-child-pdp div.product .wcpay-express-checkout-wrapper:empty {
    display: none !important;
}

body.storefront-child-pdp div.product #payment-method-message,
body.storefront-child-pdp div.product .wc-payment-gateway-bnpl-message,
body.storefront-child-pdp div.product [id*="payment-method-message"],
body.storefront-child-pdp div.product .stripe-payment-method-messaging-element,
body.storefront-child-pdp div.product .wcpay-bnpl-message,
body.storefront-child-pdp div.product .ppcp-messages {
    margin: 0;
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12px;
    line-height: 1.45;
    color: #6d6d6d;
    letter-spacing: normal;
}

/* Full-width Add to cart (match PayPal / mobile) */
body.storefront-child-pdp div.product form.cart {
    margin: 0;
    padding: 0;
    width: 100%;
}

body.storefront-child-pdp div.product form.cart .quantity:has(input[type="hidden"]) {
    display: none;
}

body.storefront-child-pdp div.product form.cart .quantity {
    margin: 0 0 var(--skc-pdp-gap);
}

body.storefront-child-pdp div.product form.cart .single_add_to_cart_button,
body.storefront-child-pdp div.product form.cart button.button.alt,
body.storefront-child-pdp div.product form.cart .button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    height: 48px;
    box-sizing: border-box;
    background-color: #220440 !important;
    border-color: #220440 !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    padding: 0 1.41575em;
    border-radius: 5px;
    border: 0;
    box-shadow: none;
    text-align: center;
    line-height: 1.2;
}

body.storefront-child-pdp div.product form.cart .single_add_to_cart_button:hover,
body.storefront-child-pdp div.product form.cart button.button.alt:hover,
body.storefront-child-pdp div.product form.cart .button:hover {
    background-color: #1a0330 !important;
    border-color: #1a0330 !important;
    color: #fff !important;
}

/* Match wallet / PayPal button height */
body.storefront-child-pdp div.product .wcpay-express-checkout-wrapper {
    margin: 0;
    min-height: 48px;
}

body.storefront-child-pdp div.product .wcpay-express-checkout-wrapper .StripeElement,
body.storefront-child-pdp div.product .wcpay-express-checkout-wrapper iframe {
    min-height: 48px !important;
}

body.storefront-child-pdp div.product .ppc-button-wrapper,
body.storefront-child-pdp div.product .ppc-button-wrapper .paypal-buttons,
body.storefront-child-pdp div.product .ppc-button-wrapper iframe {
    min-height: 48px;
}

body.storefront-child-pdp div.product .skc-pdp-pay-or {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    color: #888;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

body.storefront-child-pdp div.product .skc-pdp-pay-or::before,
body.storefront-child-pdp div.product .skc-pdp-pay-or::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: #e6deee;
}

body.storefront-child-pdp div.product .ppc-button-wrapper,
body.storefront-child-pdp div.product .ppcp-messages {
    margin: 0;
}

/* PayPal injects margin-top on the button stack — kills even OR spacing */
body.storefront-child-pdp div.product .ppc-button-wrapper > div,
body.storefront-child-pdp div.product .ppc-button-wrapper .paypal-buttons {
    margin-top: 0 !important;
}

body.storefront-child-pdp div.product #ppcp-recaptcha-v2-container {
    margin: 0 !important;
}

body.storefront-child-pdp div.product .product_meta {
    font-size: 0.8125rem;
    color: #666;
    text-align: left;
    margin: 0;
    padding-top: var(--skc-pdp-gap, 0.65rem);
    border-top: 1px solid #e6deee;
}

body.storefront-child-pdp div.product .product_meta a {
    color: #220440;
    text-decoration: none;
}

body.storefront-child-pdp div.product .product_meta a:hover,
body.storefront-child-pdp div.product .product_meta a:focus {
    text-decoration: underline;
}

body.storefront-child-pdp div.product .wcppec-checkout-buttons,
body.storefront-child-pdp div.product #ppc-button-ppcp-gateway,
body.storefront-child-pdp div.product .paypal-buttons,
body.storefront-child-pdp div.product #wc-stripe-payment-request-wrapper {
    margin-top: 0.75rem;
}

body.storefront-child-pdp .woocommerce-tabs .woocommerce-Tabs-panel {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #333;
    text-align: left;
}

body.storefront-child-pdp .woocommerce-tabs .woocommerce-Tabs-panel h2 {
    color: #220440;
    font-size: 1.125rem;
    font-weight: 600;
}

/* PDP: mobile stack hero; desktop gallery | buy box; full-width below tabs */
body.storefront-child-pdp div.product {
    margin-top: 0.35rem;
}

body.storefront-child-pdp .skc-pdp-hero {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

body.storefront-child-pdp .skc-pdp-hero__media,
body.storefront-child-pdp .skc-pdp-hero__buy {
    width: 100%;
    min-width: 0;
}

body.storefront-child-pdp .skc-pdp-hero__media .woocommerce-product-gallery,
body.storefront-child-pdp .skc-pdp-hero__buy.entry-summary {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

body.storefront-child-pdp .storefront-product-pagination {
    display: none !important;
}

body.storefront-child-pdp .skc-pdp-catalog {
    display: flex;
    flex-direction: column;
    margin-top: 2.5rem;
}

body.storefront-child-pdp .skc-pdp-catalog__related-wrap {
    order: 1;
}

body.storefront-child-pdp .skc-pdp-catalog__categories-wrap {
    order: 2;
    margin-top: 1.75rem;
}

body.storefront-child-pdp .skc-pdp-catalog__categories-wrap .skc-catalog-section--categories {
    margin-top: 0;
}

body.storefront-child-pdp .skc-pdp-catalog .skc-pdp-catalog__related ul.products {
    margin-top: 0.85rem !important;
}

body.storefront-child-pdp .skc-pdp-catalog .skc-catalog-section__heading--products {
    margin: 0 0 0.65rem;
    padding: 0;
    border-bottom: none;
}

@media (min-width: 768px) {
    body.storefront-child-pdp .skc-pdp-catalog__categories-wrap {
        order: 1;
        margin-top: 0;
    }

    body.storefront-child-pdp .skc-pdp-catalog__related-wrap {
        order: 2;
        margin-top: 1.75rem;
    }
}

/* Mobile: full-width add to cart */
@media (max-width: 767px) {
    body.storefront-child-pdp div.product form.cart .single_add_to_cart_button,
    body.storefront-child-pdp div.product form.cart button.button.alt,
    body.storefront-child-pdp div.product form.cart .button {
        width: 100%;
    }
}

@media (min-width: 768px) {
    body.storefront-child-pdp .skc-pdp-hero {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 1.75rem 2rem;
        align-items: start;
    }

    body.storefront-child-pdp .skc-pdp-hero__buy {
        align-self: start;
    }

    body.storefront-child-pdp div.product .product_title,
    body.storefront-child-pdp div.product h1.product_title {
        font-size: 1.5rem;
    }
}

body.single-product section.related.products {
    margin-top: 2.5rem;
}

body.single-product section.related.products > h2 {
    margin: 0 0 0.85rem;
    color: #220440;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    letter-spacing: 0.01em;
}

body.single-product section.related.products ul.products li.product {
    text-align: left;
}

body.single-product section.related.products ul.products li.product a.woocommerce-loop-product__link img.attachment-woocommerce_thumbnail {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center center;
    border-radius: 5px;
}

body.single-product section.related.products ul.products li.product .button,
body.single-product section.related.products ul.products li.product a.button.add_to_cart_button,
body.single-product section.related.products ul.products li.product .added_to_cart {
    background-color: #220440 !important;
    border-color: #220440 !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    padding: 0.6180469716em 1.41575em;
    text-decoration: none;
    border-radius: 5px;
    border: 0;
    box-shadow: none;
    text-align: center;
    line-height: 1.618;
    width: 75%;
    max-width: 100%;
    box-sizing: border-box;
}

body.single-product section.related.products ul.products li.product .button:hover,
body.single-product section.related.products ul.products li.product a.button.add_to_cart_button:hover,
body.single-product section.related.products ul.products li.product .added_to_cart:hover {
    background-color: #1a0330 !important;
    border-color: #1a0330 !important;
    color: #fff !important;
}

@media (min-width: 768px) {
    body.single-product section.related.products ul.products {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        row-gap: 3rem;
        column-gap: 1.25em;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.single-product section.related.products ul.products li.product {
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        clear: none !important;
        box-sizing: border-box;
    }
}

@media (max-width: 767px) {
    body.single-product section.related.products ul.products li.product {
        width: 48% !important;
        margin-right: 4% !important;
        float: left;
    }

    body.single-product section.related.products ul.products li.product:nth-child(2n) {
        margin-right: 0 !important;
    }

    body.single-product section.related.products ul.products li.product:nth-child(2n+1) {
        clear: left;
    }
}

body.single-product section.related.products ul.products::before,
body.single-product section.related.products ul.products::after {
    content: none !important;
    display: none !important;
    clear: none !important;
}

/* Out-of-stock label inline after price, e.g. "$150 – Out of stock" */
ul.products li.product .storefront-child-out-of-stock-label {
    color: #d7263d;
    font-weight: 600;
    white-space: nowrap;
}

/* Handcrafted category label (SKC-41) */
.storefront-child-handcrafted-label {
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: lowercase;
    line-height: 1.35;
}

/* Shop loop: grey strip over the bottom-left of the product image */
ul.products li.product .storefront-child-product-image-wrap {
    position: relative;
    display: block;
    line-height: 0;
}

ul.products li.product .storefront-child-handcrafted-label--loop-image {
    position: absolute;
    left: 0;
    bottom: 0;
    margin: 0;
    background: rgba(72, 72, 72, 0.85);
    padding: 0.4em 0.65em;
    border-radius: 0 4px 0 5px;
    z-index: 2;
    pointer-events: none;
}

/* PDP gallery thumbnails: horizontal scroll rail (matches SKC-63 category menu) */
body.single-product div.product .woocommerce-product-gallery.images,
body.single-product div.product .woocommerce-product-gallery {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
}

body.single-product div.product .woocommerce-product-gallery ol.flex-control-thumbs,
body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start;
    justify-content: flex-start !important;
    gap: 0.75rem;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 0;
    padding: 0.15rem 0 0.35rem !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-inline-start: 0 !important;
    margin: 0.75rem 0 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    scrollbar-width: none;
    float: none !important;
    width: 100%;
    max-width: 100%;
    zoom: 1;
    list-style: none;
    text-align: left !important;
}

body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs::before,
body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs::after,
body.single-product div.product .woocommerce-product-gallery ol.flex-control-thumbs::before,
body.single-product div.product .woocommerce-product-gallery ol.flex-control-thumbs::after {
    display: none !important;
    content: none !important;
    clear: none !important;
}

body.single-product div.product .woocommerce-product-gallery ol.flex-control-thumbs::-webkit-scrollbar,
body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar {
    display: none;
}

body.single-product div.product .woocommerce-product-gallery ol.flex-control-thumbs > li,
body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs > li {
    float: none !important;
    clear: none !important;
    width: 5.25rem !important;
    height: 5.25rem !important;
    min-width: 5.25rem;
    min-height: 5.25rem;
    max-width: 5.25rem;
    max-height: 5.25rem;
    flex: 0 0 5.25rem;
    margin: 0 !important;
    list-style: none;
    scroll-snap-align: start;
    outline-offset: 2px;
    position: relative;
    display: block;
    line-height: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f0f7;
    border: 2px solid #ece6f2;
    box-sizing: border-box;
    transform: translateZ(0);
}

body.single-product div.product .woocommerce-product-gallery ol.flex-control-thumbs > li img,
body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs > li img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover;
    object-position: center center;
    border-radius: 6px;
    border: 0;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0;
    opacity: 1 !important;
    cursor: pointer;
}

body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs > li img.sophiakcruz-gallery-video-thumb-icon {
    object-fit: cover;
    background: #f3f0f7;
}

body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs > li:hover {
    border-color: #d4c8e3;
    box-shadow: none;
}

body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs > li:has(img.flex-active) {
    border-color: #c4b0d9;
    background: #f3f0f7;
    box-shadow: none;
}

body.single-product div.product .woocommerce-product-gallery--columns-3 .flex-control-thumbs > li:nth-child(3n + 1),
body.single-product div.product .woocommerce-product-gallery--columns-4 .flex-control-thumbs > li:nth-child(4n + 1),
body.single-product div.product .woocommerce-product-gallery--columns-5 .flex-control-thumbs > li:nth-child(5n + 1),
body.single-product div.product .woocommerce-product-gallery--columns-2 .flex-control-thumbs > li:nth-child(2n + 1) {
    clear: none !important;
}

body.single-product div.product .woocommerce-product-gallery--columns-2 .flex-control-thumbs > li,
body.single-product div.product .woocommerce-product-gallery--columns-3 .flex-control-thumbs > li,
body.single-product div.product .woocommerce-product-gallery--columns-4 .flex-control-thumbs > li,
body.single-product div.product .woocommerce-product-gallery--columns-5 .flex-control-thumbs > li {
    width: 5.25rem !important;
    float: none !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    clear: none !important;
}

@media (prefers-reduced-motion: reduce) {
    body.single-product div.product .woocommerce-product-gallery ol.flex-control-thumbs,
    body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
        scroll-behavior: auto;
    }
}

/* PDP product tabs: horizontal tab bar (Description / Additional information / Reviews) */
body.single-product .woocommerce-tabs.wc-tabs-wrapper {
    padding: 1.25rem 0 0;
    clear: both;
    overflow: visible;
}

body.single-product .woocommerce-tabs ul.tabs.wc-tabs {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    width: 100% !important;
    max-width: 100%;
    float: none !important;
    margin: 0 0 0.25rem;
    padding: 0;
    list-style: none;
    border-top: 0;
    border-bottom: 2px solid #e6deee;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

body.single-product .woocommerce-tabs ul.tabs.wc-tabs::-webkit-scrollbar {
    display: none;
}

body.single-product .woocommerce-tabs ul.tabs.wc-tabs > li {
    display: block;
    float: none !important;
    flex: 0 0 auto;
    margin: 0;
    border: 0 !important;
    border-radius: 0 !important;
    position: relative;
    background: transparent !important;
    box-shadow: none !important;
}

body.single-product .woocommerce-tabs ul.tabs.wc-tabs > li::after,
body.single-product .woocommerce-tabs ul.tabs.wc-tabs > li::before {
    display: none !important;
    content: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.single-product .woocommerce-tabs ul.tabs.wc-tabs > li > a {
    display: block;
    padding: 0.7rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
    color: #555;
    text-decoration: none;
    white-space: nowrap;
    border: 0 !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0 !important;
    margin-bottom: -2px;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

body.single-product .woocommerce-tabs ul.tabs.wc-tabs > li.active > a,
body.single-product .woocommerce-tabs ul.tabs.wc-tabs > li.active > a:hover,
body.single-product .woocommerce-tabs ul.tabs.wc-tabs > li.active > a:focus,
body.single-product .woocommerce-tabs ul.tabs.wc-tabs > li.active > a:focus-visible {
    color: #220440;
    border: 0 !important;
    border-bottom: 2px solid #220440 !important;
    font-weight: 700;
    box-shadow: none !important;
    outline: none !important;
}

body.single-product .woocommerce-tabs ul.tabs.wc-tabs > li > a:hover,
body.single-product .woocommerce-tabs ul.tabs.wc-tabs > li > a:focus,
body.single-product .woocommerce-tabs ul.tabs.wc-tabs > li > a:focus-visible {
    color: #220440;
    box-shadow: none !important;
    outline: none !important;
}

/* Warranty + return policy blocks in Additional information (SKC-99) */
body.single-product .skc-pdp-policy {
    margin: 0 0 1.5rem;
}

body.single-product .skc-pdp-policy__title {
    color: #220440;
    font-size: 1.125rem;
    margin: 0 0 0.5rem;
}

body.single-product .skc-pdp-policy__intro,
body.single-product .skc-pdp-policy__closing {
    margin: 0 0 0.75rem;
    color: #333;
}

body.single-product .skc-pdp-policy__table {
    margin-bottom: 0.75rem;
}

body.single-product .skc-pdp-policy__more {
    margin: 0.5rem 0 1.5rem;
}

body.single-product .skc-pdp-policy__more a {
    color: #220440;
    font-weight: 600;
    text-decoration: underline;
}

/* Store Policies page — reuses About card look */
body.storefront-child-policies .woocommerce-breadcrumb {
    display: none;
}

.skc-policies__hero-copy {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.skc-policies__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

.skc-policies__list li {
    position: relative;
    padding-left: 1.1rem;
    color: var(--skc-about-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.skc-policies__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: var(--skc-about-accent);
}

.skc-policies__contact-link {
    color: var(--skc-about-primary);
    font-weight: 600;
    text-decoration: underline;
}

.skc-policies__contact-link:hover,
.skc-policies__contact-link:focus {
    color: var(--skc-about-accent);
}

body.single-product .woocommerce-tabs .woocommerce-Tabs-panel.panel {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 1rem 0 0;
    clear: both;
}

/* One panel at a time before WC tabs JS initializes */
body.single-product .woocommerce-tabs .woocommerce-Tabs-panel {
    display: none;
}

body.single-product .woocommerce-tabs .woocommerce-Tabs-panel--description {
    display: block;
}

/* Avoid duplicate headings under the tab labels */
body.single-product .woocommerce-tabs .woocommerce-Tabs-panel > h2:first-child {
    display: none;
}

/* PDP description: 3-line preview + Read more / Read less */
body.single-product .skc-pdp-description {
    position: relative;
}

body.single-product .skc-pdp-description__inner > h2:first-child {
    display: none;
}

body.single-product .skc-pdp-description.is-collapsed .skc-pdp-description__inner {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    position: relative;
}

body.single-product .skc-pdp-description.is-collapsed .skc-pdp-description__inner::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1.75rem;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 92%);
}

body.single-product .skc-pdp-description.is-expanded .skc-pdp-description__inner {
    display: block;
    overflow: visible;
}

body.single-product .skc-pdp-description.is-expanded .skc-pdp-description__inner::after {
    display: none;
}

body.single-product .skc-pdp-description__toggle {
    display: inline-block;
    margin-top: 0.65rem;
    padding: 0;
    border: 0;
    background: none;
    color: #220440;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: underline;
    text-underline-offset: 0.12em;
    cursor: pointer;
}

body.single-product .skc-pdp-description__toggle:hover,
body.single-product .skc-pdp-description__toggle:focus-visible {
    color: #3d1f66;
}

body.single-product .skc-pdp-description__toggle[hidden] {
    display: none !important;
}

/* Infinite scroll loading overlay: uses Font Awesome 5 spinner (loaded by Storefront icons.css) */
#storefront-child-shop-loading-overlay {
    bottom: 0; /* desktop: no menu below, so no spacing below overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
#storefront-child-shop-loading-overlay .fa-spinner {
    font-size: 1.25rem;
}
/* Mobile only: sit above Storefront handheld footer bar (bar uses em; ~2.618em content + padding) */
@media (max-width: 768px) {
    #storefront-child-shop-loading-overlay {
        bottom: 4.5em;
    }
}

/* ===== Catalog layout (SKC-62 hero + SKC-63 rail) ===== */
.skc-catalog-section {
    margin: 0;
    padding: 0 1rem;
}

.skc-catalog-section--featured {
    margin-bottom: 1rem;
    padding-left: 0;
    padding-right: 0;
}

/* Mobile: product window + overlay. Desktop: square media + New badge, copy right. */
.skc-catalog-hero {
    --skc-hero-gradient-wash: linear-gradient(
        180deg,
        rgba(34, 4, 64, 0.08) 0%,
        rgba(34, 4, 64, 0.45) 42%,
        rgba(34, 4, 64, 0.92) 100%
    );
    --skc-hero-gradient-light: linear-gradient(
        180deg,
        #e6deee 0%,
        #f3f0f7 42%,
        #fdfcff 100%
    );
    display: block;
    position: relative;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    overflow: hidden;
}

.skc-catalog-hero__layout {
    position: relative;
}

.skc-catalog-hero__visual {
    position: relative;
}

.skc-catalog-hero__visual-label,
.skc-catalog-hero__inset {
    display: none;
}

.skc-catalog-hero__visual-frame {
    position: relative;
    width: 100%;
}

.skc-catalog-hero__window {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 5px;
    background: #f3f0f7;
    overflow: hidden;
}

.skc-catalog-hero__image,
.skc-catalog-hero__video-wrap,
.skc-catalog-hero__video-wrap video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.skc-catalog-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 1.25rem 1.35rem 1.35rem;
    background: var(--skc-hero-gradient-wash);
}

.skc-catalog-hero__badge {
    display: none;
}

.skc-catalog-hero__eyebrow {
    margin: 0 0 0.4rem;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

.skc-catalog-hero__title {
    margin: 0 0 0.4rem;
    color: #fff;
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.2;
    text-wrap: balance;
}

.skc-catalog-hero__price {
    margin: 0 0 0.85rem;
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.skc-catalog-hero__price .storefront-child-out-of-stock-label {
    color: #ffb4bf;
}

.skc-catalog-hero__cta {
    display: inline-block;
    padding: 0.55em 1.2em;
    border: 0;
    border-radius: 5px;
    background: #fff;
    color: #220440;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
}

.skc-catalog-hero:hover .skc-catalog-hero__cta,
.skc-catalog-hero:focus-visible .skc-catalog-hero__cta {
    background: #f3f0f7;
}

.skc-catalog-hero:focus-visible {
    outline: 2px solid #220440;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .skc-catalog-hero__window {
        aspect-ratio: 2 / 3;
    }
}

@media (min-width: 768px) {
    .skc-catalog-hero {
        color: #220440;
        background: var(--skc-hero-gradient-light);
        overflow: visible;
    }

    .skc-catalog-hero__layout {
        position: relative;
        z-index: 1;
        display: grid;
        grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
        align-items: center;
        gap: clamp(1rem, 2.5vw, 2rem);
        padding: clamp(2.1rem, 3.6vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
    }

    .skc-catalog-hero__visual {
        grid-column: 1;
        grid-row: 1;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .skc-catalog-hero__visual-frame {
        position: relative;
        width: clamp(16.2rem, 40.8vw, 19.8rem);
        max-width: 100%;
    }

    .skc-catalog-hero__visual-label {
        display: block;
        margin: 0 0 0.65rem;
        color: #6b4d8a;
        font-size: 0.625rem;
        font-weight: 600;
        letter-spacing: 0.22em;
        line-height: 1.3;
        text-align: left;
        text-transform: uppercase;
    }

    .skc-catalog-hero__window {
        width: 100%;
        aspect-ratio: 1 / 1.2;
        border-radius: 5px;
        box-shadow: 0 10px 28px rgba(34, 4, 64, 0.12);
    }

    .skc-catalog-hero__inset {
        display: flex;
        position: absolute;
        right: -0.55rem;
        bottom: -0.55rem;
        z-index: 2;
        align-items: center;
        justify-content: center;
        min-width: 4.675rem;
        min-height: 4.675rem;
        padding: 0.55rem 0.66rem;
        border: 2px solid #fff;
        border-radius: 50%;
        background: #220440;
        color: #fff;
        font-size: 0.756rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        line-height: 1.1;
        text-align: center;
        text-transform: uppercase;
        box-shadow: 0 8.8px 22px rgba(34, 4, 64, 0.18);
    }

    .skc-catalog-hero__overlay {
        position: relative;
        inset: auto;
        grid-column: 2;
        grid-row: 1;
        justify-content: center;
        align-items: flex-start;
        padding: 0.25rem 0 0.25rem clamp(1.75rem, 4vw, 3.25rem);
        background: none;
    }

    .skc-catalog-hero__overlay .skc-catalog-hero__eyebrow {
        display: none;
    }

    .skc-catalog-hero__title {
        max-width: 18rem;
        margin: 0 0 0.75rem;
        color: #220440;
        font-size: clamp(1.625rem, 2.4vw, 2.25rem);
        font-weight: 600;
        line-height: 1.12;
    }

    .skc-catalog-hero__price {
        margin-bottom: 1.35rem;
        color: #220440;
        font-size: 1rem;
        font-weight: 500;
    }

    .skc-catalog-hero__cta {
        padding: 0.7em 1.55em;
        border: 1px solid #220440;
        border-radius: 999px;
        background: transparent;
        color: #220440;
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .skc-catalog-hero:hover .skc-catalog-hero__cta,
    .skc-catalog-hero:focus-visible .skc-catalog-hero__cta {
        background: #220440;
        color: #fff;
        border-color: #220440;
    }
}

@media (min-width: 1024px) {
    .skc-catalog-hero__layout {
        grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
        gap: clamp(1.5rem, 3vw, 2.5rem);
    }

    .skc-catalog-hero__overlay {
        padding-left: clamp(2.25rem, 5vw, 4rem);
    }

    .skc-catalog-hero__visual-frame {
        width: clamp(17.4rem, 33.6vw, 21.6rem);
    }

    .skc-catalog-hero__title {
        max-width: 22rem;
    }

    .skc-catalog-hero__inset {
        right: -0.825rem;
        bottom: -0.715rem;
        min-width: 5.225rem;
        min-height: 5.225rem;
        font-size: 0.825rem;
    }
}

.skc-catalog-section__heading {
    margin: 0 0 0.65rem;
    padding: 0;
    color: #220440;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.01em;
    text-align: left;
}

.skc-catalog-section--categories {
    margin-bottom: 0.35rem;
}

.skc-catalog-section--products {
    margin-top: 0.85rem;
    margin-bottom: 0.5rem;
}

.skc-catalog-section--products .skc-catalog-section__heading {
    font-size: 1.35rem;
}

.skc-category-rail {
    position: relative;
    margin: 0;
    padding: 0;
}

.skc-category-rail__track {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 0;
    padding: 0.15rem 0 0.35rem;
    scrollbar-width: none;
}

.skc-category-rail__track::-webkit-scrollbar {
    display: none;
}

.skc-category-chip {
    flex: 0 0 auto;
    width: 5.25rem;
    text-decoration: none;
    color: #333;
    scroll-snap-align: start;
    outline-offset: 2px;
}

.skc-category-chip__media {
    display: block;
    width: 5.25rem;
    height: 5.25rem;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f0f7;
    border: 2px solid transparent;
    box-sizing: border-box;
    transform: translateZ(0);
}

.skc-category-chip__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 6px;
    opacity: 1;
}

.skc-category-chip__initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1.35rem;
    font-weight: 600;
    color: #220440;
    background: #ece6f2;
}

.skc-category-chip__label {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.skc-category-chip:hover .skc-category-chip__media,
.skc-category-chip:focus-visible .skc-category-chip__media {
    border-color: rgba(34, 4, 64, 0.35);
}

.skc-category-chip.is-active .skc-category-chip__media {
    border-color: #220440;
    box-shadow: 0 0 0 1px #220440;
}

.skc-category-chip.is-active .skc-category-chip__label {
    color: #220440;
}

body.storefront-child-shop-full-width .skc-catalog-section {
    padding-left: 0;
    padding-right: 0;
}

@media (prefers-reduced-motion: reduce) {
    .skc-category-rail__track {
        scroll-behavior: auto;
    }
}

/* Sidebar: shop categories first (PDP and other Woo pages with a sidebar) */
.skc-sidebar-categories {
    margin: 0 0 1.75rem;
}

.skc-sidebar-categories__heading {
    margin: 0 0 0.85rem;
    color: #220440;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.skc-sidebar-categories__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.skc-sidebar-categories__item {
    margin: 0 0 0.35rem;
}

.skc-sidebar-categories__link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.35rem 0;
    color: #333;
    text-decoration: none;
}

.skc-sidebar-categories__link:hover,
.skc-sidebar-categories__link:focus-visible {
    color: #220440;
}

.skc-sidebar-categories__media {
    flex: 0 0 auto;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f0f7;
    border: 2px solid transparent;
    box-sizing: border-box;
}

.skc-sidebar-categories__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.skc-sidebar-categories__initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 0.95rem;
    font-weight: 600;
    color: #220440;
    background: #ece6f2;
}

.skc-sidebar-categories__label {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
}

.skc-sidebar-categories__item.is-active .skc-sidebar-categories__media {
    border-color: #c4b0d9;
    box-shadow: none;
}

.skc-sidebar-categories__item.is-active .skc-sidebar-categories__label {
    color: #220440;
}

/* PDP sidebar categories: left-aligned rows (catalog-style, not centered chips) */
body.storefront-child-pdp .skc-sidebar-categories {
    margin-bottom: 0;
}

body.storefront-child-pdp .skc-sidebar-categories__list {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin: 0;
    padding: 0;
}

body.storefront-child-pdp .skc-sidebar-categories__item {
    margin: 0;
}

body.storefront-child-pdp .skc-sidebar-categories__link {
    flex-direction: row;
    align-items: center;
    gap: 0.65rem;
    padding: 0.4rem 0;
    text-decoration: none !important;
    color: #333;
    font-size: 1rem;
    font-weight: 400;
    text-align: left;
}

body.storefront-child-pdp .skc-sidebar-categories__media {
    width: 2.75rem;
    height: 2.75rem;
    aspect-ratio: auto;
    flex-shrink: 0;
    border: 2px solid #ece6f2;
    border-radius: 8px;
}

body.storefront-child-pdp .skc-sidebar-categories__label {
    display: block;
    flex: 1;
    min-width: 0;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    text-decoration: none;
    color: #333;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

body.storefront-child-pdp .skc-sidebar-categories__link:hover .skc-sidebar-categories__label,
body.storefront-child-pdp .skc-sidebar-categories__link:focus-visible .skc-sidebar-categories__label {
    color: #220440;
}

body.storefront-child-pdp .skc-sidebar-categories__item.is-active .skc-sidebar-categories__label {
    color: #220440;
}

body.storefront-child-pdp .skc-sidebar-categories__item.is-active .skc-sidebar-categories__media {
    border-color: #c4b0d9;
    box-shadow: none;
}

/* Mobile sidebar categories: 2-col chip grid (shop pages, not PDP) */
@media (max-width: 767px) {
    body:not(.storefront-child-pdp) .skc-sidebar-categories {
        margin-bottom: 1.5rem;
    }

    body:not(.storefront-child-pdp) .skc-sidebar-categories__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem 0.75rem;
    }

    body:not(.storefront-child-pdp) .skc-sidebar-categories__item {
        margin: 0;
    }

    body:not(.storefront-child-pdp) .skc-sidebar-categories__link {
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        padding: 0;
        text-decoration: none !important;
        color: #333;
        font-size: 1rem;
        font-weight: 400;
    }

    body:not(.storefront-child-pdp) .skc-sidebar-categories__media {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        border: 2px solid #ece6f2;
    }

    body:not(.storefront-child-pdp) .skc-sidebar-categories__label {
        display: block;
        width: 100%;
        font-size: 0.6875rem;
        font-weight: 600;
        line-height: 1.25;
        text-align: center;
        color: #333;
        text-decoration: underline;
        text-underline-offset: 0.12em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    body:not(.storefront-child-pdp) .skc-sidebar-categories__link:hover .skc-sidebar-categories__label,
    body:not(.storefront-child-pdp) .skc-sidebar-categories__link:focus-visible .skc-sidebar-categories__label {
        color: #220440;
    }

    body:not(.storefront-child-pdp) .skc-sidebar-categories__item.is-active .skc-sidebar-categories__label {
        color: #220440;
    }

    body:not(.storefront-child-pdp) .skc-sidebar-categories__item.is-active .skc-sidebar-categories__media {
        border-color: #c4b0d9;
        box-shadow: none;
    }
}

/* ===== About page (SKC-77) ===== */
body.storefront-child-about .entry-header {
    display: none;
}

body.storefront-child-about .site-main {
    margin-top: 0;
}

.skc-about {
    --skc-about-primary: #220440;
    --skc-about-accent: #7c5aa6;
    --skc-about-muted: #5c5c5c;
    --skc-about-muted-bg: #f3f0f7;
    --skc-about-border: #e6deee;
    color: #333;
}

.skc-about__inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.skc-about__inner--narrow {
    max-width: 48rem;
}

.skc-about__section {
    padding: 3rem 0;
}

.skc-about__section--muted {
    background: var(--skc-about-muted-bg);
}

.skc-about__hero-grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.skc-about__eyebrow {
    margin: 0 0 0.75rem;
    color: var(--skc-about-primary);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.skc-about__title {
    margin: 0 0 1rem;
    color: #111;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
}

.skc-about__title-accent {
    display: block;
    color: var(--skc-about-primary);
    font-style: italic;
    font-weight: 700;
}

.skc-about__lead,
.skc-about__section-intro,
.skc-about__card-text,
.skc-about__process-text,
.skc-about__closing-copy p {
    margin: 0;
    color: var(--skc-about-muted);
    font-size: 1.0625rem;
    line-height: 1.7;
}

.skc-about__lead {
    max-width: 38rem;
}

.skc-about__hero-media-wrap {
    position: relative;
}

.skc-about__hero-media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid var(--skc-about-border);
    border-radius: 1rem;
    background: linear-gradient(135deg, #e6deee 0%, #f3f0f7 100%);
}

.skc-about__hero-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.skc-about__section-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.skc-about__section-title {
    margin: 0 0 0.75rem;
    color: #111;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
}

.skc-about__section-title--center {
    text-align: center;
}

.skc-about__section-intro {
    max-width: 48rem;
    margin: 0 auto;
}

.skc-about__section-intro--narrow {
    max-width: 40rem;
}

.skc-about__card-list {
    display: grid;
    gap: 1.5rem;
    max-width: 56rem;
    margin: 0 auto;
}

.skc-about__card {
    padding: 1.5rem;
    border: 1px solid var(--skc-about-border);
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 1px 2px rgba(34, 4, 64, 0.06);
}

.skc-about__card-row {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.skc-about__icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
}

.skc-about__icon--accent {
    width: 3rem;
    height: 3rem;
    background: rgba(124, 90, 166, 0.12);
    color: var(--skc-about-accent);
}

.skc-about__icon--primary {
    width: 4rem;
    height: 4rem;
    background: rgba(34, 4, 64, 0.08);
    color: var(--skc-about-primary);
}

.skc-about__icon-svg {
    display: block;
}

.skc-about__card-title,
.skc-about__process-title {
    margin: 0 0 0.5rem;
    color: #111;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}

.skc-about__process-grid {
    display: grid;
    gap: 2rem;
}

.skc-about__process-col {
    display: grid;
    gap: 1rem;
}

.skc-about__closing-copy {
    display: grid;
    gap: 1.25rem;
    margin: 1.5rem 0 2rem;
    text-align: center;
}

.skc-about__signoff {
    margin: 0;
    color: var(--skc-about-primary);
    font-size: 1.375rem;
    font-style: italic;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
}

@media (min-width: 768px) {
    .skc-about__section {
        padding: 4rem 0;
    }

    .skc-about__hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .skc-about__card {
        padding: 2rem;
    }

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

@media (min-width: 1024px) {
    .skc-about__section {
        padding: 5rem 0;
    }

    .skc-about__inner {
        padding: 0 1.5rem;
    }

    .skc-about__hero-grid {
        gap: 4rem;
    }

    .skc-about__section-header {
        margin-bottom: 4rem;
    }
}

/* Contact page (SKC-78) */
body.storefront-child-contact .entry-header {
    display: none;
}

body.storefront-child-contact .site-main {
    margin-top: 0;
}

body.storefront-child-contact .woocommerce-breadcrumb {
    margin-bottom: 0;
}

.skc-contact {
    --skc-contact-primary: #220440;
    --skc-contact-accent: #7c5aa6;
    --skc-contact-muted: #5c5c5c;
    --skc-contact-muted-bg: #f3f0f7;
    --skc-contact-border: #e6deee;
    --skc-contact-shadow: 0 18px 45px rgba(34, 4, 64, 0.08);
    color: #333;
}

.skc-contact__inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.skc-contact__inner--narrow {
    max-width: 42rem;
}

.skc-contact__inner--form {
    max-width: 44rem;
}

.skc-contact__section {
    padding: 3rem 0;
}

.skc-contact__section--muted {
    background: var(--skc-contact-muted-bg);
}

.skc-contact__hero-copy {
    text-align: center;
}

.skc-contact__eyebrow {
    margin: 0 0 0.75rem;
    color: var(--skc-contact-primary);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.skc-contact__title {
    margin: 0 0 1rem;
    color: #111;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
}

.skc-contact__title-accent {
    display: block;
    color: var(--skc-contact-primary);
    font-style: italic;
    font-weight: 700;
}

.skc-contact__lead,
.skc-contact__section-intro,
.skz-contact__hint {
    margin: 0;
    color: var(--skc-contact-muted);
    font-size: 1.0625rem;
    line-height: 1.7;
}

.skc-contact__policies-note {
    margin: 1rem 0 0;
    color: var(--skc-contact-muted);
    font-size: 1.0625rem;
    line-height: 1.7;
}

.skc-contact__policies-note a {
    color: var(--skc-contact-primary);
    font-weight: 600;
    text-decoration: underline;
}

.skc-contact__form-header {
    margin-bottom: 1.75rem;
    text-align: center;
}

.skc-contact__section-title {
    margin: 0 0 0.75rem;
    color: #111;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
}

.skc-contact__section-intro {
    max-width: 36rem;
    margin: 0 auto;
}

.skz-contact__form {
    margin: 0;
}

.skz-contact__card {
    padding: 1.5rem;
    border: 1px solid var(--skc-contact-border);
    border-radius: 1rem;
    background: #fff;
    box-shadow: var(--skc-contact-shadow);
}

.skz-contact__topic {
    margin: 0 0 1.5rem;
    padding: 0;
    border: 0;
}

.skz-contact__topic-legend {
    margin: 0 0 0.875rem;
    padding: 0;
    color: #111;
    font-size: 0.9375rem;
    font-weight: 600;
}

.skz-contact__topic-grid {
    display: grid;
    gap: 0.75rem;
}

.skz-contact__topic-card {
    display: block;
    margin: 0;
    cursor: pointer;
}

.skz-contact__topic-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.skz-contact__topic-card-body {
    display: block;
    padding: 1rem 1.125rem;
    border: 2px solid var(--skc-contact-border);
    border-radius: 0.875rem;
    background: #faf9fc;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.skz-contact__topic-card:hover .skz-contact__topic-card-body {
    border-color: #cdb8e4;
}

.skz-contact__topic-card input:focus-visible + .skz-contact__topic-card-body {
    outline: 2px solid var(--skc-contact-accent);
    outline-offset: 2px;
}

.skz-contact__topic-card input:checked + .skz-contact__topic-card-body {
    border-color: var(--skc-contact-primary);
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--skc-contact-primary);
}

.skz-contact__topic-card-title {
    display: block;
    margin-bottom: 0.25rem;
    color: #111;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.skz-contact__topic-card-text {
    display: block;
    color: var(--skc-contact-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.skz-contact__order-panel {
    margin-bottom: 1.5rem;
    padding: 1rem 1.125rem;
    border: 1px solid #dbc9ef;
    border-radius: 0.875rem;
    background: linear-gradient(180deg, #faf7fd 0%, #f5f0fa 100%);
}

.skz-contact__order-panel[hidden] {
    display: none;
}

.skz-contact__order-panel-title {
    margin: 0 0 0.875rem;
    color: var(--skc-contact-primary);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.skz-contact__order-panel .skz-contact__field {
    margin-bottom: 0.75rem;
}

.skz-contact__order-panel .skz-contact__hint {
    font-size: 0.9rem;
}

.skz-contact__order-status {
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.skz-contact__order-status[hidden] {
    display: none;
}

.skz-contact__order-status--success {
    color: #1f6b3a;
}

.skz-contact__order-status--error {
    color: #9b1c1c;
}

.skz-contact__order-status--pending {
    color: var(--skc-contact-muted);
}

.skz-contact__field input.skz-contact__input--valid {
    border-color: #6fbf8b;
}

.skz-contact__field input.skz-contact__input--invalid {
    border-color: #d66;
}

.skz-contact__fields-grid {
    display: grid;
    gap: 0 1rem;
}

.skz-contact__field {
    margin-bottom: 1.25rem;
}

.skz-contact__field label {
    display: block;
    margin-bottom: 0.5rem;
    color: #111;
    font-size: 0.9375rem;
    font-weight: 600;
}

.skz-contact__optional {
    color: var(--skc-contact-muted);
    font-weight: 500;
}

.skz-contact__field input,
.skz-contact__field textarea {
    display: block;
    width: 100%;
    padding: 0.8125rem 1rem;
    border: 1px solid var(--skc-contact-border);
    border-radius: 0.625rem;
    background: #fff;
    color: #111;
    font: inherit;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.skz-contact__field input::placeholder,
.skz-contact__field textarea::placeholder {
    color: #9a8faa;
}

.skz-contact__field input:focus,
.skz-contact__field textarea:focus {
    border-color: var(--skc-contact-accent);
    box-shadow: 0 0 0 3px rgba(124, 90, 166, 0.18);
    outline: none;
}

.skz-contact__field textarea {
    resize: vertical;
    min-height: 9rem;
}

.skz-contact__honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skz-contact__actions {
    margin: 0.5rem 0 0;
}

.skz-contact__button {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0.95rem 1.5rem;
    border: 0;
    border-radius: 999px;
    background: var(--skc-contact-primary);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 24px rgba(34, 4, 64, 0.18);
}

.skz-contact__button:hover,
.skz-contact__button:focus-visible {
    background: #2f0858;
    color: #fff;
    transform: translateY(-1px);
}

.skz-contact__button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.skz-contact__status {
    margin: 1rem 0 0;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.skz-contact__status[hidden] {
    display: none;
}

.skz-contact__status--success {
    border: 1px solid #b7e4c7;
    background: #edf9f0;
    color: #1f6b3a;
}

.skz-contact__status--error {
    border: 1px solid #f3c4c4;
    background: #fff5f5;
    color: #9b1c1c;
}

@media (min-width: 640px) {
    .skz-contact__topic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .skz-contact__fields-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .skz-contact__card {
        padding: 2rem;
    }
}

@media (min-width: 768px) {
    .skc-contact__section {
        padding: 4rem 0;
    }

    .skc-contact__inner {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .skc-contact__section {
        padding: 5rem 0;
    }
}

/* Avatars disabled site-wide — reclaim review layout space left of comment text */
#reviews .commentlist li .avatar,
#reviews .commentlist li img.avatar,
.commentlist .avatar,
.woocommerce-review__image {
    display: none !important;
}
#reviews .commentlist li .comment_container .comment-text,
#reviews .commentlist li ul.children .comment-text,
.storefront-full-width-content.single-product #reviews .commentlist li .comment_container .comment-text,
.storefront-full-width-content.single-product #reviews .commentlist ul.children .comment-text {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

/*
 * Product review replies: Storefront nested `ul.children` at ~82% float-right
 * (avatar-era layout). That left an empty gap with no reply cue.
 * Make replies full-width with a clear “Reply” treatment.
 */
#reviews .commentlist li ul.children,
.storefront-full-width-content.single-product #reviews .commentlist ul.children {
    width: 100% !important;
    float: none !important;
    clear: both;
    margin: 1rem 0 0 !important;
    padding: 0 !important;
    list-style: none;
}
#reviews .commentlist li ul.children > li {
    margin: 0 !important;
    list-style: none;
}
#reviews .commentlist li ul.children .comment_container {
    display: block;
    margin: 0;
    padding: 0.9rem 1.1rem 1rem;
    border-left: 3px solid #220440;
    background: #f6f2f9;
    border-radius: 0 5px 5px 0;
    box-sizing: border-box;
}
#reviews .commentlist li ul.children .comment-text {
    padding: 0 !important;
}
#reviews .commentlist li ul.children .meta,
#reviews .commentlist li ul.children .woocommerce-review__meta {
    margin-bottom: 0.45rem !important;
}
#reviews .commentlist li ul.children .woocommerce-review__author {
    color: #220440;
    font-weight: 600;
}
/* Explicit reply label before the shop/customer reply author name */
#reviews .commentlist li ul.children .woocommerce-review__author::before {
    content: "Reply";
    display: inline-block;
    margin-right: 0.55em;
    padding: 0.12em 0.5em;
    font-size: 0.7em;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.4;
    vertical-align: middle;
    color: #fff;
    background: #220440;
    border-radius: 3px;
}
#reviews .commentlist li ul.children .description,
#reviews .commentlist li ul.children .description p {
    margin-bottom: 0;
    color: #333;
}
