/* =========================================================
   Inner pages + Quickview polish — AFF
   ========================================================= */

:root {
    --page-ink: #111;
    --page-mute: #6b6b6b;
    --page-line: #e8e8e8;
    --page-soft: #f5f5f5;
    --page-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Shared page title */
.page-about-us .page-title,
.site-main .page-title {
    position: relative;
}

body.is-about .page-title,
body.is-products .page-title,
body.is-projects .page-title,
body.is-project-details .page-title {
    padding: 70px 0 40px !important;
    background:
        radial-gradient(circle at 20% 20%, rgba(0,0,0,0.04), transparent 40%),
        linear-gradient(180deg, #fafafa 0%, #fff 100%);
    border-bottom: 1px solid var(--page-line);
}

body.is-about .text-title-heading,
body.is-products .text-title-heading,
body.is-projects .text-title-heading,
body.is-project-details .text-title-heading {
    font-size: clamp(28px, 4vw, 44px) !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
    animation: pageTitleIn 0.7s var(--page-ease) both;
}

body.is-about .breadcrumbs,
body.is-products .breadcrumbs,
body.is-projects .breadcrumbs,
body.is-project-details .breadcrumbs {
    animation: pageTitleIn 0.8s 0.08s var(--page-ease) both;
}

@keyframes pageTitleIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.aff-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s var(--page-ease), transform 0.65s var(--page-ease);
}
.aff-reveal.is-in {
    opacity: 1;
    transform: none;
}

/* ---- Quantity controls (fix number visibility project-wide) ---- */
.quantity {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid var(--page-line) !important;
    border-radius: 12px !important;
    overflow: visible !important;
    background: #fff !important;
    position: relative !important;
    float: none !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    zoom: 1;
}

.quantity .plus,
.quantity .minus,
.quantity button.plus,
.quantity button.minus {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    float: none !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 42px !important;
    line-height: 42px !important;
    border: 0 !important;
    background: var(--page-soft) !important;
    color: #111 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    z-index: 2;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.quantity .plus:before,
.quantity .minus:before,
.quantity button.plus:before,
.quantity button.minus:before {
    content: none !important;
    display: none !important;
}

.quantity .plus:hover,
.quantity .minus:hover,
.quantity button.plus:hover,
.quantity button.minus:hover {
    background: #111 !important;
    color: #fff !important;
}

.quantity .plus:active,
.quantity .minus:active {
    transform: scale(0.92);
}

.quantity input.qty,
.quantity input.input-text.qty,
.quantity input[name="quantity"],
.quantity input[type="number"],
.quickview-popup .quantity input,
.quickview-container .quantity input,
.single-product .quantity input,
.shop-details .quantity input,
.shop-cart .quantity input.qty,
.add-to-cart-wrap .quantity input {
    appearance: textfield !important;
    -moz-appearance: textfield !important;
    -webkit-appearance: textfield !important;
    position: static !important;
    float: none !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 58px !important;
    min-width: 58px !important;
    max-width: 70px !important;
    height: 42px !important;
    min-height: 42px !important;
    line-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
    background: #fff !important;
    background-color: #fff !important;
    box-shadow: none !important;
    outline: none !important;
    z-index: 1;
}

.quantity input::-webkit-outer-spin-button,
.quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
    display: none !important;
}

.quantity input.aff-qty-flash {
    animation: qtyFlash 0.22s ease;
}

@keyframes qtyFlash {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); background: #f0f0f0 !important; }
    100% { transform: scale(1); }
}

