/* ==============================================
   KRAFTEX — Industrial Packaging E-Commerce
   ============================================== */

/* ---- Variables ---- */
:root {
    --c-bg: #f3f1ea;
    --c-bg-alt: #ffffff;
    --c-bg-dark: #f8f6f1;
    --c-ink: #1a1a1a;
    --c-ink-light: #2d2d2d;
    --c-muted: #6b6b6b;
    --c-light: #999;
    --c-accent: #d8c9a6;
    --c-accent-dark: #cdbb8d;
    --c-accent-deeper: #b8a47a;
    --c-accent-deep: #9c8a63;
    --c-stroke: #e6e1d6;
    --c-stroke-light: #f0ece3;
    --c-card: #fcfbf8;
    --c-success: #4caf50;
    --c-error: #e53935;
    --c-warning: #ff9800;

    --shadow-xs: 0 1px 3px rgba(0,0,0,.04);
    --shadow-s: 0 2px 8px rgba(0,0,0,.06);
    --shadow-m: 0 8px 24px rgba(0,0,0,.08);
    --shadow-l: 0 14px 40px rgba(0,0,0,.10);
    --shadow-xl: 0 20px 60px rgba(0,0,0,.12);

    --r-xs: 6px;
    --r-s: 10px;
    --r-m: 14px;
    --r-l: 20px;
    --r-xl: 28px;
    --r-pill: 999px;

    --f-head: 'Montserrat', sans-serif;
    --f-body: 'Open Sans', sans-serif;

    --w-container: 1200px;
    --h-topbar: 36px;
    --h-header: 68px;
    --h-header-total: calc(var(--h-topbar) + var(--h-header));

    --ease: cubic-bezier(.4, 0, .2, 1);
    --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
    --ease-out: cubic-bezier(0, 0, .2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--h-header-total); }
