/*
Theme Name: YES Group (Kadence Child)
Template: kadence
Version: 1.1.0
Description: YES Group UK child theme based on Kadence
*/

/* =============================================
   BRAND COLOURS
   ============================================= */
:root {
    --yes-red:    #BE2A26;
    --yes-red-dk: #9e1f1c;
    --yes-gold:   #C8A870;
    --yes-gold-dk:#b3934f;
    --yes-black:  #1a1a1a;
    --yes-grey:   #f5f5f5;
    --yes-border: #e8e8e8;
    --yes-text:   #333333;
}

/* =============================================
   HEADER
   ============================================= */
.site-header,
#masthead {
    border-bottom: 0 !important;
    position: sticky !important;
    top: 0;
    z-index: 998;
}

.yes-announcement + #masthead {
    top: 31px;
}

/* Remove large title banners on the main customer-facing navigation pages. */
body.woocommerce-shop .entry-hero.product-archive-hero-section,
body.term-new .entry-hero.product-archive-hero-section,
body.page-id-12812 .entry-hero.page-hero-section,
body.page-id-12622 .entry-hero.page-hero-section,
body.page-id-23 .entry-hero.page-hero-section {
    display: none;
}

/* Move catalogue products closer to the category/header banner. */
body.woocommerce.archive .content-area,
body.woocommerce-shop .content-area,
body.tax-product_cat .content-area {
    margin-top: 24px !important;
}

/* Hide site title text next to logo */
.site-title,
.site-description,
header .site-branding-text {
    display: none !important;
}

/* =============================================
   ANNOUNCEMENT TICKER
   ============================================= */
.yes-announcement {
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid var(--yes-border);
    color: var(--yes-black);
    white-space: nowrap;
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1.15;
    padding: 6px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.yes-announcement-track {
    display: flex;
    width: max-content;
    min-width: 100%;
    animation: yes-announcement-scroll 26s linear infinite;
}

.yes-announcement-track span {
    display: block;
    padding-right: clamp(80px, 16vw, 220px);
}

@keyframes yes-announcement-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .yes-announcement-track {
        animation: none;
        justify-content: center;
        width: 100%;
    }

    .yes-announcement-track span[aria-hidden="true"] {
        display: none;
    }
}

/* =============================================
   BUTTONS — gold (product grid) / red (single product)
   ============================================= */
.wp-element-button,
.button,
a.button,
button.button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background-color: var(--yes-gold) !important;
    border-color: var(--yes-gold) !important;
    color: #fff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
    background-color: var(--yes-gold-dk) !important;
    border-color: var(--yes-gold-dk) !important;
}

/* =============================================
   STAR RATINGS — gold
   ============================================= */
.star-rating span::before,
.woocommerce .star-rating span::before {
    color: var(--yes-gold) !important;
}

/* =============================================
   LINKS — brand red
   ============================================= */
.woocommerce-product-rating a,
.woocommerce-review-link {
    color: var(--yes-text) !important;
}

/* =============================================
   SINGLE PRODUCT PAGE
   ============================================= */

/* Force every possible ancestor of the Add to Basket button to not clip content */
#wrapper,
#inner-wrap,
#content,
.site-content,
.content-area,
.content-container,
main,
article,
.woocommerce,
div.product,
.entry-summary,
.summary,
.woo-single-content,
.woo-single-section,
.product-container,
.product-layout {
    overflow: visible !important;
}

/* Price */
.single-product div.product p.price,
.single-product div.product span.price {
    color: var(--yes-black) !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
}

/* Single product form.cart — quantity + button side by side (simple products) */
.single-product form.cart {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 12px !important;
    overflow: visible !important;
    flex-wrap: wrap !important;
}

/* Variable products — the inner wrapper that holds qty + button */
.single-product .woocommerce-variation-add-to-cart {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
}

