/* =========================================
   DRIPPANDOLO — CHILD THEME STYLES
   Palette: off-white / black / dark red / gold
========================================= */

:root {
    --color-bg-header: #F5F3EF;
    --color-black: #111111;
    --color-white: #FAFAFA;
    --color-red: #7A1F1F;
    --color-gold: #C9A961;
    --color-product-bg: #ECECEC;

    --header-height: 84px;
    --announcement-height: 34px;

    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--color-white);
    font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    font-weight: 400;
    /* Bebas Neue only ships one weight, bold is baked into the letterforms */
    text-transform: uppercase;
}

/* =========================================
   ANNOUNCEMENT BAR
========================================= */

.announcement-bar {
    background: var(--color-red);
    height: var(--announcement-height);
    display: flex;
    align-items: center;
    justify-content: center;
}

.announcement-bar p {
    margin: 0;
    color: var(--color-white);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* =========================================
   HEADER
========================================= */

.site-header {
    background: var(--color-bg-header);
    height: var(--header-height);
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    position: sticky;
    top: 0;
    z-index: 500;
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
    background: rgba(245, 243, 239, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(17, 17, 17, 0.06);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.header-right {
    justify-content: flex-end;
}

.header-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo img {
    height: 120px;
    width: auto;
    display: block;
}

.logo-fallback {
    font-family: var(--font-heading);
    font-size: 26px;
    letter-spacing: 1px;
    color: var(--color-black);
    text-decoration: none;
}

.header-icon-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-black);
    font-size: 18px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color 0.25s ease, background 0.25s ease;
    position: relative;
}

.header-icon-btn:hover {
    color: var(--color-gold);
    background: rgba(201, 169, 97, 0.1);
}

.cart-btn {
    width: auto;
    padding: 0 6px;
    gap: 8px;
    border-radius: 20px;
}

.cart-total {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-black);
    transition: color 0.25s ease;
}

.cart-btn:hover .cart-total {
    color: var(--color-gold);
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--color-red);
    color: var(--color-white);
    font-size: 10px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   OFFCANVAS OVERLAY
========================================= */

.offcanvas-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 17, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998;
}

.offcanvas-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* =========================================
   OFFCANVAS PANEL
========================================= */

.offcanvas-panel {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 380px;
    max-width: 88vw;
    background: var(--color-black);
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    z-index: 999;
    overflow-y: auto;
    padding: 24px 0 60px;
}

.offcanvas-panel.is-open {
    transform: translateX(0);
}

.offcanvas-header {
    display: flex;
    justify-content: flex-end;
    padding: 0 24px 16px;
}

.offcanvas-close {
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 20px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: color 0.25s ease, background 0.25s ease;
}

.offcanvas-close:hover {
    color: var(--color-gold);
    background: rgba(201, 169, 97, 0.1);
}

/* Search inside offcanvas */

.offcanvas-search {
    display: flex;
    align-items: center;
    margin: 0 24px 24px;
    border: 1px solid rgba(250, 250, 250, 0.2);
    border-radius: 30px;
    overflow: hidden;
}

.offcanvas-search input[type="search"] {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--color-white);
    padding: 12px 16px;
    font-size: 14px;
}

.offcanvas-search input[type="search"]::placeholder {
    color: rgba(250, 250, 250, 0.5);
}


/* Nav / accordion menu */

.offcanvas-menu,
.offcanvas-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.offcanvas-menu-item {
    border-bottom: 1px solid rgba(250, 250, 250, 0.08);
}

.offcanvas-menu-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.offcanvas-menu-item>.offcanvas-menu-row>a,
.offcanvas-menu-item>a {
    display: block;
    flex: 1;
    padding: 14px 24px;
    color: var(--color-white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.offcanvas-menu-item>.offcanvas-menu-row>a:hover,
.offcanvas-menu-item>a:hover {
    color: var(--color-gold);
}

.cat-toggle {
    background: transparent;
    border: none;
    color: var(--color-white);
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, color 0.25s ease;
}

.offcanvas-menu-item.is-expanded>.offcanvas-menu-row .cat-toggle {
    transform: rotate(180deg);
    color: var(--color-gold);
}

.offcanvas-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: rgba(250, 250, 250, 0.03);
}

.offcanvas-submenu .offcanvas-menu-item>a {
    padding: 10px 24px 10px 40px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(250, 250, 250, 0.8);
}

/* Prevent body scroll when panel open */

body.offcanvas-open {
    overflow: hidden;
}

/* =========================================
   HERO — full background image, darkened + blurred, centered text
========================================= */

.hero-section {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(3px) brightness(0.55);
    transform: scale(1.05);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 13, 13, 0.55) 0%, rgba(13, 13, 13, 0.75) 100%);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    padding: 0 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 78px;
    line-height: 1.05;
    letter-spacing: 1px;
    color: var(--color-white);
    margin: 0 0 24px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: rgba(250, 250, 250, 0.85);
    margin: 0 auto 36px;
    max-width: 480px;
}

.hero-cta {
    display: inline-block;
    background: var(--color-gold);
    color: var(--color-black);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 40px;
    border-radius: 30px;
    border: 1px solid var(--color-gold);
    transition: background 0.3s ease, color 0.3s ease;
}

