/* ==========================================================
   ThoTho: FINAL CSS (replaces ALL earlier CSS I gave you)
   Delete everything you pasted before, then paste only this.
   ========================================================== */

:root {
  /* Only the FOOTER logo is set here. The header logo already
     works from your platform's logo setting, so don't override it.
     Use the Postimages DIRECT link (ends in .png).
     Footer light/white background -> use the black logo.
     Footer black background       -> use a white logo.          */
  --footer-logo: url("https://i.postimg.cc/DzzTk1SB/thotho-logo-header.png");

  --brand-black: #111111;
  --brand-gold: #d4af37;
  --btn-bg: #111111;
  --btn-text: #d4af37;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --price: #b3261e;
  --border: #e6e6e6;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; }

/* ---------- 1. Announcement bar (text was invisible: dark on black) ---------- */
[class*="announcement" i],
[class*="topbar" i],
[class*="top-bar" i],
[class*="free-ship" i] {
  background: var(--brand-black) !important;
  color: var(--brand-gold) !important;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  letter-spacing: .3px;
}
[class*="announcement" i] *,
[class*="topbar" i] *,
[class*="top-bar" i] *,
[class*="free-ship" i] * {
  color: var(--brand-gold) !important;
}

/* ---------- 2. ALL BUTTONS: black fill, gold text ---------- */
button:not(:has(> svg:only-child)):not(:has(> img:only-child)):not(nav button):not(header button):not([aria-label*="close" i]):not([aria-label*="menu" i]):not([aria-label*="search" i]):not([aria-label*="previous" i]):not([aria-label*="next" i]),
.btn,
.button,
a.button,
input[type="submit"],
input[type="button"],
.product-card__btn,
button.add,
.hero-cta {
  background: var(--btn-bg) !important;
  color: var(--btn-text) !important;
  border: 1px solid var(--btn-text) !important;
  border-radius: 999px;
  min-height: 44px;
  padding: 10px 20px;
  font-weight: 600;
  letter-spacing: .4px;
  cursor: pointer;
  transition: background .2s, transform .1s;
}
/* icons inside those buttons follow the gold text colour */
button:not(nav button):not(header button) svg {
  fill: currentColor;
  stroke: currentColor;
}
/* remove the stray circle/box around the word "Add" */
main button span,
[class*="product" i] button span {
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  padding: 0 !important;
  color: inherit !important;
}
button:not(nav button):not(header button):active { transform: scale(.98); }

/* ---------- 3. Category tiles ---------- */
[class*="categor" i] img { object-fit: cover; }

/* ---------- 4. Section heading pill ---------- */
.section-title {
  display: inline-block;
  margin: 24px 16px 14px;
  padding: 8px 22px;
  background: var(--brand-gold);
  color: var(--brand-black);
  border-radius: 999px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

/* ---------- 5. Product grid + cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0 16px 24px;
}
@media (min-width: 768px)  { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
}
.product-card__image-wrap,
.product-card__info,
.product-card__price,
.product-card__title,
.product-card__body {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin: 0;
}
.product-card__image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #f3f3f3;
}
.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px 12px;
  flex: 1;
}
.product-card__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.product-card__price {
  font-size: 15px;
  font-weight: 700;
  color: var(--price);
}
.product-card__btn { margin-top: auto; width: 100%; }

/* ---------- 6. FOOTER LOGO (no selectors needed) ----------
   Adds the logo at the top of the footer. Does NOT touch the
   "Home" link, which is what broke the last version.        */
footer::before {
  content: "";
  display: block;
  width: 100%;
  height: 56px;
  margin: 8px 0 16px;
  background: var(--footer-logo) center / contain no-repeat;
}

/* footer links: easy to tap */
footer a { padding-top: 6px; padding-bottom: 6px; }

/* ---------- 7. Accessibility ---------- */
:focus-visible { outline: 3px solid var(--brand-gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

.color-swatch {
  background: var(--swatch-color) !important; /* or inline hex */
  width: 40px; height: 40px;
  padding: 0; font-size: 0; /* hide the label text */
  border-radius: 50%;
}