.single-product form.cart div.quantity,
.single-product .woocommerce-variation-add-to-cart div.quantity {
    float: none !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.single-product form.cart div.quantity input.qty,
.single-product .woocommerce-variation-add-to-cart div.quantity input.qty {
    height: 100% !important;
    min-height: 52px !important;
    width: 70px !important;
    box-sizing: border-box !important;
    text-align: center !important;
}

/* Add to basket — gold, fills remaining width next to qty input */
.single-product .single_add_to_cart_button,
.single-product .single_add_to_cart_button.disabled {
    background-color: var(--yes-gold) !important;
    border-color: var(--yes-gold) !important;
    color: #fff !important;
    opacity: 1 !important;
    flex: 1 1 auto !important;
    width: auto !important;
    padding: 16px !important;
    font-size: 1rem !important;
    display: block !important;
    box-sizing: border-box !important;
    clear: none !important;
    float: none !important;
    margin: 0 !important;
}

/* Delivery info box */
.yes-delivery-box {
    border: 1px solid var(--yes-border) !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    margin-top: 16px !important;
    font-size: 0.9rem !important;
}

.yes-delivery-row {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    padding: 12px 14px !important;
    border-bottom: 1px solid var(--yes-border) !important;
}

.yes-delivery-row:last-child {
    border-bottom: none !important;
}

.yes-delivery-label {
    font-weight: 700 !important;
    color: var(--yes-black) !important;
    display: block !important;
    margin-bottom: 2px !important;
}

.yes-delivery-sub {
    color: #666 !important;
    font-size: 0.8rem !important;
}

.yes-delivery-price {
    font-weight: 700 !important;
    color: var(--yes-black) !important;
    white-space: nowrap !important;
    margin-left: 12px !important;
    flex-shrink: 0 !important;
}

/* Main product image — white background */
.woocommerce-product-gallery,
.woocommerce-product-gallery .flex-viewport,
.woocommerce-product-gallery__wrapper,
.woocommerce-product-gallery__image,
.woocommerce-product-gallery__image a,
.woocommerce div.product div.images {
    background: #fff !important;
}

.woocommerce-product-gallery__image img {
    background: #fff !important;
    object-fit: contain !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

/* Thumbnails — consistent square size, object-fit so they don't stretch */
.woocommerce-product-gallery .flex-control-thumbs {
    overflow: visible !important;
}

.woocommerce-product-gallery .flex-control-thumbs li {
    width: 80px !important;
    height: 80px !important;
}

.woocommerce-product-gallery .flex-control-thumbs li img {
    width: 80px !important;
    height: 80px !important;
    object-fit: contain !important;
    background: #fff !important;
    border: 1px solid var(--yes-border) !important;
    padding: 4px !important;
    box-sizing: border-box !important;
}

/* Active thumbnail border */
.woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
.woocommerce-product-gallery .flex-control-thumbs li img:hover {
    border-color: var(--yes-red) !important;
    opacity: 1 !important;
}

/* =============================================
   HEADER — ICON ROW (search, account, cart)
   ============================================= */

/* Right-side icon group spacing */
.site-main-header-wrap .site-header-row-main-right {
    display: flex;
    align-items: center;
    gap: 26px;
}

/* Cart item count badge */
.header-cart-wrap .cart-count {
    background: var(--yes-red) !important;
    color: #fff !important;
}

/* =============================================
   HEADER — ACCOUNT / LOGIN ICON
   ============================================= */
.yes-account-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none !important;
    color: var(--yes-black) !important;
    margin-right: 18px;
    min-width: 72px;
}

.yes-account-link svg {
    width: 23px;
    height: 23px;
}

.yes-account-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--yes-black);
}

.yes-account-link:hover,
.yes-account-link:hover .yes-account-label {
    color: var(--yes-red) !important;
}


/* =============================================
   HEADER — INLINE SEARCH BAR
   ============================================= */

/* Stretch the search item and its form to fill the center column */
.site-header-main-section-center {
    padding: 0 24px !important;
    flex: 1 1 34% !important;
    max-width: 34% !important;
    min-width: 340px !important;
}

.site-header-main-section-center .site-header-item,
.site-header-main-section-center .site-header-focus-item {
    width: 100% !important;
    flex: 1 1 auto !important;
}

.yes-header-search {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 340px !important;
}

.yes-header-search .yes-product-search-form,
.yes-header-search form {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    min-height: 46px !important;
    border: 1px solid #d8dde6 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    background: #fff !important;
    margin: 0 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04) !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease !important;
}

.yes-header-search .yes-product-search-form:focus-within {
    border-color: var(--yes-red) !important;
    box-shadow: 0 0 0 3px rgba(190,42,38,0.12) !important;
}

.yes-header-search input[type="search"],
.yes-header-search input.search-field {
    flex: 1 !important;
    height: 46px !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 16px !important;
    font-size: 0.95rem !important;
    line-height: 46px !important;
    color: var(--yes-text) !important;
    background: transparent !important;
    min-width: 0 !important;
    appearance: none !important;
}

.yes-header-search input[type="search"]::placeholder,
.yes-header-search input.search-field::placeholder {
    color: #8792a2 !important;
}