.hero-cta:hover {
    background: transparent;
    color: var(--color-gold);
}

.hero-scroll-arrow {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--color-white);
    font-size: 18px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(250, 250, 250, 0.4);
    border-radius: 50%;
    animation: hero-arrow-bounce 1.8s ease-in-out infinite;
    text-decoration: none;
    transition: border-color 0.25s ease, color 0.25s ease;
}

.hero-scroll-arrow:hover {
    color: var(--color-gold);
    border-color: var(--color-gold);
}

@keyframes hero-arrow-bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

@media (max-width: 992px) {
    .hero-section {
        min-height: 520px;
    }

    .hero-title {
        font-size: 52px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 460px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-cta {
        padding: 14px 32px;
        font-size: 12px;
    }

    .hero-scroll-arrow {
        width: 38px;
        height: 38px;
        font-size: 15px;
        bottom: 18px;
    }
}

/* =========================================
   COUNTDOWN TIMER
========================================= */

.countdown-section {
    text-align: center;
    padding: 56px 24px 64px;
    background: var(--color-white);
}

.countdown-label {
    font-family: var(--font-heading);
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-black);
    margin: 0 0 28px;
    position: relative;
    display: inline-block;
}

.countdown-label::after {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    background: var(--color-gold);
    margin: 12px auto 0;
}

.countdown-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.countdown-box {
    background: var(--color-black);
    border: 1px solid rgba(201, 169, 97, 0.35);
    border-radius: 10px;
    width: 96px;
    padding: 18px 10px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.12);
}

.countdown-number {
    font-family: var(--font-heading);
    font-size: 40px;
    line-height: 1;
    color: var(--color-white);
    letter-spacing: 1px;
}

.countdown-unit {
    margin-top: 8px;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-gold);
}

@media (max-width: 480px) {
    .countdown-box {
        width: 72px;
        padding: 14px 6px 12px;
    }

    .countdown-number {
        font-size: 30px;
    }
}

/* =========================================
   CATEGORY PRODUCT ROWS
========================================= */

.category-row {
    max-width: 1300px;
    margin: 0 auto;
    padding: 48px 24px 56px;
}

.category-row-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 36px;
    position: relative;
}

.category-row-divider::before,
.category-row-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(17, 17, 17, 0.15);
}

.category-row-divider span {
    font-family: var(--font-heading);
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-black);
    border: 1px solid var(--color-black);
    padding: 8px 28px;
    margin: 0 16px;
    white-space: nowrap;
}

.category-row-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.product-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card-image {
    background: var(--color-product-bg);
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: box-shadow 0.3s ease;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.06);
}

.product-card:hover .product-card-image {
    box-shadow: 0 10px 28px rgba(17, 17, 17, 0.12);
}

.product-card-category {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin: 0 0 4px;
}

.product-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-black);
    margin: 0 0 6px;
    transition: color 0.25s ease;
}

.product-card:hover .product-card-title {
    color: var(--color-red);
}

.product-card-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-black);
}

.product-card-price del {
    font-weight: 400;
    color: rgba(17, 17, 17, 0.4);
    margin-right: 6px;
}

.product-card-price ins {
    text-decoration: none;
    color: var(--color-red);
}

.category-row-button {
    text-align: center;
    margin-top: 36px;
}

.btn-guarda-di-piu {
    display: inline-block;
    background: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 36px;
    border: 1px solid var(--color-black);
    border-radius: 30px;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-guarda-di-piu:hover {
    background: transparent;
    color: var(--color-black);
    border-color: var(--color-gold);
}

@media (max-width: 900px) {
    .category-row-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .category-row-divider span {
        font-size: 15px;
        padding: 6px 18px;
    }
}

/* =========================================
   SHOP BY CATEGORY SHOWCASE
========================================= */

.category-showcase {
    max-width: 1300px;
    margin: 0 auto;
    padding: 56px 24px 64px;
}

.category-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid rgba(17, 17, 17, 0.06);
    border-left: 1px solid rgba(17, 17, 17, 0.06);
}

.showcase-card {
    text-align: center;
    padding: 44px 24px 40px;
    border-right: 1px solid rgba(17, 17, 17, 0.06);
    border-bottom: 1px solid rgba(17, 17, 17, 0.06);
    background-image: repeating-linear-gradient(45deg,
            rgba(17, 17, 17, 0.025) 0px,
            rgba(17, 17, 17, 0.025) 1px,
            transparent 1px,
            transparent 14px);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: background-color 0.3s ease;
}

.showcase-card:hover {
    background-color: rgba(201, 169, 97, 0.04);
}

.showcase-title {
    font-family: var(--font-heading);
    font-size: 26px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-black);
    margin: 0 0 24px;
}

.showcase-image-link {
    display: block;
    width: 100%;
    max-width: 280px;
    margin-bottom: 28px;
}

.showcase-image-link img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.showcase-card:hover .showcase-image-link img {
    transform: scale(1.05) rotate(-1deg);
}

