/* Main shop footer */
.amo-il-buio-section {
	background-image: url('/content/shop/img/black-and-white-trees.png');
	background-position: center;
	background-size: cover;
    min-height: 40vh;
}


/* ---------------------------------------------------------------
   Product cards
   Shared by the /shop teaser and the /shop/products listing so the
   two stay visually identical. Page-specific layout (heroes, grids)
   still lives in each view's own <style> block.
   --------------------------------------------------------------- */
.products-image {
    max-width: 10rem;
}

.product-card {
    position: relative;
    cursor: pointer;
    width: 300px;
    border: 1px solid #222222;
    border-radius: 1rem;
    background-color: #0d0d0d;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(151, 249, 27, 0.5);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.product-price {
    color: #97F91B;
    font-family: "Bebas Neue", Sans-serif;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

/* Acid-green "SALE" flag pinned to a discounted card */
.product-card .sale-flag {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 2;
    font-family: "Bebas Neue", Sans-serif;
    letter-spacing: 1px;
    font-size: 0.8rem;
    color: #000000;
    background-color: #97F91B;
    border-radius: 999px;
    padding: 0.2rem 0.75rem;
}


/* ---------------------------------------------------------------
   Basket counter badge — pinned to the navbar basket button
   --------------------------------------------------------------- */
.basket-count-badge {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Bebas Neue", Sans-serif;
    font-size: 0.8rem;
    line-height: 1;
    letter-spacing: 0.5px;
    color: #000000;
    background-color: #97F91B;
    border-radius: 999px;
}

/* Subtle, quick pop when an item is added */
@keyframes basket-count-bump {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.35); }
    100% { transform: scale(1); }
}

.basket-count-badge.bump {
    animation: basket-count-bump 0.35s ease;
}


/* ---------------------------------------------------------------
   Quantity stepper — shared by product detail & basket
   --------------------------------------------------------------- */
.qty-btn {
    background-color: #161616;
    border: 1px solid #2a2a2a;
    color: #ffffff;
}

.qty-btn:hover {
    background-color: #97F91B;
    border-color: #97F91B;
    color: #000000;
}

.qty-input {
    background-color: #0d0d0d;
    border-color: #2a2a2a;
    color: #ffffff;
}

.qty-input:focus {
    background-color: #0d0d0d;
    border-color: #2a2a2a;
    color: #ffffff;
    box-shadow: none;
}


/* ---------------------------------------------------------------
   Empty / restocking state — shared by products, basket, checkout
   --------------------------------------------------------------- */
.shop-empty {
    text-align: center;
    padding: 2rem 1rem 4rem;
}

.shop-empty .pill-soon {
    display: inline-block;
    font-family: "Bebas Neue", Sans-serif;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: #97F91B;
    border: 1px solid rgba(151, 249, 27, 0.4);
    background: rgba(151, 249, 27, 0.1);
    border-radius: 999px;
    padding: 0.35rem 0.95rem;
    margin-bottom: 1rem;
}

.shop-empty p {
    color: #8f8f8f;
    margin: 0;
}


/* ---------------------------------------------------------------
   Transactional page header (basket, checkout) — compact hero
   --------------------------------------------------------------- */
.shop-pagehead {
    text-align: center;
    padding: 3rem 1rem 2rem;
}

.shop-pagehead .eyebrow {
    font-family: "Permanent Marker", cursive;
    color: #97F91B;
    font-size: 1rem;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

.shop-pagehead h1 {
    font-family: "Bebas Neue", Sans-serif;
    font-size: clamp(2.5rem, 6vw, 3.75rem);
    line-height: 0.95;
    letter-spacing: 1px;
    margin: 0;
}

.shop-pagehead h1 .accent {
    color: #97F91B;
}


/* ---------------------------------------------------------------
   Order totals (basket totals, checkout summary)
   --------------------------------------------------------------- */
.totals-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.35rem 0;
    color: #cfcfcf;
}

.totals-row .muted {
    color: #8f8f8f;
    font-size: 0.92rem;
}

.totals-grand {
    border-top: 1px solid #242424;
    margin-top: 0.6rem;
    padding-top: 0.9rem;
}

.totals-grand .label {
    color: #ffffff;
    font-weight: 600;
}

.totals-grand .value {
    font-family: "Bebas Neue", Sans-serif;
    color: #97F91B;
    font-size: 1.7rem;
    line-height: 1;
    letter-spacing: 0.5px;
}

.summary-note {
    color: #8f8f8f;
    font-size: 0.85rem;
}