/* Quickview quantity row */
.quickview-popup .quantity-button,
.quickview-container .quantity-button {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.quickview-popup {
    backdrop-filter: blur(4px);
}
.quickview-popup .quickview-container {
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.22) !important;
    animation: qvIn 0.4s var(--page-ease);
}
@keyframes qvIn {
    from { opacity: 0; transform: translateY(18px) scale(0.98); }
    to { opacity: 1; transform: none; }
}
.quickview-popup .product-title {
    font-size: clamp(20px, 2.4vw, 28px) !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
}
.quickview-popup .price-single .price {
    font-size: 22px !important;
    font-weight: 800;
    color: #111;
}
.quickview-popup .description {
    color: var(--page-mute);
    line-height: 1.8;
    margin: 14px 0 20px;
}
.quickview-popup .quantity-button {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}
.quickview-popup .single-add-to-cart-button {
    flex: 1;
    min-width: 160px;
    border-radius: 12px !important;
    background: #111 !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 20px !important;
    font-weight: 700 !important;
    transition: transform 0.2s var(--page-ease), box-shadow 0.2s ease !important;
}
.quickview-popup .single-add-to-cart-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.quickview-popup .quick-buy {
    width: 100%;
    border-radius: 12px !important;
    border: 1px solid #111 !important;
    background: #fff !important;
    color: #111 !important;
    font-weight: 700 !important;
    padding: 12px 20px !important;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s var(--page-ease) !important;
}
.quickview-popup .quick-buy:hover {
    background: #111 !important;
    color: #fff !important;
    transform: translateY(-2px);
}
.quickview-popup .img-quickview img {
    border-radius: 12px;
    transition: transform 0.5s var(--page-ease);
}
.quickview-popup .img-quickview:hover img {
    transform: scale(1.03);
}

/* ---- About page ---- */
body.is-about .page-about-us .banner-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}
body.is-about .block-title h2 {
    font-size: clamp(24px, 3vw, 36px) !important;
    font-weight: 700 !important;
}
body.is-about .block-title .sub-title {
    color: var(--page-mute);
    max-width: 60ch;
    margin: 12px auto 0;
    line-height: 1.8;
}
body.is-about .block-widget-banner.layout-16 .row {
    border-radius: 20px;
    overflow: hidden;
    background: var(--page-soft);
    margin-bottom: 24px;
}
body.is-about .block-widget-banner.layout-16 .banner-image img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    transition: transform 0.7s var(--page-ease);
}
body.is-about .block-widget-banner.layout-16 .row:hover .banner-image img {
    transform: scale(1.04);
}
body.is-about .block-widget-banner.layout-16 .banner-wrapper-infor {
    min-height: 340px;
    display: flex;
    align-items: center;
    padding: 36px !important;
}
body.is-about .title-banner {
    font-size: 28px !important;
    font-weight: 700 !important;
}
body.is-about .button.button-outline {
    border-radius: 999px !important;
    border: 1px solid #111 !important;
    padding: 11px 24px !important;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s var(--page-ease);
}
body.is-about .button.button-outline:hover {
    background: #111 !important;
    color: #fff !important;
    transform: translateY(-2px);
}

/* ---- Products page ---- */
body.is-products .left-sidebar .block {
    border: 1px solid var(--page-line);
    border-radius: 16px;
    padding: 18px 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.03);
    position: sticky;
    top: 100px;
}
body.is-products .block-product-cats .block-title h2 {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 14px;
}
body.is-products .product-cats-list ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 10px;
    transition: background 0.2s ease, transform 0.2s var(--page-ease);
}
body.is-products .product-cats-list ul li a:hover {
    background: var(--page-soft);
    transform: translateX(-3px);
}
html[dir="ltr"] body.is-products .product-cats-list ul li a:hover {
    transform: translateX(3px);
}
body.is-products .product-cats-list .count {
    background: var(--page-soft);
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 12px;
}
body.is-products .products-entry.product-wapper {
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.35s var(--page-ease), box-shadow 0.35s ease;
    background: #fff;
    margin-bottom: 24px;
}
body.is-products .products-entry.product-wapper:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}
body.is-products .products-entry .products-thumb {
    background: var(--page-soft);
}
body.is-products .product-lable .hot {
    background: #111 !important;
    border-radius: 999px;
    padding: 4px 10px;
}
body.is-products .products-topbar {
    border: 1px solid var(--page-line);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 22px;
    background: #fff;
}

