/* =============================================================
   drinksfridges.css  -  Site-specific styles for drinksfridges.co.uk
   Loaded AFTER common.css (structural rules live there).
   Colour palette: deep slate/charcoal with cool aqua-teal accents
   and frosted-glass panel aesthetics - evokes chilled drinks fridges.
   =============================================================

   PALETTE:
     --df-bg:          #0b1219   (deep near-black navy)
     --df-bg2:         #101c28   (slightly lighter surface)
     --df-accent:      #00c9b1   (cool teal / chilled aqua)
     --df-accent2:     #0097e6   (crisp mid-blue)
     --df-glass:       rgba(255,255,255,0.05)  (frosted panel)
     --df-border:      rgba(0,201,177,0.3)
     --df-text:        #dff2f0
     --df-text-muted:  rgba(196,228,224,0.72)

   ============================================================= */

/* ============================================================
   Base / body
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,400;0,500;1,400&display=swap');

:root {
    --df-bg:         #0b1219;
    --df-bg2:        #101c28;
    --df-bg3:        #0d161f;
    --df-accent:     #00c9b1;
    --df-accent2:    #0097e6;
    --df-accent-dim: rgba(0,201,177,0.18);
    --df-glass:      rgba(255,255,255,0.04);
    --df-border:     rgba(0,201,177,0.28);
    --df-border2:    rgba(0,151,230,0.25);
    --df-text:       #dff2f0;
    --df-text-muted: rgba(196,228,224,0.72);
    --df-shadow:     0 16px 48px rgba(0,0,0,0.65);
}

body {
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    background-color: var(--df-bg);
    color: var(--df-text);
    background-image:
        radial-gradient(ellipse 80% 40% at 10% 0%, rgba(0,201,177,0.07) 0%, transparent 60%),
        radial-gradient(ellipse 60% 30% at 90% 100%, rgba(0,151,230,0.06) 0%, transparent 55%);
    background-attachment: fixed;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', system-ui, sans-serif;
}

/* ============================================================
   Layout containers
   ============================================================ */

.site-main {
    max-width: 1140px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 3rem 1.25rem;
}

.page > main.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 1rem 1.25rem 0.5rem 1.25rem;
}

/* General card grid */
.product-grid,
.cards-grid,
.category-products,
.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem;
}

/* ============================================================
   Header
   ============================================================ */

.df-header {
    background: linear-gradient(180deg, rgba(11,18,25,0.98) 0%, rgba(13,22,31,0.95) 100%);
    border-bottom: 1px solid var(--df-border);
    position: relative;
    overflow: hidden;
}

.df-header::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--df-accent), var(--df-accent2), transparent);
    opacity: 0.9;
}

.df-header__inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.df-header__brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 0.85rem;
}

/* Fridge-door icon mark */
.df-logo-mark {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0,201,177,0.22), rgba(0,151,230,0.15));
    border: 1px solid var(--df-border);
    box-shadow: 0 0 18px rgba(0,201,177,0.18), inset 0 1px 0 rgba(255,255,255,0.06);
    flex-shrink: 0;
}

.df-logo-mark img {
    display: block;
}

.df-logo-text {
    display: flex;
    flex-direction: column;
}

.df-logo-main {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.01em;
    line-height: 1;
    color: #fff;
}

.df-logo-tld {
    color: var(--df-accent);
}

.df-logo-tagline {
    font-size: 0.78rem;
    color: var(--df-text-muted);
    margin-top: 0.15rem;
    letter-spacing: 0.01em;
}

