/**
 * SPRING SALE Campaign Styles
 * Clean, single-file CSS - no duplications
 * Spring/nature theme with green gradients
 */

/* ==========================================================================
   PREVENT HORIZONTAL SCROLL
   ========================================================================== */
body.page-layout-spring-sale {
    overflow-x: hidden !important;
}

/* ==========================================================================
   PAGE BACKGROUND - Spring gradient
   ========================================================================== */
html body.page-layout-spring-sale {
    background:
        linear-gradient(180deg,
            #14532d 0%,
            #166534 60px,
            #15803d 150px,
            #22c55e 400px,
            #4ade80 700px,
            #86efac 1000px,
            #bbf7d0 1500px,
            #86efac 2500px,
            #22c55e 4000px,
            #16a34a 6000px
        ) !important;
    min-height: 100vh;
}

/* Transparent wrappers - max specificity to override winter-sale-enhanced.css */
html body.page-layout-spring-sale .page-wrapper,
html body.page-layout-spring-sale main,
html body.page-layout-spring-sale .page-main,
html body.page-layout-spring-sale .columns,
html body.page-layout-spring-sale .column.main,
html body.page-layout-spring-sale .category-view,
html body.page-layout-spring-sale .products.wrapper,
html body.page-layout-spring-sale .toolbar-products,
html body.page-layout-spring-sale .category-products,
html body.page-layout-spring-sale .products-grid,
html body.page-layout-spring-sale .main,
html body.page-layout-spring-sale #maincontent {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

body.page-layout-spring-sale .page-wrapper {
    max-width: 100% !important;
}

/* ==========================================================================
   HIDE ELEMENTS VIA CSS (backup for layout XML removal)
   ========================================================================== */
body.page-layout-spring-sale .sidebar-main,
body.page-layout-spring-sale .sidebar.sidebar-main,
body.page-layout-spring-sale aside.sidebar,
body.page-layout-spring-sale .block.filter,
body.page-layout-spring-sale #layered-filter-block,
body.page-layout-spring-sale .catalog-topnav,
body.page-layout-spring-sale [x-data*="initLayeredNavigation"],
body.page-layout-spring-sale .filter-options,
body.page-layout-spring-sale .filter-title,
body.page-layout-spring-sale .block-subtitle.filter-subtitle,
body.page-layout-spring-sale div[data-role="layered-navigation"],
body.page-layout-spring-sale .toolbar-products .field.limiter,
body.page-layout-spring-sale .toolbar-products,
body.page-layout-spring-sale .toolbar.toolbar-products {
    display: none !important;
}

/* ==========================================================================
   FORCE SINGLE COLUMN LAYOUT
   ========================================================================== */
body.page-layout-spring-sale .columns,
body.page-layout-spring-sale.page-with-filter .columns {
    display: block !important;
    grid-template-columns: none !important;
}

body.page-layout-spring-sale .columns .main,
body.page-layout-spring-sale .columns .column.main {
    width: 100% !important;
    max-width: 100% !important;
    grid-column: auto !important;
}

/* ==========================================================================
   PRODUCT GRID - 6 columns desktop, responsive
   ========================================================================== */
body.page-layout-spring-sale .products-grid .product-items,
body.page-layout-spring-sale .product-items,
body.page-layout-spring-sale ul.grid {
    display: grid !important;
    gap: 1rem !important;
    width: 100% !important;
}

body.page-layout-spring-sale .products-grid .product-item,
body.page-layout-spring-sale .product-items .product-item,
body.page-layout-spring-sale ul.grid > li {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    margin: 0 !important;
}

