/* ===== Common style (every page): header, footer, buttons ===== */
:root {
    --ink: #1c1946;
    --grey: #5b5a78;
    --violet: #6c4cf1;
    --blue: #1e90ff;
    --coral: #f0524f;
    --gold: #c9974b;
    --light: #f4f2fb;
    --blush: #fdf1f4;
    --line: #e4e1f2;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Plus Jakarta Sans', sans-serif; color: var(--ink); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: 'Fraunces', serif; margin: 0; line-height: 1.15; }
.container { width: min(1180px, 100% - 40px); margin: 0 auto; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-block; padding: 11px 22px; border: 0; border-radius: 30px; color: #fff; font: 600 14px 'Plus Jakarta Sans', sans-serif; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(28, 25, 70, .18); }
.btn.small { padding: 8px 16px; font-size: 13px; }
.btn.big { padding: 15px 32px; font-size: 16px; }
.blue { background: var(--blue); }
.violet { background: var(--violet); }
.coral { background: var(--coral); }
.ghost { background: var(--light); color: var(--ink); }
.outline { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }

/* Announcement bar */
.announce { background: var(--ink); color: #fff; font-size: 13px; }
.announce .container { display: flex; justify-content: center; align-items: center; gap: 14px; padding: 8px 0; text-align: center; }
.announce a { color: #ffd9a0; font-weight: 700; text-decoration: underline; }

/* Header */
.header { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.header-top { display: flex; align-items: center; gap: 24px; padding: 14px 0; }
.logo { font: 700 26px 'Fraunces', serif; color: var(--violet); white-space: nowrap; }
.logo span { color: var(--gold); }
.logo.light { color: #fff; }

.search { flex: 1; display: flex; max-width: 520px; background: var(--light); border-radius: 30px; border: 2px solid transparent; }
.search:focus-within { background: #fff; border-color: var(--violet); }
.search input { flex: 1; min-width: 0; padding: 11px 18px; border: 0; background: none; font: 500 14px 'Plus Jakarta Sans', sans-serif; outline: none; }
.search button { width: 46px; border: 0; background: none; color: var(--violet); cursor: pointer; }

.tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.mini-select { padding: 7px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: 600 13px 'Plus Jakarta Sans', sans-serif; color: var(--ink); }
.icon-btn { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--light); }
.icon-btn:hover { background: var(--blush); color: var(--coral); }
.count { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--coral);
         color: #fff; font: 700 11px/18px 'Plus Jakarta Sans', sans-serif; text-align: center; font-style: normal; }

/* Menu row */
.nav-row { border-top: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 4px; }
.menu-link { display: flex; align-items: center; gap: 6px; padding: 13px 16px; font-weight: 600; font-size: 15px; }
.menu-link:hover { color: var(--coral); }
.arrow { width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); }
.partner { margin-left: auto; }

/* Dropdown (sub category + child category) */
.menu { position: relative; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; z-index: 40; width: 660px; padding: 18px; gap: 12px;
            grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: 0 0 16px 16px; border-top: 3px solid var(--violet);
            box-shadow: 0 24px 44px rgba(28, 25, 70, .16); }
.menu:hover .dropdown, .menu:focus-within .dropdown { display: grid; }
.drop-col a { display: block; padding: 3px 0; font-size: 14px; color: var(--grey); }
.drop-col a:first-child { color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.drop-col a:hover { color: var(--coral); }
.dropdown.mini { width: 210px; right: 0; left: auto; top: 100%; padding: 8px; border-radius: 12px; }
.menu:hover .dropdown.mini, .menu:focus-within .dropdown.mini { display: block; }
.dropdown.mini a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.dropdown.mini a:hover { background: var(--light); }
.small-menu { padding-bottom: 6px; margin-bottom: -6px; }

/* Page title (gift, greeting, brands pages) */
.page-title { padding: 50px 0 30px; background: linear-gradient(#f4f2fb, #fff); }
.page-title h1 { font-size: 44px; max-width: 16ch; }
.page-title p { color: var(--grey); font-size: 17px; margin: 12px 0 0; }

/* Footer */
.footer { margin-top: 90px; padding: 56px 0 24px; background: var(--ink); color: #cfcdea; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; }
.footer h4 { color: #fff; font-size: 17px; margin-bottom: 12px; }
.footer-grid a:not(.logo) { display: block; padding: 3px 0; }
.footer-grid a:hover { color: #fff; }
.social { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; }
.footer-copy { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); }

/* WhatsApp button and cookie banner */
.whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 35; width: 56px; height: 56px; display: grid; place-items: center;
            border-radius: 50%; background: #25d366; color: #fff; font-weight: 700; font-size: 13px; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 36; max-width: 420px; display: flex; align-items: center; gap: 16px; padding: 14px 18px;
          background: #fff; border-radius: 14px; box-shadow: 0 14px 40px rgba(28, 25, 70, .25); font-size: 13px; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; }
.cookie a { text-decoration: underline; color: var(--violet); }

@media (max-width: 960px) {
    .header-top { flex-wrap: wrap; gap: 12px; }
    .search { order: 3; flex-basis: 100%; max-width: none; }
    .nav { overflow-x: auto; white-space: nowrap; }
    .dropdown { display: none !important; }
    .partner { margin-left: 10px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .page-title h1 { font-size: 32px; }
}
@media (max-width: 560px) {
    .mini-select, .small-menu .ghost { display: none; }
    .announce a { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
