:root {
    --bg: #f5f3ff;
    --surface: rgba(255, 255, 255, 0.82);
    --surface-solid: #ffffff;
    --surface-glass: rgba(255, 255, 255, 0.6);
    --primary: #7c3aed;
    --primary-dark: #6d28d9;
    --primary-light: #8b5cf6;
    --primary-06: rgba(124, 58, 237, 0.06);
    --primary-08: rgba(124, 58, 237, 0.08);
    --primary-10: rgba(124, 58, 237, 0.10);
    --primary-12: rgba(124, 58, 237, 0.12);
    --primary-14: rgba(124, 58, 237, 0.14);
    --primary-18: rgba(124, 58, 237, 0.18);
    --primary-25: rgba(124, 58, 237, 0.25);
    --primary-35: rgba(124, 58, 237, 0.35);
    --primary-glow: rgba(124, 58, 237, 0.35);
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --violet: #8b5cf6;
    --cyan: #22d3ee;
    --text: #1e1b4b;
    --text-muted: #6b7280;
    --danger: #e02424;
    --danger-bg: rgba(224, 36, 36, 0.1);
    --warning-bg: rgba(245, 158, 11, 0.14);
    --success-bg: rgba(124, 58, 237, 0.12);
    --info-bg: rgba(34, 211, 238, 0.14);
    --border: rgba(124, 58, 237, 0.14);
    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 10px 30px rgba(30, 27, 75, 0.08);
    --shadow-lg: 0 24px 60px rgba(30, 27, 75, 0.16);
    --glow: 0 0 0 1px rgba(124,58,237,.08), 0 18px 50px rgba(124,58,237,.18);
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-head: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 15% 10%, var(--primary-10), transparent 42%),
        radial-gradient(circle at 85% 20%, rgba(34,211,238,.08), transparent 40%),
        linear-gradient(180deg, #f8f6ff 0%, #f5f3ff 40%, #f0edf9 100%);
}

.bg-glow {
    position: fixed;
    z-index: -1;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .5;
    pointer-events: none;
    animation: floatBlob 16s ease-in-out infinite;
}
.bg-glow-1 { top: -180px; right: -120px; background: radial-gradient(circle, var(--primary-glow), transparent 70%); }
.bg-glow-2 { bottom: -200px; left: -140px; background: radial-gradient(circle, var(--primary-glow), transparent 70%); animation-delay: -8s; }

@keyframes floatBlob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.08); }
}

.site-main { flex: 1; padding: 28px 0 72px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 22px; }

a { color: var(--primary); text-decoration: none; transition: color .15s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 22px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand-mark {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    font-size: 24px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    box-shadow: 0 8px 24px var(--primary-glow), inset 0 0 0 1px rgba(255,255,255,.25);
    position: relative;
}
.brand-logo {
    width: 46px; height: 46px;
    object-fit: contain;
    border-radius: 14px;
}
.brand-mark::after {
    content: '';
    position: absolute; inset: -3px;
    border-radius: 17px;
    background: linear-gradient(135deg, var(--primary-glow), var(--primary-25));
    filter: blur(10px);
    z-index: -1;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-head); font-size: 19px; font-weight: 700; letter-spacing: .01em; }
.brand-text small { color: var(--text-muted); font-size: 11.5px; }

.main-nav { display: flex; gap: 2px; flex-wrap: wrap; }
.main-nav a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14px;
    padding: 9px 15px;
    border-radius: 999px;
    transition: all .18s;
    position: relative;
}
.main-nav a:hover { color: var(--primary-dark); background: var(--success-bg); }
.main-nav a.active { color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); box-shadow: 0 6px 18px var(--primary-glow); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.cart-btn {
    position: relative;
    width: 46px; height: 46px;
    display: grid; place-items: center;
    color: #fff;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 8px 22px var(--primary-glow);
    transition: transform .15s, box-shadow .15s;
}
.cart-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px var(--primary-glow); }
.cart-btn svg { width: 21px; height: 21px; }

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 18px;
    height: 42px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font);
    color: var(--primary-dark);
    background: var(--surface-glass);
    border: 1.5px solid var(--primary-25);
    text-decoration: none;
    transition: all .18s;
    backdrop-filter: blur(6px);
    white-space: nowrap;
}
.btn-login:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px var(--primary-glow);
}
.btn-login svg { stroke: currentColor; }
.btn-logout {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all .15s;
}
.btn-logout:hover { color: var(--danger); background: var(--danger-bg); }
.cart-count {
    position: absolute;
    top: -7px; right: -7px;
    min-width: 21px; height: 21px;
    padding: 0 6px;
    background: linear-gradient(135deg, var(--accent), #f97316);
    color: #fff;
    font-size: 12px; font-weight: 800;
    border-radius: 999px;
    display: grid; place-items: center;
    box-shadow: 0 4px 10px rgba(255,138,61,.4);
    font-family: var(--font-head);
}

.menu-toggle {
    display: none;
    background: var(--surface-glass);
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    width: 46px; height: 46px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border: none;
    border-radius: 14px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 10px 26px var(--primary-glow);
    transition: transform .15s, box-shadow .15s, filter .15s;
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.35) 50%, transparent 80%);
    transform: translateX(-100%);
    transition: transform .6s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px var(--primary-glow); }