.yes-header-search button[type="submit"],
.yes-header-search input[type="submit"] {
    border: none !important;
    border-left: 1px solid #d8dde6 !important;
    background: #f8f9fb !important;
    color: #667085 !important;
    padding: 0 17px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.18s ease, color 0.18s ease !important;
    border-radius: 0 !important;
    width: 56px !important;
    min-width: 56px !important;
    min-height: 46px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 0 !important;
}

.yes-header-search button[type="submit"] svg {
    width: 20px !important;
    height: 20px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.yes-header-search button[type="submit"]:hover,
.yes-header-search button[type="submit"]:focus {
    background: var(--yes-red) !important;
    border-left-color: var(--yes-red) !important;
    color: #fff !important;
}

.header-cart-wrap {
    margin-left: 8px !important;
}

.header-cart-button {
    min-width: 68px !important;
    justify-content: center !important;
}

.header-cart-button:hover,
.header-cart-button:hover .header-cart-label {
    color: var(--yes-red) !important;
}

/* Hide any residual Kadence search toggle button */
.search-toggle-open-container {
    display: none !important;
}

/* =============================================
   HEADER — BOTTOM CATEGORY BAR
   ============================================= */
.site-bottom-header-wrap {
    background: var(--yes-gold) !important;
}

.site-bottom-header-wrap .site-header-row-container-inner {
    min-height: 46px !important;
}

/* Nav links */
.site-bottom-header-wrap .header-navigation-inner > ul > li > a,
.site-bottom-header-wrap .navigation-secondary .menu > li > a,
.site-bottom-header-wrap nav .menu > li > a,
.site-bottom-header-wrap nav a {
    color: var(--yes-black) !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.045em !important;
    padding: 12px 12px !important;
}

.site-bottom-header-wrap .header-navigation-inner > ul,
.site-bottom-header-wrap .navigation-secondary .menu {
    gap: 2px !important;
}

.site-bottom-header-wrap .header-navigation-inner > ul > li > a:hover,
.site-bottom-header-wrap .navigation-secondary .menu > li > a:hover {
    color: #fff !important;
    background: transparent !important;
}

/* Active/current page highlight */
.site-bottom-header-wrap .menu-item-current > a,
.site-bottom-header-wrap .current-menu-item > a {
    color: #fff !important;
}

/* Remove default bottom-row border/shadow */
.site-bottom-header-wrap {
    border-top: none !important;
    box-shadow: none !important;
}

/* Dropdown panel */
.site-bottom-header-wrap .sub-menu {
    background: #fff !important;
    border-top: 3px solid var(--yes-red) !important;
    border-radius: 0 0 4px 4px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
    min-width: 200px !important;
}

/* Dropdown items */
.site-bottom-header-wrap .sub-menu li a {
    color: var(--yes-text) !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    padding: 10px 18px !important;
    border-bottom: 1px solid var(--yes-border) !important;
}

.site-bottom-header-wrap .sub-menu li:last-child a {
    border-bottom: none !important;
}

.site-bottom-header-wrap .sub-menu li a:hover {
    color: var(--yes-red) !important;
    background: var(--yes-grey) !important;
}

.site-bottom-header-wrap .yes-nav-shop-menu > .sub-menu {
    display: none !important;
    min-width: 260px !important;
}

.site-bottom-header-wrap .yes-nav-shop-menu:hover > .sub-menu,
.site-bottom-header-wrap .yes-nav-shop-menu:focus-within > .sub-menu,
.site-bottom-header-wrap .yes-nav-shop-menu.is-open > .sub-menu {
    display: block !important;
}

.site-bottom-header-wrap .yes-nav-shop-menu > a::after,
.site-bottom-header-wrap .yes-nav-new-menu > a::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin: 0 0 3px 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}

.site-bottom-header-wrap .yes-nav-new-menu > .sub-menu {
    display: none !important;
    grid-template-columns: repeat(3, minmax(205px, 1fr));
    width: min(760px, calc(100vw - 40px)) !important;
    max-height: min(68vh, 620px);
    overflow-y: auto;
    padding: 10px !important;
}

.site-bottom-header-wrap .yes-nav-new-menu:hover > .sub-menu,
.site-bottom-header-wrap .yes-nav-new-menu:focus-within > .sub-menu,
.site-bottom-header-wrap .yes-nav-new-menu.is-open > .sub-menu {
    display: grid !important;
}

.site-bottom-header-wrap .yes-nav-new-menu > .sub-menu > li a {
    display: block !important;
    height: 100%;
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
    text-transform: none !important;
    letter-spacing: 0.015em !important;
    padding: 10px 12px !important;
}