.btn-view-collection {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-black);
    color: var(--color-white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 30px;
    border: 1px solid var(--color-black);
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-view-collection i {
    font-size: 10px;
    transition: transform 0.25s ease;
}

.btn-view-collection:hover {
    background: transparent;
    color: var(--color-black);
    border-color: var(--color-gold);
}

.btn-view-collection:hover i {
    transform: translateX(3px);
}

.category-showcase-button {
    text-align: center;
    margin-top: 48px;
}

@media (max-width: 900px) {
    .category-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .category-showcase-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 480px) {
    .header-inner {
        padding: 0 16px;
    }

    .header-logo img {
        height: 90px;
    }

    .cart-total {
        display: none;
    }
}

/* =========================================
   REVIEWS / RATING SUMMARY
========================================= */

.reviews-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px 72px;
}

.reviews-summary {
    text-align: center;
    margin-bottom: 48px;
}

.reviews-heading {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 28px;
    color: var(--color-black);
    margin: 0 0 6px;
}

.reviews-heading-strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 46px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-black);
    margin-top: 4px;
}

.reviews-count {
    font-size: 14px;
    color: rgba(17, 17, 17, 0.6);
    margin: 0 0 18px;
}

.reviews-stars-badge {
    display: inline-flex;
}

.tile-stars-row {
    display: flex;
    gap: 4px;
}

.tile-star {
    width: 34px;
    height: 34px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #00b67a var(--fill), #dcdce6 var(--fill));
}

.tile-star i {
    color: #fff;
    font-size: 15px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: var(--color-bg-header);
    border-radius: 12px;
    padding: 28px 26px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.review-card:hover {
    box-shadow: 0 14px 32px rgba(17, 17, 17, 0.08);
    transform: translateY(-3px);
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--color-black);
    color: var(--color-gold);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.review-name {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-black);
}

.review-location {
    margin: 2px 0 0;
    font-size: 12px;
    color: rgba(17, 17, 17, 0.5);
}

.review-stars {
    margin-bottom: 12px;
}

.review-stars i {
    color: var(--color-gold);
    font-size: 13px;
    margin-right: 2px;
}

.review-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-black);
    margin: 0 0 8px;
}

.review-text {
    font-size: 13.5px;
    line-height: 1.6;
    color: rgba(17, 17, 17, 0.75);
    margin: 0 0 16px;
}

.review-date {
    font-size: 11px;
    color: rgba(17, 17, 17, 0.4);
    margin: 0 0 16px;
}

.review-actions {
    display: flex;
    gap: 20px;
    border-top: 1px solid rgba(17, 17, 17, 0.08);
    padding-top: 14px;
}

.review-actions span {
    font-size: 12px;
    color: rgba(17, 17, 17, 0.55);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: color 0.25s ease;
}

.review-actions span:hover {
    color: var(--color-red);
}

@media (max-width: 900px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .reviews-heading-strong {
        font-size: 36px;
    }
}

.trustpilot-credit {
    margin: 14px 0 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.trustpilot-credit i {
    color: #00b67a;
    font-size: 16px;
}

/* =========================================
   SCREENSHOT REVIEWS CAROUSEL
========================================= */

.screenshot-carousel-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 56px 24px 64px;
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    flex: 1;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    flex: 0 0 auto;
    width: calc((100% - 4 * 20px) / 5);
    scroll-snap-align: start;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(17, 17, 17, 0.1);
}

.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-arrow {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-black);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: background 0.25s ease, color 0.25s ease;
}

.carousel-arrow:hover {
    background: var(--color-gold);
    color: var(--color-black);
}

@media (max-width: 900px) {
    .carousel-item {
        width: calc((100% - 2 * 20px) / 3);
    }
}

@media (max-width: 560px) {
    .carousel-item {
        width: calc((100% - 20px) / 2);
    }

    .carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

/* =========================================
   SERVICE / TRUST FEATURES
========================================= */

.trust-features-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 56px 24px 64px;
}

.trust-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.trust-feature-card {
    background: var(--color-bg-header);
    border-radius: 14px;
    padding: 40px 28px;
    text-align: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.trust-feature-card:hover {
    box-shadow: 0 16px 36px rgba(17, 17, 17, 0.1);
    transform: translateY(-4px);
}

.trust-feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
}

.trust-feature-icon i {
    color: var(--color-gold);
    font-size: 24px;
}

.trust-feature-title {
    font-family: var(--font-heading);
    font-size: 22px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-black);
    margin: 0 0 12px;
}

.trust-feature-text {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(17, 17, 17, 0.7);
    margin: 0;
}

.trust-feature-text a {
    color: var(--color-red);
    text-decoration: none;
}

.trust-feature-text a:hover {
    text-decoration: underline;
}

.trust-feature-badges {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
}

.trust-feature-badges i {
    font-size: 26px;
    color: var(--color-black);
}

.trust-feature-couriers {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

.trust-feature-couriers span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-black);
    border: 1px solid rgba(17, 17, 17, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
}

@media (max-width: 900px) {
    .trust-features-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   SECURE SHOPPING BADGES
========================================= */

.secure-badges-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 56px 24px 64px;
}

