/* Hide Blocksy's built-in shop/archive hero — we render our own */
body.woocommerce-shop .hero-section,
body.tax-product_cat .hero-section,
body.tax-product_tag .hero-section {
    display: none !important;
}

/* Blocksy wraps archive content in .ct-container (max-width + side
   padding), which fights our full-bleed hero/newsletter sections and
   shifts .shop-layout's own centering. Neutralize it here — each of our
   sections defines its own width/padding, same pattern as log-cart.css. */
body.woocommerce-shop .is-layout-constrained,
body.woocommerce-shop .entry-content,
body.woocommerce-shop [class*="ct-container"],
body.woocommerce-shop [class*="content-container"],
body.tax-product_cat .is-layout-constrained,
body.tax-product_cat .entry-content,
body.tax-product_cat [class*="ct-container"],
body.tax-product_cat [class*="content-container"],
body.tax-product_tag .is-layout-constrained,
body.tax-product_tag .entry-content,
body.tax-product_tag [class*="ct-container"],
body.tax-product_tag [class*="content-container"] {
    /* Blocksy sets `width: var(--container-max-width)` (90vw) on
       .ct-container, not max-width — must reset width itself or the
       90vw cap still wins regardless of max-width/padding resets. */
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Blocksy's [data-vertical-spacing*="bottom"] attribute selector adds its
   own padding-bottom (e.g. 60px) to .ct-container on top of the above —
   a separate rule/selector, so it needs its own override here. */
body.woocommerce-shop [class*="ct-container"][data-vertical-spacing],
body.tax-product_cat [class*="ct-container"][data-vertical-spacing],
body.tax-product_tag [class*="ct-container"][data-vertical-spacing] {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.woocommerce-shop .entry-content,
body.tax-product_cat .entry-content,
body.tax-product_tag .entry-content {
    padding-top: 0 !important;
}

/* ── SHOP HERO — light split ── */
.log-shop-hero {
    background: linear-gradient(135deg, var(--paper-50) 0%, #f4ede8 50%, #efe6f0 100%);
    position: relative;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    flex-direction: column;
}

.log-hero-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.log-hero-blob-a {
    width: 500px;
    height: 500px;
    background: rgba(29, 219, 149, .10);
    filter: blur(100px);
    top: -140px;
    left: -80px;
}

.log-hero-blob-b {
    width: 360px;
    height: 360px;
    background: rgba(122, 31, 110, .07);
    filter: blur(90px);
    bottom: -70px;
    right: 0;
}

.log-hero-blob-c {
    width: 280px;
    height: 280px;
    background: rgba(201, 168, 76, .06);
    filter: blur(80px);
    top: 20px;
    right: 30%;
}

.log-sh-body {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    flex: 1;
    padding: 40px 88px 48px;
    gap: 48px;
}

/* Left text column */
.log-sh-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--sage-600);
    margin-bottom: 12px;
}

.log-sh-kicker::before {
    content: '';
    width: 18px;
    height: 2px;
    background: var(--sage-600);
}

.log-sh-text h1 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(36px, 4.5vw, 64px);
    line-height: 1.06;
    letter-spacing: -.02em;
    color: var(--ink-900);
    margin-bottom: 10px;
}

.log-sh-text h1 em {
    font-style: italic;
    color: var(--plum-700);
}

.log-sh-desc {
    font-size: 14.5px;
    line-height: 1.68;
    color: var(--gray-600);
    max-width: 430px;
    margin-bottom: 0;
}

/* 2×2 chip grid */
.log-sh-chips-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 16px;
}

.log-sh-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 700;
}

.log-sh-chip-icon {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 13px;
}

.log-chip-light {
    background: var(--white);
    border: 1.5px solid var(--line);
    color: var(--ink-700);
    box-shadow: var(--shadow-sm);
}

.log-chip-light .log-sh-chip-icon {
    background: rgba(29, 219, 149, .1);
    color: var(--sage-600);
}