/* =============================================
   HOMEPAGE — BASE
   ============================================= */
.yes-homepage {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

/* =============================================
   1. HERO BANNER — static
   ============================================= */
.yes-hero-banner {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.yes-hero-inner {
    max-width: 580px;
    margin-left: 8%;
    padding: 40px;
    background: rgba(0,0,0,0.45);
    border-left: 4px solid var(--yes-gold);
    border-radius: 2px;
}

.yes-hero-sub {
    color: var(--yes-gold);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 10px !important;
}

.yes-hero-title {
    color: #fff;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 24px !important;
}

.yes-hero-btn {
    display: inline-block;
    background: var(--yes-gold);
    color: #fff !important;
    padding: 14px 32px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 2px;
    text-decoration: none !important;
    transition: background 0.2s;
}

.yes-hero-btn:hover { background: var(--yes-gold-dk) !important; }
.yes-btn-sm { padding: 11px 24px !important; font-size: 0.82rem !important; }

/* =============================================
   2. CATEGORY CIRCLES
   ============================================= */
.yes-circles-section {
    background: #fff;
    padding: 40px 24px;
    border-bottom: 1px solid var(--yes-border);
}

.yes-circles-wrap {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.yes-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    flex: 1;
}

.yes-circle-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--yes-border);
    transition: border-color 0.2s;
}

.yes-circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.yes-circle-placeholder {
    background: var(--yes-grey);
}

.yes-circle-item:hover .yes-circle-img {
    border-color: var(--yes-red);
}

.yes-circle-item span {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--yes-black);
    text-align: center;
    line-height: 1.3;
}

/* =============================================
   3 & 6. PRODUCT SECTIONS
   ============================================= */
.yes-products-section {
    padding: 60px 24px;
    background: #fff;
}

.yes-products-alt {
    background: var(--yes-grey);
}

.yes-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.yes-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--yes-border);
    padding-bottom: 12px;
}

.yes-section-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--yes-black);
    margin: 0;
}

.yes-section-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--yes-red) !important;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.yes-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.yes-product-card {
    background: #fff;
    border: 1px solid var(--yes-border);
    border-radius: 4px;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.yes-product-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.yes-product-img {
    aspect-ratio: 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

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

.yes-product-info {
    padding: 12px 14px 16px;
    border-top: 1px solid var(--yes-border);
}

.yes-product-info h3 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--yes-black);
    margin: 0 0 6px !important;
    line-height: 1.4;
}

.yes-product-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--yes-red);
}

/* =============================================
   4. WIDE PROMO BANNER
   ============================================= */
.yes-promo-full {
    width: 100%;
    min-height: 340px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.yes-promo-inner {
    padding: 40px;
    background: rgba(0,0,0,0.4);
    border-radius: 4px;
    max-width: 500px;
}

.yes-promo-sub {
    color: var(--yes-gold);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 8px !important;
}

.yes-promo-title {
    color: #fff;
    font-size: 1.9rem;
    font-weight: 800;
    margin: 0 0 20px !important;
    line-height: 1.2;
}

/* =============================================
   5. TWO-PANEL SPLIT BANNER
   ============================================= */
.yes-split-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 300px;
}

.yes-split-panel {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
}

/* =============================================
   8. TRUST / USP STRIP
   ============================================= */
.yes-usp-strip {
    background: var(--yes-black);
    padding: 40px 24px;
}

.yes-usp-inner {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: center;
}

.yes-usp-item svg {
    width: 36px;
    height: 36px;
    color: var(--yes-gold);
    margin-bottom: 12px;
}

.yes-usp-item h3 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 6px !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.yes-usp-item p {
    color: #aaa;
    font-size: 0.82rem;
    margin: 0 !important;
}

/* =============================================
   HOMEPAGE RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
    .yes-hero-banner { height: 380px; }
    .yes-hero-title { font-size: 1.8rem; }
    .yes-circles-wrap { flex-wrap: wrap; justify-content: center; }
    .yes-circle-img { width: 90px; height: 90px; }
    .yes-products-grid { grid-template-columns: repeat(2, 1fr); }
    .yes-usp-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .yes-hero-banner { height: 280px; }
    .yes-hero-inner { margin-left: 5%; padding: 24px; }
    .yes-hero-title { font-size: 1.4rem; }
    .yes-split-banner { grid-template-columns: 1fr; }
    .yes-lifestyle-grid { grid-template-columns: 1fr; }
    .yes-usp-inner { grid-template-columns: 1fr; }
}

/* =============================================
   HOMEPAGE — CATEGORY GRID
   ============================================= */