.secure-badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.secure-badge-card {
    border: 1px solid rgba(17, 17, 17, 0.1);
    border-radius: 12px;
    padding: 32px 22px;
    text-align: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.secure-badge-card:hover {
    border-color: var(--color-red);
    box-shadow: 0 14px 30px rgba(17, 17, 17, 0.08);
    transform: translateY(-3px);
}

.secure-badge-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(122, 31, 31, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.secure-badge-icon i {
    color: var(--color-red);
    font-size: 22px;
}

.secure-badge-title {
    font-family: var(--font-heading);
    font-size: 18px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-black);
    margin: 0 0 10px;
}

.secure-badge-text {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(17, 17, 17, 0.65);
    margin: 0;
}

@media (max-width: 900px) {
    .secure-badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .secure-badges-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   SOCIAL PROOF MARQUEE
========================================= */

.feedback-marquee-section {
    background: var(--color-black);
    padding: 48px 0 56px;
    overflow: hidden;
}

.feedback-marquee-heading {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 26px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-white);
    margin: 0 0 32px;
}

.feedback-marquee-heading::before {
    content: '';
}

.feedback-marquee-wrapper {
    width: 100%;
    overflow: hidden;
}

.feedback-marquee-track {
    display: flex;
    gap: 18px;
    width: max-content;
    will-change: transform;
}

.feedback-marquee-item {
    flex: 0 0 auto;
    width: 200px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(201, 169, 97, 0.2);
}

.feedback-marquee-item img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 560px) {
    .feedback-marquee-item {
        width: 140px;
    }

    .feedback-marquee-heading {
        font-size: 19px;
        padding: 0 20px;
    }
}

/* =========================================
   CATALOG PAGE (Shop / Category archives)
========================================= */

.catalog-title-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px 32px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.catalog-title {
    font-family: var(--font-heading);
    font-size: 42px;
    letter-spacing: 1px;
    color: var(--color-black);
    margin: 0 0 8px;
}

.catalog-description {
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(17, 17, 17, 0.6);
    max-width: 640px;
    margin: 0 auto;
}

.catalog-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 32px 80px;
    display: flex;
    align-items: flex-start;
    gap: 48px;
}

/* =========================================
   SIDEBAR — Filter Everything
========================================= */

.catalog-sidebar {
    flex: 0 0 260px;
    position: sticky;
    top: calc(var(--announcement-height) + var(--header-height) + 24px);
}

.catalog-sidebar-title {
    font-family: var(--font-heading);
    font-size: 20px;
    letter-spacing: 1px;
    color: var(--color-black);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-gold);
}

/* Filter Everything's own filter titles ("Price", "Product categories") */
.catalog-sidebar .fe-filter-title,
.catalog-sidebar .fe-widget-title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-black);
    margin: 28px 0 14px;
}

.catalog-sidebar .fe-filter-title:first-child,
.catalog-sidebar .fe-widget-title:first-child {
    margin-top: 0;
}

/* Price range inputs */
.catalog-sidebar input[type="number"],
.catalog-sidebar input[type="text"] {
    font-family: var(--font-body);
    font-size: 13px;
    border: 1px solid rgba(17, 17, 17, 0.15);
    border-radius: 2px;
    padding: 8px 10px;
    background: var(--color-white);
    color: var(--color-black);
    width: 100%;
}

/* Numeric range slider handles/track */
.catalog-sidebar .fe-range-slider .noUi-connect,
.catalog-sidebar .fe-slider-connect {
    background: var(--color-gold) !important;
}

.catalog-sidebar .noUi-handle,
.catalog-sidebar .fe-slider-handle {
    background: var(--color-black) !important;
    border: 2px solid var(--color-white) !important;
    box-shadow: 0 0 0 1px var(--color-gold) !important;
}

/* Category checkboxes */
.catalog-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.catalog-sidebar li {
    margin-bottom: 10px;
}

.catalog-sidebar label {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-black);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.catalog-sidebar input[type="checkbox"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 1.5px solid rgba(17, 17, 17, 0.3);
    border-radius: 2px;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.catalog-sidebar input[type="checkbox"]:checked {
    background: var(--color-black);
    border-color: var(--color-black);
}

.catalog-sidebar input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid var(--color-gold);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.catalog-sidebar .fe-term-count {
    color: rgba(17, 17, 17, 0.35);
    font-size: 11px;
    margin-left: auto;
}

.catalog-sidebar a {
    color: var(--color-black);
    text-decoration: none;
}

.catalog-sidebar a:hover {
    color: var(--color-red);
}

/* "See more" expand link */
.catalog-sidebar .fe-show-more,
.catalog-sidebar .fe-toggle-more {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-gold) !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Hide the admin-only "Edit Filter Set" link on the live site */
.catalog-sidebar .fe-edit-filter-set-link {
    display: none;
}

/* =========================================
   PRODUCTS — result count + sort row
========================================= */

.catalog-products {
    flex: 1;
    min-width: 0;
}

.catalog-products::after {
    content: '';
    display: table;
    clear: both;
}

.woocommerce-result-count {
    float: left;
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.5);
    margin: 0 0 24px;
}

.woocommerce-ordering {
    float: right;
    margin: 0 0 24px;
}