.log-chip-plum {
    background: linear-gradient(135deg, var(--plum-800), var(--plum-700));
    border: 1.5px solid transparent;
    color: #fff;
    box-shadow: 0 6px 20px rgba(122, 31, 110, .22);
}

.log-chip-plum .log-sh-chip-icon {
    background: rgba(255, 255, 255, .15);
}

/* Stat row */
.log-hero-stat-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.log-hsr {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    border-radius: 11px;
    padding: 10px 8px;
    min-width: 60px;
}

.log-hsr-light {
    background: var(--white);
    border: 1.5px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.log-hsr-light .log-hsr-num {
    color: var(--plum-700);
}

.log-hsr-light .log-hsr-lbl {
    color: var(--gray-600);
}

.log-hsr-plum {
    background: linear-gradient(135deg, var(--plum-800), var(--plum-700));
    border: 1.5px solid transparent;
    box-shadow: 0 6px 20px rgba(122, 31, 110, .22);
}

.log-hsr-plum .log-hsr-num {
    color: var(--mr-gold-light);
}

.log-hsr-plum .log-hsr-lbl {
    color: rgba(255, 255, 255, .6);
}

.log-hsr-num {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.log-hsr-lbl {
    font-size: 10.5px;
    font-weight: 600;
    margin-top: 2px;
}

/* Right — flash sale card */
.log-sh-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: 0;
    animation: log-hero-in .8s var(--ease) .28s forwards;
}

@keyframes log-hero-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Continuous "breathing" float — card + badges bob together since the
 * badges live inside this same wrapper, not as separate siblings. */
.log-sh-ill-wrap {
    position: relative;
    width: 100%;
    max-width: 420px;
    animation: log-float-card 6s ease-in-out infinite;
}

@keyframes log-float-card {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Floating badges around the flash-sale card */
@keyframes log-pop-in {
    from {
        opacity: 0;
        transform: scale(.82);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes log-pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .35;
        transform: scale(.65);
    }
}

.log-sh-float {
    position: absolute;
    background: var(--white, #fff);
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(31, 14, 28, .16);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 9px;
    opacity: 0;
    animation: log-pop-in .5s var(--ease) forwards;
    white-space: nowrap;
    z-index: 2;
}

.log-sh-float.log-f1 {
    top: 6%;
    left: -8em;
    animation-delay: .9s;
}

.log-sh-float.log-f2 {
    bottom: 14%;
    right: -6em;
    animation-delay: 1.2s;
}

.log-sh-float.log-f3 {
    top: 12%;
    right: -8em;
    animation-delay: 1.05s;
}

.log-sh-float-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.log-sh-float-icon.log-green {
    background: rgba(29, 219, 149, .12);
    color: var(--sage-600);
}

.log-sh-float-icon.log-plum {
    background: rgba(122, 31, 110, .1);
    color: var(--plum-700);
}

.log-sh-float-icon .icon {
    width: 15px;
    height: 15px;
}

.log-sh-float-num {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 700;
    color: var(--ink-900);
    line-height: 1;
}

.log-sh-float-num-sm {
    font-size: 13px;
    font-family: var(--body);
    font-weight: 700;
}

.log-sh-float-lbl {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--gray-600);
    margin-top: 2px;
}

.log-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sage-500);
    animation: log-pulse-dot 1.4s ease-in-out infinite;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .log-sh-float {
        display: none;
    }
}

.log-fsc {
    position: relative;
    overflow: hidden;
    background: linear-gradient(150deg, var(--plum-950) 0%, var(--plum-800) 55%, var(--plum-700) 100%);
    border-radius: 28px;
    padding: 32px 28px 24px;
    box-shadow: 0 32px 72px rgba(45, 10, 53, .28), 0 0 0 1px rgba(255, 255, 255, .06);
    width: 100%;
    max-width: 420px;
}