.df-header__meta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    color: var(--df-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.df-header__meta-sep {
    opacity: 0.45;
}

/* ============================================================
   Primary navigation
   ============================================================ */

.primary-nav {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.25rem 0.75rem 1.25rem;
}

.primary-nav__link,
.primary-nav a {
    border: 1px solid rgba(0,201,177,0.45);
    color: rgba(223,242,240,0.9);
    background: linear-gradient(135deg, rgba(0,201,177,0.12), rgba(0,151,230,0.08));
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.primary-nav__link:hover,
.primary-nav a:hover {
    background: linear-gradient(135deg, rgba(0,201,177,0.22), rgba(0,151,230,0.15));
    border-color: rgba(0,201,177,0.7);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0,201,177,0.2);
}

/* ============================================================
   Breadcrumbs
   ============================================================ */

.breadcrumb {
    max-width: 1140px;
    margin: 0 auto 0.75rem auto;
    padding: 0 1.25rem;
    font-size: 0.82rem;
    color: var(--df-text-muted);
}

.breadcrumb a {
    color: var(--df-accent);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ============================================================
   Hero banner
   ============================================================ */

.df-hero {
    margin: 2rem auto 2rem auto;
    max-width: 1140px;
    padding: 0 1.25rem 2rem 1.25rem;
}

.df-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: center;
    gap: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--df-border);
    background:
        radial-gradient(ellipse 70% 80% at 0% 50%, rgba(0,201,177,0.1) 0%, transparent 60%),
        linear-gradient(135deg, rgba(13,22,31,0.97), rgba(11,18,25,0.99));
    box-shadow: var(--df-shadow), inset 0 1px 0 rgba(255,255,255,0.04);
    padding: 2.5rem 2.5rem 2.5rem 2.5rem;
    position: relative;
    overflow: hidden;
}

.df-hero__inner::after {
    content: "";
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--df-accent), transparent);
    opacity: 0.4;
}

.df-hero__content,
.df-hero__visual {
    position: relative;
    z-index: 1;
}

.df-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--df-accent);
    margin-bottom: 0.85rem;
}

.df-hero__eyebrow::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 2px;
    background: var(--df-accent);
    border-radius: 2px;
}

.df-hero__title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 2.3rem;
    line-height: 1.12;
    margin: 0 0 0.85rem 0;
    letter-spacing: -0.02em;
}

.df-hero__title em {
    font-style: normal;
    color: var(--df-accent);
}

.df-hero__subtitle {
    font-size: 0.97rem;
    color: var(--df-text-muted);
    max-width: 30rem;
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
}

.df-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.df-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.8rem;
    color: var(--df-text-muted);
}

.df-hero__chips li {
    background: rgba(0,201,177,0.08);
    border: 1px solid rgba(0,201,177,0.3);
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
}

/* Fridge visual / illustration in hero */
.df-hero-fridge {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.df-hero-fridge__body {
    width: 160px;
    height: 220px;
    border-radius: 16px 16px 12px 12px;
    background: linear-gradient(160deg, rgba(0,201,177,0.2), rgba(0,151,230,0.12), rgba(13,22,31,0.8));
    border: 1px solid var(--df-border);
    box-shadow:
        0 0 40px rgba(0,201,177,0.15),
        0 24px 60px rgba(0,0,0,0.7),
        inset 0 1px 0 rgba(255,255,255,0.08),
        inset 2px 0 0 rgba(255,255,255,0.04);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.75rem;
    gap: 0.5rem;
}

.df-hero-fridge__door-line {
    position: absolute;
    top: 28%;
    left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--df-border), transparent);
}

.df-hero-fridge__handle {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 48px;
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(0,201,177,0.5), rgba(0,151,230,0.4));
    border: 1px solid var(--df-border);
    box-shadow: 0 0 10px rgba(0,201,177,0.2);
}

.df-hero-fridge__shelf {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(0,201,177,0.15);
    border: 1px solid rgba(0,201,177,0.2);
    margin-top: auto;
}

.df-hero-fridge__bottle {
    width: 18px;
    height: 44px;
    border-radius: 3px 3px 2px 2px;
    display: inline-block;
}

.df-hero-fridge__bottles {
    display: flex;
    gap: 6px;
    align-items: flex-end;
    margin-top: 0.5rem;
}

/* glow rings around fridge */
.df-hero-fridge::before {
    content: "";
    position: absolute;
    inset: -20px;
    border-radius: 30px;
    background: radial-gradient(ellipse at center, rgba(0,201,177,0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Temp badges floating near fridge */
.df-temp-badge {
    position: absolute;
    background: rgba(13,22,31,0.92);
    border: 1px solid var(--df-border);
    border-radius: 10px;
    padding: 0.4rem 0.7rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--df-accent);
    box-shadow: 0 6px 20px rgba(0,0,0,0.45);
    backdrop-filter: blur(8px);
    white-space: nowrap;
}

.df-temp-badge--top {
    top: 10px;
    left: -70px;
}

.df-temp-badge--bot {
    bottom: 20px;
    right: -75px;
}

@media (max-width: 900px) {
    .df-hero__inner {
        grid-template-columns: minmax(0, 1fr);
    }
    .df-hero__visual {
        order: -1;
        justify-self: center;
    }
    .df-temp-badge--top {
        left: -50px;
    }
    .df-temp-badge--bot {
        right: -55px;
    }
}

@media (max-width: 640px) {
    .df-hero__inner {
        padding: 1.5rem;
    }
    .df-hero__title {
        font-size: 1.75rem;
    }
    .df-hero-fridge__body {
        width: 120px;
        height: 170px;
    }
}

/* ============================================================
   Buttons
   ============================================================ */

.df-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.35rem;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease, border-color 0.14s ease;
}

.df-btn--primary {
    background: linear-gradient(135deg, var(--df-accent), var(--df-accent2));
    color: #071018;
    box-shadow: 0 8px 28px rgba(0,201,177,0.4);
}

.df-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 36px rgba(0,201,177,0.55);
}