.woocommerce-ordering select {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-black);
    border: 1px solid rgba(17, 17, 17, 0.15);
    border-radius: 2px;
    padding: 8px 32px 8px 12px;
    background: var(--color-white);
    appearance: none;
    cursor: pointer;
}

/* =========================================
   PRODUCT GRID
========================================= */

ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    clear: both;
}

ul.products li.product {
    margin: 0 !important;
}

ul.products li.product a {
    text-decoration: none;
    color: var(--color-black);
    display: block;
}

ul.products li.product img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: var(--color-product-bg);
    transition: transform 0.4s ease;
}

ul.products li.product:hover img {
    transform: scale(1.03);
}

ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-black);
    margin: 14px 0 6px;
    line-height: 1.4;
}

ul.products li.product .price {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-black);
}

ul.products li.product .price del {
    color: rgba(17, 17, 17, 0.4);
    font-weight: 400;
    margin-right: 8px;
}

ul.products li.product .price ins {
    text-decoration: none;
    color: var(--color-red);
}

/* Sale badge */
.onsale {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-red) !important;
    color: var(--color-white) !important;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 2px;
    min-height: 0 !important;
    line-height: 1 !important;
}

ul.products li.product {
    position: relative;
}

/* =========================================
   PAGINATION
========================================= */

.woocommerce-pagination {
    margin-top: 56px;
    text-align: center;
}

.woocommerce-pagination ul.page-numbers {
    list-style: none;
    display: inline-flex;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.woocommerce-pagination .page-numbers li {
    list-style: none;
}

.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-black);
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 2px;
    text-decoration: none;
}

.woocommerce-pagination .page-numbers a:hover,
.woocommerce-pagination .page-numbers .current {
    background: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
}

/* =========================================
   RESPONSIVE — tablet/mobile
========================================= */

@media (max-width: 992px) {
    .catalog-layout {
        flex-direction: column;
        gap: 24px;
    }

    .catalog-sidebar {
        flex: none;
        width: 100%;
        position: static;
    }

    ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .catalog-title {
        font-size: 30px;
    }

    .woocommerce-result-count,
    .woocommerce-ordering {
        float: none;
        display: block;
        margin-bottom: 12px;
    }
}

/* =========================================
   OVERRIDE THEME DEFAULT BLUE (buttons, focus states)
========================================= */

.button,
.add_to_cart_button,
.ajax_add_to_cart,
.single_add_to_cart_button,
a.button,
button.button {
    background: var(--color-black) !important;
    color: var(--color-white) !important;
    border: none !important;
    font-family: var(--font-body) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    border-radius: 2px !important;
    padding: 12px 20px !important;
    transition: background 0.25s ease, color 0.25s ease;
}

.button:hover,
.add_to_cart_button:hover,
.ajax_add_to_cart:hover,
.single_add_to_cart_button:hover,
a.button:hover,
button.button:hover {
    background: var(--color-gold) !important;
    color: var(--color-black) !important;
}

.added_to_cart {
    color: var(--color-red) !important;
    font-family: var(--font-body) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: underline;
}

/* Kill Blocksy's default blue focus ring everywhere on the catalog page */
.catalog-layout input:focus,
.catalog-layout select:focus,
.catalog-layout button:focus,
.woocommerce-ordering select:focus {
    outline: none !important;
    border-color: var(--color-gold) !important;
    box-shadow: 0 0 0 1px var(--color-gold) !important;
}

/* =========================================
   PAGINATION — Blocksy's .ct-pagination markup
========================================= */

nav.ct-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 56px;
}

nav.ct-pagination div.ct-hidden-sm {
    display: flex;
    align-items: center;
    gap: 6px;
}

nav.ct-pagination a.page-numbers,
nav.ct-pagination span.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    background: var(--color-white) !important;
    color: var(--color-black) !important;
    border: 1px solid rgba(17, 17, 17, 0.15) !important;
    border-radius: 2px !important;
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    gap: 6px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

nav.ct-pagination a.page-numbers:hover {
    background: var(--color-black) !important;
    color: var(--color-white) !important;
    border-color: var(--color-black) !important;
}

nav.ct-pagination span.page-numbers.current {
    background: var(--color-black) !important;
    color: var(--color-white) !important;
    border-color: var(--color-black) !important;
}

/* Prev/Next specifically — slightly wider, icon + text */
nav.ct-pagination a.prev.page-numbers,
nav.ct-pagination a.next.page-numbers {
    padding: 0 16px;
    text-transform: uppercase;
    font-size: 11px !important;
    letter-spacing: 1px;
}

nav.ct-pagination a.prev.page-numbers:hover,
nav.ct-pagination a.next.page-numbers:hover {
    background: var(--color-gold) !important;
    color: var(--color-black) !important;
    border-color: var(--color-gold) !important;
}

nav.ct-pagination svg {
    fill: currentColor;
    width: 8px;
    height: 8px;
}

/* =========================================
   SINGLE PRODUCT — final, verified against real markup
========================================= */

.product-breadcrumb-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 32px 0;
}

