/* ============================================================
   Szerszámolcsón.hu – base.css
   CSS változók, reset, tipográfia, utility osztályok
   Minden más CSS fájl ezt importálja / erre épül
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Barlow:wght@300;400;500;600&family=Space+Mono:wght@400;700&display=swap');

/* ============================================================
   CSS VÁLTOZÓK – Light mód (alapértelmezett)
   ============================================================ */
:root {
    /* Háttér és felületek */
    --bg:           #f4f2ee;
    --surface:      #ffffff;
    --surface-2:    #eceae5;
    --surface-3:    #f9f8f6;

    /* Szegélyek */
    --border:       #dedad3;
    --border-soft:  #ece9e3;

    /* Arany akcentus */
    --gold:         #b87d1e;
    --gold-h:       #d4941f;        /* hover állapot */
    --gold-dim:     rgba(184,125,30,.11);
    --gold-dim2:    rgba(184,125,30,.20);
    --gold-rgb:     184,125,30;

    /* Szövegek */
    --text:         #1a1814;
    --text-2:       #4a4640;
    --text-3:       #7a7570;
    --text-4:       #b0aba4;

    /* Státusz színek */
    --red:          #c0392b;
    --green:        #1a7a3c;
    --blue:         #2563eb;
    --orange:       #d97706;

    /* Sötét sáv (topbar, footer) */
    --dark-bar:     #1a1814;
    --dark-txt:     #7a7570;

    /* Árnyékok */
    --sh-sm:        0 1px 3px rgba(0,0,0,.07), 0 1px 8px rgba(0,0,0,.05);
    --sh-md:        0 4px 16px rgba(0,0,0,.09), 0 1px 4px rgba(0,0,0,.05);
    --sh-lg:        0 8px 32px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06);
    --sh-gold:      0 0 20px rgba(184,125,30,.18);

    /* Tipográfia */
    --fd:           'Barlow Condensed', sans-serif;
    --fb:           'Barlow', sans-serif;
    --fm:           'Space Mono', monospace;

    /* Lekerekítés */
    --r-xs:         3px;
    --r-sm:         6px;
    --r-md:         10px;
    --r-lg:         16px;
    --r-xl:         24px;

    /* Animáció */
    --ease:         cubic-bezier(.4,0,.2,1);
    --t:            all .2s var(--ease);
    --ts:           all .4s var(--ease);

    /* Layout */
    --max-width:    1440px;
    --page-pad:     20px;
    --header-h:     62px;
}

/* ============================================================
   CSS VÁLTOZÓK – Dark mód
   ============================================================ */
[data-theme="dark"] {
    --bg:           #0e0f11;
    --surface:      #16181c;
    --surface-2:    #1e2128;
    --surface-3:    #13151a;
    --border:       #2a2d36;
    --border-soft:  #222530;
    --gold:         #c8902a;
    --gold-h:       #e8a83e;
    --gold-dim:     rgba(200,144,42,.13);
    --gold-dim2:    rgba(200,144,42,.22);
    --gold-rgb:     200,144,42;
    --text:         #e8e5e0;
    --text-2:       #b0ada6;
    --text-3:       #7a7e8a;
    --text-4:       #3e4150;
    --red:          #e74c3c;
    --green:        #2ecc71;
    --blue:         #5b9cf6;
    --orange:       #f59e0b;
    --dark-bar:     #0a0b0d;
    --dark-txt:     #5a5e6a;
    --sh-sm:        0 1px 3px rgba(0,0,0,.25);
    --sh-md:        0 4px 16px rgba(0,0,0,.35);
    --sh-lg:        0 8px 32px rgba(0,0,0,.50);
    --sh-gold:      0 0 24px rgba(200,144,42,.22);
}

/* ============================================================
   RESET & BOX MODEL
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--fb);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background .3s, color .3s;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Az oldal tartalom kitölti a rendelkezésre álló helyet */
main {
    flex: 1;
}

/* Reset */
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }
table { border-collapse: collapse; width: 100%; }

/* Scrollbar */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--surface-2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* Fókusz gyűrű – akadálymentesség */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* ============================================================
   TIPOGRÁFIA
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--fd);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.3px;
    color: var(--text);
    text-transform: uppercase;
}

h1 { font-size: clamp(28px, 4vw, 52px); }
h2 { font-size: clamp(22px, 3vw, 36px); }
h3 { font-size: clamp(18px, 2.5vw, 26px); }
h4 { font-size: clamp(15px, 2vw, 20px); }

p { color: var(--text-2); line-height: 1.7; }

small {
    font-size: .8em;
    color: var(--text-3);
}