.df-btn--ghost {
    background: transparent;
    color: var(--df-text);
    border-color: var(--df-border);
}

.df-btn--ghost:hover {
    background: var(--df-accent-dim);
    border-color: var(--df-accent);
    color: #fff;
}

/* Site also uses .gds-btn variants from common templates */
.gds-btn--primary, .gds-btn--secondary {
    background: linear-gradient(135deg, var(--df-accent), var(--df-accent2));
    color: #071018;
    box-shadow: 0 8px 28px rgba(0,201,177,0.4);
}

.gds-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 36px rgba(0,201,177,0.55);
}

.gds-btn--ghost {
    background: transparent;
    color: var(--df-text);
    border-color: var(--df-border);
}

.gds-btn--ghost:hover {
    background: var(--df-accent-dim);
    border-color: var(--df-accent);
}

/* ============================================================
   Category pills (.cats / .category-pill - structure in common.css)
   ============================================================ */

.category-pills,
.cats {
    margin: 1.5rem auto 1.25rem auto;
    max-width: 1000px;
}

.category-pill,
.cats .pill {
    border: 1px solid rgba(0,201,177,0.45);
    color: rgba(223,242,240,0.9);
    background: linear-gradient(135deg, rgba(0,201,177,0.1), rgba(0,151,230,0.07));
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.category-pill:hover,
.cats .pill:hover {
    background: linear-gradient(135deg, rgba(0,201,177,0.2), rgba(0,151,230,0.14));
    border-color: rgba(0,201,177,0.72);
    color: #fff;
    box-shadow: 0 6px 18px rgba(0,201,177,0.18);
}

/* ============================================================
   Product cards
   ============================================================ */

.card {
    background: linear-gradient(160deg, rgba(16,28,40,0.97), rgba(11,18,25,0.99));
    border-radius: 16px;
    border: 1px solid rgba(0,201,177,0.22);
    padding: 1rem;
    text-align: center;
    box-shadow: 0 12px 32px rgba(0,0,0,0.55);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 315px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.card:hover {
    border-color: rgba(0,201,177,0.5);
    box-shadow: 0 18px 48px rgba(0,0,0,0.65), 0 0 24px rgba(0,201,177,0.08);
    transform: translateY(-2px);
}

.layout-main,
.card_static {
    background: linear-gradient(160deg, rgba(16,28,40,0.97), rgba(11,18,25,0.99));
    border-radius: 16px;
    border: 1px solid rgba(0,201,177,0.22);
    padding: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    box-shadow: 0 12px 32px rgba(0,0,0,0.55);
}

/* Card title / link */
.card__title a,
.card a.card__link {
    color: var(--df-text);
    text-decoration: none;
}

.card__title a:hover,
.card a.card__link:hover {
    color: var(--df-accent);
}

/* Card price */
.card__price,
.price {
    color: var(--df-accent);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Card image - direct child anchor containing an img (listing/category pages) */
.card > a img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 315px;
    object-fit: contain;
}

/* card__img_link: square image container with blurred lifestyle fill */
.card__img_link {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    aspect-ratio: 1 / 1;
}

.card__img_link img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* Lifestyle images only: blurred fill behind packshot */
.card__img_link--lifestyle::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--cardimg);
    background-size: cover;
    background-position: center;
    filter: blur(18px);
    transform: scale(1.2);
    opacity: 0.9;
}

/* ============================================================
   Footer
   ============================================================ */