@media (min-width: 1024px) {
    body.page-layout-spring-sale .product-items,
    body.page-layout-spring-sale ul.grid {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    body.page-layout-spring-sale .product-items,
    body.page-layout-spring-sale ul.grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 640px) and (max-width: 767px) {
    body.page-layout-spring-sale .product-items,
    body.page-layout-spring-sale ul.grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 639px) {
    body.page-layout-spring-sale .product-items,
    body.page-layout-spring-sale ul.grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Desktop: constrain grid width + padding */
@media (min-width: 769px) {
    body.page-layout-spring-sale .columns {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

/* ==========================================================================
   PRODUCT CARDS - Use natural styles, just add spring glow
   ========================================================================== */
body.page-layout-spring-sale .product-item,
body.page-layout-spring-sale .product-item-info {
    background: white !important;
    border-radius: 0.75rem;
    box-shadow: 0 2px 12px rgba(34, 197, 94, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    content-visibility: auto;
    contain-intrinsic-size: auto 400px;
}

body.page-layout-spring-sale .product-item:hover,
body.page-layout-spring-sale .product-item-info:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.15), 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Product name - smaller on desktop only */
@media (min-width: 1024px) {
    body.page-layout-spring-sale .product-item .product-item-name,
    body.page-layout-spring-sale .product-item a.product-item-link {
        font-size: 0.85rem !important;
        line-height: 1.25 !important;
    }
}

/* ==========================================================================
   PRICE + BUTTON LAYOUT (Spring Sale specific)
   Uses dedicated classes from template - no min-w-0 or flex-1 constraints
   ========================================================================== */
html body.page-layout-spring-sale .products-grid .product-item,
html body.page-layout-spring-sale .products.mode-grid .product-item,
html body.page-layout-spring-sale li.product-item {
    position: relative !important;
    overflow: visible !important;
}

html body.page-layout-spring-sale .product-item .product-info {
    overflow: visible !important;
}

.spring-sale-price-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    position: static !important;
    overflow: visible !important;
}

html body.page-layout-spring-sale .product-item .spring-sale-price-container,
.spring-sale-price-container {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 56px) !important;
    overflow: visible !important;
    color: #111827 !important;
}

html body.page-layout-spring-sale .spring-sale-price-container [data-role="priceBox"],
html body.page-layout-spring-sale .spring-sale-price-container .price-box,
html body.page-layout-spring-sale .spring-sale-price-container .price-final_price {
    overflow: visible !important;
    max-width: 100% !important;
    width: auto !important;
}

.spring-sale-price-container .price-box,
.spring-sale-price-container .price-container,
.spring-sale-price-container .price-wrapper:not(.hidden),
.spring-sale-price-container .am-price-per-unit {
    display: inline !important;
    overflow: visible !important;
    text-overflow: unset !important;
    white-space: normal !important;
    max-width: none !important;
    width: auto !important;
}

.spring-sale-price-container .price,
.spring-sale-price-container .am-price-per-unit .price,
.spring-sale-price-container .am-price-per-unit {
    font-size: 0.69rem !important;
    font-weight: 700 !important;
    color: #dc2626 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    word-break: keep-all !important;
}

@media (min-width: 1280px) {
    .spring-sale-price-container .price,
    .spring-sale-price-container .am-price-per-unit .price,
    .spring-sale-price-container .am-price-per-unit {
        font-size: 0.744rem !important;
    }
}

@media (max-width: 639px) {
    .spring-sale-price-container .price,
    .spring-sale-price-container .am-price-per-unit .price,
    .spring-sale-price-container .am-price-per-unit {
        font-size: 0.75rem !important;
    }
    .spring-sale-old-price-custom span {
        font-size: 0.65rem !important;
    }
}

/* Spring Sale custom old price (rendered by item.phtml) */
.spring-sale-old-price-custom {
    margin-top: 1px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.spring-sale-old-price-custom span {
    text-decoration: line-through !important;
    color: #000000 !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

body.page-layout-spring-sale .product-item .spring-sale-price-row button.btn-primary,
body.page-layout-spring-sale .product-item .spring-sale-price-row button.btn.btn-primary,
body.page-layout-spring-sale .product-item .spring-sale-price-row a.btn.btn-primary,
body.page-layout-spring-sale .product-item .mt-auto.pt-2 button.btn-primary,
body.page-layout-spring-sale .product-item .mt-auto.pt-2 button.btn.btn-primary,
body.page-layout-spring-sale .product-item .mt-auto.pt-2 a.btn.btn-primary {
    flex: 0 0 auto !important;
    align-self: flex-start !important;
    margin-left: auto !important;
    position: static !important;
    z-index: 5 !important;
}

/* ==========================================================================
   SPRING DEAL BADGE - positioned below the red discount badge
   ========================================================================== */
body.page-layout-spring-sale .spring-sale-deal-badge {
    position: absolute !important;
    top: 48px !important;
    left: 8px !important;
    z-index: 9 !important;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
    color: #f0fdf4 !important;
    font-size: 0.563rem !important;
    font-weight: 700 !important;
    padding: 3px 7px !important;
    border-radius: 0.375rem !important;
    box-shadow: 0 3px 8px rgba(22, 163, 74, 0.35), 0 1px 3px rgba(0, 0, 0, 0.15) !important;
    letter-spacing: 0.025em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    border: 1px solid rgba(240, 253, 244, 0.4) !important;
}

/* Native span.old-price is globally hidden by _hide-regular-price.css.
   Spring Sale uses .spring-sale-old-price-custom (above) instead. */

/* ==========================================================================
   ADD TO CART BUTTON - 30% smaller, black, ONLY on spring-sale
   High specificity to override product-card-responsive-fix.css in styles.css
   ========================================================================== */
html body.page-layout-spring-sale .products-grid .product-item button.btn-primary,
html body.page-layout-spring-sale .products-grid .product-item button.btn.btn-primary,
html body.page-layout-spring-sale .products.mode-grid .product-item button.btn-primary,
html body.page-layout-spring-sale .products.mode-grid .product-item button.btn.btn-primary,
html body.page-layout-spring-sale .product-item button.btn-primary,
html body.page-layout-spring-sale .product-item button[data-addto="cart"],
html body.page-layout-spring-sale .product-item a.btn.btn-primary {
    background-color: #111827 !important;
    background: #111827 !important;
    border-color: #111827 !important;
    color: #ffffff !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    gap: 0 !important;
    box-shadow: 0 1px 3px 0 rgba(17, 24, 39, 0.3), 0 1px 2px 0 rgba(0, 0, 0, 0.1) !important;
}

html body.page-layout-spring-sale .products-grid .product-item button.btn-primary:hover,
html body.page-layout-spring-sale .products-grid .product-item button.btn.btn-primary:hover,
html body.page-layout-spring-sale .products.mode-grid .product-item button.btn-primary:hover,
html body.page-layout-spring-sale .products.mode-grid .product-item button.btn.btn-primary:hover,
html body.page-layout-spring-sale .product-item button.btn-primary:hover,
html body.page-layout-spring-sale .product-item button[data-addto="cart"]:hover,
html body.page-layout-spring-sale .product-item a.btn.btn-primary:hover {
    background-color: #374151 !important;
    background: #374151 !important;
    border-color: #374151 !important;
    transform: scale(1.05) !important;
    box-shadow: 0 2px 4px 0 rgba(17, 24, 39, 0.4), 0 2px 3px 0 rgba(0, 0, 0, 0.1) !important;
}

html body.page-layout-spring-sale .products-grid .product-item button.btn-primary svg,
html body.page-layout-spring-sale .products.mode-grid .product-item button.btn-primary svg,
html body.page-layout-spring-sale .product-item button.btn-primary svg,
html body.page-layout-spring-sale .product-item button[data-addto="cart"] svg,
html body.page-layout-spring-sale .product-item a.btn.btn-primary svg {
    width: 18px !important;
    height: 18px !important;
    color: #ffffff !important;
    fill: none !important;
    stroke: currentColor !important;
}

html body.page-layout-spring-sale .products-grid .product-item button.btn-primary *:not(svg):not(path):not(circle):not(line):not(polyline):not(polygon):not(rect),
html body.page-layout-spring-sale .products.mode-grid .product-item button.btn-primary *:not(svg):not(path):not(circle):not(line):not(polyline):not(polygon):not(rect),
html body.page-layout-spring-sale .product-item button.btn-primary span,
html body.page-layout-spring-sale .product-item button[data-addto="cart"] span,
html body.page-layout-spring-sale .product-item a.btn.btn-primary span {
    font-size: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    display: none !important;
}

/* ==========================================================================
   HIDE ANNOUNCEMENT / PROMO BARS
   ========================================================================== */
body.page-layout-spring-sale .announcement-bar,
body.page-layout-spring-sale .promo-bar,
body.page-layout-spring-sale [class*="announcement"],
body.page-layout-spring-sale [class*="promo"]:not(.product-item):not(.price-box):not(.product-info) {
    display: none !important;
}

/* ==========================================================================
   CATEGORY DESCRIPTION - Hide if empty
   ========================================================================== */
body.page-layout-spring-sale .category-description,
body.page-layout-spring-sale .category-description-fullwidth {
    display: none !important;
}

/* ==========================================================================
   FOOTER - Dark gradient overlay
   ========================================================================== */
body.page-layout-spring-sale footer,
body.page-layout-spring-sale .page-footer,
body.page-layout-spring-sale footer.page-footer {
    background: linear-gradient(to bottom, rgba(20, 83, 45, 0.95), rgba(5, 46, 22, 0.98)) !important;
    margin-top: 0 !important;
    padding-top: 3rem !important;
}

body.page-layout-spring-sale footer > *,
body.page-layout-spring-sale footer div {
    background: transparent !important;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.spring-sale-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
}

.spring-sale-hero img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   MINISITE HEADER
   ========================================================================== */
.spring-sale-minisite-header {
    animation: ss-slideDown 0.4s ease-out;
}

@keyframes ss-slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.spring-sale-minisite-header img {
    filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(255, 255, 255, 0.2)) !important;
}

.spring-sale-minisite-header img:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(74, 222, 128, 0.5)) !important;
}

/* ==========================================================================
   CATEGORY NAV PILLS
   ========================================================================== */
.spring-sale-category-nav {
    position: relative;
    z-index: 30;
}

.spring-sale-cat-scroll {
    justify-content: flex-start;
}

@media (min-width: 641px) {
    .spring-sale-cat-scroll {
        justify-content: center;
    }
}

.spring-sale-cat-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0.5rem 0.6rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid #86efac;
    background: white;
    color: #166534;
    min-width: 72px;
    width: 76px;
}