body {
    font-family: var(--f-body);
    font-size: 15px;
    line-height: 1.65;
    color: var(--c-ink);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
table { border-collapse: collapse; }

/* ---- Container ---- */
.container { width: min(var(--w-container), 100% - 40px); margin-inline: auto; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 32px;
    font-family: var(--f-head); font-weight: 700; font-size: 14px;
    letter-spacing: .4px; text-transform: uppercase;
    border-radius: var(--r-pill);
    border: 2px solid transparent;
    transition: all .3s var(--ease);
    position: relative; overflow: hidden;
}
.btn::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.15), transparent);
    opacity: 0; transition: opacity .3s;
}
.btn:hover::before { opacity: 1; }
.btn--primary { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.btn--primary:hover { background: var(--c-ink-light); transform: translateY(-2px); box-shadow: var(--shadow-m); }
.btn--secondary { background: var(--c-accent); color: var(--c-ink); border-color: var(--c-accent); }
.btn--secondary:hover { background: var(--c-accent-dark); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
.btn--outline:hover { background: var(--c-ink); color: #fff; }
.btn--light { background: #fff; color: var(--c-ink); border-color: #fff; }
.btn--light:hover { background: rgba(255,255,255,.9); transform: translateY(-2px); box-shadow: var(--shadow-m); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--full { width: 100%; }
.btn--sm { padding: 10px 20px; font-size: 12px; }
.btn--lg { padding: 18px 40px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; }

/* ============================================
   HEADER
   ============================================ */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }

/* Top bar */
.header__top {
    background: var(--c-ink);
    color: rgba(255,255,255,.8);
    font-size: 12px;
    height: var(--h-topbar);
    display: flex; align-items: center;
    transition: transform .3s var(--ease);
}
.header__top-inner { display: flex; align-items: center; gap: 12px; justify-content: center; }
.header__top-sep { opacity: .3; }
.header__top a { color: rgba(255,255,255,.9); transition: color .2s; }
.header__top a:hover { color: #fff; }

/* Main header */
.header__main {
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    height: var(--h-header);
    border-bottom: 1px solid var(--c-stroke-light);
    transition: box-shadow .3s, background .3s;
}
.header__main.scrolled {
    background: rgba(255,255,255,.98);
    box-shadow: var(--shadow-s);
}
.header__inner {
    display: flex; align-items: center; justify-content: space-between; height: 100%;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark {
    width: 38px; height: 38px;
    background: var(--c-ink); color: var(--c-accent);
    font-family: var(--f-head); font-weight: 900; font-size: 20px;
    display: grid; place-items: center;
    border-radius: var(--r-xs);
}
.logo__text {
    font-family: var(--f-head); font-weight: 800; font-size: 20px;
    letter-spacing: 2.5px; color: var(--c-ink);
}
.logo--footer .logo__mark { background: var(--c-accent-deeper); color: #fff; }
.logo--footer .logo__text { color: #fff; }

/* Navigation */
.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
    font-size: 14px; font-weight: 600; letter-spacing: .2px;
    padding: 8px 14px; border-radius: var(--r-s);
    transition: all .2s var(--ease); position: relative;
}
.nav__link:hover, .nav__link.active { background: var(--c-bg); color: var(--c-ink); }
.nav__link--cta {
    background: var(--c-ink); color: #fff;
    padding: 9px 22px; border-radius: var(--r-pill); font-size: 13px;
}
.nav__link--cta:hover { background: var(--c-accent-deeper); color: var(--c-ink); }
.nav__link--has-sub { display: flex; align-items: center; gap: 4px; }
.nav__chevron { width: 14px; height: 14px; transition: transform .2s; }

/* Dropdown */
.nav__dropdown { position: relative; }
.nav__sub {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    min-width: 280px; background: #fff;
    border: 1px solid var(--c-stroke); border-radius: var(--r-m);
    box-shadow: var(--shadow-l); padding: 8px;
    opacity: 0; visibility: hidden;
    transition: all .25s var(--ease); pointer-events: none;
}
/* Invisible bridge so dropdown stays open when moving mouse to it */
.nav__sub::before {
    content: ''; position: absolute; top: -16px; left: 0; right: 0; height: 16px;
}
.nav__dropdown:hover .nav__sub,
.nav__dropdown:focus-within .nav__sub {
    opacity: 1; visibility: visible; pointer-events: all;
    transform: translateX(-50%) translateY(0);
}
.nav__dropdown:hover .nav__chevron { transform: rotate(180deg); }
.nav__sub-link {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: var(--r-s);
    font-size: 14px; font-weight: 500;
    transition: all .15s;
}
.nav__sub-link:hover { background: var(--c-bg); }
.nav__sub-link--all {
    border-top: 1px solid var(--c-stroke-light);
    margin-top: 4px; padding-top: 12px;
    font-weight: 700; color: var(--c-accent-deeper);
}
.nav__sub-icon {
    width: 32px; height: 32px; border-radius: var(--r-xs);
    display: grid; place-items: center; flex-shrink: 0;
}
.nav__sub-icon--cutii { background: #f5efe4; }
.nav__sub-icon--kituri { background: #f0e8d8; }
.nav__sub-icon--folie { background: #e8f0f8; }
.nav__sub-icon--scotch { background: #fce8e2; }
.nav__sub-icon--banda { background: #e8f5e9; }
.nav__sub-icon--etichete { background: #f3e8f8; }
.nav__sub-icon--coltare { background: #e8f3f3; }
.nav__sub-icon--tuburi { background: #fef3e0; }

/* Header actions */
.header__actions { display: flex; align-items: center; gap: 8px; }
.cart-toggle {
    position: relative; width: 42px; height: 42px;
    display: grid; place-items: center; border-radius: var(--r-s);
    transition: background .2s;
}
.cart-toggle:hover { background: var(--c-bg); }
.cart-toggle svg { width: 22px; height: 22px; }
.cart-toggle__count {
    position: absolute; top: 2px; right: 2px;
    min-width: 18px; height: 18px; padding: 0 5px;
    background: var(--c-accent-deeper); color: #fff;
    font-size: 10px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--r-pill);
    transition: transform .3s var(--ease-bounce);
}
.cart-toggle__count.bump { animation: cartBump .4s var(--ease-bounce); }
@keyframes cartBump { 0%,100% { transform: scale(1); } 50% { transform: scale(1.4); } }

/* Hamburger */
.menu-btn {
    display: none; flex-direction: column; gap: 5px;
    width: 28px; padding: 4px 0;
}
.menu-btn span {
    display: block; height: 2px; background: var(--c-ink);
    border-radius: 2px; transition: all .3s var(--ease); transform-origin: center;
}
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   MAIN APP AREA
   ============================================ */
.app {
    min-height: 100vh;
    padding-top: var(--h-header-total);
    transition: opacity .25s var(--ease);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative; overflow: hidden;
    min-height: calc(100vh - var(--h-header-total));
    display: flex; align-items: center;
    padding: 60px 0;
    background:
        radial-gradient(ellipse 1200px 700px at 15% 20%, rgba(216,201,166,.5), transparent 60%),
        radial-gradient(ellipse 800px 500px at 85% 60%, rgba(205,187,141,.3), transparent 55%),
        radial-gradient(ellipse 600px 400px at 50% 80%, rgba(184,164,122,.15), transparent 50%),
        linear-gradient(170deg, var(--c-bg) 0%, #ede9df 50%, #f7f5ef 100%);
}
.hero__inner {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero__badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--f-head); font-weight: 700; font-size: 12px;
    letter-spacing: 1px; text-transform: uppercase;
    padding: 8px 16px; margin-bottom: 20px;
    border: 2px solid var(--c-ink); border-radius: var(--r-pill);
    background: rgba(216,201,166,.2);
    transform: rotate(-1.5deg);
    animation: badgeFloat 6s ease-in-out infinite;
}
@keyframes badgeFloat {
    0%,100% { transform: rotate(-1.5deg) translateY(0); }
    50% { transform: rotate(-1.5deg) translateY(-5px); }
}
.hero__title {
    font-family: var(--f-head); font-weight: 900;
    font-size: clamp(36px, 5vw, 62px); line-height: 1.04;
    margin-bottom: 20px; letter-spacing: -1px;
}
.hero__title--large {
    font-size: clamp(42px, 6vw, 78px);
}
.hero__title span {
    background: linear-gradient(135deg, var(--c-accent-deep), var(--c-accent-darker, #8a7656));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero__lead {
    font-size: 17px; color: var(--c-muted); line-height: 1.7;
    margin-bottom: 32px; max-width: 500px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__stats {
    display: flex; gap: 32px; margin-top: 48px;
    padding-top: 32px; border-top: 1px solid var(--c-stroke);
}
.hero__stat-num {
    font-family: var(--f-head); font-weight: 900; font-size: 32px;
    color: var(--c-accent-deep); line-height: 1;
}
.hero__stat-label { font-size: 13px; color: var(--c-muted); margin-top: 4px; }
.hero__visual {
    display: flex; justify-content: center; align-items: center;
    position: relative;
}
.hero__image-wrap {
    width: 100%; max-width: 560px;
    display: flex; align-items: center; justify-content: center;
}
.hero__image {
    width: 100%; height: auto;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,.12));
    animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Floating decorative elements */
.hero__deco {
    position: absolute; border-radius: 50%; pointer-events: none;
    background: var(--c-accent); opacity: .08;
}
.hero__deco--1 { width: 400px; height: 400px; top: -100px; right: -100px; }
.hero__deco--2 { width: 200px; height: 200px; bottom: -50px; left: -50px; }
.hero__deco--3 { width: 120px; height: 120px; top: 40%; left: 30%; opacity: .05; }

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
    overflow: hidden; padding: 18px 0;
    background: var(--c-ink); color: rgba(255,255,255,.6);
    font-family: var(--f-head); font-weight: 700;
    font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
    user-select: none;
}
.marquee__track {
    display: flex; gap: 40px; width: max-content;
    animation: marquee 30s linear infinite;
}
.marquee__track span { white-space: nowrap; }
.marquee__track .sep { color: var(--c-accent-dark); }
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   SECTIONS (shared)
   ============================================ */
.section { padding: 100px 0; }
.section--white { background: #fff; }
.section--cream { background: var(--c-bg-dark); }
.section--dark { background: var(--c-ink); color: #fff; }
.section--accent { background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dark)); color: var(--c-ink); }
.section__header { text-align: center; margin-bottom: 56px; }
.section__tag {
    display: inline-block; font-family: var(--f-head); font-weight: 700;
    font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--c-accent-deeper); margin-bottom: 12px;
}
.section--dark .section__tag { color: var(--c-accent); }
.section__title {
    font-family: var(--f-head); font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800; line-height: 1.15;
}
.section__subtitle {
    font-size: 16px; color: var(--c-muted); max-width: 600px;
    margin: 12px auto 0; line-height: 1.6;
}
.section--dark .section__subtitle { color: rgba(255,255,255,.65); }

/* ============================================
   ABOUT
   ============================================ */
.about { max-width: 900px; margin-inline: auto; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about__text { display: flex; flex-direction: column; gap: 16px; }
.about__text p { color: var(--c-muted); line-height: 1.7; }
.about__highlight {
    padding: 28px 32px; border-left: 4px solid var(--c-accent-dark);
    background: linear-gradient(135deg, rgba(216,201,166,.1), rgba(216,201,166,.05));
    border-radius: 0 var(--r-m) var(--r-m) 0;
}
.about__highlight p { font-weight: 700; font-size: 15px; line-height: 1.65; color: var(--c-ink); }
.about__image {
    aspect-ratio: 4/3; border-radius: var(--r-l); overflow: hidden;
    background: linear-gradient(135deg, #ebe3d1, #f5efe4);
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--c-stroke);
    position: relative;
}
.about__image svg { width: 50%; color: var(--c-accent-deeper); opacity: .5; }
.about__image img { width: 100%; height: 100%; object-fit: cover; }

/* Stats */
.stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--c-stroke);
}
.stat {
    text-align: center; padding: 24px;
    background: #fff; border-radius: var(--r-m);
    border: 1px solid var(--c-stroke);
}
.stat__num {
    font-family: var(--f-head); font-weight: 900; font-size: 36px;
    color: var(--c-accent-deep); line-height: 1;
}
.stat__label { font-size: 13px; color: var(--c-muted); margin-top: 6px; font-weight: 600; }

/* ============================================
   CATEGORY CARDS (home)
   ============================================ */
.categories-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.category-card {
    position: relative; overflow: hidden;
    border-radius: var(--r-l); border: 1px solid var(--c-stroke);
    background: #fff; padding: 28px 24px;
    text-align: center; cursor: pointer;
    transition: all .35s var(--ease);
}
.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-l);
    border-color: var(--c-accent-dark);
}
.category-card__icon {
    width: 72px; height: 72px; margin: 0 auto 16px;
    border-radius: var(--r-m);
    display: grid; place-items: center;
    transition: transform .3s var(--ease);
}
.category-card:hover .category-card__icon { transform: scale(1.08); }
.category-card__icon svg { width: 36px; height: 36px; color: var(--c-ink); }
.category-card__name {
    font-family: var(--f-head); font-weight: 700; font-size: 15px;
    margin-bottom: 6px;
}
.category-card__count { font-size: 12px; color: var(--c-muted); }

/* ============================================
   PRODUCT CARDS
   ============================================ */
.products-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px;
}
.product-card {
    background: #fff; border: 1px solid var(--c-stroke);
    border-radius: var(--r-l); overflow: hidden;
    transition: all .3s var(--ease); cursor: pointer;
}
.product-card:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-m);
    border-color: var(--c-accent-dark);
}
.product-card__img {
    aspect-ratio: 1; padding: 24px;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.product-card__img svg { width: 50%; height: 50%; color: var(--c-accent-deeper); transition: transform .4s var(--ease); }
.product-card:hover .product-card__img svg { transform: scale(1.1); }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; transition: transform .4s var(--ease); }
.product-card:hover .product-card__img img { transform: scale(1.05); }
.product-card__badge {
    position: absolute; top: 12px; left: 12px;
    font-family: var(--f-head); font-weight: 700; font-size: 10px;
    padding: 4px 10px; border-radius: var(--r-pill);
    background: var(--c-ink); color: #fff; letter-spacing: .5px;
}
.product-card__stock {
    position: absolute; top: 12px; right: 12px;
    font-size: 11px; font-weight: 700;
    padding: 3px 8px; border-radius: var(--r-pill);
    background: rgba(76,175,80,.1); color: var(--c-success);
}
.product-card__body { padding: 16px 20px 20px; }
.product-card__name {
    font-family: var(--f-head); font-weight: 700; font-size: 15px;
    margin-bottom: 4px; line-height: 1.3;
}
.product-card__dims { font-size: 12px; color: var(--c-muted); margin-bottom: 10px; }
.product-card__footer { display: flex; align-items: center; justify-content: space-between; }
.product-card__price {
    font-family: var(--f-head); font-weight: 800; font-size: 18px;
}
.product-card__price-from {
    font-size: 11px; font-weight: 500; color: var(--c-muted); display: block;
}
.product-card__price-unit { font-size: 12px; font-weight: 500; color: var(--c-muted); }
.product-card__cart-btn {
    width: 40px; height: 40px;
    background: var(--c-ink); color: #fff;
    border-radius: 50%; display: grid; place-items: center;
    transition: all .2s var(--ease);
}
.product-card__cart-btn:hover { background: var(--c-accent-deeper); transform: scale(1.1); }
.product-card__cart-btn svg { width: 18px; height: 18px; }

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-detail { padding: 40px 0 80px; }
.breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--c-muted); margin-bottom: 32px; flex-wrap: wrap;
}
.breadcrumb a { transition: color .2s; }
.breadcrumb a:hover { color: var(--c-ink); }
.breadcrumb__sep { opacity: .4; }
.breadcrumb__current { color: var(--c-ink); font-weight: 600; }

.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pd-image {
    aspect-ratio: 1; border-radius: var(--r-l);
    border: 1px solid var(--c-stroke);
    display: flex; align-items: center; justify-content: center;
    padding: 48px; position: relative; overflow: hidden;
    background: #fff;
}
.pd-image svg { width: 60%; height: 60%; color: var(--c-accent-deeper); }
.pd-image img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; border-radius: var(--r-l); }
.pd-image__badge {
    position: absolute; top: 20px; left: 20px;
    font-family: var(--f-head); font-weight: 700; font-size: 12px;
    padding: 6px 14px; border-radius: var(--r-pill);
    background: var(--c-ink); color: #fff;
}

.pd-info__tag {
    font-family: var(--f-head); font-weight: 700; font-size: 11px;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--c-accent-deeper); margin-bottom: 8px;
}
.pd-info__title {
    font-family: var(--f-head); font-weight: 800; font-size: 28px;
    line-height: 1.2; margin-bottom: 8px;
}
.pd-info__sku { font-size: 13px; color: var(--c-light); margin-bottom: 16px; }
.pd-info__stock {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 700; color: var(--c-success);
    margin-bottom: 20px;
}
.pd-info__stock::before {
    content: ''; width: 8px; height: 8px;
    background: var(--c-success); border-radius: 50%;
}
.pd-info__desc {
    font-size: 14px; color: var(--c-muted); line-height: 1.7;
    margin-bottom: 24px; padding-bottom: 24px;
    border-bottom: 1px solid var(--c-stroke);
}

/* Pricing tiers */
.pd-pricing { margin-bottom: 24px; }
.pd-pricing__title {
    font-family: var(--f-head); font-weight: 700; font-size: 13px;
    margin-bottom: 10px;
}
.pd-pricing__table {
    width: 100%; border: 1px solid var(--c-stroke); border-radius: var(--r-s);
    overflow: hidden; font-size: 13px;
}
.pd-pricing__table th {
    background: var(--c-bg); font-weight: 700;
    padding: 10px 14px; text-align: left;
    font-family: var(--f-head); font-size: 11px;
    letter-spacing: .5px; text-transform: uppercase; color: var(--c-muted);
}
.pd-pricing__table td { padding: 10px 14px; border-top: 1px solid var(--c-stroke-light); }
.pd-pricing__table tr.active td { background: rgba(216,201,166,.15); font-weight: 700; }
.pd-pricing__table .discount {
    font-size: 11px; color: var(--c-success); font-weight: 700;
    background: rgba(76,175,80,.1); padding: 2px 6px; border-radius: var(--r-xs);
}

/* Quantity selector */
.pd-qty { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.pd-qty__label { font-family: var(--f-head); font-weight: 700; font-size: 13px; }
.qty-control {
    display: flex; align-items: center;
    border: 2px solid var(--c-stroke); border-radius: var(--r-s);
    overflow: hidden;
}
.qty-control__btn {
    width: 40px; height: 40px;
    font-size: 18px; font-weight: 700;
    display: grid; place-items: center;
    transition: background .2s;
}
.qty-control__btn:hover { background: var(--c-bg); }
.qty-control__input {
    width: 60px; height: 40px;
    text-align: center; font-weight: 700; font-size: 15px;
    border: none; border-left: 1px solid var(--c-stroke); border-right: 1px solid var(--c-stroke);
    outline: none; background: transparent;
}
.qty-control__input::-webkit-outer-spin-button,
.qty-control__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-control__input[type=number] { -moz-appearance: textfield; }

.pd-price-display {
    display: flex; align-items: baseline; gap: 8px; margin-bottom: 20px;
}
.pd-price-display__current {
    font-family: var(--f-head); font-weight: 900; font-size: 32px;
}
.pd-price-display__unit { font-size: 14px; color: var(--c-muted); }
.pd-price-display__total {
    font-size: 14px; color: var(--c-muted);
    margin-bottom: 24px; padding-bottom: 24px;
    border-bottom: 1px solid var(--c-stroke);
}

/* Specs table */
.pd-specs { margin-top: 32px; }
.pd-specs__title {
    font-family: var(--f-head); font-weight: 700; font-size: 16px;
    margin-bottom: 12px;
}
.pd-specs__table { width: 100%; font-size: 14px; }
.pd-specs__table tr { border-bottom: 1px solid var(--c-stroke-light); }
.pd-specs__table td { padding: 10px 0; }
.pd-specs__table td:first-child { font-weight: 600; color: var(--c-muted); width: 40%; }

/* Related products */
.related { margin-top: 80px; }
.related__title {
    font-family: var(--f-head); font-weight: 800; font-size: 24px;
    margin-bottom: 24px;
}

/* ============================================
   SHOP / CATEGORY PAGE
   ============================================ */
.shop-header {
    padding: 48px 0 40px;
    margin-bottom: 32px;
    background: linear-gradient(180deg, var(--c-bg), #fff);
}
.shop-header__title {
    font-family: var(--f-head); font-weight: 800;
    font-size: clamp(24px, 3vw, 36px);
}
.shop-header__count { font-size: 14px; color: var(--c-muted); margin-top: 4px; }

.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 32px; padding-bottom: 80px; }

/* Sidebar filters */
.shop-sidebar {
    position: sticky; top: calc(var(--h-header-total) + 20px);
    align-self: start;
}
.filter-group { margin-bottom: 24px; }
.filter-group__title {
    font-family: var(--f-head); font-weight: 700; font-size: 13px;
    letter-spacing: .5px; text-transform: uppercase;
    margin-bottom: 10px; color: var(--c-muted);
}
.filter-group__list { display: flex; flex-direction: column; gap: 4px; }
.filter-btn {
    padding: 8px 14px; border-radius: var(--r-s);
    font-size: 14px; font-weight: 500; text-align: left;
    transition: all .2s;
}
.filter-btn:hover { background: var(--c-bg); }
.filter-btn.active { background: var(--c-accent); color: var(--c-ink); font-weight: 700; }
.filter-btn__count {
    float: right; font-size: 11px; color: var(--c-light);
    background: var(--c-bg); padding: 2px 8px; border-radius: var(--r-pill);
}

/* Sort bar */
.shop-toolbar {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 24px; padding-bottom: 16px;
    border-bottom: 1px solid var(--c-stroke);
}
.shop-toolbar__info { font-size: 14px; color: var(--c-muted); }
.shop-sort {
    padding: 8px 14px; border: 1px solid var(--c-stroke);
    border-radius: var(--r-s); background: #fff;
    font-size: 13px; font-weight: 600;
    cursor: pointer; outline: none;
}

/* ============================================
   ADVANTAGES
   ============================================ */
.advantages-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.advantage-card {
    padding: 32px 28px;
    background: #fff; border: 1px solid var(--c-stroke);
    border-radius: var(--r-l);
    transition: all .3s var(--ease);
}
.advantage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.advantage-card__num {
    font-family: var(--f-head); font-weight: 900; font-size: 36px;
    color: var(--c-accent); line-height: 1; margin-bottom: 14px;
}
.advantage-card__title {
    font-family: var(--f-head); font-weight: 700; font-size: 16px;
    margin-bottom: 8px;
}
.advantage-card__desc { font-size: 14px; color: var(--c-muted); line-height: 1.6; }

/* ============================================
   PROCESS
   ============================================ */
.process-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.process-step {
    text-align: center; padding: 32px 20px;
    position: relative;
}
.process-step::after {
    content: '→'; position: absolute; right: -20px; top: 56px;
    font-size: 24px; color: var(--c-accent-dark);
    font-family: var(--f-head); font-weight: 800;
}
.process-step:last-child::after { display: none; }
.process-step__icon {
    width: 72px; height: 72px; margin: 0 auto 16px;
    background: rgba(216,201,166,.2);
    border: 2px solid var(--c-accent);
    border-radius: 50%; display: grid; place-items: center;
}
.process-step__icon svg { width: 28px; height: 28px; color: var(--c-accent-deep); }
.process-step__num {
    font-family: var(--f-head); font-weight: 800; font-size: 11px;
    letter-spacing: 1px; color: var(--c-accent-deep); margin-bottom: 8px;
}
.process-step__title {
    font-family: var(--f-head); font-weight: 700; font-size: 16px;
    margin-bottom: 6px;
}
.process-step__desc { font-size: 13px; color: var(--c-muted); line-height: 1.55; }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    text-align: center; max-width: 720px;
    margin: 0 auto; padding: 0 20px;
}
.cta-banner__title {
    font-family: var(--f-head); font-size: clamp(26px, 3vw, 38px);
    font-weight: 800; margin-bottom: 16px;
}
.cta-banner__text { font-size: 16px; opacity: .8; line-height: 1.65; margin-bottom: 12px; }
.cta-banner__highlight { font-weight: 700; font-size: 17px; margin-bottom: 32px; }

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
    display: flex; justify-content: center; gap: 48px;
    padding: 24px 0; flex-wrap: wrap;
}
.trust-item {
    display: flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 600; color: var(--c-muted);
}
.trust-item svg { width: 20px; height: 20px; color: var(--c-accent-deep); }

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
    display: grid; grid-template-columns: .85fr 1.15fr;
    gap: 40px; align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-row {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 20px; background: var(--c-card);
    border: 1px solid var(--c-stroke); border-radius: var(--r-m);
    transition: border-color .3s;
}
.contact-row:hover { border-color: var(--c-accent-dark); }
.contact-row__icon {
    width: 44px; height: 44px;
    background: rgba(216,201,166,.25); border: 1px solid var(--c-stroke);
    border-radius: var(--r-s); display: grid; place-items: center;
    flex-shrink: 0; color: var(--c-accent-deeper);
}
.contact-row__icon svg { width: 20px; height: 20px; }
.contact-row__text {
    display: flex; flex-direction: column; gap: 3px; font-size: 14px;
}
.contact-row__text strong {
    font-family: var(--f-head); font-size: 13px; letter-spacing: .3px;
}
.contact-row__text a {
    border-bottom: 1px dashed rgba(0,0,0,.25); transition: border-color .2s;
}
.contact-row__text a:hover { border-bottom-style: solid; border-color: var(--c-accent-dark); }

/* Contact form */
.contact-form {
    display: flex; flex-direction: column; gap: 18px;
    padding: 32px; background: #fff;
    border: 1px solid var(--c-stroke); border-radius: var(--r-l);
    box-shadow: var(--shadow-s);
}
.contact-form__title {
    font-family: var(--f-head); font-weight: 700; font-size: 20px;
    margin-bottom: 4px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
    font-family: var(--f-head); font-weight: 700; font-size: 12px;
    letter-spacing: .3px; text-transform: uppercase; color: var(--c-muted);
}
.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 16px;
    border: 1.5px solid var(--c-stroke); border-radius: var(--r-s);
    background: #fff; transition: border-color .2s, box-shadow .2s;
    outline: none; font-size: 14px;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--c-accent-dark);
    box-shadow: 0 0 0 3px rgba(216,201,166,.25);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ============================================
   CART SIDEBAR
   ============================================ */
.overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.5);
    z-index: 200; opacity: 0; visibility: hidden;
    transition: all .3s var(--ease);
    backdrop-filter: blur(4px);
}
.overlay.open { opacity: 1; visibility: visible; }