.df-footer {
    background: linear-gradient(180deg, rgba(11,18,25,0.0) 0%, rgba(9,15,21,0.98) 15%);
    border-top: 1px solid var(--df-border);
    margin-top: 3rem;
    position: relative;
}

.df-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--df-accent), var(--df-accent2), transparent);
    opacity: 0.5;
}

.df-footer__inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 1.5rem 1.25rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem 3rem;
}

.df-footer__logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.75rem;
}

.df-footer__logo .df-logo-main {
    font-size: 1.1rem;
}

.df-footer__text {
    font-size: 0.88rem;
    color: var(--df-text-muted);
    line-height: 1.6;
    max-width: 24rem;
    margin: 0;
}

.df-footer__heading {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--df-accent);
    margin: 0 0 0.85rem 0;
}

.df-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.df-footer__links a {
    font-size: 0.88rem;
    color: var(--df-text-muted);
    text-decoration: none;
    transition: color 0.14s ease;
}

.df-footer__links a:hover {
    color: var(--df-accent);
}

.df-footer__bottom {
    border-top: 1px solid rgba(0,201,177,0.1);
    max-width: 1140px;
    margin: 0 auto;
    padding: 1rem 1.25rem;
}

.df-footer__meta {
    font-size: 0.8rem;
    color: rgba(196,228,224,0.45);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin: 0;
}

.df-footer__dot {
    opacity: 0.4;
}

@media (max-width: 760px) {
    .df-footer__inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ============================================================
   Search bar  (colours; structure in common.css)
    border: 1px solid rgba(0,201,177,0.4);
   ============================================================ */

.search__form {
    background: rgba(11,18,25,0.98);
   
}

.search__input {
    color: var(--df-text);
    background: transparent;
}

.search__input::placeholder {
    color: var(--df-text-muted);
}

.search__btn {
    color: var(--df-accent);
}

/* ============================================================
   Offers table (colours; structure in common.css)
   ============================================================ */

.offers thead th {
    background: rgba(0,201,177,0.08);
    color: var(--df-accent);
    border-bottom: 1px solid var(--df-border);
}

.offers tbody tr:hover {
    background: rgba(0,201,177,0.04);
}

.offers td a {
    color: var(--df-accent);
    text-decoration: none;
}

.offers td a:hover {
    text-decoration: underline;
}

/* ============================================================
   Prices heading row (product page)
   ============================================================ */

.prices-heading h2 {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--df-text);
}

.prices-heading h2::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    margin-top: 0.5rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--df-accent), rgba(0,201,177,0.15));
}

/* ============================================================
   FAQ (colours; structure in common.css)
   ============================================================ */

.faq-group {
    margin-top: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,201,177,0.12);
}

.faq-group:last-child {
    border-bottom: none;
}

.faq-group h2 a {
    color: #b8eae4;
    text-decoration: none;
    border-bottom: 2px solid rgba(0,201,177,0.4);
    padding-bottom: 2px;
}

.faq-group h2 a:hover {
    color: var(--df-accent);
    border-bottom-color: var(--df-accent);
}

.faq-item {
    background: linear-gradient(160deg, rgba(16,28,40,0.97), rgba(11,18,25,0.99));
    border: 1px solid rgba(0,201,177,0.25);
    box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}

.faq-item[open] {
    border-color: rgba(0,201,177,0.5);
}

.faq-item__question {
    color: var(--df-text);
    background: rgba(0,201,177,0.06);
}

.faq-item__question::after {
    color: var(--df-accent);
}

.faq-item__answer {
    color: var(--df-text-muted);
    border-top-color: rgba(0,201,177,0.15);
}

.faq-item__answer a {
    color: var(--df-accent);
}

.faq-item__answer a:hover {
    color: #fff;
}

.faq-group-block__toggle {
    background: rgba(0,201,177,0.07);
    color: #b8eae4;
    border-color: rgba(0,201,177,0.3);
}

.faq-group-block__toggle:hover,
.faq-group-block__toggle[aria-expanded="true"] {
    background: rgba(0,201,177,0.15);
    color: #fff;
    border-color: rgba(0,201,177,0.6);
}

/* ============================================================
   Filter bar (colours; structure in common.css)
   ============================================================ */

.ms-filter__label {
    color: rgba(223,242,240,0.9);
}

.ms-price-slider__range {
    background: var(--df-accent);
}

.ms-price-slider__thumb {
    border-color: var(--df-accent);
}

.ms-price-slider__thumb:focus {
    outline-color: var(--df-accent);
}