.log-fsc-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.log-fsc-blob-a {
    width: 300px;
    height: 300px;
    background: rgba(29, 219, 149, .08);
    filter: blur(70px);
    top: -80px;
    right: -60px;
}

.log-fsc-blob-b {
    width: 220px;
    height: 220px;
    background: rgba(201, 168, 76, .07);
    filter: blur(60px);
    bottom: -50px;
    left: -40px;
}

.log-fsc-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--r-pill);
    padding: 6px 14px;
    font-size: 11.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.log-fsc-headline {
    font-family: var(--display);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.log-fsc-headline em {
    font-style: italic;
    color: var(--mr-gold-light);
}

.log-fsc-offer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.log-fsc-off-badge {
    background: linear-gradient(135deg, var(--mr-gold), var(--mr-gold-light));
    color: var(--plum-950);
    font-size: 14px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--r-pill);
    letter-spacing: .02em;
}

.log-fsc-offer-text {
    font-size: 13px;
    color: rgba(255, 255, 255, .7);
    font-weight: 600;
}

.log-fsc-offer-text strong {
    color: #fff;
}

/* Big timer */
.log-fsc-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.log-fsc-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.log-fsc-num-wrap {
    width: 100%;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    padding: 12px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.log-fsc-num {
    font-family: var(--display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.log-fsc-lbl {
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .4);
    text-transform: uppercase;
}

.log-fsc-colon {
    font-family: var(--display);
    font-size: 28px;
    font-weight: 700;
    color: var(--mr-gold-light);
    margin-bottom: 14px;
}

.log-fsc-divider {
    height: 1px;
    background: rgba(255, 255, 255, .1);
    margin: 0 0 16px;
    position: relative;
    z-index: 1;
}

.log-fsc-code-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.log-fsc-code-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, .5);
}

.log-fsc-code-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(201, 168, 76, .15);
    border: 1.5px solid rgba(201, 168, 76, .4);
    border-radius: 8px;
    padding: 6px 12px;
    cursor: pointer;
    font-family: inherit;
    transition: all .22s;
}

.log-fsc-code-btn:hover {
    background: rgba(201, 168, 76, .25);
    border-color: var(--mr-gold);
}

.log-fsc-code-text {
    font-size: 13px;
    font-weight: 800;
    color: var(--mr-gold-light);
    letter-spacing: .1em;
}

.log-fsc-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--sage-600);
    color: var(--plum-950);
    font-weight: 800;
    font-size: 13.5px;
    padding: 13px 20px;
    border-radius: var(--r-pill);
    transition: all .28s var(--ease);
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
    text-decoration: none;
    /* box-shadow: 0 8px 24px rgba(18, 179, 119, .35); */
    /* animation: log-fsc-breathe 2.4s ease-in-out infinite; */
}

.log-fsc-cta:hover {
    color: black;
    font-weight: bold;
    animation-play-state: paused;
}

@keyframes log-fsc-breathe {

    0%,
    100% {
        box-shadow: 0 8px 24px rgba(18, 179, 119, .35);
    }

    50% {
        box-shadow: 0 8px 24px rgba(18, 179, 119, .6), 0 0 0 6px rgba(18, 179, 119, .12);
    }
}

.log-fsc-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.log-fsc-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, .45);
}

.log-fsc-trust-sep {
    color: rgba(255, 255, 255, .2);
    font-size: 9px;
}

/* Stats bar (white, below hero) */
.log-sh-statsbar {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1.5px solid var(--line);
    background: var(--white);
}

.log-shsb-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px 22px;
    border-right: 1px solid var(--line);
    transition: background .25s;
}

.log-shsb-item:last-child {
    border-right: none;
}

.log-shsb-item:hover {
    background: var(--paper);
}

.log-shsb-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
    background: rgba(29, 219, 149, .09);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.log-shsb-item strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-900);
}