.btn:hover::after { transform: translateX(100%); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-block { width: 100%; }
.btn-secondary { background: var(--surface-solid); color: var(--text); border: 1px solid var(--border); box-shadow: none; }
.btn-secondary:hover { background: #f4f8f6; }
.btn-danger { background: linear-gradient(135deg, #f43f5e, #e11d48); box-shadow: 0 10px 26px rgba(225,29,72,.28); }
.btn-danger:hover { background: linear-gradient(135deg, #fb7185, #e11d48); }
.btn-accent { background: linear-gradient(135deg, var(--accent), #f97316); box-shadow: 0 10px 26px rgba(255,138,61,.32); }
.btn-accent:hover { background: linear-gradient(135deg, #ff9a5a, #fb923c); }
.btn-sm { padding: 9px 16px; font-size: 13px; border-radius: 11px; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    border-radius: 28px;
    padding: 64px 56px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 48px;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(125deg, var(--primary-10), var(--primary-08)), var(--surface-glass);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 20% 20%, var(--primary-25), transparent 45%),
        radial-gradient(circle at 85% 70%, var(--primary-10), transparent 45%),
        radial-gradient(circle at 65% 15%, var(--primary-18), transparent 40%);
}
.hero::after {
    content: '';
    position: absolute; inset: 0;
    z-index: -1;
    background-image: linear-gradient(var(--primary-06) 1px, transparent 1px), linear-gradient(90deg, var(--primary-06) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(circle at 60% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at 60% 40%, #000 30%, transparent 75%);
}
.hero h1 {
    font-family: var(--font-head);
    font-size: clamp(30px, 4.4vw, 52px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.02em;
    margin-bottom: 18px;
    background: linear-gradient(120deg, var(--primary-dark), var(--primary) 55%, var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p { color: var(--text-muted); font-size: 17px; max-width: 540px; margin-bottom: 30px; }
.hero-badges { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.hero-badges span {
    background: var(--surface-glass);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(6px);
}
.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
}
.hero-pets {
    display: flex;
    gap: 20px;
    align-items: flex-end;
}
.hero-pet-frame {
    width: clamp(120px, 14vw, 180px);
    height: clamp(120px, 14vw, 180px);
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,.15);
    border: 4px solid #fff;
    background: #f0f0f0;
    flex-shrink: 0;
}
.hero-pet-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-dog-frame { animation: petFloat1 4s ease-in-out infinite; }
.hero-cat-frame { animation: petFloat2 4.5s ease-in-out infinite; }
.hero-ring { display: none; }
.hero-emoji { display: none; }
.hero-pet { display: none; }
@keyframes petFloat1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes petFloat2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ---------- Category showcase ---------- */
.cat-showcase { margin: 32px 0 16px; }
.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.cat-card {
    border-radius: 16px;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    transition: transform .2s, box-shadow .2s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.cat-card-img {
    height: 160px;
    overflow: hidden;
}
.cat-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.cat-card:hover .cat-card-img img { transform: scale(1.05); }
.cat-card-body {
    padding: 14px 16px 18px;
}
.cat-card-body h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text);
}
.cat-card-body p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}
@media (max-width: 800px) {
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .cat-grid { grid-template-columns: 1fr; }
    .cat-card-img { height: 140px; }
}

/* ---------- Section titles ---------- */
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 44px 0 22px;
}
.section-title h2 { font-family: var(--font-head); font-size: 26px; font-weight: 700; letter-spacing: -.01em; }
.section-title .link { font-weight: 700; font-size: 14px; color: var(--primary); }
.section-title .link:hover { text-decoration: underline; }

/* ---------- Chips ---------- */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.chip {
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--surface-glass);
    border: 1px solid var(--border);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
    transition: all .18s;
    backdrop-filter: blur(6px);
}
.chip:hover { border-color: var(--primary); color: var(--primary-dark); transform: translateY(-1px); }
.chip.active { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-color: transparent; color: #fff; box-shadow: 0 8px 20px var(--primary-glow); }

/* ---------- Search ---------- */
.search-bar { display: flex; gap: 10px; max-width: 580px; margin-bottom: 22px; }
.search-bar input {
    flex: 1;
    padding: 13px 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    font-family: inherit;
    font-size: 15px;
    background: var(--surface-solid);
    box-shadow: var(--shadow);
    transition: border .15s, box-shadow .15s;
}
.search-bar input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-glow), var(--shadow); }

/* ---------- Product grid ---------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 26px;
}
.product-card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    transition: transform .22s cubic-bezier(.2,.8,.3,1.1), box-shadow .22s;
    position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--glow); }
.product-card::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: var(--radius);
    background: linear-gradient(140deg, var(--primary-10), transparent 40%, var(--primary-08));
    opacity: 0;
    transition: opacity .25s;
    pointer-events: none;
}
.product-card:hover::before { opacity: 1; }

.product-image { aspect-ratio: 1/1; background: linear-gradient(145deg, #f8f7fc, #f0eef9); position: relative; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.3,1); }
.product-card:hover .product-image img { transform: scale(1.06); }
.product-image .no-img { position: absolute; inset: 0; display: grid; place-items: center; font-size: 72px; }
.product-badge {
    position: absolute;
    top: 14px; left: 14px;
    background: linear-gradient(135deg, var(--accent), #f97316);
    color: #fff;
    font-size: 12px; font-weight: 700;
    padding: 5px 14px;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(255,138,61,.4);
    z-index: 2;
}
.product-info { padding: 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; position: relative; z-index: 1; }
.product-cat { font-size: 12px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .07em; }
.product-name { font-family: var(--font-head); font-weight: 600; font-size: 16.5px; line-height: 1.3; color: var(--text); }
.product-name:hover { color: var(--primary-dark); }
.product-price { font-size: 21px; font-weight: 700; font-family: var(--font-head); color: var(--primary-dark); margin-top: auto; }
.product-stock { font-size: 12.5px; color: var(--text-muted); }
.product-stock.low { color: var(--danger); font-weight: 600; }
.product-actions { margin-top: 14px; }

/* ---------- Forms ---------- */
.card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 28px;
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--border);
    border-radius: 13px;
    font-family: inherit;
    font-size: 15px;
    background: var(--surface-solid);
    transition: border .15s, box-shadow .15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-glow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.form-check input { width: auto; }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.product-detail .gallery {
    aspect-ratio: 1/1;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(145deg, #f8f7fc, #f0eef9);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    position: relative;
}
.product-detail .gallery img { width: 100%; height: 100%; object-fit: cover; }
.product-detail .gallery .no-img { position: absolute; inset: 0; display: grid; place-items: center; font-size: 130px; }
.detail-title { font-family: var(--font-head); font-size: 32px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; }
.detail-price { font-size: 30px; font-weight: 700; font-family: var(--font-head); color: var(--primary-dark); margin: 18px 0; }
.detail-desc { color: var(--text-muted); margin-bottom: 26px; white-space: pre-line; }
.qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface-solid);
}
.qty-control button {
    width: 42px; height: 42px;
    background: transparent;
    border: none;
    font-size: 19px;
    cursor: pointer;
    font-weight: 700;
    color: var(--primary);
    transition: background .15s;
}
.qty-control button:hover { background: var(--success-bg); }
.qty-control input {
    width: 58px;
    height: 42px;
    border: none;
    text-align: center;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    background: transparent;
}

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 370px; gap: 28px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-item {
    display: grid;
    grid-template-columns: 92px 1fr auto;
    gap: 18px;
    align-items: center;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform .18s, box-shadow .18s;
}
.cart-item:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.cart-item img { width: 92px; height: 92px; object-fit: cover; border-radius: 13px; }
.cart-item .thumb { width: 92px; height: 92px; display: grid; place-items: center; background: linear-gradient(145deg,#f8f7fc,#f0eef9); border-radius: 13px; font-size: 42px; }
.cart-item-name { font-family: var(--font-head); font-weight: 600; }
.cart-item-price { color: var(--text-muted); font-size: 14px; }
.cart-item-right { text-align: right; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.cart-item-subtotal { font-weight: 700; font-family: var(--font-head); color: var(--primary-dark); font-size: 17px; }
.remove-link { font-size: 13px; color: var(--danger); font-weight: 600; background: none; border: none; cursor: pointer; }

.summary { position: sticky; top: 92px; }
.summary h3 { font-family: var(--font-head); margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 10px; color: var(--text-muted); }
.summary-row.total { border-top: 1px dashed var(--border); padding-top: 16px; margin-top: 16px; color: var(--text); font-weight: 700; font-size: 19px; font-family: var(--font-head); }
.empty-state { text-align: center; padding: 70px 20px; color: var(--text-muted); }
.empty-state .big { font-size: 76px; margin-bottom: 18px; filter: drop-shadow(0 16px 30px var(--primary-35)); }

/* ---------- Flash ---------- */
.flash {
    padding: 14px 18px;
    border-radius: 13px;
    font-weight: 600;
    margin: 20px 0;
    border: 1px solid transparent;
    animation: slideDown .3s ease;
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.flash-success { background: var(--success-bg); color: var(--primary-dark); border-color: var(--primary-35); }
.flash-danger { background: var(--danger-bg); color: #9b1c1c; border-color: rgba(224,36,36,.3); }
.flash-warning { background: var(--warning-bg); color: #92400e; border-color: rgba(255,138,61,.35); }

/* ---------- Footer ---------- */
.site-footer {
    background: linear-gradient(140deg, #08110f, #0c1a16 55%, #071310);
    color: #94a3a0;
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--cyan), transparent);
    opacity: .6;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    padding: 48px 22px 36px;
}
.footer-inner strong { color: #fff; display: block; margin-bottom: 12px; font-family: var(--font-head); }
.footer-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid var(--primary-35);
    background: var(--primary-12);
    color: #6ee7b7;
    font-size: 13px;
    font-weight: 600;
    transition: all .18s;
}
.footer-wa:hover { background: var(--primary-25); transform: translateY(-1px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 22px; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Contato ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}
.contact-card {
    text-align: center;
    transition: transform .2s, box-shadow .2s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--glow); }
.contact-icon {
    width: 58px; height: 58px;
    margin: 0 auto 14px;
    display: grid; place-items: center;
    font-size: 26px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-14), var(--primary-08));
    border: 1px solid var(--border);
}
.contact-card h3 { font-family: var(--font-head); margin-bottom: 10px; }
.vet-list li { padding: 8px 0; border-bottom: 1px dashed var(--border); text-align: left; }
.vet-list li:last-child { border-bottom: none; }

/* ---------- Dicas ---------- */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.tip-card {
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform .22s cubic-bezier(.2,.8,.3,1.1), box-shadow .22s;
}
.tip-card:hover { transform: translateY(-6px); box-shadow: var(--glow); }
.tip-icon {
    width: 52px; height: 52px;
    display: grid; place-items: center;
    font-size: 24px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary-14), var(--primary-08));
    border: 1px solid var(--border);
}
.tip-title { font-family: var(--font-head); font-size: 18px; font-weight: 700; }
.tip-body { color: var(--text-muted); font-size: 14.5px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .hero { grid-template-columns: 1fr; padding: 44px 28px; text-align: center; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-badges { justify-content: center; }
    .hero-visual { display: none; }
    .product-detail { grid-template-columns: 1fr; }
    .cart-layout { grid-template-columns: 1fr; }
    .summary { position: static; }
    .footer-inner { grid-template-columns: 1fr; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: rgba(255,255,255,.96);
        backdrop-filter: blur(18px);
        flex-direction: column;
        padding: 14px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }
    .main-nav.open { display: flex; }
    .menu-toggle { display: flex; }
    .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