strong { font-weight: 600; color: var(--text); }

/* Monospace szöveg (pl. árak, kódok, dátumok) */
.mono {
    font-family: var(--fm);
    font-size: .875em;
}

/* ============================================================
   LAYOUT KONTÉNER
   ============================================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--page-pad);
    width: 100%;
}

/* Szűkebb konténer (form oldalak, auth) */
.container--narrow {
    max-width: 520px;
    margin: 0 auto;
    padding: 0 var(--page-pad);
}

/* ============================================================
   GOMBOK
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--fd);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 11px 22px;
    border-radius: var(--r-sm);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: var(--t);
    white-space: nowrap;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

/* Shine effekt hover-re */
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
    transform: translateX(-100%);
    transition: transform .45s;
}
.btn:hover::before { transform: translateX(100%); }

/* Elsődleges gomb */
.btn--primary {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}
[data-theme="dark"] .btn--primary { color: #000; }
.btn--primary:hover {
    background: var(--gold-h);
    border-color: var(--gold-h);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--gold-rgb),.38);
}

/* Másodlagos gomb */
.btn--secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}
.btn--secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-dim);
}

/* Veszélyes gomb (törlés) */
.btn--danger {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}
.btn--danger:hover {
    opacity: .88;
    transform: translateY(-1px);
}

/* Ghost gomb (átlátszó háttér, arany szegély) */
.btn--ghost {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}
.btn--ghost:hover {
    background: var(--gold);
    color: #fff;
}
[data-theme="dark"] .btn--ghost:hover { color: #000; }

/* Méret variánsok */
.btn--sm {
    font-size: 11px;
    padding: 7px 14px;
    letter-spacing: 1px;
}
.btn--lg {
    font-size: 15px;
    padding: 14px 30px;
    letter-spacing: 1.5px;
}
.btn--full { width: 100%; }

/* Letiltott állapot */
.btn:disabled,
.btn--disabled {
    opacity: .5;
    cursor: not-allowed;
    pointer-events: none;
    transform: none !important;
}

/* ============================================================
   FORM ELEMEK
   ============================================================ */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.form-label {
    font-family: var(--fd);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-2);
}

.form-label--required::after {
    content: ' *';
    color: var(--red);
}

.form-control {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    padding: 11px 14px;
    color: var(--text);
    font-size: 14px;
    transition: var(--t);
    outline: none;
    width: 100%;
}

.form-control::placeholder { color: var(--text-4); }

.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-dim);
}

.form-control--error {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(192,57,43,.12);
}

.form-error {
    font-size: 12px;
    color: var(--red);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.form-hint {
    font-size: 11px;
    color: var(--text-4);
}

/* Select */
select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a7570' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* Checkbox és radio */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 3px;
    appearance: none;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
    background: var(--surface);
    transition: var(--t);
    position: relative;
}

.form-check input[type="checkbox"]:checked {
    background: var(--gold);
    border-color: var(--gold);
}

.form-check input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 4px; top: 1px;
    width: 6px; height: 10px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.form-check input[type="radio"] { border-radius: 50%; }

.form-check input[type="radio"]:checked {
    border-color: var(--gold);
    box-shadow: inset 0 0 0 4px var(--gold);
}

.form-check-label {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.5;
}

/* ============================================================
   BADGE-EK (termék badge-ek, státusz jelzők)
   ============================================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--fm);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: var(--r-xs);
    white-space: nowrap;
}

.badge--new    { background: var(--gold); color: #fff; }
.badge--sale   { background: var(--red); color: #fff; }
.badge--hot    { background: var(--blue); color: #fff; }
.badge--low    { background: var(--orange); color: #fff; }
[data-theme="dark"] .badge--new { color: #000; }

/* Státusz badge-ek */
.badge--success { background: rgba(26,122,60,.12); color: var(--green); border: 1px solid rgba(26,122,60,.25); }
.badge--error   { background: rgba(192,57,43,.10); color: var(--red); border: 1px solid rgba(192,57,43,.22); }
.badge--warning { background: rgba(217,119,6,.10); color: var(--orange); border: 1px solid rgba(217,119,6,.22); }
.badge--neutral { background: var(--surface-2); color: var(--text-3); border: 1px solid var(--border); }

/* ============================================================
   KÉSZLET JELZŐK
   ============================================================ */
.stock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--text-3);
}

.stock::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.stock--available { color: var(--green); }
.stock--available::before { background: var(--green); box-shadow: 0 0 4px var(--green); }

.stock--unavailable { color: var(--red); }
.stock--unavailable::before { background: var(--red); }

.stock--backorder { color: var(--orange); }
.stock--backorder::before { background: var(--orange); }