.product-breadcrumb {
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(17, 17, 17, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-breadcrumb a {
    color: rgba(17, 17, 17, 0.45);
    text-decoration: none;
}

.product-breadcrumb a:hover {
    color: var(--color-black);
}

.product-breadcrumb .breadcrumb-sep {
    margin: 0 6px;
    color: rgba(17, 17, 17, 0.25);
}

/* =========================================
   TWO-COLUMN LAYOUT
   .product-entry-wrapper is the real, confirmed parent of both
   the gallery and the summary — this is not a guess.
========================================= */

.product-detail-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 32px 0;
}

.product-detail-layout .product-entry-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 56px;
}

.product-detail-layout .woocommerce-product-gallery {
    flex: 0 0 50%;
    max-width: 50%;
    min-width: 0;
}

.product-detail-layout .summary.entry-summary {
    flex: 1;
    min-width: 0;
}

/* =========================================
   SUMMARY CONTENT
========================================= */

.product-eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin: 0 0 8px;
}

.summary.entry-summary h1.product_title {
    font-family: var(--font-heading);
    font-size: 34px;
    letter-spacing: 0.5px;
    color: var(--color-black);
    margin: 0 0 16px;
    line-height: 1.15;
}

.summary.entry-summary .star-rating {
    color: var(--color-gold);
    font-size: 14px;
    margin-bottom: 14px;
}

.summary.entry-summary p.price {
    font-family: var(--font-body);
    font-size: 26px;
    font-weight: 600;
    color: var(--color-black);
    margin: 0 0 28px;
}

.summary.entry-summary p.price .sale-price del .woocommerce-Price-amount {
    color: rgba(17, 17, 17, 0.35);
    font-weight: 400;
    font-size: 18px;
}

.summary.entry-summary p.price .sale-price ins {
    text-decoration: none;
}

.summary.entry-summary p.price .sale-price ins .woocommerce-Price-amount {
    color: var(--color-red);
}

/* =========================================
   ACCORDION — now inside the summary column, so it's no longer
   centered/max-width constrained, it just fills the column
========================================= */

.summary.entry-summary .product-accordion {
    margin: 0 0 28px;
    padding: 0;
}

.summary.entry-summary .product-accordion-item {
    border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}

.summary.entry-summary .product-accordion-trigger {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 14px;
    letter-spacing: 1px;
    color: var(--color-black);
    text-transform: uppercase;
}

.summary.entry-summary .product-accordion-trigger i {
    font-size: 11px;
    color: var(--color-gold);
    transition: transform 0.3s ease;
}

.summary.entry-summary .product-accordion-item.is-open .product-accordion-trigger i {
    transform: rotate(180deg);
}

.summary.entry-summary .product-accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.summary.entry-summary .product-accordion-inner {
    padding: 0 0 16px;
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.7;
    color: rgba(17, 17, 17, 0.7);
}

.summary.entry-summary .product-attributes-table {
    width: 100%;
    border-collapse: collapse;
}

.summary.entry-summary .product-attributes-table tr {
    border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.summary.entry-summary .product-attributes-table th,
.summary.entry-summary .product-attributes-table td {
    text-align: left;
    padding: 8px 0;
    font-size: 12px;
}

.summary.entry-summary .product-attributes-table th {
    width: 140px;
    font-weight: 600;
    color: var(--color-black);
}

.summary.entry-summary .product-attributes-table td {
    color: rgba(17, 17, 17, 0.6);
}

/* =========================================
   SIZE SELECTOR (variable products only — untested on this
   simple-product page, standard WooCommerce table.variations
   markup, colors/fonts only so it can't break if the real
   markup differs slightly)
========================================= */

.summary.entry-summary table.variations {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}

.summary.entry-summary table.variations th.label label {
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-black);
    margin-bottom: 8px;
}

.summary.entry-summary select {
    width: 100%;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-black);
    background: var(--color-white);
    border: 1px solid rgba(17, 17, 17, 0.2);
    border-radius: 2px;
    padding: 12px 14px;
}

.summary.entry-summary select:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 1px var(--color-gold);
}

/* =========================================
   QUANTITY + ADD TO CART
   Confirmed real classes: .ct-cart-actions wraps .quantity
   (Blocksy's custom stepper with .ct-increase/.ct-decrease) and
   the button as siblings. We only touch colors/fonts here —
   Blocksy's own CSS already handles the stepper's layout/icons.
========================================= */

.summary.entry-summary input.qty {
    border: 1px solid rgba(17, 17, 17, 0.2);
    border-radius: 2px;
    font-family: var(--font-body);
    color: var(--color-black);
}

.summary.entry-summary .single_add_to_cart_button {
    background: var(--color-black) !important;
    color: var(--color-white) !important;
    border: none !important;
    border-radius: 2px !important;
    font-family: var(--font-body) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase;
}

.summary.entry-summary .single_add_to_cart_button:hover {
    background: var(--color-gold) !important;
    color: var(--color-black) !important;
}

/* =========================================
   RELATED PRODUCTS
========================================= */

.product-related-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px 80px;
}