.log-shsb-item span {
    display: block;
    font-size: 11px;
    color: var(--gray-600);
    margin-top: 1px;
}

/* ── SHOP LAYOUT ── */
.log-shop-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 24px 80px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: start;
}

/* ── SIDEBAR ── */
.log-sidebar {
    position: sticky;
    top: 120px;
}

.admin-bar .log-sidebar {
    top: 152px;
}

.log-sidebar-block {
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 18px;
}

.log-sidebar-block h3 {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--plum-700);
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 7px;
}

.log-sidebar-block h3::before {
    content: '';
    width: 14px;
    height: 2px;
    background: var(--mr-gold);
    display: inline-block;
}

/* WooCommerce widget body reset */
.log-sidebar-block .widget_product_categories ul,
.log-sidebar-block .widget ul {
    list-style: none;
    margin: 0;
    padding: 10px 12px;
}

.log-sidebar-block .widget_product_categories ul li,
.log-sidebar-block .widget ul li {
    padding: 0;
    margin: 0;
}

.log-sidebar-block .widget_product_categories ul li a,
.log-sidebar-block .widget ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-700);
    text-decoration: none;
    transition: all .22s;
}

.log-sidebar-block .widget_product_categories ul li a:hover,
.log-sidebar-block .widget_product_categories ul li.current-cat>a {
    background: linear-gradient(135deg, var(--plum-950), var(--plum-800));
    color: #fff;
    border-radius: 10px;
}

.log-sidebar-block .widget_product_categories ul li.current-cat>a {
    color: #fff;
}

.log-sidebar-block .widget_product_categories count,
.log-sidebar-block .widget_product_categories .count {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--r-pill);
    background: var(--paper);
    color: var(--gray-600);
}

/* Price filter widget — WooCommerce ships the slider's JS behavior only,
   not jQuery-UI's base theme CSS, so position/display must be set here
   explicitly or the track/handles collapse to 0-height and vanish. */
.log-sidebar-block .price_slider_wrapper {
    padding: 18px 20px 16px;
}

.log-sidebar-block .price_slider {
    position: relative;
    margin-bottom: 14px;
}

.log-sidebar-block .ui-slider-horizontal {
    position: relative;
    display: block;
    height: 4px;
    background: var(--line);
    border-radius: 2px;
    border: none;
}

.log-sidebar-block .ui-slider .ui-slider-range {
    position: absolute;
    display: block;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--plum-700), var(--mr-gold));
    border: none;
    border-radius: 2px;
    z-index: 1;
}

.log-sidebar-block .ui-slider .ui-slider-handle {
    position: absolute;
    display: block;
    top: 50%;
    width: 18px;
    height: 18px;
    margin-left: -9px;
    margin-top: -9px;
    border-radius: 50%;
    background: var(--plum-700);
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(122, 31, 110, .35);
    cursor: pointer;
    z-index: 2;
    outline: none;
    transition: transform .2s;
}

.log-sidebar-block .ui-slider .ui-slider-handle:hover,
.log-sidebar-block .ui-slider .ui-slider-handle:focus {
    transform: scale(1.15);
}

.log-sidebar-block .price_slider_amount {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.log-sidebar-block .price_label {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-900);
}

/* Filter button hidden — slider auto-applies on release (see log-shop.js) */
.log-sidebar-block .price_slider_amount button {
    display: none;
}

/* Sort By dropdown widget */
.log-sort-select {
    padding: 10px 34px 10px 14px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-900);
    background: var(--paper);
    cursor: pointer;
    transition: border-color .22s;
    margin: 15px;
    width: -webkit-fill-available;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237d6e79' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.log-sort-select:focus {
    outline: none;
    border-color: var(--sage-500);
}

/* Why [Site Name] trust list widget */
.log-why-list {
    padding: 4px 20px 16px;
}

.log-why-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12.5px;
    color: var(--ink-700);
}

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