.yes-categories-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
}

.yes-categories-header {
    text-align: center;
    margin-bottom: 40px;
}

.yes-categories-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--yes-black);
    margin: 0 0 10px;
}

.yes-categories-header p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.yes-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.yes-cat-tile {
    position: relative;
    display: block;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none !important;
    aspect-ratio: 4 / 3;
    background: #eee;
}

.yes-cat-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.yes-cat-tile:hover img {
    transform: scale(1.05);
}

.yes-cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 18px;
    transition: background 0.3s;
}

.yes-cat-tile:hover .yes-cat-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}

.yes-cat-overlay span {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

@media (max-width: 900px) {
    .yes-category-grid { grid-template-columns: repeat(2, 1fr); }
    .yes-hero-slider { height: 380px; }
    .yes-slide-title { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .yes-category-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .yes-hero-slider { height: 280px; }
    .yes-slide-inner { margin-left: 5%; padding: 24px; }
    .yes-slide-title { font-size: 1.3rem; }
}

/* =============================================
   HOMEPAGE — LIFESTYLE BANNERS
   ============================================= */
.yes-lifestyle-section {
    background: #f5f3ef;
    padding: 0 0 60px;
}

.yes-lifestyle-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.yes-lifestyle-banner {
    position: relative;
    display: block;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none !important;
    aspect-ratio: 4 / 3;
}

.yes-lifestyle-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.yes-lifestyle-banner:hover img {
    transform: scale(1.04);
}

.yes-lifestyle-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.05) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    transition: background 0.3s;
}

.yes-lifestyle-banner:hover .yes-lifestyle-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.yes-lifestyle-label {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
    margin-bottom: 6px;
}

.yes-lifestyle-cta {
    color: var(--yes-gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .yes-lifestyle-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   TRUST BAR — single product page
   ============================================= */
.yes-trust-bar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
    padding: 16px;
    background: #f9f6f1;
    border: 1px solid #ede8df;
    border-radius: 4px;
}

.yes-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    flex: 1;
}

.yes-trust-item svg {
    width: 28px;
    height: 28px;
    color: var(--yes-gold);
    flex-shrink: 0;
}

.yes-trust-item span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.3;
}

@media (max-width: 480px) {
    .yes-trust-bar {
        flex-wrap: wrap;
    }
    .yes-trust-item {
        flex: 1 1 calc(50% - 12px);
    }
}

/* =============================================
   SHOP / CATEGORY — PRODUCT GRID
   ============================================= */
ul.products::before,
ul.products::after {
    display: none !important;
}

ul.products[class*="columns-"],
ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    float: none !important;
    margin: 0 0 24px !important;
    padding: 0 !important;
}

/* Card */
ul.products li.product {
    background: #fff !important;
    border: 1px solid var(--yes-border) !important;
    border-radius: 4px !important;
    overflow: visible !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}


/* Content area — fills remaining card height, stacks title/rating/price/button */
ul.products li.product .product-details.entry-content-wrap {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Image area — fixed height so all cards are identical regardless of original image size */
ul.products li.product a.woocommerce-loop-product__link {
    display: block !important;
    background: #fff !important;
    padding: 16px !important;
    line-height: 0 !important;
    height: 220px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

ul.products li.product a img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    background: transparent !important;
    padding: 0 !important;
    display: block !important;
    border-radius: 0 !important;
}

/* Title — grows to push rating/price/button to bottom */
ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    padding: 16px 16px 4px !important;
    flex-grow: 1 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

/* Star ratings */
ul.products li.product .star-rating {
    margin: 4px 16px 8px !important;
    float: none !important;
    display: block !important;
}

ul.products li.product .star-rating span::before {
    color: var(--yes-gold) !important;
}

/* Price — fixed height row above button */
ul.products li.product .price {
    font-weight: 700 !important;
    font-size: 1.15rem !important;
    color: #1a1a1a !important;
    padding: 4px 16px 12px !important;
    display: block !important;
    margin: 0 !important;
}

/* Product action wrap — always visible, pinned to bottom */
ul.products li.product .product-action-wrap {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    bottom: auto !important;
    padding: 0 !important;
    margin-top: auto !important;
    transition: none !important;
    width: 100% !important;
}

/* Hide "View cart" link that WooCommerce injects after AJAX add-to-cart */
ul.products li.product .added_to_cart {
    display: none !important;
}

/* Override Kadence's height:0 collapse on the added-to-cart button state */
ul.products li.product .button.added {
    height: auto !important;
    padding: 15px 0 !important;
    border: none !important;
    overflow: visible !important;
}

/* Button — always visible, full width, flush to card bottom */
ul.products li.product .button {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 15px 0 !important;
    text-align: center !important;
    background-color: var(--yes-gold) !important;
    border: none !important;
    border-radius: 0 0 4px 4px !important;
    color: #fff !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    box-sizing: border-box !important;
    /* Force always visible — Kadence hides by default until hover */
    opacity: 1 !important;
    visibility: visible !important;
    position: static !important;
    transform: none !important;
}

ul.products li.product .button:hover {
    background-color: var(--yes-gold-dk) !important;
}

/* Out of stock */
ul.products li.product .out-of-stock-btn {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 15px 0 !important;
    text-align: center !important;
    background: #999 !important;
    border: none !important;
    border-radius: 0 0 4px 4px !important;
    cursor: not-allowed !important;
    color: #fff !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    box-sizing: border-box !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
    ul.products[class*="columns-"],
    ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    ul.products[class*="columns-"],
    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    ul.products[class*="columns-"],
    ul.products {
        grid-template-columns: 1fr !important;
    }
}

/* =============================================
   CUSTOM FOOTER
   ============================================= */

.yes-footer {
    background: #1a1a1a;
    color: #ccc;
    font-size: 0.875rem;
    line-height: 1.6;
}

.yes-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.yes-footer-main .yes-footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-top: 48px;
    padding-bottom: 40px;
}