/* ============================================================
   FLASH ÜZENETEK
   ============================================================ */
.flash-messages {
    position: fixed;
    top: calc(var(--header-h) + 12px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 300px;
    max-width: 540px;
    width: calc(100% - 40px);
    pointer-events: none;
}

.flash {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--r-md);
    font-size: 13px;
    font-weight: 500;
    box-shadow: var(--sh-lg);
    pointer-events: all;
    animation: flash-in .3s var(--ease);
    border: 1px solid transparent;
}

@keyframes flash-in {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.flash--success { background: var(--surface); border-color: var(--green); color: var(--green); }
.flash--error   { background: var(--surface); border-color: var(--red); color: var(--red); }
.flash--warning { background: var(--surface); border-color: var(--orange); color: var(--orange); }
.flash--info    { background: var(--surface); border-color: var(--gold); color: var(--gold); }

.flash__icon { flex-shrink: 0; }
.flash__text { flex: 1; color: var(--text); }

.flash__close {
    margin-left: auto;
    font-size: 18px;
    line-height: 1;
    color: var(--text-4);
    cursor: pointer;
    flex-shrink: 0;
    padding: 0 4px;
    transition: var(--t);
}
.flash__close:hover { color: var(--text); }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
    padding: 14px 0;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.breadcrumb-item {
    font-size: 12px;
    color: var(--text-3);
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: var(--text-3);
    transition: var(--t);
}
.breadcrumb-item a:hover { color: var(--gold); }

.breadcrumb-item--current {
    color: var(--text);
    font-weight: 500;
}

.breadcrumb-sep {
    display: flex;
    align-items: center;
    color: var(--border);
    padding: 0 6px;
}

/* ============================================================
   SZEKCIÓ FEJLÉCEK (közös stílus)
   ============================================================ */
.sec-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 22px;
    gap: 12px;
}

.sec-label {
    font-family: var(--fm);
    font-size: 9px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.sec-label::before {
    content: '';
    width: 14px;
    height: 2px;
    background: var(--gold);
    display: block;
    border-radius: 1px;
    flex-shrink: 0;
}

.sec-title {
    font-family: var(--fd);
    font-weight: 800;
    font-size: clamp(20px, 2.2vw, 30px);
    text-transform: uppercase;
    color: var(--text);
    line-height: 1;
    transition: color .3s;
}

.sec-link {
    font-family: var(--fd);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--t);
    white-space: nowrap;
    flex-shrink: 0;
}
.sec-link:hover { gap: 10px; }

/* ============================================================
   TERMÉK RÁCS (közös alap – minden oldal felülírhatja az oszlopszámot)
   ============================================================ */
.prod-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

/* ============================================================
   TERMÉK KÁRTYA (közös alap, az oldalak felülírhatják)
   ============================================================ */
.prod-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: var(--t);
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    box-shadow: var(--sh-sm);
}

.prod-card:hover {
    border-color: rgba(var(--gold-rgb),.38);
    transform: translateY(-4px);
    box-shadow: var(--sh-lg);
}

.prod-img {
    aspect-ratio: 1/1;
    background: var(--surface-3);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-soft);
    position: relative;
}

.prod-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    transition: var(--ts);
}

.prod-card:hover .prod-img img {
    transform: scale(1.05);
}

.prod-img-placeholder {
    font-size: 64px;
    opacity: .22;
    transition: var(--ts);
}

.prod-card:hover .prod-img-placeholder {
    opacity: .4;
    transform: scale(1.08) rotate(-2deg);
}