.log-why-icon {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: rgba(29, 219, 149, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
    font-size: 11px;
}

/* Fallback custom category list */
.log-cat-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
}

.log-cat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-700);
    text-decoration: none;
    transition: all .22s;
}

.log-cat-item:hover,
.log-cat-item.active {
    background: linear-gradient(135deg, var(--plum-950), var(--plum-800));
    color: #fff;
    text-decoration: none;
}

.log-cat-count {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--r-pill);
    background: var(--paper);
    color: var(--gray-600);
}

.log-cat-item.active .log-cat-count {
    background: rgba(255, 255, 255, .15);
    color: rgba(255, 255, 255, .9);
}

/* ── SHOP MAIN ── */
.log-shop-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.log-shop-count {
    font-size: 13px;
    color: var(--gray-600);
    font-weight: 600;
}

.log-shop-count strong {
    color: var(--ink-900);
    font-weight: 800;
}

.log-view-toggle {
    display: flex;
    gap: 6px;
}

.log-view-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1.5px solid var(--line);
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--gray-600);
    transition: all .18s;
}

.log-view-btn.active,
.log-view-btn:hover {
    background: var(--plum-700);
    border-color: var(--plum-700);
    color: #fff;
}

/* ── PRODUCTS GRID ── */
.log-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.log-products-grid.log-list-view {
    grid-template-columns: 1fr;
}

/* ── PAGINATION ── */
.log-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.log-page-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1.5px solid var(--line);
    background: var(--white);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink-700);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .22s;
    text-decoration: none;
    font-family: inherit;
}

.log-page-btn:hover,
.log-page-btn.active {
    background: linear-gradient(135deg, var(--plum-800), var(--plum-700));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 18px rgba(122, 31, 110, .3);
    text-decoration: none;
}

.log-page-btn.dots {
    background: none;
    border: none;
    cursor: default;
    color: var(--gray-600);
}

.log-page-btn.dots:hover {
    background: none;
    border: none;
    color: var(--gray-600);
}

.log-pagination a {
    text-decoration: none !important;
}

/* ── NEWSLETTER STRIP — full-bleed, between shop layout and footer ── */
.log-nl-strip {
    background: linear-gradient(135deg, var(--plum-950), var(--plum-800));
    padding: 50px 48px;
    margin: 0;
}

.log-nl-strip-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.log-nl-strip-inner h3 {
    font-family: var(--display);
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.log-nl-strip-inner h3 em {
    font-style: italic;
    color: var(--mr-gold-light);
}

.log-nl-strip-inner p {
    font-size: 14px;
    color: rgba(255, 255, 255, .6);
    margin: 0 0 24px;
}

.log-nl-strip-form {
    display: flex;
    gap: 10px;
    max-width: 440px;
    margin: 0 auto;
}

.log-nl-strip-form form {
    display: flex;
    gap: 10px;
    width: 100%;
}

input.log-nl-strip-input,
.log-nl-strip input.log-nl-strip-input {
    flex: 1;
    background: rgba(255, 255, 255, .1);
    border: 1.5px solid rgba(255, 255, 255, .15);
    border-radius: var(--r-pill);
    padding: 13px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    outline: none;
    font-family: inherit;
}

input.log-nl-strip-input::placeholder,
.log-nl-strip input.log-nl-strip-input::placeholder {
    color: rgba(255, 255, 255, .4);
}

input.log-nl-strip-input:focus,
.log-nl-strip input.log-nl-strip-input:focus {
    border-color: var(--sage-400);
}

.log-nl-strip-btn {
    background: var(--mr-gold);
    color: var(--plum-950);
    border: none;
    cursor: pointer;
    padding: 9px 24px;
    border-radius: var(--r-pill);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    transition: all .25s var(--ease);
    font-family: inherit;
}

.log-nl-strip-btn:hover {
    background: var(--mr-gold-light);
    transform: translateY(-2px);
}

@media (max-width: 500px) {
    .log-nl-strip {
        padding: 40px 24px;
    }

    .log-nl-strip-form {
        flex-direction: column;
    }
}

/* CF7 newsletter form */
form.log-cf7-nl-strip {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.log-cf7-nl-strip p {
    margin: 0;
    display: contents;
}

.log-cf7-nl-strip br {
    display: none;
}

.log-cf7-nl-strip .wpcf7-form-control-wrap {
    flex: 1 1 200px;
    min-width: 120px;
    display: block;
}

.log-cf7-nl-strip .wpcf7-form-control-wrap input.log-nl-strip-input {
    width: 100%;
    box-sizing: border-box;
}

.log-nl-strip .wpcf7 form.log-cf7-nl-strip input[type="submit"].wpcf7-submit {
    width: auto !important;
    display: inline-block !important;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--mr-gold), var(--mr-gold-light));
    color: var(--plum-950);
    border: none;
    cursor: pointer;
    padding: 11px 22px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    transition: all .2s;
    font-family: inherit;
}