.yes-footer-logo {
    height: 50px;
    width: auto;
    display: block;
    margin-bottom: 16px;
}

.yes-footer-brand p {
    color: #aaa;
    margin: 0 0 8px;
    font-size: 0.85rem;
}

.yes-footer-address {
    color: #888 !important;
    font-style: italic;
}

.yes-footer-heading {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--yes-red);
    display: inline-block;
}

.yes-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.yes-footer-links li {
    margin-bottom: 8px;
}

.yes-footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s;
}

.yes-footer-links a:hover {
    color: var(--yes-gold);
}

.yes-footer-ssl {
    height: 36px;
    width: auto;
    display: block;
    margin-bottom: 4px;
}

.yes-footer-payment {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.yes-footer-payment img {
    height: 28px;
    width: auto;
}

.yes-footer-payment svg {
    height: 28px;
    width: auto;
}

/* Bottom bar */
.yes-footer-bottom {
    background: var(--yes-red);
    padding: 14px 0;
}

.yes-footer-bottom .yes-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.yes-footer-bottom span {
    color: rgba(255,255,255,0.85);
    font-size: 0.8rem;
}

/* Responsive footer */
@media (max-width: 960px) {
    .yes-footer-main .yes-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .yes-footer-main .yes-footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .yes-footer-bottom .yes-footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* =============================================
   RESPONSIVE SITE PASS
   ============================================= */
.yes-mobile-search-wrap {
    display: none;
}

@media (min-width: 769px) and (max-width: 1024px) {
    #mobile-header,
    .yes-mobile-search-wrap {
        display: none !important;
    }

    #main-header,
    #main-header .site-header-wrap,
    #main-header .site-bottom-header-wrap,
    .site-bottom-header-wrap,
    .site-bottom-header-wrap .site-header-row-container-inner,
    .site-bottom-header-wrap .site-header-row,
    .site-bottom-header-wrap .site-header-section,
    .site-bottom-header-wrap .site-header-item,
    .site-bottom-header-wrap .navigation-secondary,
    .site-bottom-header-wrap .header-navigation,
    .site-bottom-header-wrap .header-navigation-inner {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .site-bottom-header-wrap .site-header-row,
    .site-bottom-header-wrap .header-navigation-inner > ul,
    .site-bottom-header-wrap .navigation-secondary .menu {
        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }

    .site-bottom-header-wrap .site-header-row-container-inner {
        overflow: visible !important;
    }

    .site-bottom-header-wrap .header-navigation-inner > ul > li > a,
    .site-bottom-header-wrap .navigation-secondary .menu > li > a,
    .site-bottom-header-wrap nav .menu > li > a,
    .site-bottom-header-wrap nav a {
        font-size: clamp(0.82rem, 1.55vw, 1rem) !important;
        padding-left: clamp(7px, 1vw, 11px) !important;
        padding-right: clamp(7px, 1vw, 11px) !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 1024px) {
    body {
        overflow-x: hidden;
    }

    #mobile-header {
        border-bottom: 0 !important;
    }

    .yes-announcement {
        font-size: 0.86rem;
        padding: 6px 0;
    }

    .yes-announcement + #masthead {
        top: 29px;
    }

    .site-bottom-header-wrap .yes-nav-shop-menu,
    .site-bottom-header-wrap .yes-nav-new-menu {
        position: relative !important;
    }

    .site-bottom-header-wrap .yes-nav-shop-menu > .sub-menu,
    .site-bottom-header-wrap .yes-nav-new-menu > .sub-menu {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        z-index: 1005 !important;
        width: min(330px, calc(100vw - 24px)) !important;
        min-width: min(260px, calc(100vw - 24px)) !important;
        max-height: min(70vh, 520px);
        overflow-y: auto;
        padding: 8px 0 !important;
        margin: 0 !important;
        background: #fff !important;
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18) !important;
        border-radius: 0 0 6px 6px !important;
    }

    .site-bottom-header-wrap .yes-nav-new-menu > .sub-menu {
        left: auto !important;
        right: 0 !important;
    }

    .site-bottom-header-wrap .yes-nav-shop-menu:hover > .sub-menu,
    .site-bottom-header-wrap .yes-nav-shop-menu:focus-within > .sub-menu,
    .site-bottom-header-wrap .yes-nav-new-menu:hover > .sub-menu,
    .site-bottom-header-wrap .yes-nav-new-menu:focus-within > .sub-menu,
    .site-bottom-header-wrap .yes-nav-shop-menu.is-open > .sub-menu,
    .site-bottom-header-wrap .yes-nav-new-menu.is-open > .sub-menu {
        display: block !important;
    }

    .site-bottom-header-wrap .yes-nav-shop-menu > .sub-menu li a,
    .site-bottom-header-wrap .yes-nav-new-menu > .sub-menu li a {
        white-space: normal !important;
        line-height: 1.35 !important;
        padding: 11px 18px !important;
    }

    #mobile-site-navigation .yes-nav-shop-menu.is-open > .sub-menu,
    #mobile-site-navigation .yes-nav-new-menu.is-open > .sub-menu {
        display: block !important;
        position: static !important;
        width: auto !important;
        max-height: none;
        overflow-y: visible;
        padding: 0 0 8px 14px !important;
        margin: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }

    #mobile-drawer,
    #mobile-drawer .drawer-inner,
    #mobile-drawer .drawer-content {
        max-height: 100vh;
        overflow-y: auto;
    }

    #mobile-site-navigation .yes-nav-shop-menu > a,
    #mobile-site-navigation .yes-nav-new-menu > a {
        font-weight: 800 !important;
    }

    #mobile-site-navigation .yes-nav-shop-menu > a::after,
    #mobile-site-navigation .yes-nav-new-menu > a::after {
        content: "";
        display: inline-block;
        width: 7px;
        height: 7px;
        margin: 0 0 3px 10px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
    }

    #mobile-site-navigation .yes-nav-shop-menu.is-open > a::after,
    #mobile-site-navigation .yes-nav-new-menu.is-open > a::after {
        transform: rotate(225deg);
        margin-bottom: -1px;
    }

    #mobile-site-navigation .yes-nav-shop-menu > .sub-menu > li > a,
    #mobile-site-navigation .yes-nav-new-menu > .sub-menu > li > a {
        padding: 10px 0 !important;
        line-height: 1.35 !important;
        white-space: normal !important;
        font-size: 0.9rem !important;
        border-bottom: 1px solid var(--yes-border) !important;
    }

    #mobile-header .site-container,
    #mobile-header .site-header-row-container-inner {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    #mobile-header .site-header-row {
        min-height: 72px !important;
    }

    #mobile-header .site-branding img,
    #mobile-header .custom-logo {
        max-height: 54px !important;
        width: auto !important;
    }

    .yes-mobile-search-wrap {
        display: block;
        padding: 12px 14px 14px;
        background: #fff;
        border-bottom: 1px solid var(--yes-border);
    }

    .yes-mobile-search-wrap .yes-product-search-form {
        display: flex !important;
        width: 100% !important;
        min-height: 44px !important;
        border: 1px solid #d8dde6 !important;
        border-radius: 6px !important;
        overflow: hidden !important;
        background: #fff !important;
        box-shadow: 0 1px 2px rgba(0,0,0,0.04) !important;
    }

    .yes-mobile-search-wrap input[type="search"] {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        height: 44px !important;
        border: 0 !important;
        box-shadow: none !important;
        padding: 0 13px !important;
        font-size: 0.94rem !important;
        line-height: 44px !important;
    }

    .yes-mobile-search-wrap button[type="submit"] {
        width: 52px !important;
        min-width: 52px !important;
        min-height: 44px !important;
        border: 0 !important;
        border-left: 1px solid #d8dde6 !important;
        border-radius: 0 !important;
        background: #f8f9fb !important;
        color: #667085 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        font-size: 0 !important;
    }

    .yes-mobile-search-wrap button[type="submit"] svg {
        width: 20px !important;
        height: 20px !important;
        fill: none !important;
        stroke: currentColor !important;
        stroke-width: 2.2 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
    }

    .yes-mobile-search-wrap button[type="submit"]:hover,
    .yes-mobile-search-wrap button[type="submit"]:focus {
        background: var(--yes-red) !important;
        border-left-color: var(--yes-red) !important;
        color: #fff !important;
    }

    .yes-circles-section,
    .yes-products-section,
    .yes-categories-section {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .yes-section-header {
        align-items: flex-start;
        gap: 10px;
    }

    .yes-section-header h2,
    .yes-categories-header h2,
    .yes-products h2 {
        font-size: 1.45rem !important;
        line-height: 1.2 !important;
    }

    .yes-split-banner,
    .yes-lifestyle-grid {
        gap: 0;
    }

    .woocommerce .woocommerce-result-count,
    .woocommerce .woocommerce-ordering {
        float: none !important;
        width: 100% !important;
        margin: 0 0 12px !important;
    }

    .woocommerce .woocommerce-ordering select {
        width: 100% !important;
        min-height: 42px !important;
    }
}

