.pwc.pwc-spacing,
.custom-home-hero,
.custom-cta-split {
	padding-right: 15px;
	padding-left: 15px;
}

.custom-home-hero {
    position: relative;
    padding: 90px 0;
    margin-bottom: 50px;
    background-image: linear-gradient(rgba(17, 24, 39, 0.45), rgba(17, 24, 39, 0.45)), url('/themes/kaliberChild/assets/img/HERO-3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.custom-home-hero__inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.custom-home-hero__content {
    max-width: 680px;
}

.custom-home-hero__eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.custom-home-hero__title {
    margin: 0 0 20px;
    font-size: 48px;
    line-height: 1.1;
    font-weight: 700;
    color: #ffffff;
}

.custom-home-hero__text {
    margin: 0 0 28px;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.custom-home-hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.custom-home-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.custom-home-hero__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.custom-home-hero__btn--secondary {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

@media (max-width: 767px) {
    .custom-home-hero {
        padding: 60px 0;
        margin-bottom: 35px;
    }

    .custom-home-hero__title {
        font-size: 34px;
    }

    .custom-home-hero__text {
        font-size: 16px;
    }
}

#pwc-6 .pwc-content.pwc-image {
    position: relative;
    overflow: hidden;
    background: #111827;
    height: 100%;
    aspect-ratio: 3 / 4;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.10);
}

#pwc-6 .pwc-content.pwc-image picture,
#pwc-6 .pwc-content.pwc-image picture img {
    display: block;
    width: 100%;
    height: 100%;
}

#pwc-6 .pwc-content.pwc-image picture img {
    object-fit: cover;
    transition: transform 0.35s ease;
}

#pwc-6 .pwc-content.pwc-image .pwc-position.pwc-inset.pwc-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    background: linear-gradient(to top, rgba(17, 24, 39, 0.72), rgba(17, 24, 39, 0.48));
}

#pwc-6 .pwc-title {
    display: block;
    color: #ffffff !important;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    max-width: 220px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

#pwc-6 .pwc-paragraph,
#pwc-6 .pwc-button {
    display: none !important;
}

#pwc-6 .pwc-full-link {
    position: absolute;
    inset: 0;
    z-index: 4;
}

#pwc-6 .pwc-b {
    transition: transform 0.25s ease;
}

#pwc-6 .pwc-b:hover {
    transform: translateY(-6px);
}

#pwc-6 .pwc-b:hover .pwc-content.pwc-image {
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.16);
    border-color: rgba(255, 255, 255, 0.22);
}

#pwc-6 .pwc-b:hover picture img {
    transform: scale(1.04);
}

.product-flag.discount,
.product-flag.on-sale,
.product-flags .product-flag.discount,
.product-flags .product-flag.on-sale,
.thumbnail-container .product-flag.discount,
.thumbnail-container .product-flag.on-sale,
.thumbnail-container .product-flags .product-flag.discount,
.thumbnail-container .product-flags .product-flag.on-sale {
    background: #d52d81 !important;
    color: #ffffff !important;
}

@media (max-width: 767px) {
    .custom-cta-split { display: none; }
}

.custom-cta-split {
    margin: 42px 0;
    overflow: hidden;
    background: linear-gradient(135deg, #864494 0%, #6f3a7d 100%);
    border: 1px solid rgba(209, 202, 255, 0.35);
    box-shadow: 0 18px 40px rgba(134, 68, 148, 0.18);
}

.custom-cta-split__inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    min-height: 500px;
    max-width: 1140px;
    margin: 0 auto;
}

.custom-cta-split__content {
    padding: 56px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.custom-cta-split__eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #F8E3FF;
}

.custom-cta-split__title {
    margin: 0 0 14px;
    font-size: 40px;
    line-height: 1.08;
    font-weight: 700;
    color: #fff;
}

.custom-cta-split__text {
    margin: 0 0 24px;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255,255,255,0.92);
    max-width: 560px;
}

.custom-cta-split__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.custom-cta-split__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.custom-cta-split__btn--primary {
    background: #D1CAFF;
    color: #864494;
}

.custom-cta-split__btn--secondary {
    background: rgba(255,255,255,0.10);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
}

.custom-cta-split__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(58, 34, 63, 0.45);
}

.custom-cta-split__btn--primary:hover {
    background: #F8E3FF;
}

.custom-cta-split__btn--secondary:hover {
    background: rgba(248, 227, 255, 0.15);
    border-color: rgba(248, 227, 255, 0.45);
}