.log-cf7-nl-strip .wpcf7-not-valid-tip {
    display: none !important;
}

.log-cf7-nl-strip .wpcf7-response-output {
    flex-basis: 100%;
    order: 9;
    width: 100%;
    color: rgba(255, 255, 255, .85);
    font-size: 12px;
    border: none !important;
    padding: 6px 0 0;
    margin: 0 !important;
    text-align: center;
}

.log-cf7-nl-strip .wpcf7-response-output.wpcf7-validation-errors {
    display: block !important;
    color: rgba(255, 180, 180, .9);
}

.log-cf7-nl-strip .wpcf7-response-output.wpcf7-mail-sent-ok {
    display: block !important;
    color: rgba(150, 255, 150, .9);
}

.log-cf7-nl-strip .wpcf7-spinner {
    display: none;
}

/* ── HIDE PARENT THEME ELEMENTS ── */
body.log-shop-page .entry-hero-container-inner,
body.log-shop-page .woocommerce-products-header,
body.log-shop-page .kadence-shop-top-row,
body.log-shop-page .woocommerce-result-count,
body.log-shop-page .woocommerce-ordering {
    display: none !important;
}

body.log-shop-page .site-content>.content-container,
body.log-shop-page .site-content>.site-container,
body.log-shop-page .site-content>.ast-container {
    max-width: 100% !important;
    padding: 0 !important;
}

body.log-shop-page .entry-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.log-shop-page .site-main {
    padding-top: 0 !important;
}

body.log-shop-page .woocommerce-notices-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

body.log-shop-page .log-site-footer {
    margin-top: 0;
}

/* Product image bg override */
body.log-shop-page .log-prod-img-wrap {
    background: var(--paper, #fdf8f0) !important;
}

body.log-shop-page .log-prod-img-wrap::after {
    background: none !important;
}

.log-prod-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .log-sh-body {
        padding: 36px 32px 48px;
        gap: 32px;
    }

    .log-sh-statsbar {
        grid-template-columns: repeat(2, 1fr);
    }

    .log-shsb-item {
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 1000px) {
    .log-sh-illustration {
        justify-content: center;
    }

    .log-sh-body {
        grid-template-columns: 1fr;
    }

    .log-shop-wrap {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .log-sidebar {
        position: static;
    }

    .log-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .log-sh-body {
        padding: 28px 20px 40px;
    }

    .log-sh-statsbar {
        grid-template-columns: repeat(2, 1fr);
    }

    .log-shop-wrap {
        padding: 10px 20px 60px;
    }
}

@media (max-width: 600px) {
    .log-sh-ill-wrap {
        max-width: 340px;
    }

    .log-sh-chips-grid {
        display: none;
    }

    .log-sh-statsbar {
        display: none;
    }

    .log-fsc {
        padding: 24px 20px 18px;
    }

    .log-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}