@media (max-width: 768px) {
    .yes-hero-banner {
        min-height: 340px;
        height: auto;
        padding: 40px 18px;
    }

    .yes-hero-inner {
        width: 100%;
        margin: 0;
        padding: 28px 22px;
    }

    .yes-hero-title {
        font-size: 1.65rem !important;
    }

    .yes-section-header {
        flex-direction: column;
        margin-bottom: 22px;
    }

    .yes-products-section {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    ul.products[class*="columns-"],
    ul.products {
        gap: 16px !important;
    }

    ul.products li.product a.woocommerce-loop-product__link {
        height: 190px !important;
        padding: 14px !important;
    }

    ul.products li.product .woocommerce-loop-product__title {
        font-size: 0.88rem !important;
        padding: 13px 13px 4px !important;
    }

    ul.products li.product .price {
        font-size: 1rem !important;
        padding: 4px 13px 10px !important;
    }

    ul.products li.product .button,
    ul.products li.product .out-of-stock-btn {
        min-height: 44px !important;
        padding: 12px 8px !important;
        white-space: normal !important;
        line-height: 1.25 !important;
    }

    .single-product form.cart,
    .single-product .woocommerce-variation-add-to-cart {
        align-items: stretch !important;
    }

    .single-product .single_add_to_cart_button {
        min-height: 52px !important;
    }

    .yes-trust-bar {
        gap: 10px;
        padding: 14px 10px;
    }
}

@media (max-width: 480px) {
    .yes-mobile-search-wrap {
        padding-left: 12px;
        padding-right: 12px;
    }

    .yes-mobile-search-wrap input[type="search"] {
        font-size: 0.9rem !important;
    }

    .yes-hero-banner {
        min-height: 300px;
    }

    .yes-hero-inner {
        padding: 22px 18px;
    }

    .yes-hero-title {
        font-size: 1.35rem !important;
    }

    .yes-circles-section {
        padding-top: 28px !important;
        padding-bottom: 28px !important;
    }

    .yes-circle-item span,
    .yes-cat-overlay span {
        font-size: 0.76rem !important;
    }

    .yes-products-grid,
    .yes-category-grid {
        gap: 12px !important;
    }

    ul.products li.product a.woocommerce-loop-product__link {
        height: 210px !important;
    }

    .single-product form.cart,
    .single-product .woocommerce-variation-add-to-cart {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .single-product form.cart div.quantity,
    .single-product .woocommerce-variation-add-to-cart div.quantity {
        flex: 0 0 78px !important;
        width: 78px !important;
    }

    .single-product form.cart div.quantity input.qty,
    .single-product .woocommerce-variation-add-to-cart div.quantity input.qty {
        width: 78px !important;
        min-height: 50px !important;
    }

    .single-product .single_add_to_cart_button {
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
    }

    .yes-footer-main .yes-footer-inner {
        padding-left: 18px;
        padding-right: 18px;
    }
}