.product-related-wrap .ct-module-title {
    font-family: var(--font-heading);
    font-size: 28px;
    letter-spacing: 1px;
    color: var(--color-black);
    text-align: center;
    margin: 40px 0 32px;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {
    .product-detail-layout .product-entry-wrapper {
        flex-direction: column;
        gap: 28px;
    }

    .product-detail-layout .woocommerce-product-gallery {
        flex-basis: auto;
        max-width: 100%;
    }

    .summary.entry-summary h1.product_title {
        font-size: 26px;
    }
}

.product-detail-layout .woocommerce-product-gallery img {
    object-fit: contain !important;
    background: var(--color-product-bg);
}

.cart-checkout-page-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 32px 80px;
}

/* All links inside any WooCommerce notice — success, info, or error —
   styled consistently as a solid button, regardless of what class
   WooCommerce/Blocksy gives the specific link */
.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
    background: var(--color-black) !important;
    color: var(--color-white) !important;
    border: none !important;
    font-family: var(--font-body) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    padding: 8px 18px !important;
    border-radius: 4px !important;
    display: inline-block;
    transition: background 0.25s ease, color 0.25s ease;
}

.woocommerce-message a:hover,
.woocommerce-info a:hover,
.woocommerce-error a:hover {
    background: var(--color-gold) !important;
    color: var(--color-black) !important;
}



/* =========================================
   SIZE SELECTOR — cleaner spacing + custom select styling
========================================= */

.summary.entry-summary table.variations {
    margin: 24px 0 20px;
}

.summary.entry-summary table.variations tr {
    display: block;
}

.summary.entry-summary table.variations th.label {
    display: block;
    padding: 0 0 10px;
}

.summary.entry-summary table.variations th.label label {
    font-family: var(--font-heading);
    font-size: 15px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-black);
    margin: 0;
}

.summary.entry-summary table.variations td.value {
    display: block;
    padding: 0;
}

.summary.entry-summary select {
    width: 100%;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.4;
    color: var(--color-black);
    background: var(--color-white);
    border: 1.5px solid rgba(17, 17, 17, 0.15);
    border-radius: 4px;
    padding: 16px 40px 16px 16px;
    min-height: 52px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;

    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
}

.summary.entry-summary select:hover {
    border-color: var(--color-gold);
}

.summary.entry-summary select:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 1px var(--color-gold);
}

/* Reset link ("Cancella") WooCommerce adds after the select once
   a variation is chosen */
.summary.entry-summary .reset_variations {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    color: rgba(17, 17, 17, 0.5);
    text-decoration: underline;
}

.summary.entry-summary .reset_variations:hover {
    color: var(--color-red);
}


/* =========================================
   SITE FOOTER
========================================= */

.site-footer {
    background: var(--color-bg-header);
    padding: 64px 0 0;
}

.site-footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 32px;
}

.site-footer-top {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}

.site-footer-brand {
    flex: 0 0 320px;
}

.site-footer-logo {
    height: 120px;
    width: auto;
    display: block;
    margin-bottom: 20px;
}

.site-footer-tagline {
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(17, 17, 17, 0.6);
    line-height: 1.6;
    margin: 0 0 24px;
    max-width: 260px;
}

.site-footer-socials {
    display: flex;
    gap: 14px;
}

.site-footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(17, 17, 17, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-black);
    font-size: 16px;
    transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.site-footer-socials a:hover {
    border-color: var(--color-gold);
    color: var(--color-black);
    background: rgba(201, 169, 97, 0.12);
}

.site-footer-links {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 64px;
    flex-wrap: wrap;
}

.site-footer-col {
    min-width: 140px;
}

.site-footer-heading {
    font-family: var(--font-heading);
    font-size: 15px;
    letter-spacing: 1.5px;
    color: var(--color-black);
    margin: 0 0 20px;
}

.site-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer-col li {
    margin-bottom: 12px;
}

.site-footer-col a {
    font-family: var(--font-body);
    font-size: 13px;
    color: rgba(17, 17, 17, 0.65);
    text-decoration: none;
    transition: color 0.25s ease;
}

.site-footer-col a:hover {
    color: var(--color-red);
}

.site-footer-bottom {
    padding: 28px 0;
    text-align: center;
}

.site-footer-bottom p {
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(17, 17, 17, 0.4);
    margin: 0;
}

@media (max-width: 768px) {
    .site-footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .site-footer-brand {
        flex: none;
    }

    .site-footer-links {
        justify-content: flex-start;
        gap: 40px;
    }
}


/* =========================================
   LEGAL / INFO PAGES — shared structure
   (Contatti, Resi e Rimborsi, Privacy, Termini e Condizioni)
========================================= */

.legal-hero {
    background: var(--color-black);
    padding: 64px 32px 56px;
    text-align: center;
}