.ms-price-slider__lo-lbl,
.ms-price-slider__hi-lbl {
    color: rgba(223,242,240,0.9);
}

/* ============================================================
   Account / header widget
   ============================================================ */

.ms-header-widget,
.ms-account-widget--in {
    background: var(--df-accent2);
    color: #fff;
}

/* ============================================================
   Modals (price watch / account)
   ============================================================ */

#pw-modal, #acct-modal {
    color: var(--df-accent2);
}

/* ============================================================
   Rating modal
   ============================================================ */

.ms-rating-modal__title {
    color: var(--df-accent2);
}

.ms-rating-msg a {
    color: #0b1219;
    font-weight: bold;
}

.ms-rating-msg a:hover {
    color: var(--df-accent);
}

.ms-rating__avg {
    color: #b8eae4;
}

/* ============================================================
   Sort options
   ============================================================ */

.sort-opt {
    color: var(--df-bg) !important;
}

/* ============================================================
   Reviews pagination (structure in reviews.css)
   ============================================================ */

.reviews-page-link {
    border-color: var(--df-accent2);
    color: var(--df-accent2);
}

.reviews-page-link:hover,
.reviews-page-link:focus {
    background: var(--df-accent2);
    color: #fff;
}

/* ============================================================
   Promo / sale pricing
   ============================================================ */

.price--promo .price__was,
.wyw-price-main--promo .price__was {
    text-decoration: line-through;
    color: #6a9e99;
    font-size: 0.85em;
    margin-right: 0.25em;
}

.price--promo .price__now,
.wyw-price-main--promo .price__now {
    font-weight: bold;
}

.product__price-was {
    text-decoration: line-through;
    color: #6a9e99;
    margin-right: 0.3em;
}

.product__price-now {
    font-weight: bold;
    color: var(--df-accent);
}

.product__promo-label {
    font-size: 0.8em;
    color: var(--df-accent);
    margin-left: 0.4em;
}

/* ============================================================
   Amazon disclosure
   ============================================================ */

.amazon-disclosure {
    color: var(--df-text-muted);
    font-size: 0.9em;
    font-style: italic;
    margin-left: 4px;
}

/* ============================================================
   Content result links
   ============================================================ */

.content-result a {
    color: var(--df-accent);
}

/* ============================================================
   Price flash overlays
   ============================================================ */

:root {
    --flash-bg: #00c9b1;
    --flash-color: #071018;
    --flash-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

/* ============================================================
   Responsive - tablet
   ============================================================ */

@media (max-width: 900px) {
    .df-header__meta {
        display: none;
    }
}

@media (max-width: 720px) {
    .df-header__inner {
        flex-direction: row;
        flex-wrap: wrap;
        position: relative;
        padding: 0.6rem 3rem 0.5rem 1rem;
    }

    .search {
        position: absolute;
        top: 0.6rem;
        right: 0.75rem;
        margin: 0;
        padding: 0;
    }

    .search__form {
        position: absolute;
        top: 2.5rem;
        right: 0;
        left: auto;
        width: 280px;
        max-width: calc(100vw - 2rem);
    }

    .cats {
        gap: 0.3rem;
        margin: 0.75rem auto;
    }

    .category-pill,
    .cats .pill {
        padding: 0.2rem 0.55rem;
        font-size: 0.7rem;
    }

    .primary-nav {
        padding: 0 1rem 0.5rem 1rem;
    }

    .primary-nav__list,
    .primary-nav ul {
        gap: 0.3rem;
    }

    .primary-nav__link,
    .primary-nav a {
        padding: 0.25rem 0.6rem;
        font-size: 0.6rem;
    }

    .product {
        padding: 0;
    }

    .page > main.container {
        padding: 0.5rem 0;
    }

    .df-footer__inner {
        padding: 1.25rem 0.25rem;
    }

    .df-footer__bottom {
        padding: 0.9rem 0.25rem;
    }
}

@media (max-width: 480px) {
    .df-header__inner {
        padding: 0.5rem 0.75rem;
    }

    .df-logo-main {
        font-size: 1.05rem;
    }

    .df-logo-mark {
        width: 34px;
        height: 34px;
    }

    .site-main {
        padding: 1rem 1rem 2rem 1rem;
    }
}

/* ============================================================
   Product detail page
   ============================================================ */

.product {
    max-width: 1140px;
    margin: 0 auto 2.5rem auto;
    padding: 0 1.25rem;
}

.product__info {
    font-size: 0.95rem;
    color: var(--df-text);
    line-height: 1.5;
}

.product__title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 0.6rem 0;
    color: var(--df-text);
}