/* ---- Projects list ---- */
body.is-projects .post-entry.post-wapper {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    border: 1px solid var(--page-line);
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    margin-bottom: 28px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: transform 0.35s var(--page-ease), box-shadow 0.35s ease;
}
body.is-projects .post-entry.post-wapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 44px rgba(0,0,0,0.08);
}
body.is-projects .post-entry .post-image2,
body.is-projects .post-entry img.post-image2 {
    width: 100% !important;
    height: 280px !important;
    object-fit: cover;
    transition: transform 0.7s var(--page-ease);
}
body.is-projects .post-entry:hover img.post-image2 {
    transform: scale(1.05);
}
body.is-projects .post-entry .col-lg-7 {
    padding: 28px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
body.is-projects .post-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    margin-bottom: 12px;
}
body.is-projects .post-excerpt {
    color: var(--page-mute);
    line-height: 1.8;
    max-height: 6.5em;
    overflow: hidden;
}
body.is-projects .button-outline {
    display: inline-flex;
    margin-top: 18px;
    border-radius: 999px !important;
    border: 1px solid #111 !important;
    padding: 10px 22px !important;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s var(--page-ease);
}
body.is-projects .button-outline:hover {
    background: #111 !important;
    color: #fff !important;
    transform: translateY(-2px);
}

/* ---- Project details ---- */
body.is-project-details .post-details .post-image img {
    width: 100% !important;
    height: auto !important;
    max-height: 520px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}
body.is-project-details .post-details .post-title {
    font-size: clamp(24px, 3vw, 36px) !important;
    font-weight: 700 !important;
    margin: 24px 0 16px;
}
body.is-project-details .post-content {
    color: #333;
    line-height: 1.9;
    font-size: 16px;
}
body.is-project-details .content-img img {
    width: 100% !important;
    height: 240px !important;
    object-fit: cover;
    border-radius: 16px !important;
    margin-top: 16px !important;
    transition: transform 0.35s var(--page-ease), box-shadow 0.35s ease;
}
body.is-project-details .content-img img:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}
body.is-project-details .product-related .block-title h2 {
    font-size: 28px !important;
    font-weight: 700 !important;
    text-align: center;
    margin-bottom: 28px;
}
body.is-project-details .product-related .products-entry {
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s var(--page-ease);
}
body.is-project-details .product-related .products-entry:hover {
    transform: translateY(-5px);
}
body.is-project-details .product-related img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover;
    border-radius: 16px !important;
}

/* ---- Shared motion polish ---- */
body.is-about .aff-reveal,
body.is-products .aff-reveal,
body.is-projects .aff-reveal,
body.is-project-details .aff-reveal,
body.is-product-details .aff-reveal,
body.is-cart .aff-reveal,
body.is-checkout .aff-reveal,
body.is-wishlist .aff-reveal {
    transition-delay: var(--d, 0s);
}

body.is-about .page-title,
body.is-products .page-title,
body.is-projects .page-title,
body.is-project-details .page-title,
body.is-product-details .page-title {
    overflow: hidden;
}

body.is-about .page-title::after,
body.is-products .page-title::after,
body.is-projects .page-title::after,
body.is-project-details .page-title::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.12), transparent);
}

/* Product details */
body.is-product-details .page-title {
    padding: 70px 0 40px !important;
    background:
        radial-gradient(circle at 20% 20%, rgba(0,0,0,0.04), transparent 40%),
        linear-gradient(180deg, #fafafa 0%, #fff 100%);
    border-bottom: 1px solid var(--page-line);
}
body.is-product-details .text-title-heading {
    font-size: clamp(24px, 3.6vw, 40px) !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
    animation: pageTitleIn 0.7s var(--page-ease) both;
}
body.is-product-details .products-thumb img,
body.is-product-details .woocommerce-product-gallery img,
body.is-product-details .image-additional img,
body.is-product-details .img-thumbnail-scroll img {
    border-radius: 8px;
    transition: transform 0.7s var(--page-ease);
}
body.is-product-details .product-images .img-item img {
    transition: transform 0.6s var(--page-ease), opacity 0.3s ease;
}
body.is-product-details .product-images .img-item:hover img {
    transform: scale(1.03);
}
body.is-product-details .product-title,
body.is-product-details .product-info .product_title,
body.is-product-details h1.product_title {
    font-size: clamp(22px, 2.8vw, 32px) !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
}
body.is-product-details .price {
    font-weight: 700;
}
body.is-product-details .single_add_to_cart_button,
body.is-product-details .button.single_add_to_cart_button {
    border-radius: 4px !important;
    background: #111 !important;
    color: #fff !important;
    font-weight: 700 !important;
    padding: 12px 24px !important;
    transition: transform 0.25s var(--page-ease), box-shadow 0.25s ease !important;
}
body.is-product-details .single_add_to_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

/* Header mobile polish */
.site-header.header-v4 .header-mobile {
    display: none;
    background: #0a0a0a !important;
    padding: 10px 0 !important;
    position: relative;
    z-index: 1000;
}

.site-header .header-mobile .aff-mobile-bar {
    align-items: center;
    margin: 0;
}

.site-header .header-mobile .site-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
}