.custom-cta-split__media {
    position: relative;
    min-height: 100%;
    background-image: linear-gradient(rgba(17,24,39,0.18), rgba(17,24,39,0.18)), url('/themes/kaliberChild/assets/img/HERO-5.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 991px) {
    .custom-cta-split__inner {
        grid-template-columns: 1fr;
    }

    .custom-cta-split__media {
        min-height: 260px;
    }
}

@media (max-width: 767px) {
    .custom-cta-split__content {
        padding: 32px 20px;
    }

    .custom-cta-split__title {
        font-size: 30px;
    }

    .custom-cta-split__inner {
        min-height: unset;
    }
}

/* ════════════════════════════════════════════════════════════
   CATEGORY HERO
   Each category uses its own cover image (set in BO under
   Catalog › Categories › Edit › Category cover image).
   Categories without a cover image fall back to the brand gradient.
   ════════════════════════════════════════════════════════════ */

.cat-hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* shown when no image is uploaded */
    background-color: #864494;
}

.cat-hero--has-img {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cat-hero--no-img {
    background: linear-gradient(135deg, #864494 0%, #5c2e6b 100%);
}

/* Sub-subcategory (level 4+): soft lavender gradient built around #D1CAFF */
.cat-hero--no-img.cat-hero--deep {
    background: linear-gradient(135deg, #a99ef5 0%, #D1CAFF 55%, #ede9ff 100%);
}

/* subtle bottom fade to ease transition into the page */
.cat-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, rgba(0,0,0,0.08));
    pointer-events: none;
}

.cat-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 15px 52px;
}

/* ── Breadcrumb inside hero ── */
.cat-hero__breadcrumb {
    margin-bottom: 22px;
}

.cat-hero__breadcrumb .breadcrumb,
.cat-hero__breadcrumb nav,
.cat-hero__breadcrumb ol {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

.cat-hero__breadcrumb a,
.cat-hero__breadcrumb span,
.cat-hero__breadcrumb li,
.cat-hero__breadcrumb .breadcrumb-item {
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 13px;
}

.cat-hero__breadcrumb a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

.cat-hero__breadcrumb .breadcrumb-item + .breadcrumb-item::before,
.cat-hero__breadcrumb .separator,
.cat-hero__breadcrumb .delimiter {
    color: rgba(255, 255, 255, 0.45) !important;
}

/* active / current page */
.cat-hero__breadcrumb .breadcrumb-item.active,
.cat-hero__breadcrumb [aria-current] {
    color: rgba(255, 255, 255, 0.55) !important;
}

/* ── Title ── */
.cat-hero__title {
    margin: 0 0 16px;
    font-size: 52px;
    line-height: 1.05;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* ── Short description teaser ── */
.cat-hero__desc {
    margin: 0;
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    max-width: 620px;
}

/* ── Deep hero: dark text on light lavender ── */
.cat-hero--deep .cat-hero__title {
    color: #1e1245;
    text-shadow: none;
}

.cat-hero--deep .cat-hero__desc {
    color: rgba(30, 18, 69, 0.80);
}

.cat-hero--deep .cat-hero__breadcrumb a,
.cat-hero--deep .cat-hero__breadcrumb span,
.cat-hero--deep .cat-hero__breadcrumb li,
.cat-hero--deep .cat-hero__breadcrumb .breadcrumb-item {
    color: rgba(30, 18, 69, 0.65) !important;
}

.cat-hero--deep .cat-hero__breadcrumb a:hover {
    color: #1e1245 !important;
}

.cat-hero--deep .cat-hero__breadcrumb .breadcrumb-item + .breadcrumb-item::before,
.cat-hero--deep .cat-hero__breadcrumb .separator,
.cat-hero--deep .cat-hero__breadcrumb .delimiter {
    color: rgba(30, 18, 69, 0.35) !important;
}

.cat-hero--deep .cat-hero__breadcrumb .breadcrumb-item.active,
.cat-hero--deep .cat-hero__breadcrumb [aria-current] {
    color: rgba(30, 18, 69, 0.45) !important;
}

/* bottom fade override for light hero */
.cat-hero--deep::after {
    background: linear-gradient(transparent, rgba(209, 202, 255, 0.15));
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .cat-hero {
        min-height: 280px;
    }

    .cat-hero__title {
        font-size: 38px;
    }

    .cat-hero__inner {
        padding: 48px 15px 40px;
    }
}

@media (max-width: 767px) {
    .cat-hero {
        min-height: 200px;
    }

    .cat-hero__inner {
        padding: 36px 15px 30px;
    }

    .cat-hero__title {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .cat-hero__desc {
        font-size: 14px;
        line-height: 1.55;
    }
}

/* ════════════════════════════════════════════════════════════
   PRODUCT PAGE POLISH
   ════════════════════════════════════════════════════════════ */

/* Tighten breadcrumb spacing on product pages */
.page-product .page-header {
    padding-bottom: 0;
}

/* Product information panel */
.product-information {
    padding-left: 8px;
}

/* Product name — slightly larger, tighter leading */
.page-product h1.h1,
.page-product .product-name {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 8px;
}

/* Price block — pop the current price */
.page-product .current-price .price {
    font-size: 30px;
    font-weight: 700;
    color: #111827;
}

.page-product .product-prices {
    margin: 14px 0 18px;
}

/* Regular / crossed-out price */
.page-product .regular-price {
    color: #9ca3af;
    font-size: 16px;
}

/* Brand badge */
.page-product .product-brand img {
    max-height: 36px;
    width: auto;
    margin-bottom: 12px;
    opacity: 0.85;
}

/* Variant labels */
.page-product .product-variants .control-label {
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #374151;
    margin-bottom: 6px;
}

/* Add-to-cart section */
.page-product .add-to-cart {
    min-height: 50px;
    padding: 0 28px;
    font-size: 15px;
    font-weight: 600;
}

.page-product #product-availability {
    margin-top: 8px;
    font-size: 13px;
}

/* Product tabs (Description / Data sheet) */
.page-product .product-tabs .nav-link {
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
}

.page-product .product-tabs .nav-link.active {
    border-bottom: 2px solid #864494;
    color: #864494;
}

/* Description body text */
.page-product #description {
    font-size: 15px;
    line-height: 1.75;
    color: #374151;
}

/* Accessories / related products header */
.page-product .product-accessories h3,
.page-product .product-accessories .products-section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f3f4f6;
}