.product__brand {
    font-size: 0.9rem;
    color: var(--df-text-muted);
    margin: 0 0 0.4rem 0;
}

.product__buybox {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    margin: 0.75rem 0 1rem 0;
}

.product__price {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--df-accent);
}

.product__desc {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: var(--df-text-muted);
}

/* Two-column layout: float image left on wider screens */
@media (min-width: 880px) {
    .product__info {
        display: block;
    }

    .product__media {
        float: left;
        width: 40%;
        max-width: 420px;
        margin: 0 2rem 1.5rem 0;
    }

    .product__image {
        margin: 0;
    }

    /* Prices table clears float */
    .product__info h2,
    .product__info .offers,
    .product__offers {
        clear: both;
    }
}

/* Gallery main image container */
.ms-product-gallery__main {
    width: 100%;
    max-width: 420px;
    padding: 0;
    background: rgba(255,255,255,0.97);
    border: 1px solid rgba(0,201,177,0.25);
}

/* Gallery main image - constrained, never full-screen */
.ms-product-gallery__main-img {
    display: block;
    width: 100%;
    max-width: 420px;
    max-height: 420px;
    height: auto;
    border: 0;
    background: transparent;
    object-fit: contain;
}

/* Lifestyle images: natural aspect ratio */
.ms-product-gallery__main-img--lifestyle {
    object-fit: fill;
    height: auto;
    max-height: none;
}

/* Gallery thumb active state */
.ms-product-gallery__thumb.is-active {
    border: 2px solid var(--df-accent);
    box-shadow: 0 0 0 2px rgba(0,201,177,0.3);
}

/* Offers table on product page */
.offers {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.75rem;
    font-size: 0.9rem;
}

.offers thead th {
    text-align: left;
    padding: 0.5rem 0.5rem 0.4rem 0;
    font-weight: 600;
    color: var(--df-accent);
    border-bottom: 1px solid rgba(0,201,177,0.35);
}

.offers tbody td {
    padding: 0.5rem 0.5rem 0.4rem 0;
    border-bottom: 1px solid rgba(0,201,177,0.1);
    color: var(--df-text);
}

.offers tbody tr:last-child td {
    border-bottom: none;
}

.offers td.price {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--df-accent);
    white-space: nowrap;
}

/* Go-to-shop button in offers table */
.offers td.go .btn {
    white-space: nowrap;
}

/* ============================================================
   Footer legal nav  (.links--legal inside .df-footer)
   ============================================================ */

.df-footer .links--legal {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.df-footer .links--legal li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.df-footer .links--legal a {
    font-size: 0.88rem;
    color: var(--df-text-muted);
    text-decoration: none;
}

.df-footer .links--legal a:hover {
    color: var(--df-accent);
    text-decoration: underline;
}

/* Horizontal variant (bare <a> tags separated by en-dashes, no <li>) */
.df-footer .links--horizontal {
    display: block;
    line-height: 1.8;
}

.df-footer .links--horizontal a {
    font-size: 0.88rem;
    color: var(--df-text-muted);
    text-decoration: none;
}

.df-footer .links--horizontal a:hover {
    color: var(--df-accent);
    text-decoration: underline;
}

/* ============================================================
   General bare links - plain <div><a> or <p><a> with no class
   ============================================================ */

a  {
    color: var(--df-accent);
}

/* Catch-all for unstyled anchor tags inside content wrappers */
.page a,
.product a:not(.btn):not(.ms-fav-btn):not(.problem-link) {
    color: var(--df-accent);
}

.page a:hover,
.product a:not(.btn):not(.ms-fav-btn):not(.problem-link):hover {
    text-decoration: underline;
}

/* ============================================================
   Gadgets-compat: aliases so shared templates still work
   ============================================================ */

/* Map gds- header/footer class names used in shared render_ functions */
.gds-header { /* no-op - df-header is used for drinksfridges */ }

/* Offer condition col centering (shared) */
.offers thead th.condition {
    text-align: center;
}

/* base-name-input (admin) */
.base-name-input {
    white-space: normal;
    overflow: visible;
}