.site-header .header-mobile .site-logo img {
    max-width: 140px !important;
    width: auto !important;
    height: auto !important;
    max-height: 42px;
    object-fit: contain;
}

.site-header .header-mobile .aff-menu-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    min-width: 44px;
    min-height: 44px;
    padding: 8px 4px !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    cursor: pointer;
    box-shadow: none !important;
    float: none !important;
    position: relative !important;
    z-index: 2;
}

.site-header .header-mobile .navbar-toggle:before {
    content: none !important;
    display: none !important;
}

.site-header .header-mobile .aff-menu-bars {
    position: relative;
    width: 22px;
    height: 14px;
    display: inline-block;
    flex-shrink: 0;
    background: linear-gradient(#fff, #fff) center / 22px 2px no-repeat;
}

.site-header .header-mobile .aff-menu-bars::before,
.site-header .header-mobile .aff-menu-bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

.site-header .header-mobile .aff-menu-bars::before { top: 0; }
.site-header .header-mobile .aff-menu-bars::after { bottom: 0; }

.site-header .header-mobile .aff-menu-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    line-height: 1;
}

.site-header .header-mobile .icons-cart,
.site-header .header-mobile .cart-icon,
.site-header .header-mobile .cart-icon i {
    color: #fff !important;
}

.site-header .header-mobile .cart-count {
    background: #fff !important;
    color: #111 !important;
}

/* Bottom quick nav */
.site-header .header-mobile-fixed.aff-bottom-nav {
    display: none;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 64px;
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px)) !important;
    margin: 0 !important;
    background: #0a0a0a !important;
    border-top: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 -10px 30px rgba(0,0,0,0.28);
    z-index: 100050 !important;
    align-items: stretch;
    justify-content: space-around;
    gap: 2px;
    float: none !important;
}

.site-header .aff-bottom-nav > .aff-bottom-link,
.site-header .header-mobile-fixed.aff-bottom-nav > a,
.site-header .header-mobile-fixed.aff-bottom-nav > button {
    flex: 1 1 0 !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px;
    min-height: 48px;
    padding: 6px 4px !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    float: none !important;
    width: auto !important;
    max-width: none !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
}

.site-header .aff-bottom-nav .aff-bottom-link i {
    font-size: 18px !important;
    color: #fff !important;
    line-height: 1;
    display: block !important;
}

.site-header .aff-bottom-nav .aff-bottom-link span {
    display: block;
    color: rgba(255,255,255,0.85);
}

/* Classic theme mobile menu (old phone arrangement — left drawer) */
#aff-mobile-nav {
    display: none !important;
}

.site-mobile-vertical {
    display: none !important;
}

.site-mobile-navigation {
    display: block !important;
    z-index: 100060 !important;
    left: 0 !important;
    right: auto !important;
}

body.aff-menu-open {
    overflow: hidden;
}

.aff-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.48);
    z-index: 100055;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.aff-menu-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