.spring-sale-cat-icon {
    font-size: 1.875rem;
    line-height: 1;
}

.spring-sale-cat-label {
    font-size: 0.517rem;
    line-height: 1.15;
    text-align: center;
    word-break: break-word;
    white-space: normal;
    max-width: 100%;
    width: 100%;
}

.spring-sale-cat-btn:hover {
    background: #f0fdf4;
    border-color: #22c55e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}

.spring-sale-cat-btn.active {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border-color: #16a34a;
}

.spring-sale-cat-btn.active .spring-sale-cat-label {
    color: white;
}

@media (min-width: 641px) {
    .spring-sale-cat-btn {
        min-width: 80px;
        width: 84px;
        padding: 0.6rem 0.7rem;
    }

    .spring-sale-cat-icon {
        font-size: 2.2rem;
    }

    .spring-sale-cat-label {
        font-size: 0.567rem;
    }
}

@media (min-width: 1024px) {
    .spring-sale-cat-btn {
        min-width: 90px;
        width: 96px;
        padding: 0.65rem 0.75rem;
    }

    .spring-sale-cat-icon {
        font-size: 2.35rem;
    }

    .spring-sale-cat-label {
        font-size: 0.619rem;
    }
}

/* ==========================================================================
   SEARCH BAR
   ========================================================================== */
.spring-sale-search {
    max-width: 627px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 768px) {
    .spring-sale-search {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* ==========================================================================
   KILL PING ANIMATIONS (CLS fix)
   ========================================================================== */
body.page-layout-spring-sale .animate-ping,
body.page-layout-spring-sale [class*="ping"] {
    animation: none !important;
    opacity: 0 !important;
    display: none !important;
}

/* ==========================================================================
   FLOATING PHONE BUTTON - Green theme
   ========================================================================== */
body.page-layout-spring-sale .fixed a[href="tel:0799958360"].rounded-full {
    background: linear-gradient(to bottom right, #22c55e, #16a34a) !important;
    animation: none !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
}

/* ==========================================================================
   MOBILE OPTIMIZATIONS
   ========================================================================== */
/* ==========================================================================
   PRODUCT IMAGE - flexbox centering, no absolute positioning
   ========================================================================== */
html body.page-layout-spring-sale .products-grid .product-item .product-item-photo,
html body.page-layout-spring-sale .product-item a.product-item-photo,
html body.page-layout-spring-sale .product-item .product-item-photo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    padding: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    overflow: hidden !important;
    background-color: #ffffff !important;
}

html body.page-layout-spring-sale .products-grid .product-item .product-item-photo img,
html body.page-layout-spring-sale .product-item a.product-item-photo img,
html body.page-layout-spring-sale .product-item .product-item-photo img {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: auto !important;
    padding: 0 !important;
}

html body.page-layout-spring-sale .product-item .product-item-photo img.hover-image,
html body.page-layout-spring-sale .product-item .product-item-photo img:nth-child(2) {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    padding: 0.5rem !important;
}

/* Desktop: compact product cards - reduce gaps */
html body.page-layout-spring-sale .product-item {
    padding: 10px !important;
    gap: 4px !important;
}

html body.page-layout-spring-sale .product-item .product-item-photo {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

html body.page-layout-spring-sale .product-item .product-info > :not([hidden]) ~ :not([hidden]) {
    margin-top: 2px !important;
    margin-bottom: 0 !important;
}

html body.page-layout-spring-sale .product-item .product-info > div:first-child {
    margin-top: 0 !important;
    height: auto !important;
    min-height: unset !important;
    font-size: inherit !important;
    line-height: 1.3 !important;
    overflow: hidden !important;
}

html body.page-layout-spring-sale .product-item .stock-status-row {
    min-height: 0 !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    line-height: 1.3 !important;
}

html body.page-layout-spring-sale .product-item .mt-auto.pt-2,
html body.page-layout-spring-sale .product-item .spring-sale-price-row {
    padding-top: 4px !important;
    margin-top: auto !important;
}

/* Small mobile (<640px) - 2 columns, compact cards with tighter spacing */
@media (max-width: 639px) {
    html body.page-layout-spring-sale .product-item {
        padding: 0.375rem !important;
        border-radius: 0.5rem !important;
        gap: 2px !important;
    }

    html body.page-layout-spring-sale .product-item .product-item-photo {
        margin-bottom: 2px !important;
    }

    html body.page-layout-spring-sale .product-item .product-info {
        gap: 0 !important;
    }

    html body.page-layout-spring-sale .product-item .product-info > :not([hidden]) ~ :not([hidden]) {
        margin-top: 2px !important;
        margin-bottom: 0 !important;
    }

    html body.page-layout-spring-sale .product-item .product-item-name,
    html body.page-layout-spring-sale .product-item a.product-item-link {
        font-size: 0.7rem !important;
        line-height: 1.3 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    html body.page-layout-spring-sale .product-item .product-info > div:first-child {
        height: auto !important;
        min-height: unset !important;
        max-height: none !important;
        margin-top: 0 !important;
        margin-bottom: 2px !important;
        font-size: 0.7rem !important;
        line-height: 1.3 !important;
        overflow: hidden !important;
    }

    html body.page-layout-spring-sale .product-item .product-info > div:first-child .text-lg {
        font-size: 0.7rem !important;
    }

    html body.page-layout-spring-sale .product-item .price-box .price,
    html body.page-layout-spring-sale .product-item .price {
        font-size: 0.8rem !important;
    }

    html body.page-layout-spring-sale .product-item .text-xs {
        font-size: 0.6rem !important;
    }

    html body.page-layout-spring-sale .product-item .stock-status-row {
        min-height: 0 !important;
        padding-top: 1px !important;
        padding-bottom: 1px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        line-height: 1.2 !important;
    }

    html body.page-layout-spring-sale .product-item .stock-status-row .text-sm {
        font-size: 0.7rem !important;
    }

    html body.page-layout-spring-sale .spring-sale-deal-badge {
        font-size: 0.5rem !important;
        padding: 1px 5px !important;
        top: 38px !important;
        left: 4px !important;
    }

    html body.page-layout-spring-sale .product-item .mt-auto.pt-2 {
        padding-top: 2px !important;
        margin-top: 2px !important;
        gap: 4px !important;
    }

    html body.page-layout-spring-sale .product-item .spring-sale-price-row {
        padding-top: 2px !important;
        margin-top: 2px !important;
    }

    html body.page-layout-spring-sale .products-grid .product-item button.btn-primary,
    html body.page-layout-spring-sale .products.mode-grid .product-item button.btn-primary,
    html body.page-layout-spring-sale .products-grid .product-item button.btn.btn-primary,
    html body.page-layout-spring-sale .products.mode-grid .product-item button.btn.btn-primary {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        padding: 0 !important;
        border-radius: 8px !important;
    }

    html body.page-layout-spring-sale .products-grid .product-item button.btn-primary svg,
    html body.page-layout-spring-sale .products.mode-grid .product-item button.btn-primary svg {
        width: 18px !important;
        height: 18px !important;
    }

    html body.page-layout-spring-sale .spring-sale-old-price-custom span {
        font-size: 0.65rem !important;
    }
}

/* Tablet (640px - 1023px) */
@media (min-width: 640px) and (max-width: 1023px) {
    body.page-layout-spring-sale .product-item {
        padding: 0.5rem !important;
    }

    html body.page-layout-spring-sale .products-grid .product-item button.btn-primary,
    html body.page-layout-spring-sale .products.mode-grid .product-item button.btn-primary,
    html body.page-layout-spring-sale .products-grid .product-item button.btn.btn-primary,
    html body.page-layout-spring-sale .products.mode-grid .product-item button.btn.btn-primary {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        padding: 0 !important;
        border-radius: 8px !important;
    }

    html body.page-layout-spring-sale .products-grid .product-item button.btn-primary svg,
    html body.page-layout-spring-sale .products.mode-grid .product-item button.btn-primary svg {
        width: 18px !important;
        height: 18px !important;
    }
}

/* ==========================================================================
   DISCOUNT BADGE - 25% smaller on Spring Sale
   ========================================================================== */
body.page-layout-spring-sale .product-item .discount-badge,
body.page-layout-spring-sale .product-item.product-card .discount-badge {
    font-size: 0.65rem !important;
    padding: 4px 9px !important;
    border-radius: 0.375rem !important;
    box-shadow: 0 3px 8px rgba(220, 38, 38, 0.4), 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

@media (max-width: 639px) {
    html body.page-layout-spring-sale .products-grid .product-item .discount-badge,
    html body.page-layout-spring-sale .products.mode-grid .product-item .discount-badge,
    html body.page-layout-spring-sale .product-media-wrapper .discount-badge,
    html body.page-layout-spring-sale .product-item .discount-badge,
    html body.page-layout-spring-sale .product-item.product-card .discount-badge {
        font-size: 9px !important;
        line-height: 1 !important;
        padding: 3px 6px !important;
        border-radius: 5px !important;
        top: 5px !important;
        left: 5px !important;
        box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3) !important;
    }
}

/* ==========================================================================
   ACCESSIBILITY - Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .spring-sale-minisite-header,
    .spring-sale-hero img {
        animation: none !important;
    }
}

@media print {
    body.page-layout-spring-sale {
        background: white !important;
    }
}
