/* Poppins is loaded here rather than with <link> tags: extra tags in <head> break React's hydration. */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

/* mCaffeine-inspired theme for this copy of the portfolio: mCaffeine teal (#04a998), black
   buttons, a sunny yellow offer strip with red text, and Poppins throughout, like mcaffeine.com.
   Overrides the site's own colour variables (html[...] beats the original [data-theme=...]).
   This copy is light mode only (forced in index.html). */

html[data-theme] {
  --mc-teal: #04a998;
  --mc-teal-deep: #038a7c;
  --mc-mint: #e6f6f3;
  --mc-yellow: #ffd31a;
  --mc-red: #d9361b;
  --mc-ink: #111111;
  --font-geist-sans: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --radius-card: 1rem;
}

html[data-theme=product] {
  --color-surface: #ffffff;
  --color-surface-raised: #ffffff;
  --color-surface-sunken: #f5faf9;
  --color-muted: #f2f8f7;
  --color-on-muted: #3b3b3b;
  --color-primary: #04a998;
  --color-primary-hover: #038a7c;
  --color-on-primary: #ffffff;
  --color-primary-subtle: #e6f6f3;
  --color-primary-text: #038a7c;
  --color-primary-border: #9fdcd3;
  --color-text-default: #111111;
  --color-text-muted: #4d4d4d;
  --color-text-faint: #8a8a8a;
  --color-border-default: #ececec;
  --color-border-emphasis: #dcdcdc;
  --color-border-strong: #c4c4c4;
  --color-focus-ring: #04a998;
}

header button[aria-label="Switch to Light theme"],
header button[aria-label="Switch to Dark theme"] { display: none !important; }

/* Hero name in Poppins, like mCaffeine's headings (main uses a serif here). */
main h1 { font-family: "Poppins", ui-sans-serif, system-ui, sans-serif; font-weight: 600; letter-spacing: -0.025em; }

/* Ticker strip: mCaffeine's yellow offer bar with red text. */
.construction-banner { background: var(--mc-yellow); color: var(--mc-red); border-color: transparent; font-weight: 600; }

/* Header: white like mcaffeine.com, with the active section in a teal pill (their "Get App" pill). */
header.sticky nav a.is-active { background: var(--mc-teal); color: #fff; }
header.sticky nav a:hover { color: var(--mc-ink); }

/* Buttons: black primaries like "ADD TO CART", outlined black secondaries. */
a[data-ph-cta="hero"], .btn-flat-primary {
  background: var(--mc-ink) !important; color: #fff !important; border-radius: 8px;
  text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600;
}
a[data-ph-cta="hero"]:hover, .btn-flat-primary:hover { background: #333 !important; }

/* Tags ("D2C · ₹1.9 Lakh+…") as teal pills, like the "BEST SELLER" badges. */
.gs-tag { background: var(--mc-teal); color: #fff; border-color: transparent; text-transform: uppercase; letter-spacing: 0.04em; }

/* Why mCaffeine: three cards in a row on wide screens. */
@media (min-width: 900px) { .gs-grid.three { grid-template-columns: repeat(3, 1fr); } }
.gs-pitch { display: flex; flex-direction: column; gap: 12px; }
.gs-pitch-icon {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none;
  border-radius: 14px; background: var(--mc-mint); font-size: 22px;
}
.gs-pitch-proof {
  margin-top: auto; padding: 10px 12px; border-radius: 10px;
  background: var(--mc-mint); color: #2b4a46; font-size: 0.875rem; line-height: 1.5;
}
.gs-pitch-proof b { color: var(--mc-teal-deep); }

/* Hero card (mcaffeine-card.js): hides the globe + photo and shows a product-card-style card. */
div.aspect-square.max-w-\[960px\] > :not(.gs-mc-wrap) { visibility: hidden; }
div.aspect-square.max-w-\[960px\] { clip-path: none !important; }
.gs-mc-wrap {
  position: absolute; inset: 4% 4%; z-index: 5;
  display: flex; align-items: center; justify-content: center;
}

.gs-mc-card {
  width: min(100%, 340px); background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 22px 44px -22px rgb(0 0 0 / 0.35), 0 0 0 1px #eee;
}
.gs-mc-media { position: relative; height: 230px; overflow: hidden; }
.gs-mc-media.ey { background: radial-gradient(110% 90% at 50% 100%, #9fe0d6 0%, #d3f1ec 50%, #eefaf8 100%); }
.gs-mc-media.ey img { position: absolute; left: 50%; bottom: -10px; height: 116%; translate: -50% 0; }
.gs-mc-pill {
  position: absolute; left: 10px; top: 10px; background: var(--mc-teal); color: #fff;
  font: 600 11px/1 "Poppins", sans-serif; letter-spacing: 0.03em; padding: 6px 10px; border-radius: 999px;
}
.gs-mc-badge {
  position: absolute; right: 10px; top: 10px; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; background: #fff; color: var(--mc-teal-deep);
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--mc-teal);
  font: 700 18px/1 "Poppins", sans-serif;
}
.gs-mc-badge small { display: block; font-size: 7.5px; font-weight: 600; letter-spacing: 0.04em; margin-top: 2px; text-transform: uppercase; }
.gs-mc-rating {
  position: absolute; left: 10px; bottom: 10px; background: #fff; color: #333;
  font: 500 12px/1 "Poppins", sans-serif; padding: 6px 9px; border-radius: 999px;
}
.gs-mc-rating .star { color: #f5b301; }
.gs-mc-body { padding: 14px 16px 16px; }
.gs-mc-title { margin: 0; font: 600 18px/1.3 "Poppins", sans-serif; color: var(--mc-ink); }
.gs-mc-sub { margin: 6px 0 10px; font: 400 12.5px/1.45 "Poppins", sans-serif; color: #444; }
.gs-mc-price { margin: 0 0 12px; font: 600 20px/1.2 "Poppins", sans-serif; color: var(--mc-ink); }
.gs-mc-price span { font-size: 12px; font-weight: 500; color: #666; margin-left: 4px; }
.gs-mc-btn {
  display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 8px;
  background: var(--mc-ink); color: #fff; font: 600 14px/1 "Poppins", sans-serif; letter-spacing: 0.05em;
  text-decoration: none; cursor: pointer; border: 0; width: 100%;
}
.gs-mc-btn:hover { background: #333; }
@media (max-width: 767px) {
  .gs-mc-wrap { inset: 2% 0; gap: 10px; }
  .gs-mc-card { width: min(100%, 300px); }
  .gs-mc-media { height: 128px; }
  .gs-mc-badge { width: 48px; height: 48px; font-size: 15px; }
  .gs-mc-body { padding: 10px 14px 12px; }
  .gs-mc-title { font-size: 15px; }
  .gs-mc-sub { margin: 4px 0 6px; }
  .gs-mc-price { font-size: 17px; margin-bottom: 8px; }
  .gs-mc-btn { height: 38px; font-size: 13px; }
}
