/* TambolaTickets.com — one small stylesheet, mobile first */
:root {
  --navy: #2b3467;
  --navy-dark: #1d2450;
  --red: #c52b1e;
  --red-dark: #a3231a;
  --yellow: #f8c630;
  --ink: #1f2330;
  --muted: #5e6475;
  --line: #e3e5ec;
  --bg: #f6f7fb;
  --white: #fff;
  --green: #1e7f4f;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(29, 36, 80, .08);
  --head: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --body: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--body); color: var(--ink); background: var(--white); }
/* footer always at the bottom: the content fills the space on short pages */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; width: 100%; }
body > .site-footer { flex-shrink: 0; margin-top: 1rem; } /* the content's own bottom margin no longer merges with this one */
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.25; color: var(--navy-dark); margin: 0 0 .6em; }
h1 { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.2rem); }
h2 { font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.section { margin: 2rem 0; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--yellow); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
.hp { position: absolute; left: -9999px; }
.muted, .hint, small { color: var(--muted); }
.hint { font-size: .9rem; }
.opt { font-weight: 400; color: var(--muted); }

/* ---------- buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .6rem 1.1rem; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--navy-dark); font: 600 1rem var(--body); text-decoration: none; cursor: pointer; line-height: 1.3; }
.btn:hover { border-color: var(--navy); color: var(--navy); }
.btn-primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-dark); color: #fff; }
.btn-lg { padding: .8rem 1.5rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }
.linkish { background: none; border: 0; padding: 0; color: var(--navy); text-decoration: underline; cursor: pointer; font: inherit; }
input, select, textarea { font: inherit; color: var(--ink); width: 100%; padding: .6rem .7rem; border: 1px solid #c9ccd8; border-radius: 8px; background: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--red); }
.form .field, .field { margin-bottom: 1rem; }
.field label, .label { display: block; font-weight: 600; margin-bottom: .3rem; }
.field small { display: block; margin-top: .25rem; }
.field-row { display: grid; gap: 0 1rem; grid-template-columns: 1fr; }
.field-check { display: flex; gap: .6rem; align-items: flex-start; margin: 1rem 0; font-size: .95rem; }
.field-check input { margin-top: .3rem; }
.radio { display: flex; gap: .6rem; align-items: flex-start; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 8px; margin-bottom: .5rem; cursor: pointer; background: #fff; }
.radio:has(input:checked) { border-color: var(--navy); background: #f2f4ff; }
fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }
legend { font: 600 1.15rem var(--head); color: var(--navy-dark); margin-bottom: .7rem; }
.notice { padding: .8rem 1rem; border-radius: 8px; background: #fff7dd; border: 1px solid #f1d98a; margin: 0 0 1rem; }
.notice.ok { background: #e9f7ef; border-color: #a7dcbe; }
.notice.error { background: #fdecea; border-color: #f2b5ae; }
.notice ul { margin: 0; padding-left: 1.2rem; }

/* ---------- header ---------- */
.topbar { background: var(--navy-dark); color: #dfe3f5; font-size: .85rem; }
.topbar a { color: #fff; text-decoration: none; }
.topbar-row { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 16px; flex-wrap: wrap; }
.topbar-links { display: none; gap: 1.2rem; }
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.header-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: .6rem; padding: .6rem 16px; }
.brand { color: #fff; text-decoration: none; display: flex; align-items: center; }
.brand img { max-height: 46px; width: auto; }
.brand-text { font: 700 1.25rem var(--head); color: #fff; }
.brand-text b { color: var(--yellow); }
.site-header .search { grid-column: 1 / -1; order: 3; }
.search { position: relative; display: flex; }
.search input { border-radius: 8px 0 0 8px; border: 0; height: 44px; }
.search button { border: 0; background: var(--red); color: #fff; font-weight: 600; padding: 0 1.1rem; border-radius: 0 8px 8px 0; cursor: pointer; }
.search button:hover { background: var(--red-dark); }
.search-big { max-width: 640px; margin: 1rem 0; }
.search-big input { border: 1px solid #c9ccd8; }
.header-icons { display: flex; align-items: center; gap: .2rem; }
.cart-link, .acct-link { position: relative; color: #fff; display: inline-flex; padding: .4rem; }
.acct-link:hover, .cart-link:hover { color: var(--yellow); }
.cart-count { position: absolute; top: -2px; right: -4px; background: var(--yellow); color: var(--navy-dark); font-size: .75rem; font-weight: 700; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 4px; }
.menu-toggle { background: none; border: 0; color: #fff; padding: .5rem; cursor: pointer; }
.burger, .burger::before, .burger::after { display: block; width: 24px; height: 2px; background: currentColor; position: relative; }
.burger::before, .burger::after { content: ''; position: absolute; }
.burger::before { top: -7px; } .burger::after { top: 7px; }
.nav { display: none; background: var(--navy-dark); max-height: calc(100vh - 120px); overflow-y: auto; }
.nav.open { display: block; }
.nav-list { list-style: none; margin: 0; padding: .3rem 16px .8rem; }
.nav-list > li { position: relative; border-bottom: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; align-items: center; }
.nav-list a { color: #fff; text-decoration: none; display: block; padding: .6rem 0; flex: 1; font-weight: 500; }
.nav-list a:hover { color: var(--yellow); }
.sub-toggle { background: none; border: 0; color: #fff; width: 40px; height: 40px; cursor: pointer; }
.sub-toggle::after { content: '▾'; }
.nav-list .sub { display: none; list-style: none; margin: 0 0 .5rem; padding: 0 0 0 1rem; width: 100%; }
.nav-list li.open > .sub { display: block; }
.nav-list .sub a { padding: .4rem 0; font-weight: 400; color: #dfe3f5; }
.notice-bar { background: #eef0f7; color: var(--navy-dark); font-size: .9rem; text-align: center; padding: .5rem 0; }

/* ---------- suggestions ---------- */
.suggest { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; list-style: none; margin: 4px 0 0; padding: .3rem 0; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); max-height: 70vh; overflow-y: auto; text-align: left; }
.suggest a { display: flex; align-items: center; gap: .6rem; padding: .45rem .8rem; color: var(--ink); text-decoration: none; }
.suggest [aria-selected=true] a, .suggest a:hover { background: #f2f4ff; }
.suggest img { width: 36px; height: 36px; object-fit: cover; border-radius: 4px; }
.sg-t { flex: 1; font-size: .95rem; }
.sg-k { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.sg-all a { color: var(--navy); font-weight: 600; }
mark { background: #fff2b3; color: inherit; }

/* ---------- breadcrumbs, chips, lists ---------- */
.crumbs { font-size: .85rem; color: var(--muted); margin: 1rem 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.list-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; }
.list-head h1 { margin: 0; }
.sort select { width: auto; padding: .45rem .6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.chips a { padding: .35rem .8rem; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); text-decoration: none; font-size: .9rem; }
.chips a:hover { border-color: var(--navy); }
.count { color: var(--muted); font-size: .9rem; margin: .8rem 0; }
.plain-list { padding-left: 1.2rem; }

/* ---------- product cards ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.card a:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.card-img { position: relative; aspect-ratio: 1; background: #fff; display: block; border-bottom: 1px solid var(--line); }
.card-img img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 6px; } /* whole picture visible, never cut */
.badge { position: absolute; top: 8px; left: 8px; background: var(--yellow); color: var(--navy-dark); font-weight: 700; font-size: .75rem; padding: .15rem .5rem; border-radius: 4px; }
.card-title { padding: .6rem .7rem .2rem; font-size: .92rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-price { padding: 0 .7rem .7rem; margin-top: auto; font-weight: 700; color: var(--red); }
.cat-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.cat-tiles a { display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); height: 100%; }
.cat-tiles a:hover { box-shadow: var(--shadow); }
.tile-img { aspect-ratio: 1; background: var(--bg); }
.tile-img img { width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; }
.tile-name { font-weight: 600; padding: .5rem .7rem 0; color: var(--navy-dark); }
.tile-count { font-size: .85rem; color: var(--muted); padding: 0 .7rem .6rem; }
.pager { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin: 2rem 0; }
.pager a, .pager span { padding: .4rem .8rem; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }
.pager [aria-current] { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- home ---------- */
.hero { background: linear-gradient(135deg, var(--navy) 0%, #47398f 100%); color: #fff; padding: 1rem 0 1.1rem; }
.hero h1 { color: #fff; max-width: 780px; font-size: clamp(1.25rem, 2.6vw, 1.7rem); margin: 0 0 .25rem; }
.hero .lead { font-size: .95rem; max-width: 680px; color: #e8eaf7; margin: 0; }
.hero .search-big input { border: 0; }
.usp { list-style: none; padding: 0; margin: .7rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.usp li { background: rgba(255,255,255,.1); border-radius: 99px; padding: .25rem .75rem; font-size: .85rem; }
.usp b { color: var(--yellow); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.section-head a { font-weight: 600; white-space: nowrap; }
.how { background: var(--bg); border-radius: var(--radius); padding: 1.5rem; }
.steps { padding-left: 1.3rem; }
.steps li { margin-bottom: .5rem; }

/* ---------- product page ---------- */
.product { display: grid; gap: 1.5rem; margin-bottom: 2rem; }
.main-img { display: block; background: var(--bg); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.main-img img { width: 100%; height: auto; display: block; }
.thumbs { display: flex; gap: .5rem; margin-top: .6rem; overflow-x: auto; }
.thumb { border: 2px solid transparent; padding: 0; background: none; border-radius: 6px; cursor: pointer; flex: 0 0 72px; }
.thumb.active { border-color: var(--red); }
.thumb img { display: block; width: 72px; height: 90px; object-fit: contain; background: #fff; border-radius: 4px; }
.product-info h1 { font-size: clamp(1.35rem, 1rem + 1.4vw, 1.9rem); }
.price-range { font-size: 1.35rem; font-weight: 700; color: var(--red); margin-bottom: 1rem; }
.price-range small, .var-price small { font-weight: 400; font-size: .85rem; }
.buy { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; margin-bottom: 1.2rem; }
.type-choices { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.type-choice { cursor: pointer; }
.type-choice input { position: absolute; opacity: 0; }
.type-choice span { display: block; height: 100%; padding: .7rem .8rem; border: 2px solid var(--line); border-radius: 8px; background: #fff; }
.type-choice b { display: block; color: var(--navy-dark); }
.type-choice small { display: block; font-size: .8rem; line-height: 1.35; margin-top: .15rem; }
.type-choice input:checked + span { border-color: var(--red); background: #fff6f5; }
.type-choice input:focus-visible + span { outline: 2px solid var(--navy); }
.var-price { font-size: 1.5rem; margin: .3rem 0; min-height: 2.2rem; }
.var-price strong { color: var(--red); }
.var-price del { color: var(--muted); font-size: 1.05rem; }
.var-desc { font-size: .92rem; color: var(--muted); min-height: 1.4em; }
.qty-row { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .8rem; margin: .5rem 0 1rem; }
.qty-row label { font-weight: 600; }
.qty-row input { width: 90px; }
.qty-row small { width: 100%; }
.buy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.short-desc { font-size: .95rem; }
.meta { font-size: .9rem; color: var(--muted); }
.product-desc { border-top: 1px solid var(--line); padding-top: 1.5rem; }

/* ---------- prose ---------- */
.prose { overflow-wrap: break-word; }
.prose img { border-radius: 6px; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose table { border-collapse: collapse; width: 100%; }
.prose td, .prose th { border: 1px solid var(--line); padding: .4rem .6rem; }
.prose iframe { max-width: 100%; aspect-ratio: 16/9; height: auto; }
.entry { max-width: 860px; margin: 1.5rem auto 2rem; }
.post-list { list-style: none; padding: 0; display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
.post-list a { text-decoration: none; display: block; }
.post-list img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius); display: block; margin-bottom: .5rem; }
.post-title { font: 600 1.1rem var(--head); color: var(--navy-dark); }

/* ---------- cart & checkout ---------- */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.cart-table th { text-align: left; font-size: .85rem; color: var(--muted); border-bottom: 1px solid var(--line); padding: .5rem; }
.cart-table td { padding: .7rem .5rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-item { display: flex; gap: .8rem; align-items: center; }
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; }
.qty { width: 72px; }
.remove { font-size: 1.4rem; text-decoration: none; color: var(--muted); }
.cart-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.coupon { display: flex; gap: .5rem; align-items: center; max-width: 380px; }
.cart-summary, .checkout-side { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.cart-summary { max-width: 420px; margin-left: auto; margin-bottom: 2rem; }
.totals { width: 100%; border-collapse: collapse; margin: .5rem 0 1rem; }
.totals th { text-align: left; font-weight: 400; padding: .4rem 0; }
.totals td { text-align: right; padding: .4rem 0; white-space: nowrap; }
.totals tr + tr th, .totals tr + tr td { border-top: 1px solid var(--line); }
.totals .grand th, .totals .grand td { font-weight: 700; font-size: 1.15rem; color: var(--navy-dark); }
.totals .discount td { color: var(--green); }
.checkout { display: grid; gap: 1.5rem; margin-bottom: 2rem; }
.mini-lines { list-style: none; padding: 0; margin: 0 0 .5rem; }
.mini-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.order-line { display: flex; justify-content: space-between; font-size: 1.1rem; background: var(--bg); padding: .8rem 1rem; border-radius: 8px; }
.file-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.file-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 8px; margin-bottom: .5rem; background: #fff; }
.downloads { background: #f2fbf6; border: 1px solid #bfe5cf; border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1.5rem; }
.address { background: var(--bg); padding: .8rem 1rem; border-radius: 8px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-dark); color: #cfd4ea; margin-top: 3rem; padding: 2rem 0 1rem; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-cols { display: grid; gap: 1.5rem; }
.footer-name, .footer-h { font: 600 1.05rem var(--head); color: #fff; margin-bottom: .5rem; }
.footer-brand { display: inline-flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.footer-brand img { width: 72px; height: 72px; object-fit: contain; flex: none; }
.footer-brand .footer-name { margin: 0; font-size: 1.15rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .35rem; }
.apps a { margin-left: .5rem; text-decoration: underline; }
.copy { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1rem; margin-top: 1.5rem; font-size: .85rem; }
.site-footer .linkish { color: #cfd4ea; }
.wa-float { position: fixed; right: 16px; bottom: 16px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.25); z-index: 40; }
.wa-float:hover { color: #fff; transform: scale(1.05); }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 30px rgba(0,0,0,.18); padding: 1rem; z-index: 70; font-size: .92rem; }
.consent-actions { display: flex; gap: .5rem; justify-content: flex-end; }

/* ---------- larger screens ---------- */
@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cat-tiles { grid-template-columns: repeat(3, 1fr); }
  .field-row { grid-template-columns: 2fr 2fr 1fr; }
  .post-list { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 2fr 1fr 1fr; }
  .topbar-links { display: flex; }
}
@media (min-width: 900px) {
  .cards { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .cat-tiles { grid-template-columns: repeat(6, 1fr); }
  .header-row { grid-template-columns: auto 1fr auto; gap: 1.5rem; }
  .site-header .search { grid-column: auto; order: 0; max-width: 620px; width: 100%; justify-self: center; }
  .menu-toggle { display: none; }
  .nav { display: block; max-height: none; overflow: visible; }
  .nav-list { display: flex; flex-wrap: wrap; justify-content: center; padding: 0 16px; }
  .nav-list > li { border: 0; }
  .nav-list > li > a { padding: .65rem .75rem; font-size: .9rem; text-transform: uppercase; letter-spacing: .02em; }
  .sub-toggle { display: none; }
  .nav-list .sub { position: absolute; left: 0; top: 100%; min-width: 240px; background: #fff; box-shadow: var(--shadow); border-radius: 0 0 8px 8px; padding: .4rem 0; z-index: 55; }
  .nav-list li:hover > .sub, .nav-list li:focus-within > .sub { display: block; }
  .nav-list .sub a { color: var(--ink); padding: .4rem 1rem; }
  .nav-list .sub a:hover { background: var(--bg); color: var(--red); }
  .nav-list .sub.cols2 { columns: 2; min-width: 460px; }
  .nav-list .sub.cols3 { columns: 3; min-width: 660px; }
  .nav-list .sub li { break-inside: avoid; }
  .nav-list > li:nth-last-child(-n+3) > .sub { left: auto; right: 0; }
  .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; }
  .checkout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
  .checkout-side { position: sticky; top: 140px; }
  .post-list { grid-template-columns: repeat(3, 1fr); }
  .hero { padding: 1.3rem 0; }
  .hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
  .hero .usp { margin: 0; flex-direction: column; flex-shrink: 0; }
}
@media (max-width: 640px) {
  .cart-table thead { display: none; }
  .cart-table tr { display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .cart-table td { border: 0; padding: .1rem 0; }
  .cart-table td.cart-item { grid-column: 1 / -1; }
  .cart-table td[data-label]::before { content: attr(data-label) ': '; color: var(--muted); font-size: .85rem; }
  .buy-actions { grid-template-columns: 1fr; }
}
@media print {
  .site-header, .topbar, .site-footer, .wa-float, .consent, .notice-bar { display: none !important; }
}

/* ---------- my account ---------- */
.acct-cols { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 820px) { .acct-cols { grid-template-columns: 1fr 1fr; } }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.box h2 { font-size: 1.25rem; }
.acct-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.acct-head h1 { margin-bottom: .2rem; }
.acct-tabs { display: flex; flex-wrap: wrap; gap: .3rem; border-bottom: 1px solid var(--line); margin: 1rem 0 1.2rem; }
.acct-tabs a { padding: .55rem .9rem; text-decoration: none; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.acct-tabs a[aria-current=page] { color: var(--navy-dark); border-bottom-color: var(--red); }
.table-scroll { overflow-x: auto; }
.ost { display: inline-block; padding: .1rem .5rem; border-radius: 99px; font-size: .82rem; font-weight: 600; background: #eef0f7; color: var(--navy-dark); white-space: nowrap; }
.ost-processing, .ost-completed, .ost-shipped { background: #e9f7ef; color: var(--green); }
.ost-failed, .ost-cancelled, .ost-refunded { background: #fdecea; color: var(--red-dark); }
@media (max-width: 640px) {
  .acct-table thead { display: none; }
  .acct-table, .acct-table tbody, .acct-table tr, .acct-table td { display: block; width: 100%; }
  .acct-table tr { border: 1px solid var(--line); border-radius: 8px; margin-bottom: .8rem; padding: .3rem .2rem; }
  .acct-table td { border: 0; padding: .3rem .6rem; }
  .acct-table td[data-l]::before { content: attr(data-l); display: block; font-size: .78rem; color: var(--muted); }
}

.var-each { display: block; font-size: .9rem; color: var(--muted); font-weight: 400; }

/* ---------- YouTube pop-up ---------- */
.yt-modal { position: fixed; inset: 0; z-index: 200; background: rgba(10, 12, 25, .82); display: flex; align-items: center; justify-content: center; padding: 16px; }
.yt-inner { position: relative; width: min(960px, 100%); }
.yt-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-close { position: absolute; top: -44px; right: 0; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
.yt-close:hover { background: var(--yellow); }

/* ---------- home: upcoming festivals ---------- */
.festival-block { background: linear-gradient(135deg, #fff7dd, #fdecea); border: 1px solid #f1d98a; border-radius: var(--radius); padding: 1.2rem 1.2rem .4rem; }
.festival-block h2 { color: var(--red-dark); }
.festival-links { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; }
.chip { display: inline-block; padding: .3rem .75rem; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 600; text-decoration: none; }
.chip:hover { border-color: var(--red); color: var(--red); }
.card[hidden] { display: none; }

/* ---------- search: nothing found ---------- */
.no-results { background: linear-gradient(135deg, #fff7dd, #eef0f7); border: 1px solid #f1d98a; border-radius: var(--radius); padding: 1.5rem 1.4rem; margin: 1.2rem 0 2rem; text-align: center; }
.no-results h2 { color: var(--red-dark); margin-bottom: .4rem; }
.no-results .lead { max-width: 640px; margin: 0 auto 1rem; }
.no-results-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: .8rem; }
.no-results-try { font-weight: 600; margin: 1rem 0 .4rem; }
.no-results .chips { justify-content: center; }
.sg-none { padding: .5rem .8rem .2rem; color: var(--muted); font-size: .9rem; }

.festival-title { margin-bottom: .8rem; }
.festival-row + .festival-row { margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px dashed #e8c76a; }
.festival-row h3 { font-size: 1.2rem; margin: 0; color: var(--navy-dark); }
.fest-date { display: inline-block; margin-left: .4rem; padding: .1rem .55rem; border-radius: 99px; background: var(--red); color: #fff; font: 600 .8rem var(--body); vertical-align: middle; }
@media (min-width: 900px) { .festival-row .cards { grid-template-columns: repeat(4, 1fr); } }
.fest-month { background: var(--navy); }
.fest-season { background: var(--green); }

/* ---------- currency switch ---------- */
.cur-switch { display: inline-flex; border: 1px solid rgba(255,255,255,.35); border-radius: 99px; overflow: hidden; margin-right: .6rem; }
.cur-switch a { padding: .05rem .55rem; font-size: .8rem; text-decoration: none; }
.cur-switch a[aria-current=true] { background: var(--yellow); color: var(--navy-dark); font-weight: 700; }
.approx-usd { display: block; font-weight: 400; color: var(--muted); }
.totals .fx td { text-align: left; padding-top: .4rem; }

/* ---------- home: about section ---------- */
.home-about { text-align: left; }
.home-about-lead { max-width: 60rem; color: var(--ink-soft, #4a5068); margin-bottom: 1.25rem; }
.about-grid { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin-bottom: 1.25rem; }
.about-card { display: block; padding: 1rem 1.1rem; border: 1px solid var(--line, #e3e6ef); border-radius: var(--radius, 10px); background: #fff; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.about-card:hover { border-color: var(--navy, #2b3467); box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.about-card b { display: block; font-family: var(--head, inherit); color: var(--navy, #2b3467); margin-bottom: .25rem; }
.about-card span { font-size: .92rem; color: var(--ink-soft, #4a5068); }
.about-features { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.about-features li { padding-left: 1.4rem; position: relative; font-size: .95rem; }
.about-features li::before { content: "✓"; position: absolute; left: 0; color: #2e9e5b; font-weight: 700; }
.about-also { font-size: .92rem; color: var(--ink-soft, #4a5068); }
.product-about ul { padding-left: 1.2rem; }