.cart-sidebar {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(420px, 90vw); background: #fff;
    z-index: 201; display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    box-shadow: var(--shadow-xl);
}
.cart-sidebar.open { transform: translateX(0); }
.cart-sidebar__header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 24px; border-bottom: 1px solid var(--c-stroke);
}
.cart-sidebar__header h3 {
    font-family: var(--f-head); font-weight: 800; font-size: 18px;
}
.cart-sidebar__close {
    width: 36px; height: 36px; border-radius: var(--r-s);
    display: grid; place-items: center; transition: background .2s;
}
.cart-sidebar__close:hover { background: var(--c-bg); }
.cart-sidebar__close svg { width: 20px; height: 20px; }
.cart-sidebar__body {
    flex: 1; overflow-y: auto; padding: 16px 24px;
}
.cart-sidebar__empty {
    text-align: center; padding: 48px 20px; color: var(--c-muted);
}
.cart-sidebar__empty svg { width: 48px; height: 48px; margin: 0 auto 12px; opacity: .3; }
.cart-sidebar__empty p { font-size: 14px; }

/* Cart items */
.cart-item {
    display: grid; grid-template-columns: 60px 1fr auto; gap: 14px;
    padding: 16px 0; border-bottom: 1px solid var(--c-stroke-light);
    align-items: center;
}
.cart-item__img {
    width: 60px; height: 60px; border-radius: var(--r-s);
    display: grid; place-items: center;
    border: 1px solid var(--c-stroke);
}
.cart-item__img svg { width: 28px; height: 28px; color: var(--c-accent-deeper); }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-s); }
.cart-item__info { min-width: 0; }
.cart-item__name {
    font-weight: 700; font-size: 13px; line-height: 1.3;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cart-item__meta { font-size: 11px; color: var(--c-muted); margin-top: 2px; }
.cart-item__qty-row {
    display: flex; align-items: center; gap: 8px; margin-top: 6px;
}
.cart-item__qty-btn {
    width: 24px; height: 24px; border-radius: var(--r-xs);
    border: 1px solid var(--c-stroke); display: grid; place-items: center;
    font-size: 14px; font-weight: 700; transition: all .2s;
}
.cart-item__qty-btn:hover { background: var(--c-bg); }
.cart-item__qty { font-size: 13px; font-weight: 700; min-width: 20px; text-align: center; }
.cart-item__price {
    font-family: var(--f-head); font-weight: 700; font-size: 14px; text-align: right;
}
.cart-item__remove {
    font-size: 11px; color: var(--c-error); cursor: pointer;
    margin-top: 4px; opacity: .7; transition: opacity .2s;
}
.cart-item__remove:hover { opacity: 1; }

/* Cart footer */
.cart-sidebar__footer {
    padding: 20px 24px; border-top: 1px solid var(--c-stroke);
    background: var(--c-bg-dark);
}
.cart-sidebar__total {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 16px;
}
.cart-sidebar__total-label { font-weight: 700; font-size: 15px; }
.cart-sidebar__total-price {
    font-family: var(--f-head); font-weight: 800; font-size: 22px;
}
.cart-sidebar__total-note { font-size: 11px; color: var(--c-muted); margin-bottom: 12px; }

/* ============================================
   CART PAGE
   ============================================ */
.cart-page { padding: 40px 0 80px; }
.cart-page__title {
    font-family: var(--f-head); font-weight: 800; font-size: 28px;
    margin-bottom: 32px;
}
.cart-page__grid { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.cart-page__items {
    background: #fff; border: 1px solid var(--c-stroke);
    border-radius: var(--r-l); overflow: hidden;
}
.cart-page__item {
    display: grid; grid-template-columns: 80px 1fr 140px 120px 40px;
    gap: 16px; align-items: center; padding: 20px 24px;
    border-bottom: 1px solid var(--c-stroke-light);
}
.cart-page__item:last-child { border-bottom: none; }
.cart-page__item-img {
    width: 80px; height: 80px; border-radius: var(--r-s);
    display: grid; place-items: center;
    border: 1px solid var(--c-stroke);
}
.cart-page__item-img svg { width: 36px; height: 36px; color: var(--c-accent-deeper); }
.cart-page__item-img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-s); }
.cart-page__item-name { font-weight: 700; font-size: 14px; }
.cart-page__item-meta { font-size: 12px; color: var(--c-muted); margin-top: 3px; }
.cart-page__item-price {
    font-family: var(--f-head); font-weight: 700; font-size: 15px; text-align: right;
}
.cart-page__item-remove {
    width: 36px; height: 36px; border-radius: var(--r-s);
    display: grid; place-items: center; transition: all .2s;
    color: var(--c-muted);
}
.cart-page__item-remove:hover { background: rgba(229,57,53,.1); color: var(--c-error); }
.cart-page__item-remove svg { width: 18px; height: 18px; }