.prod-info {
    padding: 12px 14px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.prod-cat {
    font-family: var(--fm);
    font-size: 8px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
}

.prod-name {
    font-family: var(--fd);
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
    line-height: 1.3;
    transition: color .2s;
}

.prod-card:hover .prod-name { color: var(--gold); }

.prod-brand {
    font-size: 11px;
    color: var(--text-3);
}

.prod-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.stars { color: var(--gold); font-size: 10px; letter-spacing: 1px; }
.rating-count { font-family: var(--fm); font-size: 9px; color: var(--text-4); }

.prod-prices {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    padding-top: 9px;
    border-top: 1px solid var(--border-soft);
}

.price-now {
    font-family: var(--fd);
    font-weight: 800;
    font-size: 18px;
    color: var(--gold);
}

.price-was {
    font-family: var(--fm);
    font-size: 10px;
    color: var(--text-4);
    text-decoration: line-through;
}

.price-pct {
    margin-left: auto;
    font-family: var(--fm);
    font-size: 8px;
    background: rgba(192,57,43,.1);
    color: var(--red);
    border: 1px solid rgba(192,57,43,.2);
    padding: 2px 5px;
    border-radius: 2px;
}

/* Gyors kosárba gomb (mobilon látszik, desktopOn hover) */
.prod-cart-btn {
    width: 100%;
    margin-top: 8px;
    background: var(--gold-dim);
    border: 1px solid rgba(var(--gold-rgb),.28);
    color: var(--gold);
    font-family: var(--fd);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 9px;
    border-radius: var(--r-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: var(--t);
}

.prod-cart-btn:hover {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}
[data-theme="dark"] .prod-cart-btn:hover { color: #000; }

/* Desktop hover akció gombok */
.prod-hover-btns {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.45));
    padding: 10px;
    display: flex;
    gap: 6px;
    transform: translateY(100%);
    transition: var(--t);
}

.prod-img:hover .prod-hover-btns,
.prod-card:hover .prod-hover-btns {
    transform: translateY(0);
}

.btn-cart-hover {
    flex: 1;
    background: var(--gold);
    color: #fff;
    font-family: var(--fd);
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 10px;
    border-radius: var(--r-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: var(--t);
    border: none;
    cursor: pointer;
}
[data-theme="dark"] .btn-cart-hover { color: #000; }
.btn-cart-hover:hover { background: var(--gold-h); }

.btn-wish-hover {
    width: 34px;
    height: 34px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-3);
    font-size: 14px;
    transition: var(--t);
    flex-shrink: 0;
    cursor: pointer;
}

.btn-wish-hover:hover,
.btn-wish-hover.on { border-color: var(--red); color: var(--red); }

/* ============================================================
   FADE ANIMÁCIÓ (scroll-ra megjelenő elemek)
   ============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s var(--ease), transform .55s var(--ease);
}

.fade-up.vis { opacity: 1; transform: translateY(0); }

/* Stagger delay-ek */
.d1 { transition-delay: .07s; }
.d2 { transition-delay: .14s; }
.d3 { transition-delay: .21s; }
.d4 { transition-delay: .28s; }

/* ============================================================
   LOADING SPINNER
   ============================================================ */
.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--border);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin .7s linear infinite;
    display: inline-block;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   ÜRES ÁLLAPOT
   ============================================================ */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    gap: 16px;
}

.empty-state__icon {
    font-size: 52px;
    opacity: .35;
}

.empty-state__title {
    font-family: var(--fd);
    font-weight: 800;
    font-size: 22px;
    text-transform: uppercase;
    color: var(--text);
}

.empty-state__desc {
    font-size: 14px;
    color: var(--text-3);
    max-width: 320px;
}

/* ============================================================
   UTILITY OSZTÁLYOK
   ============================================================ */

/* Szöveg igazítás */
.text-left   { text-align: left; }
.text-center { text-align: center; }
.text-right  { text-align: right; }

/* Szöveg szín */
.text-gold    { color: var(--gold); }
.text-muted   { color: var(--text-3); }
.text-faint   { color: var(--text-4); }
.text-red     { color: var(--red); }
.text-green   { color: var(--green); }

/* Display */
.d-none   { display: none; }
.d-block  { display: block; }
.d-flex   { display: flex; }
.d-grid   { display: grid; }

/* Flex helper-ek */
.flex-center    { display: flex; align-items: center; justify-content: center; }
.flex-between   { display: flex; align-items: center; justify-content: space-between; }
.flex-gap-sm    { gap: 8px; }
.flex-gap-md    { gap: 16px; }
.flex-gap-lg    { gap: 24px; }

/* Margin / Padding gyors */
.mt-auto { margin-top: auto; }
.mb-0    { margin-bottom: 0; }
.w-full  { width: 100%; }

/* Képernyőolvasó számára látható, vizuálisan rejtett */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
   RESZPONZÍV BREAKPOINT-OK
   ============================================================ */
@media (max-width: 1100px) {
    :root { --page-pad: 18px; }
}

@media (max-width: 768px) {
    :root {
        --page-pad: 16px;
        --header-h: 56px;
    }

    h1 { font-size: clamp(24px, 6vw, 36px); }
    h2 { font-size: clamp(20px, 5vw, 28px); }

    /* Mobilon mindig látszik a kosárba gomb */
    .prod-hover-btns { display: none; }
    .prod-cart-btn   { display: flex; }
}

@media (min-width: 769px) {
    /* Desktoppon csak hover-re látszik a kosárba gomb */
    .prod-cart-btn { display: none; }
    .prod-hover-btns { display: flex; }
}

@media (max-width: 480px) {
    :root { --page-pad: 14px; }
}
