/* =========================================================
   Koohbad Products UI 2026
   Orange + White + Charcoal
   ========================================================= */

.kbp-showcase,
.kbp-showcase * {
    box-sizing: border-box;
}

.kbp-showcase {
    --kbp-orange: #FAA01A;
    --kbp-orange-2: #FFB33D;
    --kbp-ink: #242424;
    --kbp-white: #FFFFFF;
    --kbp-cream: #FFF9F0;
    --kbp-muted: #777;
    --kbp-line: rgba(36, 36, 36, .075);

    width: min(1280px, calc(100vw - 40px));
    margin: 0 auto clamp(48px, 6vw, 84px);
    font-family: inherit;
}

.kbp-showcase__shell {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border: 1px solid rgba(250, 160, 26, .14);
    border-radius: 30px;
    background:
        radial-gradient(circle at 100% 0, rgba(250,160,26,.13), transparent 30%),
        radial-gradient(circle at 0 100%, rgba(250,160,26,.07), transparent 31%),
        rgba(255,255,255,.88);
    box-shadow:
        0 24px 70px rgba(36,36,36,.075),
        inset 0 1px 0 rgba(255,255,255,.98);
    isolation: isolate;
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.kbp-showcase__orb {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(1px);
}

.kbp-showcase__orb--one {
    top: -110px;
    right: -80px;
    width: 260px;
    height: 260px;
    background: rgba(250,160,26,.13);
}

.kbp-showcase__orb--two {
    bottom: -135px;
    left: 12%;
    width: 250px;
    height: 250px;
    background: rgba(250,160,26,.055);
}

.kbp-showcase__head {
    min-height: 68px;
    margin-bottom: 18px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.kbp-showcase__copy {
    min-width: 0;
}

.kbp-showcase__eyebrow {
    margin-bottom: 3px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #985B00;
    font-size: 10.5px;
    font-weight: 850;
    line-height: 1.8;
}

.kbp-showcase__eyebrow::before {
    content: "";
    width: 20px;
    height: 5px;
    border-radius: 99px;
    background: var(--kbp-orange);
    box-shadow: 0 0 0 5px rgba(250,160,26,.09);
}

.kbp-showcase__title {
    margin: 0;
    color: var(--kbp-ink);
    font-size: clamp(24px, 2vw, 34px);
    font-weight: 950;
    line-height: 1.45;
    letter-spacing: -.35px;
}

.kbp-showcase__subtitle {
    max-width: 610px;
    margin: 4px 0 0;
    color: var(--kbp-muted);
    font-size: 12px;
    font-weight: 430;
    line-height: 1.85;
}

.kbp-showcase__controls {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.kbp-showcase__arrow,
.kbp-showcase__more {
    border: 1px solid rgba(36,36,36,.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #696969 !important;
    background: rgba(255,255,255,.84);
    box-shadow:
        0 8px 24px rgba(36,36,36,.055),
        inset 0 1px 0 #fff;
    text-decoration: none !important;
    transition:
        color .22s ease,
        border-color .22s ease,
        background .22s ease,
        transform .22s ease,
        opacity .22s ease;
}

.kbp-showcase__arrow {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.kbp-showcase__arrow:hover:not(:disabled) {
    color: var(--kbp-ink) !important;
    border-color: var(--kbp-orange);
    background: var(--kbp-orange);
    transform: translateY(-2px);
}

.kbp-showcase__arrow:disabled {
    opacity: .32;
    cursor: default;
}

.kbp-showcase__more {
    min-height: 42px;
    padding: 8px 14px 8px 12px;
    border-color: rgba(250,160,26,.22);
    border-radius: 999px;
    gap: 6px;
    color: #8B5400 !important;
    background: rgba(250,160,26,.08);
    font-size: 11px;
    font-weight: 850;
    line-height: 1.7;
}

.kbp-showcase__more:hover {
    color: var(--kbp-ink) !important;
    border-color: var(--kbp-orange);
    background: var(--kbp-orange);
    transform: translateX(-2px);
}

.kbp-showcase__arrow svg,
.kbp-showcase__more svg,
.kbp-product__action svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.25;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Tracks */
.kbp-showcase--carousel .kbp-showcase__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: clamp(228px, 21vw, 258px);
    gap: 12px;
    overflow-x: auto;
    overflow-y: visible;
    padding: 4px 2px 13px;
    scroll-padding-inline: 2px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}

.kbp-showcase--carousel .kbp-showcase__track::-webkit-scrollbar {
    display: none;
}

.kbp-showcase--carousel .kbp-product {
    scroll-snap-align: start;
}

.kbp-showcase--grid .kbp-showcase__track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

/* Product puzzle card */
.kbp-product {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--kbp-line);
    border-radius: 24px 24px 24px 9px;
    display: flex;
    flex-direction: column;
    isolation: isolate;
    color: var(--kbp-ink);
    background: #fff;
    box-shadow:
        0 14px 36px rgba(36,36,36,.07),
        inset 0 1px 0 rgba(255,255,255,.98);
    transform: translateZ(0);
    transition:
        transform .30s cubic-bezier(.2,.72,.2,1),
        border-color .30s ease,
        box-shadow .30s ease;
}

.kbp-product:nth-child(even) {
    border-radius: 24px 9px 24px 24px;
}

.kbp-product--accent {
    color: #fff;
    border-color: rgba(255,255,255,.58);
    background:
        radial-gradient(circle at 14% 0, rgba(255,255,255,.24), transparent 27%),
        linear-gradient(145deg, var(--kbp-orange), var(--kbp-orange-2));
    box-shadow:
        0 18px 42px rgba(250,160,26,.22),
        inset 0 1px 0 rgba(255,255,255,.55);
}

.kbp-product:hover {
    z-index: 3;
    border-color: rgba(250,160,26,.38);
    box-shadow:
        0 23px 56px rgba(36,36,36,.13),
        inset 0 1px 0 rgba(255,255,255,.98);
    transform: translateY(-5px);
}

.kbp-product--accent:hover {
    border-color: rgba(255,255,255,.82);
    box-shadow:
        0 25px 58px rgba(250,160,26,.29),
        inset 0 1px 0 rgba(255,255,255,.68);
}

.kbp-product:focus-within {
    outline: 3px solid rgba(250,160,26,.30);
    outline-offset: 3px;
}

.kbp-product__media {
    position: relative;
    margin: 8px 8px 0;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border: 1px solid rgba(36,36,36,.055);
    border-radius: 18px 18px 18px 7px;
    display: block;
    background:
        linear-gradient(145deg, #fff, #FFF8EC);
    text-decoration: none !important;
}

.kbp-product:nth-child(even) .kbp-product__media {
    border-radius: 18px 7px 18px 18px;
}

.kbp-product--accent .kbp-product__media {
    border-color: rgba(255,255,255,.68);
    background: rgba(255,255,255,.95);
    box-shadow: 0 12px 25px rgba(126,75,0,.11);
}

.kbp-product__media::after {
    content: "";
    position: absolute;
    right: -28px;
    bottom: -28px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(250,160,26,.08);
    pointer-events: none;
}

.kbp-product__media img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    max-width: none !important;
    display: block;
    object-fit: contain;
    object-position: center;
    mix-blend-mode: multiply;
    transform: scale(.91);
    transition: transform .45s cubic-bezier(.2,.72,.2,1);
}

.kbp-product:hover .kbp-product__media img {
    transform: scale(.97);
}

.kbp-product__badges {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    pointer-events: none;
}

.kbp-product__badge {
    min-height: 24px;
    padding: 3px 8px;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    color: #fff;
    background: rgba(36,36,36,.82);
    font-size: 9px;
    font-weight: 850;
    line-height: 1.5;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.kbp-product__badge--sale {
    color: var(--kbp-ink);
    background: rgba(250,160,26,.95);
}

.kbp-product__content {
    flex: 1 1 auto;
    padding: 14px 14px 13px;
    display: flex;
    flex-direction: column;
}

.kbp-product__category {
    margin-bottom: 5px;
    display: block;
    overflow: hidden;
    color: #9B6000;
    font-size: 9.5px;
    font-weight: 850;
    line-height: 1.7;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.kbp-product--accent .kbp-product__category {
    color: rgba(255,255,255,.76);
}

.kbp-product__title {
    min-height: 48px;
    margin: 0;
    color: inherit;
    font-size: 13.5px;
    font-weight: 880;
    line-height: 1.75;
}

.kbp-product__title a {
    display: -webkit-box;
    overflow: hidden;
    color: inherit !important;
    text-decoration: none !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.kbp-product__info {
    min-height: 22px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.kbp-product__stock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #6D6D6D;
    font-size: 9.5px;
    font-weight: 700;
    line-height: 1.6;
}

.kbp-product--accent .kbp-product__stock {
    color: rgba(255,255,255,.76);
}

.kbp-product__stock::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #63B85A;
    box-shadow: 0 0 0 3px rgba(99,184,90,.12);
}

.kbp-product__stock.is-out::before {
    background: #AAA;
    box-shadow: none;
}

.kbp-product__rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #845900;
    font-size: 9.5px;
    font-weight: 850;
    direction: ltr;
}

.kbp-product--accent .kbp-product__rating {
    color: #fff;
}

.kbp-product__rating svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
    stroke: currentColor;
}

.kbp-product__footer {
    margin-top: auto;
    padding-top: 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
}

.kbp-product__price {
    min-width: 0;
    color: #A35F00;
    font-size: 12.5px;
    font-weight: 950;
    line-height: 1.7;
}

.kbp-product--accent .kbp-product__price {
    color: #fff;
}

.kbp-product__price .price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 5px;
}

.kbp-product__price del {
    color: #A0A0A0;
    font-size: 9.5px;
    font-weight: 650;
    opacity: 1;
}

.kbp-product--accent .kbp-product__price del {
    color: rgba(255,255,255,.58);
}

.kbp-product__price ins {
    color: inherit;
    background: transparent;
    text-decoration: none;
}

.kbp-product__price .woocommerce-Price-currencySymbol {
    font-size: .77em;
    font-weight: 760;
}

.kbp-product__action {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 14px 14px 14px 6px !important;
    display: grid !important;
    place-items: center !important;
    color: var(--kbp-ink) !important;
    background: linear-gradient(145deg, var(--kbp-orange), var(--kbp-orange-2)) !important;
    box-shadow:
        0 9px 22px rgba(250,160,26,.22),
        inset 0 1px 0 rgba(255,255,255,.46) !important;
    font-size: 0 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    cursor: pointer;
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        background .22s ease,
        color .22s ease !important;
}

.kbp-product:nth-child(even) .kbp-product__action {
    border-radius: 14px 6px 14px 14px !important;
}

.kbp-product--accent .kbp-product__action {
    color: var(--kbp-ink) !important;
    background: #fff !important;
    box-shadow:
        0 9px 22px rgba(126,75,0,.13),
        inset 0 1px 0 #fff !important;
}

.kbp-product__action:hover {
    transform: translateY(-3px) rotate(-2deg);
    box-shadow:
        0 13px 28px rgba(250,160,26,.30),
        inset 0 1px 0 rgba(255,255,255,.55) !important;
}

.kbp-product__action svg {
    width: 18px;
    height: 18px;
}

.kbp-product__action.loading {
    opacity: .55;
    pointer-events: none;
}

.kbp-product__action.added {
    color: #fff !important;
    background: var(--kbp-ink) !important;
    box-shadow: none !important;
}

.kbp-product .added_to_cart {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 5;
    padding: 5px 9px;
    border-radius: 99px;
    color: #fff !important;
    background: rgba(36,36,36,.88);
    font-size: 9px;
    font-weight: 800;
    text-decoration: none !important;
}

@media (max-width: 1100px) {
    .kbp-showcase {
        width: min(1080px, calc(100vw - 28px));
    }

    .kbp-showcase--grid .kbp-showcase__track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .kbp-showcase {
        width: 100%;
        margin-bottom: 54px;
    }

    .kbp-showcase__shell {
        padding: 18px 0 16px;
        border-radius: 24px;
    }

    .kbp-showcase__head {
        min-height: 0;
        padding: 0 16px;
        margin-bottom: 14px;
        align-items: flex-start;
    }

    .kbp-showcase__title {
        font-size: 22px;
    }

    .kbp-showcase__subtitle {
        font-size: 11.5px;
    }

    .kbp-showcase__arrow {
        display: none;
    }

    .kbp-showcase__more {
        min-height: 37px;
        padding: 6px 11px;
    }

    .kbp-showcase--carousel .kbp-showcase__track {
        grid-auto-columns: min(76vw, 280px);
        gap: 10px;
        padding: 4px 16px 13px;
        scroll-padding-inline: 16px;
    }

    .kbp-showcase--grid .kbp-showcase__track {
        padding: 0 12px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .kbp-product {
        border-radius: 21px 21px 21px 8px;
    }
}

@media (max-width: 520px) {
    .kbp-showcase__head {
        display: block;
    }

    .kbp-showcase__controls {
        margin-top: 10px;
    }

    .kbp-showcase--grid .kbp-product__content {
        padding: 10px 9px 9px;
    }

    .kbp-showcase--grid .kbp-product__title {
        min-height: 44px;
        font-size: 11.5px;
    }

    .kbp-showcase--grid .kbp-product__category,
    .kbp-showcase--grid .kbp-product__rating {
        display: none;
    }

    .kbp-showcase--grid .kbp-product__price {
        font-size: 10.5px;
    }

    .kbp-showcase--grid .kbp-product__action {
        width: 36px;
        height: 36px;
    }
}

/* =========================================================
   Global WooCommerce loop skin
   ========================================================= */

.kbp-global-skin-enabled .woocommerce ul.products,
.kbp-global-skin-enabled.woocommerce ul.products {
    gap: 12px;
}

.kbp-global-skin-enabled .woocommerce ul.products li.product,
.kbp-global-skin-enabled.woocommerce ul.products li.product {
    overflow: hidden;
    padding: 8px 8px 12px !important;
    border: 1px solid rgba(36,36,36,.075);
    border-radius: 22px 22px 22px 8px;
    background: #fff;
    box-shadow:
        0 13px 34px rgba(36,36,36,.065),
        inset 0 1px 0 #fff;
    transition:
        transform .28s ease,
        border-color .28s ease,
        box-shadow .28s ease;
}

.kbp-global-skin-enabled .woocommerce ul.products li.product:nth-child(5n+1),
.kbp-global-skin-enabled.woocommerce ul.products li.product:nth-child(5n+1) {
    color: #fff;
    border-color: rgba(255,255,255,.60);
    background:
        radial-gradient(circle at 10% 0, rgba(255,255,255,.23), transparent 28%),
        linear-gradient(145deg, #FAA01A, #FFB33D);
}

.kbp-global-skin-enabled .woocommerce ul.products li.product:hover,
.kbp-global-skin-enabled.woocommerce ul.products li.product:hover {
    border-color: rgba(250,160,26,.36);
    box-shadow: 0 21px 48px rgba(36,36,36,.12);
    transform: translateY(-4px);
}

.kbp-global-skin-enabled .woocommerce ul.products li.product a img,
.kbp-global-skin-enabled.woocommerce ul.products li.product a img {
    width: 100% !important;
    aspect-ratio: 1 / 1;
    margin: 0 0 12px !important;
    border-radius: 16px 16px 16px 7px;
    object-fit: contain;
    background: linear-gradient(145deg, #fff, #FFF8EC);
}

.kbp-global-skin-enabled .woocommerce ul.products li.product .woocommerce-loop-product__title,
.kbp-global-skin-enabled.woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 48px;
    padding: 0 6px !important;
    color: inherit;
    font-size: 13px !important;
    font-weight: 850;
    line-height: 1.75;
}

.kbp-global-skin-enabled .woocommerce ul.products li.product .price,
.kbp-global-skin-enabled.woocommerce ul.products li.product .price {
    padding: 0 6px;
    color: #A35F00 !important;
    font-size: 12px !important;
    font-weight: 900;
}

.kbp-global-skin-enabled .woocommerce ul.products li.product:nth-child(5n+1) .price,
.kbp-global-skin-enabled.woocommerce ul.products li.product:nth-child(5n+1) .price {
    color: #fff !important;
}

.kbp-global-skin-enabled .woocommerce ul.products li.product .button,
.kbp-global-skin-enabled.woocommerce ul.products li.product .button {
    width: calc(100% - 12px);
    min-height: 40px;
    margin: 10px 6px 0 !important;
    border-radius: 12px 12px 12px 5px !important;
    color: #242424 !important;
    background: linear-gradient(145deg, #FAA01A, #FFB33D) !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    text-align: center;
}

.kbp-global-skin-enabled .woocommerce ul.products li.product:nth-child(5n+1) .button,
.kbp-global-skin-enabled.woocommerce ul.products li.product:nth-child(5n+1) .button {
    background: #fff !important;
}

@media (prefers-reduced-motion: reduce) {
    .kbp-product,
    .kbp-product__media img,
    .kbp-product__action,
    .kbp-showcase__arrow,
    .kbp-showcase__more,
    .kbp-global-skin-enabled .woocommerce ul.products li.product {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}


/* KOOHBAD PRODUCTS UI — PROFESSIONAL CARD OVERRIDES v1.1.0
   خوانایی کامل کارت نارنجی + ویژگی‌های رنگ و سایز + CTA واضح
   ========================================================= */

.kbp-showcase .kbp-product {
    min-height: 520px;
}

.kbp-showcase .kbp-product__media {
    margin: 10px 10px 0;
    border-radius: 19px 19px 19px 8px;
    background:
        radial-gradient(circle at 88% 12%, rgba(250,160,26,.10), transparent 28%),
        linear-gradient(145deg, #FFFFFF, #FFF7E9);
}

.kbp-showcase .kbp-product__media img {
    transform: scale(.94);
}

.kbp-showcase .kbp-product:hover .kbp-product__media img {
    transform: scale(1);
}

/* کارت نارنجی به‌صورت فریم برند با پنل داخلی خوانا */
.kbp-showcase .kbp-product--accent {
    color: #242424 !important;
    background:
        radial-gradient(circle at 12% 0, rgba(255,255,255,.25), transparent 26%),
        linear-gradient(145deg, #FAA01A, #FFB33D) !important;
}

.kbp-showcase .kbp-product--accent .kbp-product__content {
    margin: 0 9px 9px;
    padding: 14px 14px 13px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 18px 18px 18px 7px;
    color: #242424 !important;
    background:
        linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,249,240,.94));
    box-shadow:
        0 12px 26px rgba(128,76,0,.11),
        inset 0 1px 0 rgba(255,255,255,.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.kbp-showcase .kbp-product--accent .kbp-product__category,
.kbp-showcase .kbp-product--accent .kbp-product__title,
.kbp-showcase .kbp-product--accent .kbp-product__title a,
.kbp-showcase .kbp-product--accent .kbp-product__stock,
.kbp-showcase .kbp-product--accent .kbp-product__rating,
.kbp-showcase .kbp-product--accent .kbp-product__price,
.kbp-showcase .kbp-product--accent .kbp-product__price .price,
.kbp-showcase .kbp-product--accent .kbp-product__price ins {
    color: #242424 !important;
}

.kbp-showcase .kbp-product--accent .kbp-product__category {
    color: #8E5700 !important;
}

.kbp-showcase .kbp-product--accent .kbp-product__price del {
    color: #8C8C8C !important;
}

.kbp-showcase .kbp-product__content {
    padding: 14px 14px 13px;
}

.kbp-showcase .kbp-product__title {
    min-height: 52px;
    font-size: 13.5px;
    font-weight: 900;
}

.kbp-showcase .kbp-product__title a {
    color: #242424 !important;
}

.kbp-showcase .kbp-product__info {
    min-height: 24px;
    margin-top: 5px;
}

/* ویژگی‌های رنگ و سایز */
.kbp-product__features {
    min-height: 58px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(36,36,36,.065);
    display: grid;
    align-content: start;
    gap: 6px;
}

.kbp-product__features--empty {
    visibility: hidden;
}

.kbp-product__feature {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 7px;
}

.kbp-product__feature-label {
    flex: 0 0 30px;
    color: #777 !important;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.5;
}

.kbp-product__feature-values {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: hidden;
}

.kbp-product__swatch {
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    padding: 2px;
    border: 1px solid rgba(36,36,36,.14);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    box-shadow: 0 3px 8px rgba(36,36,36,.07);
}

.kbp-product__swatch i {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    display: block;
    background: var(--kbp-swatch, #D7D7D7);
}

.kbp-product__feature-chip,
.kbp-product__feature-more {
    flex: 0 0 auto;
    min-width: 26px;
    max-width: 70px;
    min-height: 21px;
    padding: 2px 7px;
    overflow: hidden;
    border: 1px solid rgba(36,36,36,.09);
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4D4D4D !important;
    background: rgba(255,255,255,.82);
    font-size: 8.5px;
    font-weight: 800;
    line-height: 1.4;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.kbp-product__feature-more {
    min-width: 22px;
    padding-inline: 5px;
    color: #8C5500 !important;
    border-color: rgba(250,160,26,.19);
    background: rgba(250,160,26,.09);
}

/* قیمت و دکمه خرید حرفه‌ای و واضح */
.kbp-showcase .kbp-product__footer {
    margin-top: auto;
    padding-top: 10px;
    display: block;
}

.kbp-showcase .kbp-product__price {
    min-height: 39px;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-end;
    color: #9B5C00 !important;
    font-size: 13px;
    font-weight: 950;
}

.kbp-showcase .kbp-product__action {
    width: 100%;
    min-height: 41px;
    height: auto;
    padding: 8px 11px !important;
    border-radius: 12px 12px 12px 5px !important;
    display: flex !important;
    place-items: initial !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px;
    color: #242424 !important;
    background: linear-gradient(145deg, #FAA01A, #FFB33D) !important;
    font-size: 10.5px !important;
    font-weight: 900 !important;
    line-height: 1.7 !important;
    text-align: center;
}

.kbp-showcase .kbp-product__action span {
    display: inline !important;
    color: inherit !important;
    font-size: inherit !important;
}

.kbp-showcase .kbp-product--accent .kbp-product__action {
    color: #242424 !important;
    background: linear-gradient(145deg, #FAA01A, #FFB33D) !important;
    box-shadow:
        0 9px 22px rgba(250,160,26,.22),
        inset 0 1px 0 rgba(255,255,255,.48) !important;
}

.kbp-showcase .kbp-product__action:hover {
    transform: translateY(-2px);
}

.kbp-showcase .kbp-product .added_to_cart {
    right: 14px;
    bottom: 14px;
}

/* پوسته عمومی ووکامرس: متن کارت‌های نارنجی همیشه تیره و خوانا */
body.kbp-global-skin-enabled .woocommerce ul.products li.product:nth-child(5n+1),
body.kbp-global-skin-enabled.woocommerce ul.products li.product:nth-child(5n+1),
body.kbp-global-skin-enabled .woocommerce ul.products li.product:nth-child(5n+1) a,
body.kbp-global-skin-enabled.woocommerce ul.products li.product:nth-child(5n+1) a,
body.kbp-global-skin-enabled .woocommerce ul.products li.product:nth-child(5n+1) .woocommerce-loop-product__title,
body.kbp-global-skin-enabled.woocommerce ul.products li.product:nth-child(5n+1) .woocommerce-loop-product__title,
body.kbp-global-skin-enabled .woocommerce ul.products li.product:nth-child(5n+1) .price,
body.kbp-global-skin-enabled.woocommerce ul.products li.product:nth-child(5n+1) .price {
    color: #242424 !important;
}

body.kbp-global-skin-enabled .woocommerce ul.products li.product:nth-child(5n+1) .button,
body.kbp-global-skin-enabled.woocommerce ul.products li.product:nth-child(5n+1) .button {
    color: #242424 !important;
    background: #fff !important;
}

@media (max-width: 767px) {
    .kbp-showcase .kbp-product {
        min-height: 500px;
    }

    .kbp-product__features {
        min-height: 54px;
    }
}

@media (max-width: 520px) {
    .kbp-showcase--grid .kbp-product {
        min-height: 390px;
    }

    .kbp-showcase--grid .kbp-product__features {
        min-height: 46px;
        gap: 4px;
    }

    .kbp-showcase--grid .kbp-product__feature-label {
        display: none;
    }

    .kbp-showcase--grid .kbp-product__feature-chip {
        max-width: 52px;
        padding-inline: 5px;
        font-size: 8px;
    }

    .kbp-showcase--grid .kbp-product__action {
        min-height: 37px;
        font-size: 9px !important;
    }
}


/* KOOHBAD PRODUCTS UI — FRONTEND HEADER VISIBILITY FIX v1.1.1
   بعضی هدرهای سفارشی سایت تمام تگ‌های header را به‌عنوان هدر قدیمی مخفی می‌کنند.
   این بخش عنوان محصولات را مستقل و همیشه قابل مشاهده نگه می‌دارد.
   ========================================================= */

.kbp-showcase .kbp-showcase__head {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    pointer-events: auto !important;
}

.kbp-showcase .kbp-showcase__copy,
.kbp-showcase .kbp-showcase__controls,
.kbp-showcase .kbp-showcase__eyebrow,
.kbp-showcase .kbp-showcase__title,
.kbp-showcase .kbp-showcase__subtitle {
    visibility: visible !important;
    opacity: 1 !important;
}

@media (max-width: 520px) {
    .kbp-showcase .kbp-showcase__head {
        display: block !important;
    }
}


/* KOOHBAD CAMPAIGN 2026 v1.2.0
   ========================================================= */

.kb-campaign,
.kb-campaign * {
    box-sizing: border-box;
}

.kb-campaign {
    --kbc-orange: #FAA01A;
    --kbc-orange-2: #FFB33D;
    --kbc-white: #FFFFFF;
    --kbc-ink: #242424;
    --kbc-muted: #767676;

    width: min(1280px, calc(100vw - 40px));
    margin: 0 auto clamp(48px, 6vw, 86px);
    font-family: inherit;
}

.kb-campaign__shell {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    padding: 34px 42px;
    border: 1px solid rgba(250,160,26,.20);
    border-radius: 34px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr);
    align-items: center;
    gap: 28px;
    color: var(--kbc-ink);
    background:
        radial-gradient(circle at 86% 5%, rgba(250,160,26,.18), transparent 28%),
        radial-gradient(circle at 10% 95%, rgba(250,160,26,.08), transparent 31%),
        linear-gradient(145deg, rgba(255,255,255,.98), rgba(255,249,240,.93));
    box-shadow:
        0 28px 78px rgba(36,36,36,.09),
        inset 0 1px 0 #fff;
    isolation: isolate;
}

.kb-campaign__shape {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.kb-campaign__shape--one {
    top: -170px;
    right: -120px;
    width: 380px;
    height: 380px;
    background: rgba(250,160,26,.14);
}

.kb-campaign__shape--two {
    bottom: -210px;
    left: 18%;
    width: 400px;
    height: 400px;
    border: 70px solid rgba(250,160,26,.055);
}

.kb-campaign__visual {
    position: relative;
    min-height: 320px;
    display: grid;
    place-items: center;
}

.kb-campaign__visual-ring {
    position: absolute;
    width: min(90%, 430px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255,255,255,.98) 0 48%, transparent 49%),
        linear-gradient(145deg, rgba(250,160,26,.20), rgba(250,160,26,.04));
    box-shadow:
        0 24px 60px rgba(250,160,26,.13),
        inset 0 0 0 1px rgba(250,160,26,.14);
}

.kb-campaign__image {
    position: relative;
    z-index: 2;
    width: min(100%, 510px);
    max-height: 315px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 25px 28px rgba(36,36,36,.18));
    transform: translateY(-4px);
}

.kb-campaign__badge {
    position: absolute;
    right: 4%;
    bottom: 9%;
    z-index: 3;
    min-height: 42px;
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    color: #242424;
    background: linear-gradient(145deg, #FAA01A, #FFB33D);
    box-shadow:
        0 12px 30px rgba(250,160,26,.25),
        inset 0 1px 0 rgba(255,255,255,.52);
    font-size: 12px;
    font-weight: 950;
    line-height: 1.7;
}

.kb-campaign__content {
    position: relative;
    z-index: 3;
    max-width: 540px;
}

.kb-campaign__eyebrow {
    margin-bottom: 7px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #925700;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.8;
}

.kb-campaign__eyebrow::before {
    content: "";
    width: 24px;
    height: 5px;
    border-radius: 99px;
    background: var(--kbc-orange);
    box-shadow: 0 0 0 5px rgba(250,160,26,.09);
}

.kb-campaign__title {
    max-width: 520px;
    margin: 0;
    color: var(--kbc-ink);
    font-size: clamp(34px, 3.4vw, 56px);
    font-weight: 950;
    line-height: 1.32;
    letter-spacing: -.9px;
}

.kb-campaign__subtitle {
    max-width: 470px;
    margin: 10px 0 0;
    color: var(--kbc-muted);
    font-size: 14px;
    font-weight: 450;
    line-height: 2;
}

.kb-campaign__timer {
    width: fit-content;
    margin-top: 22px;
    padding: 10px 13px;
    border: 1px solid rgba(36,36,36,.07);
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 11px;
    background: rgba(255,255,255,.78);
    box-shadow:
        0 12px 30px rgba(36,36,36,.055),
        inset 0 1px 0 #fff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.kb-campaign__time {
    min-width: 54px;
    display: grid;
    justify-items: center;
    gap: 2px;
}

.kb-campaign__time strong {
    color: var(--kbc-ink);
    font-size: 21px;
    font-weight: 950;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.kb-campaign__time span {
    color: #8A8A8A;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.5;
}

.kb-campaign__timer > i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--kbc-orange);
    box-shadow: 0 9px 0 var(--kbc-orange);
}

.kb-campaign__expired {
    margin-top: 18px;
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 10px;
    color: #7F4D00;
    background: rgba(250,160,26,.10);
    font-size: 11px;
    font-weight: 850;
}

.kb-campaign__actions {
    margin-top: 22px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
}

.kb-campaign__button {
    min-height: 48px;
    padding: 10px 17px;
    border-radius: 14px 14px 14px 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--kbc-ink) !important;
    background: linear-gradient(145deg, var(--kbc-orange), var(--kbc-orange-2));
    box-shadow:
        0 13px 30px rgba(250,160,26,.24),
        inset 0 1px 0 rgba(255,255,255,.48);
    font-size: 12px;
    font-weight: 950;
    line-height: 1.7;
    text-decoration: none !important;
    transition:
        transform .24s ease,
        box-shadow .24s ease;
}

.kb-campaign__button:hover {
    color: var(--kbc-ink) !important;
    box-shadow:
        0 17px 36px rgba(250,160,26,.31),
        inset 0 1px 0 rgba(255,255,255,.55);
    transform: translateY(-3px);
}

.kb-campaign__button svg,
.kb-campaign__trust svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.25;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.kb-campaign__trust {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #737373;
    font-size: 10.5px;
    font-weight: 750;
    line-height: 1.7;
}

.kb-campaign__trust svg {
    color: #A96600;
}

@media (max-width: 980px) {
    .kb-campaign__shell {
        grid-template-columns: 1fr 1fr;
        padding: 28px;
    }

    .kb-campaign__title {
        font-size: clamp(30px, 4vw, 43px);
    }

    .kb-campaign__visual {
        min-height: 280px;
    }
}

@media (max-width: 767px) {
    .kb-campaign {
        width: calc(100vw - 20px);
        margin-bottom: 54px;
    }

    .kb-campaign__shell {
        min-height: 0;
        padding: 20px;
        border-radius: 25px;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .kb-campaign__visual {
        min-height: 230px;
        order: 1;
    }

    .kb-campaign__visual-ring {
        width: min(88%, 310px);
    }

    .kb-campaign__image {
        width: min(94%, 350px);
        max-height: 225px;
    }

    .kb-campaign__badge {
        right: 3%;
        bottom: 4%;
    }

    .kb-campaign__content {
        max-width: none;
        order: 2;
        text-align: center;
    }

    .kb-campaign__eyebrow {
        justify-content: center;
    }

    .kb-campaign__title {
        margin-inline: auto;
        font-size: 31px;
        letter-spacing: -.5px;
    }

    .kb-campaign__subtitle {
        margin-inline: auto;
        font-size: 12.5px;
    }

    .kb-campaign__timer {
        margin: 18px auto 0;
        gap: 7px;
    }

    .kb-campaign__time {
        min-width: 47px;
    }

    .kb-campaign__time strong {
        font-size: 18px;
    }

    .kb-campaign__actions {
        justify-content: center;
    }
}

@media (max-width: 430px) {
    .kb-campaign__shell {
        padding: 17px 14px 18px;
    }

    .kb-campaign__visual {
        min-height: 205px;
    }

    .kb-campaign__title {
        font-size: 27px;
    }

    .kb-campaign__timer {
        width: 100%;
        justify-content: center;
        padding-inline: 7px;
    }

    .kb-campaign__time {
        min-width: 42px;
    }

    .kb-campaign__timer > i {
        width: 3px;
        height: 3px;
    }

    .kb-campaign__trust {
        width: 100%;
        justify-content: center;
    }
}