/* Order summary */
.order-summary {
    background: #fff; border: 1px solid var(--c-stroke);
    border-radius: var(--r-l); padding: 28px;
    position: sticky; top: calc(var(--h-header-total) + 20px);
}
.order-summary__title {
    font-family: var(--f-head); font-weight: 800; font-size: 18px;
    margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--c-stroke);
}
.order-summary__row {
    display: flex; justify-content: space-between;
    padding: 8px 0; font-size: 14px;
}
.order-summary__row--total {
    border-top: 2px solid var(--c-ink); margin-top: 12px; padding-top: 16px;
    font-family: var(--f-head); font-weight: 800; font-size: 18px;
}
.order-summary__note { font-size: 12px; color: var(--c-muted); margin-top: 12px; }

/* ============================================
   CHECKOUT PAGE
   ============================================ */
.checkout { padding: 40px 0 80px; }
.checkout__title {
    font-family: var(--f-head); font-weight: 800; font-size: 28px;
    margin-bottom: 32px;
}
.checkout__grid { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.checkout__form {
    background: #fff; border: 1px solid var(--c-stroke);
    border-radius: var(--r-l); padding: 32px;
}
.checkout__section-title {
    font-family: var(--f-head); font-weight: 700; font-size: 16px;
    margin-bottom: 18px; padding-bottom: 10px;
    border-bottom: 1px solid var(--c-stroke-light);
}
.checkout__section-title:not(:first-child) { margin-top: 28px; }

/* ============================================
   SPECS TABLE (shared)
   ============================================ */
.specs-table { width: 100%; font-size: 14px; }
.specs-table th {
    font-family: var(--f-head); font-weight: 700; font-size: 11px;
    letter-spacing: 1px; text-transform: uppercase; text-align: left;
    padding: 12px 16px; border-bottom: 2px solid var(--c-ink); color: var(--c-muted);
}
.specs-table td { padding: 11px 16px; border-bottom: 1px solid var(--c-stroke); }
.specs-table tbody tr:hover { background: rgba(216,201,166,.08); }
.specs-table__cat td {
    font-family: var(--f-head); font-weight: 800; font-size: 12px;
    letter-spacing: .5px; background: rgba(216,201,166,.15);
    border-bottom-color: var(--c-accent); padding-top: 14px; padding-bottom: 14px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer__main {
    background: var(--c-ink); color: rgba(255,255,255,.8);
    padding: 60px 0 40px;
}
.footer__grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px;
}
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__col--brand { gap: 14px; }
.footer__desc { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.6; }
.footer__heading {
    font-family: var(--f-head); font-weight: 700; font-size: 14px;
    letter-spacing: .5px; color: #fff; margin-bottom: 8px;
}
.footer__col a {
    font-size: 14px; color: rgba(255,255,255,.5);
    transition: color .2s;
}
.footer__col a:hover { color: var(--c-accent); }
.footer__contact-item {
    display: flex; gap: 10px; align-items: flex-start;
    font-size: 13px; color: rgba(255,255,255,.5);
}
.footer__contact-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--c-accent-dark); }
.footer__contact-item a { color: rgba(255,255,255,.5); }
.footer__contact-item a:hover { color: var(--c-accent); }
.footer__social { display: flex; gap: 8px; margin-top: 4px; }
.footer__social-link {
    width: 36px; height: 36px; border-radius: var(--r-s);
    border: 1px solid rgba(255,255,255,.15);
    display: grid; place-items: center;
    color: rgba(255,255,255,.5); transition: all .2s;
}
.footer__social-link:hover { background: rgba(255,255,255,.1); color: #fff; }
.footer__social-link svg { width: 16px; height: 16px; }
.footer__bottom {
    background: rgba(0,0,0,.3); padding: 16px 0;
}
.footer__bottom-inner {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 12px; color: rgba(255,255,255,.35);
}
.footer__credit { font-size: 11px; }

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
    position: fixed; bottom: 24px; right: 24px;
    width: 46px; height: 46px;
    background: var(--c-ink); color: #fff;
    border-radius: 50%; display: grid; place-items: center;
    opacity: 0; visibility: hidden;
    transition: all .3s var(--ease);
    z-index: 90; box-shadow: var(--shadow-m);
}
.scroll-top svg { width: 20px; height: 20px; }
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--c-accent-deeper); transform: translateY(-3px); }