/* Hamburger always tappable */
.site-header .header-mobile .navbar-toggle,
.site-header .header-mobile .aff-menu-toggle {
    position: relative !important;
    z-index: 20 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

@media (max-width: 991px) {
    .site-header.header-v4 .header-mobile {
        display: block !important;
    }

    .site-header .header-mobile-fixed.aff-bottom-nav {
        display: flex !important;
    }

    body {
        padding-bottom: 72px;
    }

    .back-top,
    .back-top.button-show {
        bottom: 88px !important;
        inset-inline-end: 16px !important;
        z-index: 100040 !important;
    }

    [id^="zsiq"],
    .zsiq_floatmain,
    .zsiq-float,
    div[class*="zsiq"] {
        bottom: 90px !important;
        z-index: 100030 !important;
    }
}

@media (max-width: 420px) {
    .site-header .header-mobile .aff-menu-label {
        display: none;
    }
    .site-header .header-mobile .site-logo img {
        max-width: 120px !important;
        max-height: 36px;
    }
    .site-header .aff-bottom-nav .aff-bottom-link span {
        font-size: 10px;
    }
}

/* Silence missing slick theme assets */
.slick-loading .slick-list {
    background-image: none !important;
}
@font-face {
    font-family: "slick";
    src: local("Arial");
    font-weight: normal;
    font-style: normal;
}

@media (max-width: 767px) {
    body.is-about .page-title,
    body.is-products .page-title,
    body.is-projects .page-title,
    body.is-project-details .page-title {
        padding: 42px 0 28px !important;
    }
    body.is-about .text-title-heading,
    body.is-products .text-title-heading,
    body.is-projects .text-title-heading,
    body.is-project-details .text-title-heading {
        font-size: clamp(24px, 7vw, 32px) !important;
    }
    body.is-products .left-sidebar .block {
        position: static;
        margin-bottom: 16px;
        border-radius: 8px;
        padding: 14px 12px;
    }
    body.is-products .products-entry.product-wapper {
        border-radius: 8px;
        margin-bottom: 16px;
    }
    body.is-products .products-entry.product-wapper:hover {
        transform: none;
    }
    body.is-products .products-topbar {
        border-radius: 8px;
        padding: 10px 12px;
        flex-wrap: wrap;
        gap: 8px;
    }
    body.is-projects .post-entry.post-wapper {
        border-radius: 8px;
        margin-bottom: 16px !important;
    }
    body.is-projects .post-entry.post-wapper:hover {
        transform: none;
    }
    body.is-projects .post-entry .post-image2,
    body.is-projects .post-entry img.post-image2 {
        height: 200px !important;
    }
    body.is-projects .post-entry .col-lg-7 {
        padding: 18px 16px;
    }
    body.is-projects .post-title {
        font-size: 20px !important;
    }
    body.is-project-details .post-details .post-image img {
        border-radius: 8px;
        max-height: 280px;
    }
    body.is-project-details .content-img img {
        height: 180px !important;
        border-radius: 8px !important;
    }
    body.is-about .block-widget-banner.layout-16 .row {
        border-radius: 8px;
    }
    body.is-about .block-widget-banner.layout-16 .banner-image img {
        min-height: 220px;
    }
    body.is-about .block-widget-banner.layout-16 .banner-wrapper-infor {
        min-height: auto;
        padding: 24px 18px !important;
    }
    .quickview-popup .quickview-container {
        border-radius: 12px !important;
        margin: 12px;
        max-height: calc(100vh - 24px);
        overflow-y: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aff-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Friendly auth form validation */
.aff-form-alert {
    display: block;
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}
.aff-form-alert.is-error {
    background: #fff1f1;
    color: #8a1f1f;
    border: 1px solid #f0c2c2;
}
.aff-form-alert.is-success {
    background: #f1faf3;
    color: #1f6b34;
    border: 1px solid #bfe3c8;
}
.aff-field-error {
    display: block;
    margin-top: 8px;
    color: #b42318;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}
.page-login-register .input-text.is-invalid,
.page-login-register input.is-invalid {
    border-color: #d92d20 !important;
    background: #fff8f8 !important;
}
.page-login-register .box-form-login .alert-danger {
    background: transparent;
    border: 0;
    color: #b42318;
    padding: 8px 0 0;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
}

/* Product card action buttons — keep clickable above image / slick */
.products-list.grid .product-wapper .products-thumb .product-button {
    z-index: 30 !important;
    pointer-events: none;
}
.products-list.grid .product-wapper:hover .products-thumb .product-button,
.products-list.grid .product-wapper .products-thumb .product-button:focus-within {
    pointer-events: auto;
}
.products-list.grid .product-wapper .products-thumb .product-button > * {
    pointer-events: auto;
    z-index: 31;
}
.products-list.grid .product-wapper .products-thumb .product-button .product-btn,
.products-list.grid .product-wapper .products-thumb .product-button .quickview-button {
    cursor: pointer;
    pointer-events: auto !important;
}

/* Popups must sit above site chrome */
.wishlist-popup,
.compare-popup,
.quickview-popup {
    z-index: 100080 !important;
}
.wishlist-popup.show,
.compare-popup.active,
.quickview-popup.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