/* ════════════════════════════════════════════════════════════
   STICKY HEADER-TOP (USP bar above nav)
   ════════════════════════════════════════════════════════════ */

.header-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1101;
    width: 100%;
    background: #fff;
}

/* Nav: always fixed immediately below the USP bar — bypasses sticky.js delay */
.header-main.stick {
    position: fixed !important;
    top: 38px !important;
    left: 0;
    right: 0;
    z-index: 1100;
}

/* sticky-wrapper still reserves the nav's height in the flow */
#sticky-wrapper {
    height: 69px;
}

/* ════════════════════════════════════════════════════════════
   MEGAMENU — width & height matching header-main-inner
   ════════════════════════════════════════════════════════════ */

/* Fill the flex row so menu spans same width as container above */
#pwmm-h {
    width: 100%;
}

/* Reduce link padding so menu row height feels proportional */
#pwmm-h .a0,
#pwmm-h .span0 {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}


/* ════════════════════════════════════════════════════════════
   PRODUCT GALLERY — thumbnails below main image on desktop
   ════════════════════════════════════════════════════════════ */

@media (min-width: 992px) {
    /* Stack gallery rows vertically */
    .images-container .row.no-gutters {
        flex-direction: column;
    }

    /* Main image: full width */
    .images-container .col-lg-10 {
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    /* Thumbnail column: full width, below main image */
    .images-container .col-lg-2.order-first {
        order: 2 !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    /* Thumbnail list: horizontal strip */
    .images-container .js-qv-mask.mask {
        height: auto !important;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .images-container .product-images.js-qv-product-images {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        padding: 0 !important;
        margin: 8px 0 0 !important;
        gap: 6px;
    }

    .images-container .thumb-container {
        width: auto !important;
        flex: 0 0 auto !important;
        padding: 0 !important;
    }

    .images-container .thumb-container .img-item {
        width: 100px;
    }

    .images-container .thumb-container img.thumb {
        width: 100px !important;
        height: auto !important;
        display: block;
    }
}

/* ════════════════════════════════════════════════════════════
   QUANTITY STEPPER
   ════════════════════════════════════════════════════════════ */

/* Gap between stepper and add-to-cart button */
#kaliber_qty-add-to-cart {
    gap: 8px;
}

/* Stepper container */
.product-quantity .input-group.bootstrap-touchspin {
    border: 1px solid #d1d5db;
    border-radius: 5px;
    overflow: hidden;
    display: inline-flex !important;
    align-items: stretch;
    width: auto !important;
    flex-wrap: nowrap;
}

/* +/- buttons — specificity beats displayHeader.tpl inline rule */
.product-quantity .bootstrap-touchspin .btn.btn-touchspin {
    background: #f9fafb !important;
    border: none !important;
    color: #374151 !important;
    font-size: 18px;
    font-weight: 400;
    padding: 0 14px;
    min-width: 42px;
    min-height: 48px;
    line-height: 1;
    transition: background 0.15s ease, color 0.15s ease;
    border-radius: 0 !important;
}

.product-quantity .bootstrap-touchspin .btn.btn-touchspin:hover {
    background: #864494 !important;
    color: #ffffff !important;
}

/* Number input */
.product-quantity input#quantity_wanted {
    border: none !important;
    border-left: 1px solid #e5e7eb !important;
    border-right: 1px solid #e5e7eb !important;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    width: 52px !important;
    min-height: 48px;
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    -moz-appearance: textfield;
}

.product-quantity input#quantity_wanted::-webkit-outer-spin-button,
.product-quantity input#quantity_wanted::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* Input group wrappers — remove Bootstrap defaults */
.product-quantity .input-group-btn {
    width: auto;
}

.product-quantity .input-group-btn .btn-touchspin {
    height: 100%;
}

/* Variant option pills (radio-button backed) */
.page-product .product-variants .input-container input[type="radio"] {
    display: none;
}

.page-product .product-variants .input-container label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    padding: 5px 12px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    background: #ffffff;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
    margin-right: 4px;
    margin-bottom: 4px;
}