.legal-breadcrumb {
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(250, 250, 250, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.legal-breadcrumb a {
    color: rgba(250, 250, 250, 0.5);
    text-decoration: none;
}

.legal-breadcrumb a:hover {
    color: var(--color-gold);
}

.legal-breadcrumb .legal-breadcrumb-sep {
    margin: 0 6px;
    color: rgba(250, 250, 250, 0.25);
}

.legal-hero-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(201, 169, 97, 0.12);
    border: 1px solid rgba(201, 169, 97, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.legal-hero-icon i {
    color: var(--color-gold);
    font-size: 24px;
}

.legal-hero h1 {
    font-family: var(--font-heading);
    font-size: 44px;
    letter-spacing: 1px;
    color: var(--color-white);
    margin: 0 0 8px;
}

.legal-hero p {
    font-family: var(--font-body);
    font-size: 13px;
    color: rgba(250, 250, 250, 0.5);
    margin: 0;
}

.legal-body {
    max-width: 1300px;
    margin: 0 auto;
    padding: 56px 32px 90px;
    display: flex;
    align-items: flex-start;
    gap: 56px;
}

.legal-sidebar {
    flex: 0 0 240px;
    position: sticky;
    top: calc(var(--announcement-height) + var(--header-height) + 24px);
}

.legal-sidebar-title {
    font-family: var(--font-heading);
    font-size: 15px;
    letter-spacing: 1.5px;
    color: var(--color-black);
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-gold);
}

.legal-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.legal-sidebar li {
    margin-bottom: 4px;
}

.legal-sidebar a {
    display: block;
    font-family: var(--font-body);
    font-size: 13px;
    color: rgba(17, 17, 17, 0.6);
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
}

.legal-sidebar a:hover {
    background: var(--color-bg-header);
    color: var(--color-black);
}

.legal-sidebar a.is-current {
    background: var(--color-black);
    color: var(--color-white);
    font-weight: 600;
}

.legal-content {
    flex: 1;
    min-width: 0;
    max-width: 760px;
}

.legal-intro {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.75;
    color: rgba(17, 17, 17, 0.75);
    margin: 0 0 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    letter-spacing: 0.5px;
    color: var(--color-black);
    margin: 0 0 16px;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.legal-num {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 0;
}

.legal-section h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    letter-spacing: 0.5px;
    color: var(--color-black);
    margin: 24px 0 10px;
}

.legal-section p {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.75;
    color: rgba(17, 17, 17, 0.75);
    margin: 0 0 14px;
}

.legal-section ul {
    margin: 0 0 14px;
    padding-left: 20px;
}

.legal-section li {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.75;
    color: rgba(17, 17, 17, 0.75);
    margin-bottom: 6px;
}

.legal-section a {
    color: var(--color-red);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-callout {
    background: var(--color-bg-header);
    border-left: 4px solid var(--color-gold);
    border-radius: 4px;
    padding: 18px 22px;
    margin: 20px 0;
}

.legal-callout p {
    margin: 0;
    font-size: 13.5px;
}

.legal-callout p:not(:last-child) {
    margin-bottom: 10px;
}

.legal-callout-strong {
    font-weight: 700;
    color: var(--color-black);
}

.legal-callout-warning {
    border-left-color: var(--color-red);
}

.legal-callout-todo {
    border-left-color: rgba(17, 17, 17, 0.3);
    background: rgba(17, 17, 17, 0.03);
}

.legal-callout-todo p {
    font-style: italic;
    color: rgba(17, 17, 17, 0.6);
}

.legal-contact-box {
    background: var(--color-black);
    border-radius: 8px;
    padding: 28px 32px;
    margin-top: 12px;
}

.legal-contact-box p {
    color: rgba(250, 250, 250, 0.7);
    margin: 0 0 10px;
}

.legal-contact-box a {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 600;
}

.legal-contact-box a:hover {
    text-decoration: underline;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 20px;
}

.legal-table th,
.legal-table td {
    text-align: left;
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 13px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.legal-table th {
    font-weight: 700;
    color: var(--color-black);
    background: var(--color-bg-header);
}

.legal-table td {
    color: rgba(17, 17, 17, 0.7);
}

/* Simple info cards for the Contatti page */
.legal-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 8px 0 40px;
}

.legal-info-card {
    border: 1px solid rgba(17, 17, 17, 0.1);
    border-radius: 10px;
    padding: 26px 22px;
    text-align: center;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.legal-info-card:hover {
    border-color: var(--color-gold);
    box-shadow: 0 10px 26px rgba(17, 17, 17, 0.08);
}

.legal-info-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.legal-info-card-icon i {
    color: var(--color-gold);
    font-size: 18px;
}

.legal-info-card h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    letter-spacing: 0.5px;
    color: var(--color-black);
    margin: 0 0 8px;
}

.legal-info-card p {
    font-family: var(--font-body);
    font-size: 13px;
    color: rgba(17, 17, 17, 0.6);
    margin: 0;
}

.legal-info-card a {
    color: var(--color-black);
    text-decoration: none;
    font-weight: 600;
}

.legal-info-card a:hover {
    color: var(--color-red);
}

@media (max-width: 900px) {
    .legal-body {
        flex-direction: column;
        gap: 32px;
    }

    .legal-sidebar {
        flex: none;
        width: 100%;
        position: static;
    }

    .legal-sidebar ul {
        display: flex;
        gap: 8px;
        overflow-x: auto;
    }

    .legal-sidebar li {
        margin-bottom: 0;
        flex: 0 0 auto;
    }

    .legal-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .legal-hero h1 {
        font-size: 32px;
    }

    .legal-section h2 {
        font-size: 20px;
    }
}