/* ============================================
   TOAST
   ============================================ */
.toast-container {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
    z-index: 300; display: flex; flex-direction: column; gap: 8px;
    align-items: center; pointer-events: none;
}
.toast {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 24px; background: var(--c-ink); color: #fff;
    border-radius: var(--r-pill); font-size: 14px; font-weight: 600;
    box-shadow: var(--shadow-l); pointer-events: all;
    animation: toastIn .4s var(--ease-bounce);
    white-space: nowrap;
}
.toast--success { background: #2e7d32; }
.toast--error { background: #c62828; }
.toast.out { animation: toastOut .3s var(--ease) forwards; }
@keyframes toastIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes toastOut { from { transform: translateY(0); opacity: 1; } to { transform: translateY(20px); opacity: 0; } }

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0; transform: translateY(28px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left {
    opacity: 0; transform: translateX(-28px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right {
    opacity: 0; transform: translateX(28px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }
.scale-in {
    opacity: 0; transform: scale(.92);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.scale-in.visible { opacity: 1; transform: scale(1); }

/* Stagger delays */
.stagger-1 { transition-delay: .05s; }
.stagger-2 { transition-delay: .1s; }
.stagger-3 { transition-delay: .15s; }
.stagger-4 { transition-delay: .2s; }
.stagger-5 { transition-delay: .25s; }
.stagger-6 { transition-delay: .3s; }
.stagger-7 { transition-delay: .35s; }
.stagger-8 { transition-delay: .4s; }

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center; padding: 80px 20px;
}
.empty-state svg { width: 64px; height: 64px; color: var(--c-accent); opacity: .4; margin: 0 auto 16px; }
.empty-state__title {
    font-family: var(--f-head); font-weight: 700; font-size: 20px;
    margin-bottom: 8px;
}
.empty-state__text { font-size: 14px; color: var(--c-muted); margin-bottom: 24px; }

/* ============================================
   ORDER CONFIRMATION
   ============================================ */
.confirmation {
    text-align: center; padding: 80px 20px;
    max-width: 600px; margin: 0 auto;
}
.confirmation__icon {
    width: 80px; height: 80px; margin: 0 auto 24px;
    background: rgba(76,175,80,.1); border-radius: 50%;
    display: grid; place-items: center;
}
.confirmation__icon svg { width: 40px; height: 40px; color: var(--c-success); }
.confirmation__title {
    font-family: var(--f-head); font-weight: 800; font-size: 28px;
    margin-bottom: 12px;
}
.confirmation__text { font-size: 15px; color: var(--c-muted); line-height: 1.6; margin-bottom: 32px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero__inner { gap: 40px; }
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: repeat(2, 1fr); }
    .shop-layout { grid-template-columns: 220px 1fr; }
    .cart-page__grid { grid-template-columns: 1fr 300px; }
    .checkout__grid { grid-template-columns: 1fr 320px; }
}

@media (max-width: 768px) {
    :root { --h-topbar: 0px; --h-header: 64px; }
    .header__top { display: none; }
    .menu-btn { display: flex; }

    .nav {
        position: fixed; top: var(--h-header); left: 0; right: 0;
        background: #fff;
        flex-direction: column; gap: 0; padding: 8px 20px 20px;
        border-bottom: 1px solid var(--c-stroke);
        box-shadow: var(--shadow-l);
        transform: translateY(-120%); opacity: 0; visibility: hidden;
        transition: all .35s var(--ease); max-height: calc(100vh - var(--h-header));
        overflow-y: auto; z-index: 200;
    }
    .nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
    .nav__link {
        padding: 14px 0; font-size: 16px; width: 100%;
        border-bottom: 1px solid var(--c-stroke-light);
        border-radius: 0; color: var(--c-ink);
    }
    .nav__link:hover { background: transparent; }
    .nav__link--cta { margin-top: 8px; text-align: center; border-bottom: none; border-radius: var(--r-pill); color: #fff; }
    .nav__dropdown { width: 100%; }
    .nav__dropdown .nav__link--has-sub { width: 100%; justify-content: space-between; }
    .nav__sub {
        position: static; transform: none !important; min-width: 0;
        box-shadow: none; border: none; padding: 0;
        opacity: 1; visibility: visible; pointer-events: all;
        max-height: 0; overflow: hidden; transition: max-height .3s;
        background: transparent;
    }
    .nav__sub::before { display: none; }
    .nav__dropdown.open .nav__sub { max-height: 600px; }
    .nav__sub-link {
        padding: 12px 16px; border-bottom: 1px solid var(--c-stroke-light);
        border-radius: 0; font-size: 15px; color: var(--c-ink);
    }
    .nav__sub-link:hover { background: var(--c-bg); }

    .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 32px; }
    .hero__visual { display: none; }
    .hero__lead { margin-inline: auto; }
    .hero__actions { justify-content: center; }
    .hero__stats { justify-content: center; flex-wrap: wrap; gap: 24px; }

    .about__grid { grid-template-columns: 1fr; }
    .about__image { max-height: 280px; max-width: 360px; margin: 0 auto; }

    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }

    .advantages-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .process-step::after { display: none; }

    .stats { grid-template-columns: repeat(2, 1fr); }

    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .section { padding: 64px 0; }
    .section__header { margin-bottom: 36px; }

    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar { display: none; }

    .pd-grid { grid-template-columns: 1fr; gap: 32px; }
    .pd-image { max-height: 360px; max-width: 360px; margin: 0 auto; width: 100%; }

    .cart-page__grid { grid-template-columns: 1fr; }
    .cart-page__item {
        grid-template-columns: 56px 1fr;
        gap: 10px 12px;
        padding: 16px 20px;
    }
    .cart-page__item-img { width: 56px; height: 56px; grid-row: 1; }
    .cart-page__item > *:nth-child(2) { grid-column: 2; grid-row: 1; min-width: 0; }
    .cart-page__item-name { font-size: 13px; white-space: normal; word-break: break-word; }
    .cart-page__item > *:nth-child(3) {
        grid-column: 1 / -1; grid-row: 2;
    }
    .qty-control { max-width: 160px; }
    .cart-page__item > *:nth-child(4) { grid-column: 2; grid-row: 3; }
    .cart-page__item > *:nth-child(5) { grid-column: 1; grid-row: 3; justify-self: start; }

    .checkout__grid { grid-template-columns: 1fr; }

    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__col--brand { grid-column: 1 / -1; }
    .footer__bottom-inner { flex-direction: column; gap: 4px; text-align: center; }
}

@media (max-width: 480px) {
    .hero__title { letter-spacing: -.5px; }
    .hero__stats { gap: 16px; }
    .hero__stat-num { font-size: 26px; }

    .categories-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .category-card { padding: 20px 16px; }
    .category-card__icon { width: 56px; height: 56px; }

    .products-grid { grid-template-columns: 1fr; }

    .process-grid { grid-template-columns: 1fr; }

    .contact-form { padding: 22px 18px; }

    .cart-page__item { font-size: 12px; padding: 14px 16px; }
    .qty-control { max-width: 140px; }
    .qty-control__btn { width: 34px; height: 34px; }
    .qty-control__input { width: 46px; height: 34px; font-size: 13px; }

    .footer__grid { grid-template-columns: 1fr; }

    .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
    .stat { padding: 16px; }
    .stat__num { font-size: 28px; }
}

/* ============================================
   PRODUCT IMAGE BACKGROUNDS (per category)
   ============================================ */
.pimg--cutii { background: linear-gradient(135deg, #f5efe4, #ebe3d1); }
.pimg--kituri { background: linear-gradient(135deg, #f0e8d8, #ddd0b8); }
.pimg--folie-stretch { background: linear-gradient(135deg, #e8f0f8, #d1e3f0); }
.pimg--scotch { background: linear-gradient(135deg, #fce8e2, #f5d5ca); }
.pimg--banda-adeziva { background: linear-gradient(135deg, #e8f5e9, #d0e8d2); }
.pimg--etichete { background: linear-gradient(135deg, #f3e8f8, #e6d5f0); }
.pimg--coltare { background: linear-gradient(135deg, #e8f3f3, #d0e6e6); }
.pimg--tuburi { background: linear-gradient(135deg, #fef3e0, #fce8c2); }