/* ==========================================================================
   Frontend polish — consistent typography, prices, slider arrows, cart buttons.
   Loaded last so it overrides the theme. Scoped to small, safe rules.
   ========================================================================== */

/* --- Revive Bootstrap-4 weight utilities still used in some sections, so
       home/offer typography matches the catalog (which uses fw-* / BS5). --- */
.font-weight-bold     { font-weight: 700 !important; }
.font-weight-semibold { font-weight: 600 !important; }
.font-weight-medium   { font-weight: 500 !important; }

/* --- Prices: a touch bolder & consistent across home + catalog --- */
.product-price,
.price,
.fs-4.fw-bold,
.font-weight-bold .price,
.card .fw-bold.text-dark,
.card .font-weight-bold {
    font-weight: 700 !important;
    letter-spacing: .2px;
}
del, .text-decoration-line-through { font-weight: 400 !important; opacity: .75; }

/* --- Minimal, beautiful slider arrows (offer/campaign carousels) --- */
.offer-arrow {
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    border: 1px solid #ececec !important;
    background: #fff !important;
    color: #1a1a1a !important;
    font-size: 1.35rem;
    line-height: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08) !important;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.offer-arrow:hover,
.offer-arrow:focus {
    background: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .22) !important;
}

/* --- Add-to-cart buttons: smooth hover lift everywhere --- */
.add_to_cart,
.add_to_single_cart,
.but_to_cart {
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.add_to_cart:hover,
.add_to_single_cart:hover,
.but_to_cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
    filter: brightness(1.06);
}
.add_to_cart:active,
.add_to_single_cart:active,
.but_to_cart:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0, 0, 0, .16);
}

/* --- Product card titles: consistent weight between home & catalog --- */
.card .product-title,
.card .card-title,
.card h5 a,
.card .text-dark.text-decoration-none {
    font-weight: 600;
}

/* ==========================================================================
   Responsive product typography (mobile-first, fluid).
   Card title & price scale down on phones and settle at the offer-slider
   size (~1rem) from tablet up — one consistent system across home, catalog,
   campaign and the offer slider.
   ========================================================================== */
.product-title {
    font-weight: 600;
    line-height: 1.4;
    /* ~14px on small phones → 16px from ~768px up */
    font-size: clamp(0.875rem, 0.78rem + 0.45vw, 1rem);
}
.product-price {
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .2px;
    /* ~15px on small phones → 16px on desktop */
    font-size: clamp(0.9375rem, 0.86rem + 0.4vw, 1rem);
}
/* old / struck-through price stays proportionally smaller & lighter */
.product-price del,
.product-price .text-muted {
    font-size: .8em;
    font-weight: 400;
}