.page-product .product-variants .input-container label:hover {
    border-color: #864494;
    color: #864494;
}

.page-product .product-variants .input-container input[type="radio"]:checked + label,
.page-product .product-variants .input-container label.checked {
    border-color: #864494;
    color: #864494;
    background: #faf8ff;
    font-weight: 600;
}

/* Variant select dropdowns (fallback for attribute types not shown as pills) */
.page-product .product-variants select {
    border: 1px solid #d1d5db;
    border-radius: 5px;
    padding: 7px 12px;
    font-size: 13px;
    color: #374151;
    background: #ffffff;
    appearance: auto;
}

.page-product .product-variants select:focus {
    outline: none;
    border-color: #864494;
    box-shadow: 0 0 0 2px rgba(134, 68, 148, 0.12);
}

/* USP section on product page — hidden, replaced by .product-delivery-box */
.kaliber-usp_productpage {
    display: none;
}


/* Delivery info box (hardcoded, below add-to-cart) */
.product-delivery-box {
    border: 1px solid #e5e7eb;
    border-radius: 7px;
    overflow: hidden;
    margin-top: 16px;
}

.product-delivery-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    font-size: 13px;
    color: #374151;
    font-weight: 500;
    border-bottom: 1px solid #f3f4f6;
}

.product-delivery-row:last-child {
    border-bottom: none;
}

.product-delivery-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #f9f7ff;
    border: 1px solid #D1CAFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

/* Brand label (text fallback when no manufacturer image is set) */
.page-product .product-brand a {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #864494;
    text-decoration: none;
}

.page-product .product-brand a:hover {
    color: #5c2e6b;
}

/* Discount percentage / amount badge */
.page-product .discount-percentage,
.page-product .discount-amount {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background: #d52d81;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 3px;
    vertical-align: middle;
}

/* Add-to-cart button — brand color */
.page-product .add-to-cart,
.page-product #add-to-cart {
    background: #864494;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    transition: background 0.2s ease, transform 0.15s ease;
}

.page-product .add-to-cart:hover,
.page-product #add-to-cart:hover {
    background: #5c2e6b;
    transform: translateY(-1px);
}

/* ════════════════════════════════════════════════════════════
   FOOTER COLORS
   ════════════════════════════════════════════════════════════ */

/* Newsletter bar (top of footer) */
.email_subscription {
    background: #864494 !important;
}

.email_subscription .block-title,
.email_subscription p,
.email_subscription label {
    color: #ffffff !important;
}

.email_subscription input[type="text"] {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.30);
    color: #ffffff;
}

.email_subscription input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.60);
}

.email_subscription input[type="submit"] {
    background: #D1CAFF;
    color: #5c2e6b;
    border: none;
    font-weight: 600;
}

.email_subscription input[type="submit"]:hover {
    background: #ffffff;
    color: #864494;
}

/* Main footer body */
.footer-section {
    background-color: #864494 !important;
}

.footer-section a,
.footer-section p,
.footer-section span,
.footer-section li,
.footer-section .h3,
.footer-section h3,
.footer-section h4 {
    color: rgba(255, 255, 255, 0.80) !important;
}

.footer-section a:hover {
    color: #D1CAFF !important;
}

/* Brand logos strip */
#search_filters_brands {
    background-color: #ffffff !important;
}
