/*
 * My Tech Monster — premium interface layer
 * Visual language derived from the coral and navy My Tech Monster logo mark.
 */

:root {
  --bg: #fffafa;
  --panel: #ffffff;
  --ink: #061631;
  --muted: #697186;
  --line: #eadde0;
  --primary: #e61c24;
  --primary-dark: #c5141b;
  --accent: #061631;
  --accent-soft: #fff1f2;
  --success: #259b5a;
  --logo-orange: #e61c24;
  --logo-orange-text: #c5141b;
  --logo-orange-soft: #fff1f2;
  --brand-mist: #ffe1e3;
  --brand-porcelain: #fffafa;
  --brand-ink: #061631;
  --brand-cobalt: #e61c24;
  --brand-royal: #ff4d55;
  --brand-gold: #ff6b72;
  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --font-utility: "IBM Plex Mono", Consolas, monospace;
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 8px 24px rgba(8, 26, 60, .07);
  --shadow-md: 0 20px 52px rgba(8, 26, 60, .11);
  --shadow-blue: 0 18px 44px rgba(241, 92, 98, .22);
  --page-width: 1240px;
  --ease-premium: cubic-bezier(.2, .75, .25, 1);
}

html {
  color-scheme: light;
  scroll-padding-top: 96px;
}

body,
.store-home,
body:not(.store-home) {
  color: var(--brand-ink);
  background:
    linear-gradient(rgba(241, 92, 98, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 92, 98, .022) 1px, transparent 1px),
    var(--brand-porcelain);
  background-size: 40px 40px;
  font-family: var(--font-body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

body::selection { color: #fff; background: var(--brand-cobalt); }

body h1,
body h2,
body h3,
body strong,
.store-home h1,
.store-home h2,
.store-home h3,
.store-home strong,
.store-home .store-wordmark,
body:not(.store-home) h1,
body:not(.store-home) h2,
body:not(.store-home) h3,
body:not(.store-home) strong {
  font-family: var(--font-display);
}

button,
input,
select,
textarea { font-family: inherit; }

a,
button,
input,
select,
textarea { -webkit-tap-highlight-color: transparent; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid rgba(72, 198, 84, .78);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Brand signature: a quiet open-book fold beneath the application content. */
.app-main {
  position: relative;
  isolation: isolate;
  min-height: 68vh;
}

.app-main::before {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  width: min(94vw, 1480px);
  height: 360px;
  background:
    linear-gradient(128deg, rgba(217, 230, 255, .66), rgba(255, 255, 255, .15) 47%, transparent 47.2%),
    linear-gradient(232deg, rgba(255, 247, 223, .72), rgba(255, 255, 255, .16) 47%, transparent 47.2%);
  clip-path: polygon(0 0, 50% 13%, 100% 0, 95% 79%, 50% 100%, 5% 79%);
  content: "";
  opacity: .72;
  transform: translateX(-50%);
  pointer-events: none;
}

/* Header and primary wayfinding */
.mobile-store-header {
  border-bottom: 1px solid rgba(156, 176, 213, .42);
  background: rgba(250, 252, 255, .9);
  box-shadow: 0 8px 30px rgba(8, 26, 60, .055);
  backdrop-filter: blur(22px) saturate(145%);
}

.store-header-inner {
  width: min(100%, calc(var(--page-width) + 48px));
  max-width: none;
  height: 78px;
  padding: 0 24px;
}

.global-store-header .store-header-inner { gap: 12px; }

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo-header {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 7px 13px rgba(8, 26, 60, .13));
}

.brand-logo-footer { width: 205px; height: auto; max-height: 76px; }

.header-brand-slogan {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: #7a8499;
  font: 700 11px var(--font-utility);
  letter-spacing: .02em;
  line-height: 1;
  white-space: nowrap;
  margin-top: 2px;
}

.brand-lockup-copy strong {
  color: var(--brand-ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.035em;
}

.brand-lockup-copy small {
  color: #7a8499;
  font: 500 9px var(--font-utility);
  letter-spacing: .07em;
  text-transform: uppercase;
}

.desktop-store-search {
  max-width: 440px;
  height: 46px;
  margin-left: 4px;
  border: 1px solid #cfdaec;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 7px 20px rgba(8, 26, 60, .045);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.desktop-store-search:focus-within {
  border-color: var(--brand-cobalt);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(24, 67, 166, .1), 0 10px 24px rgba(8, 26, 60, .08);
}

.desktop-store-search input,
.store-search input { font-family: var(--font-body); }

.desktop-store-nav {
  gap: 6px;
  color: #47546b;
  font-size: 13px;
  font-weight: 700;
}

.desktop-store-nav a {
  position: relative;
  padding: 10px 11px;
  border-radius: 9px;
  transition: color .18s ease, background-color .18s ease;
}

.desktop-store-nav a:hover,
.desktop-store-nav a.active {
  color: var(--brand-cobalt);
  background: rgba(217, 230, 255, .52);
}

.desktop-store-nav a.active::after {
  position: absolute;
  right: 12px;
  bottom: 4px;
  left: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-gold);
  content: "";
}

.store-header-actions { gap: 10px; }

.country-pill,
.header-profile {
  min-height: 40px;
  border: 1px solid #d5deec;
  border-radius: 11px;
  color: #33425c;
  background: rgba(255, 255, 255, .84);
  box-shadow: none;
  font-family: var(--font-body);
}

.country-pill:hover,
.header-profile:hover {
  border-color: #a9bddf;
  color: var(--brand-cobalt);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.country-pill-copy strong { color: var(--brand-ink); }
.language-pill .material-symbols-outlined:first-child { color: var(--brand-cobalt); }

.country-dropdown {
  margin-top: 12px;
  border: 1px solid #dce4f2;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.country-dropdown button { border-radius: 10px; font-family: var(--font-body); }
.country-dropdown button.selected,
.country-dropdown button:hover { background: var(--accent-soft); }

.header-profile.authenticated {
  border-color: #b8cae8;
  color: var(--brand-cobalt);
  background: var(--accent-soft);
}

.header-cart {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  color: var(--brand-cobalt);
  transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.header-cart:hover { color: #fff; background: var(--brand-cobalt); transform: translateY(-1px); }
.cart-count { border-color: #fff; color: var(--brand-ink); background: var(--brand-gold); }

/* Shared headings, actions and surfaces */
.app-main .page-hero,
.app-main .section,
.app-main .category-strip,
.app-main .promo-band,
.app-main .proof-section,
.app-main .lead-card,
.app-main .catalog-layout,
.app-main .checkout-layout,
.app-main .payment-page,
.app-main .account-grid,
.app-main .article-page,
.app-main .success-card,
.app-main .product-detail,
.app-main .detail-tabs,
.app-main .download-list.wide,
.app-main .page-grid { max-width: var(--page-width); }

.page-hero.compact {
  padding-top: clamp(52px, 7vw, 88px);
  padding-bottom: 32px;
}

.page-hero.compact h1,
.detail-copy h1,
.article-page h1,
.success-card h1 {
  color: var(--brand-ink);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.section-heading h2 {
  color: var(--brand-ink);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.page-hero.compact h1 {
  max-width: 920px;
  font-size: clamp(2.55rem, 5.6vw, 5.2rem);
  line-height: .98;
}

.page-hero.compact p {
  max-width: 720px;
  color: #5e6c84;
  font-size: 1.02rem;
}

.eyebrow {
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  color: #087d79;
  font: 600 10px var(--font-utility);
  letter-spacing: .15em;
}

.eyebrow::before {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-gold);
  content: "";
}

.btn,
.card-actions button,
.card-actions a,
.filters button,
.checkout-form button,
.auth-card button,
.buy-box button,
.profile-save-button {
  min-height: 46px;
  border-radius: 11px;
  font-weight: 700;
  transition: transform .18s var(--ease-premium), box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}

.btn.primary,
.searchbar button,
.card-actions button,
.filters button,
.checkout-form button,
.auth-card button,
.lead-card button,
.buy-box button,
.profile-save-button {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-cobalt), #0e347e);
  box-shadow: 0 10px 24px rgba(24, 67, 166, .2);
}

:where(.btn.primary, .card-actions button, .filters button, .checkout-form button, .buy-box button, .profile-save-button):hover {
  box-shadow: var(--shadow-blue);
  transform: translateY(-2px);
}

.btn.ghost {
  border: 1px solid #cad6e9;
  color: var(--brand-cobalt);
  background: rgba(255, 255, 255, .8);
}

.btn.ghost:hover { border-color: var(--brand-cobalt); background: #fff; }

.product-card,
.category-card,
.horizontal-card,
.blog-card,
.summary-card,
.checkout-form,
.auth-card,
.panel,
.detail-tabs article,
.success-card,
.article-page {
  border: 1px solid #dfe6f1;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow-sm);
}

input,
select,
textarea {
  color: var(--brand-ink);
  accent-color: var(--brand-cobalt);
}

input::placeholder,
textarea::placeholder { color: #98a2b3; }

/* Feedback */
.messages { z-index: 70; }
.message,
.action-toast { border-radius: var(--radius-sm); box-shadow: var(--shadow-md); }

.action-toast {
  border-color: #cdd9eb;
  color: var(--brand-ink);
  background: rgba(255, 255, 255, .97);
}

.faq-chat-launcher {
  border: 1px solid rgba(255, 255, 255, .28);
  background: linear-gradient(145deg, var(--brand-cobalt), var(--brand-ink));
  box-shadow: var(--shadow-blue);
}

.faq-chat-launcher::after {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--brand-cobalt);
  border-radius: 50%;
  background: var(--brand-gold);
  content: "";
}

.faq-chat-panel { border: 1px solid #cfd9e9; border-radius: 22px; box-shadow: 0 28px 70px rgba(8, 26, 60, .24); }
.faq-chat-header { background: linear-gradient(120deg, var(--brand-ink), var(--brand-cobalt)); }

/* Confidence rail and footer */
.footer-confidence {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(calc(100% - 40px), var(--page-width));
  margin: 64px auto 0;
  overflow: hidden;
  border: 1px solid #dce4f2;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.footer-confidence > div {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 88px;
  padding: 20px 28px;
  border-right: 1px solid #e5eaf3;
}

.footer-confidence > div:last-child { border-right: 0; }

.footer-confidence > div > .material-symbols-outlined {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: var(--brand-cobalt);
  background: var(--accent-soft);
}

.footer-confidence > div > span:last-child { display: grid; gap: 3px; }
.footer-confidence strong { color: var(--brand-ink); font-size: 14px; }
.footer-confidence small { color: #78849a; font-size: 11px; }

.modern-site-footer {
  position: relative;
  max-width: none;
  margin-top: 0;
  padding: 64px max(24px, calc((100% - var(--page-width)) / 2));
  overflow: hidden;
  color: #aab7ce;
  background: var(--brand-ink);
}

.modern-site-footer::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100%, 780px);
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
  content: "";
  transform: translateX(-50%);
}

.modern-site-footer h4 { color: #fff; font-size: 14px; }
.modern-site-footer a { color: #aab7ce; transition: color .18s ease; }
.modern-site-footer a:hover { color: var(--brand-gold); }
.modern-site-footer .brand-lockup-copy strong { color: #fff; font-size: 16px; }
.modern-site-footer .brand-lockup-copy small { color: #8998b3; }
.modern-site-footer > div:first-child > p { max-width: 430px; line-height: 1.75; }
.modern-site-footer .payment-row { color: var(--brand-mist); font-size: 11px; line-height: 1.7; }

.exchange-rate-attribution {
  padding: 0 24px 28px;
  color: #71809c;
  background: var(--brand-ink);
}

.store-bottom-nav {
  border: 1px solid rgba(194, 208, 231, .78);
  border-bottom: 0;
  background: rgba(250, 252, 255, .96);
  box-shadow: 0 -10px 34px rgba(8, 26, 60, .12);
}

.store-bottom-nav a,
.store-bottom-nav summary { color: #59677d; }
.store-bottom-nav a.active,
.store-bottom-nav a:active,
.store-bottom-nav .mobile-more-menu.active summary,
.store-bottom-nav .mobile-more-menu[open] summary { color: var(--brand-cobalt); background: var(--accent-soft); }

.mobile-more-panel { border-color: #d9e2f0; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }

/* Catalogue — the commercial heart of the experience */
.catalog-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr);
  align-items: center;
  gap: clamp(32px, 6vw, 86px);
  min-height: 490px;
  margin-top: 34px;
  padding: clamp(48px, 6vw, 78px) clamp(34px, 6vw, 76px);
  overflow: hidden;
  border: 1px solid rgba(217, 230, 255, .2);
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(56, 109, 229, .48), transparent 30%),
    radial-gradient(circle at 7% 110%, rgba(72, 198, 84, .17), transparent 34%),
    linear-gradient(120deg, #061631 0%, #172b52 55%, #f15c62 100%);
  box-shadow: 0 28px 70px rgba(8, 26, 60, .22);
}

.catalog-hero::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .18) .7px, transparent .7px);
  background-size: 18px 18px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000 62%);
  pointer-events: none;
}

.catalog-hero::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: linear-gradient(var(--brand-gold), rgba(72, 198, 84, .1));
  content: "";
}

.catalog-hero-copy { position: relative; z-index: 2; }
.catalog-hero .eyebrow { color: #8fe69a; }
.catalog-hero .eyebrow::before { background: var(--brand-gold); }

.page-hero.compact.catalog-hero h1 {
  max-width: 790px;
  color: #fff;
  font-size: clamp(3rem, 5.8vw, 5.6rem);
  line-height: .93;
}

.page-hero.compact.catalog-hero p {
  max-width: 670px;
  margin: 24px 0 0;
  color: #c9d7ee;
  font-size: clamp(.96rem, 1.6vw, 1.1rem);
  line-height: 1.72;
}

.catalog-hero-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 30px;
}

.catalog-hero-assurances > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #e6edfb;
  font-size: 12px;
  font-weight: 600;
}

.catalog-hero-assurances .material-symbols-outlined { color: var(--brand-gold); font-size: 18px; }

.catalog-hero-signature {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 330px;
  place-items: center;
}

.catalog-hero-signature::before,
.catalog-hero-signature::after {
  position: absolute;
  border: 1px solid rgba(217, 230, 255, .19);
  border-radius: 50%;
  content: "";
}

.catalog-hero-signature::before { width: 320px; height: 320px; }
.catalog-hero-signature::after { width: 245px; height: 245px; border-style: dashed; animation: mtm-orbit 26s linear infinite; }

.catalog-hero-book {
  position: relative;
  z-index: 2;
  display: grid;
  width: 218px;
  height: 176px;
  place-items: center;
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .3));
  transform: perspective(700px) rotateX(4deg) rotateZ(-2deg);
}

.catalog-hero-book-left,
.catalog-hero-book-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  border: 1px solid rgba(255, 255, 255, .26);
  background: linear-gradient(150deg, rgba(255, 255, 255, .2), rgba(37, 94, 214, .35));
  backdrop-filter: blur(5px);
}

.catalog-hero-book-left { left: 0; clip-path: polygon(0 5%, 100% 25%, 100% 100%, 0 78%); }
.catalog-hero-book-right { right: 0; clip-path: polygon(0 25%, 100% 5%, 100% 78%, 0 100%); }
.catalog-hero-book-spine { position: absolute; top: 22%; bottom: 0; left: 50%; width: 2px; background: linear-gradient(rgba(72, 198, 84, .1), var(--brand-gold)); transform: translateX(-50%); }
.catalog-hero-book strong { position: relative; z-index: 2; margin-top: 6px; color: #fff; font-size: 43px; letter-spacing: -.08em; }
.catalog-hero-book small { position: absolute; z-index: 2; bottom: 37px; color: #ffd97f; font: 600 9px var(--font-utility); letter-spacing: .12em; text-transform: uppercase; }

.catalog-hero-orbit {
  position: absolute;
  z-index: 4;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  color: #e7eefc;
  background: rgba(7, 21, 47, .7);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
  font: 600 9px var(--font-utility);
  letter-spacing: .08em;
}

.orbit-excel { top: 34px; left: 8px; }
.orbit-ohada { right: 2px; bottom: 66px; }
.orbit-ai { top: 66px; right: 17px; color: var(--brand-ink); border-color: #8fe69a; background: var(--brand-gold); }

@keyframes mtm-orbit { to { transform: rotate(360deg); } }

.catalog-layout {
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 30px;
  padding-top: 44px;
}

.filters {
  top: 100px;
  overflow: hidden;
  padding: 0;
  border: 1px solid #d8e1ef;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .95);
  box-shadow: var(--shadow-sm);
}

.filters-intro {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  color: #fff;
  background: linear-gradient(125deg, var(--brand-ink), var(--brand-cobalt));
}

.filters-intro > .material-symbols-outlined {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  color: var(--brand-ink);
  background: var(--brand-gold);
  font-size: 20px;
}

.filters-intro > div { display: grid; gap: 2px; }
.filters-intro strong { font-size: 14px; }
.filters-intro small { color: #b9c9e4; font-size: 10px; }
.filters form { gap: 18px; padding: 20px; }
.filters label { color: #3f4d65; font-size: 11px; letter-spacing: .02em; }

.filters input,
.filters select {
  min-height: 46px;
  border: 1px solid #d4deed;
  border-radius: 10px;
  color: var(--brand-ink);
  background: #fbfcff;
}

.filters input:focus,
.filters select:focus {
  border-color: var(--brand-cobalt);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(24, 67, 166, .1);
}

.filter-sheet-actions a { color: #6d7890; font-size: 11px; }

.results-head {
  align-items: flex-end;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #dce4f2;
}

.results-head > div { display: grid; gap: 4px; }
.results-head strong { color: var(--brand-ink); font-size: clamp(1.35rem, 2vw, 1.75rem); }
.results-head > small { max-width: 310px; color: #7d889c; font-size: 12px; text-align: right; }
.results-kicker { color: #9a6505; font: 600 9px var(--font-utility); letter-spacing: .12em; text-transform: uppercase; }

.catalog-active-filters { margin: 0 0 20px; border-color: #d9e3f2; border-radius: var(--radius-sm); background: #f9fbff; }
.catalog-filter-chip { border-color: #c4d2e8; color: var(--brand-cobalt); background: #fff; }

.catalog-results .product-grid,
.section .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.product-card {
  border-color: #dce4ef;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(8, 26, 60, .065);
  transition: transform .25s var(--ease-premium), border-color .25s ease, box-shadow .25s ease;
}

.product-card:hover {
  border-color: #adc1e2;
  box-shadow: 0 24px 52px rgba(8, 26, 60, .13);
  transform: translateY(-5px);
}

.product-card::after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 3;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-cobalt), var(--brand-gold));
  content: "";
  opacity: 0;
  transition: opacity .2s ease;
}

.product-card:hover::after { opacity: 1; }

.product-media {
  min-height: 240px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(217, 230, 255, .65), rgba(255, 255, 255, .86)),
    #f1f5fb;
}

.product-media::after {
  position: absolute;
  right: -34px;
  bottom: -62px;
  width: 150px;
  height: 150px;
  border: 28px solid rgba(24, 67, 166, .045);
  border-radius: 50%;
  content: "";
}

.product-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 220px;
  padding: 22px;
  filter: drop-shadow(0 16px 20px rgba(8, 26, 60, .15));
  transition: transform .35s var(--ease-premium);
}

.product-card:hover .product-media img { transform: scale(1.035) translateY(-2px); }

.favorite-button {
  width: 40px;
  height: 40px;
  border-color: rgba(184, 199, 223, .8);
  border-radius: 11px;
  color: #65738b;
  box-shadow: 0 8px 18px rgba(8, 26, 60, .1);
}

.ribbon {
  top: 13px;
  left: 13px;
  border-radius: 7px;
  background: var(--success);
  box-shadow: 0 7px 16px rgba(8, 122, 85, .2);
  font: 600 9px var(--font-utility);
  letter-spacing: .05em;
}

.ribbon.soft { background: var(--brand-cobalt); }

.product-body { gap: 11px; padding: 18px; }
.product-card-topline { align-items: center; }
.product-card-topline > span:first-child { color: #9a6505; font: 600 9px var(--font-utility); letter-spacing: .08em; }
.product-card-topline .product-reference { padding: 4px 6px; color: #64718a; border-color: #dbe3ef; background: #f8faff; font-size: 8px; }
.product-body h3 { font-size: 17px; line-height: 1.25; letter-spacing: -.025em; }
.product-body h3 a { transition: color .18s ease; }
.product-body h3 a:hover { color: var(--brand-cobalt); }
.product-body p { color: #68758b; font-size: 12px; line-height: 1.58; }

.price-row {
  align-items: flex-end;
  margin-top: 3px;
  padding-top: 13px;
  border-top: 1px solid #e7ebf3;
}

.price-row strong { color: var(--brand-ink); font-size: 1.35rem; letter-spacing: -.035em; }
.price-row del { margin-bottom: 2px; font-size: 11px; }
.price-row > small { display: block; color: #98a2b3; font: 500 8px var(--font-utility); text-transform: uppercase; }

.countdown { border: 1px solid #f3c6ca; border-radius: 8px; color: var(--logo-orange-text); background: var(--logo-orange-soft); font-size: 10px; }

.card-actions { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.card-actions button { min-height: 44px; padding: 10px 13px; font-size: 11px; }
.card-actions button .material-symbols-outlined { font-size: 18px; }
.card-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; padding: 9px 11px; border-color: #ccd7e8; color: var(--brand-cobalt); font-size: 10px; }
.card-actions a .material-symbols-outlined { font-size: 16px; }
.card-actions a:hover { border-color: var(--brand-cobalt); background: var(--accent-soft); }

.empty-state {
  border: 1px dashed #b9c9df;
  border-radius: var(--radius-md);
  color: #65738a;
  background: rgba(255, 255, 255, .76);
}

/* Product page — editorial detail with a decisive purchase rail */
.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  width: min(calc(100% - 40px), var(--page-width));
  margin: 0 auto;
  padding: 28px 0 2px;
  color: #77849a;
  font-size: 11px;
}

.product-breadcrumb a { transition: color .18s ease; }
.product-breadcrumb a:hover { color: var(--brand-cobalt); }
.product-breadcrumb .material-symbols-outlined { color: #a4aec0; font-size: 15px; }
.product-breadcrumb > span:last-child { overflow: hidden; color: #3e4c64; text-overflow: ellipsis; white-space: nowrap; }

.product-detail {
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: start;
  padding-top: 32px;
}

.detail-media {
  position: sticky;
  top: 104px;
  min-height: 570px;
  border: 1px solid #d5dfed;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 75% 20%, rgba(255, 255, 255, .95), transparent 25%),
    linear-gradient(145deg, #e3ecfb, #f8faff);
  box-shadow: 0 24px 58px rgba(8, 26, 60, .13);
}

.detail-media::after {
  position: absolute;
  right: -82px;
  bottom: -92px;
  width: 260px;
  height: 260px;
  border: 48px solid rgba(24, 67, 166, .045);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.detail-media-slide { min-height: 570px; }
.detail-media img { max-width: 88%; height: 420px; filter: drop-shadow(0 26px 28px rgba(8, 26, 60, .18)); }
.detail-media-controls button,
.product-preview-controls button { border-color: #cbd7e8; color: var(--brand-cobalt); background: rgba(255, 255, 255, .92); }
.detail-media-pagination button.active,
.product-preview-pagination button.active { background: var(--brand-cobalt); }

.detail-copy { padding: 16px 0; }
.detail-copy-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.detail-copy-topline .eyebrow { margin-bottom: 0; }
.detail-product-reference { margin-top: 0; border-color: #cfd9e9; color: #65728a; background: #f9fbff; font-size: 9px; }
.detail-copy h1 { margin-top: 24px; font-size: clamp(2.55rem, 4.4vw, 4.65rem); line-height: .96; }
.detail-copy .lead { margin: 20px 0; color: #606e85; font-size: 15px; line-height: 1.72; }

.detail-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 22px 0 8px;
  padding: 20px 0;
  border-top: 1px solid #dce4f0;
  border-bottom: 1px solid #dce4f0;
}

.detail-price strong { color: var(--brand-ink); font-size: clamp(2rem, 3vw, 2.8rem); letter-spacing: -.055em; }
.detail-price span { color: #8a95a8; font: 600 10px var(--font-utility); }
.detail-favorite-form { margin: 14px 0; }
.detail-favorite-form .btn,
.detail-favorite-link { min-height: 42px; padding: 10px 14px; border-radius: 10px; }

.buy-box {
  margin-top: 12px;
  padding: 18px;
  border: 1px solid #d5dfed;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.buy-box label { color: #56647b; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
.buy-box input { min-height: 48px; border: 1px solid #ccd7e8; border-radius: 10px; background: #f9fbff; }
.buy-box button { min-height: 50px; }

.detail-purchase-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 12px 3px 18px;
  color: #76839a;
  font-size: 10px;
}

.detail-purchase-note .material-symbols-outlined { color: var(--success); font-size: 16px; }
.micro-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.micro-proof span { display: grid; justify-items: center; gap: 6px; padding: 12px 8px; border-color: #dce4ef; border-radius: 11px; color: #59677e; background: rgba(255, 255, 255, .78); font-size: 9px; text-align: center; }
.micro-proof .material-symbols-outlined { color: var(--brand-cobalt); font-size: 18px; }

.product-video,
.product-previews { max-width: var(--page-width); }
.product-video { margin-top: 46px; }
.product-video h2,
.product-preview-heading-copy h2 { color: var(--brand-ink); font-family: var(--font-display); letter-spacing: -.04em; }
.product-video-frame,
.product-preview-viewport { border-color: #d7e0ed; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.product-preview-card { background: linear-gradient(135deg, #fffafa, #fff0f1); }
.product-preview-copy { color: #fff; background: linear-gradient(145deg, var(--brand-ink), #103575); }
.product-preview-kind { color: #ffd97f; }
.product-preview-copy-footer a { color: var(--brand-ink); background: var(--brand-gold); }

.detail-tabs { padding-top: 46px; }
.detail-tabs article { padding: clamp(24px, 4vw, 46px); border-radius: var(--radius-lg); }
.detail-tabs article::before { display: block; width: 46px; height: 4px; margin-bottom: 18px; border-radius: 3px; background: var(--brand-gold); content: ""; }
.detail-tabs h2 { color: var(--brand-ink); font-size: clamp(1.35rem, 2.3vw, 2rem); }
.rich-text-content { color: #526078; }

@media (max-width: 1000px) {
  .catalog-hero { grid-template-columns: minmax(0, 1fr) 300px; min-height: 450px; }
  .catalog-hero-signature { transform: scale(.86); }
  .catalog-layout { grid-template-columns: 235px minmax(0, 1fr); gap: 20px; }
  .catalog-results .product-grid,
  .section .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail { grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr); gap: 30px; }
}

/* Commerce flow — calm, explicit and trust-led */
.commerce-hero { padding-bottom: 18px; }
.commerce-hero h1 { max-width: 760px !important; }

.checkout-progress {
  display: flex;
  align-items: center;
  width: min(100%, 620px);
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.checkout-progress li {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  gap: 8px;
  color: #8a96aa;
  font-size: 11px;
  font-weight: 700;
}

.checkout-progress li:not(:last-child)::after {
  height: 1px;
  flex: 1;
  margin: 0 12px;
  background: #cdd7e6;
  content: "";
}

.checkout-progress li > span {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #cbd6e6;
  border-radius: 9px;
  color: #76839a;
  background: #fff;
  font: 600 10px var(--font-utility);
}

.checkout-progress li.active { color: var(--brand-cobalt); }
.checkout-progress li.active > span { border-color: var(--brand-cobalt); color: #fff; background: var(--brand-cobalt); box-shadow: 0 7px 16px rgba(24, 67, 166, .2); }
.checkout-progress li.complete { color: var(--success); }
.checkout-progress li.complete > span { border-color: #b5e0d1; color: var(--success); background: #eaf8f2; font-size: 16px; }

.checkout-layout,
.payment-page {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 390px);
  gap: 28px;
  align-items: start;
}

.cart-lines { gap: 12px; }
.cart-line {
  position: relative;
  gap: 16px;
  padding: 16px;
  border: 1px solid #dce4ef;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow-sm);
}

.cart-line:hover { border-color: #b8c9e2; box-shadow: 0 16px 34px rgba(8, 26, 60, .1); }
.cart-line-media { width: 92px; height: 92px; border-radius: 13px; background: linear-gradient(145deg, #e8effa, #fbfcff); }
.cart-line-info strong { color: var(--brand-ink); font-size: 16px; }
.cart-line-info > span { color: #758198; font-size: 11px; }
.cart-line-info .product-reference { border-color: #d8e1ee; color: #65738b; background: #f8faff; }
.cart-line-total { color: var(--brand-ink); font-size: 17px; }

.cart-quantity-form button,
.cart-quantity-form input {
  height: 36px;
  border-color: #ccd7e8;
  color: var(--brand-cobalt);
  background: #f9fbff;
}

.cart-quantity-form button { border-radius: 9px; }
.cart-quantity-form input { border-radius: 8px; }
.cart-remove-button { border-radius: 9px; color: #b42318; background: #fff4f2; }

.summary-card,
.checkout-form {
  padding: 26px;
  border: 1px solid #d9e2ef;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow-md);
}

.summary-card { top: 104px; }
.summary-card h2,
.checkout-form h2 { margin: 0; color: var(--brand-ink); font-size: 1.35rem; letter-spacing: -.03em; }
.summary-card div { border-color: #e6ebf3; }
.summary-card div > span { color: #65738a; font-size: 12px; }
.summary-card div > strong { color: #263650; }
.summary-card .total { margin: 8px -10px 0; padding: 16px 10px; border: 0; border-radius: 11px; background: var(--accent-soft); }
.summary-card .total span { color: var(--brand-ink); font-weight: 700; }
.summary-card .total strong { color: var(--brand-cobalt); font-size: 1.45rem; }
.summary-trust { border-top: 1px solid #e5eaf2; }
.summary-trust .material-symbols-outlined { color: var(--success); }

.checkout-form { gap: 10px; }
.checkout-form label { margin-top: 5px; color: #43526a; font-size: 11px; }
.checkout-form input,
.checkout-form textarea {
  min-height: 50px;
  border: 1px solid #cfd9e8;
  border-radius: 11px;
  padding: 13px 14px;
  color: var(--brand-ink);
  background: #fbfcff;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.checkout-form input:focus,
.checkout-form textarea:focus { border-color: var(--brand-cobalt); outline: 0; background: #fff; box-shadow: 0 0 0 4px rgba(24, 67, 166, .1); }
.checkout-form button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; margin-top: 10px; border: 0; }
.checkout-form button .material-symbols-outlined { font-size: 19px; }
.field-help { margin-top: -4px; color: #8a95a8; font-size: 9px; }

.form-card-heading { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.form-card-heading > .material-symbols-outlined { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: var(--brand-cobalt); background: var(--accent-soft); }
.form-card-heading > div { display: grid; gap: 4px; }
.form-card-heading p { margin: 0; color: #78859a; font-size: 11px; line-height: 1.45; }

.contact-channel { display: flex !important; align-items: center; justify-content: flex-start !important; gap: 12px !important; }
.contact-channel > .material-symbols-outlined { display: grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; border-radius: 11px; color: var(--brand-cobalt); background: var(--accent-soft); }
.contact-channel > span:last-child { display: grid; gap: 2px; }
.contact-channel small { color: #79869a; font-size: 11px; }

.payment-page { min-height: 520px; padding-top: 64px; }
.payment-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 5vw, 54px);
  border-radius: var(--radius-lg);
  color: #fff;
  background: linear-gradient(130deg, var(--brand-ink), var(--brand-cobalt));
  box-shadow: 0 26px 58px rgba(8, 26, 60, .2);
}

.payment-intro::after { position: absolute; right: -70px; bottom: -100px; width: 250px; height: 250px; border: 42px solid rgba(255, 255, 255, .07); border-radius: 50%; content: ""; }
.payment-intro .eyebrow { color: #ffd97f; }
.payment-intro h1 { position: relative; z-index: 1; margin: 12px 0 18px; color: #fff; font-size: clamp(2.2rem, 4.6vw, 4.1rem); line-height: .98; letter-spacing: -.055em; }
.payment-intro > p { color: #c7d5ec; }
.payment-intro > p strong { color: #fff; }
.payment-intro .payment-methods { margin: 22px 0; }
.payment-intro .payment-methods span { border-color: rgba(255, 255, 255, .2); color: #dae5f7; background: rgba(255, 255, 255, .08); }
.payment-intro .btn { position: relative; z-index: 1; gap: 9px; color: var(--brand-ink); background: var(--brand-gold); box-shadow: 0 12px 26px rgba(0, 0, 0, .2); }
.payment-security { display: flex; align-items: flex-start; gap: 7px; margin-top: 16px !important; font-size: 9px; }
.payment-security .material-symbols-outlined { color: var(--brand-gold); font-size: 16px; }

.success-card {
  position: relative;
  max-width: 820px;
  margin-top: 64px;
  padding: clamp(36px, 7vw, 72px);
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.success-card::before { display: block; width: 64px; height: 6px; margin: 0 auto 24px; border-radius: 4px; background: linear-gradient(90deg, var(--brand-cobalt), var(--brand-gold)); content: ""; }
.success-card h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); }
.delivery-confirmation { border-color: #bde2d2; border-radius: var(--radius-md); background: #effaf5; text-align: left; }

/* Customer workspace */
.profile-page,
.customer-orders-page { width: min(calc(100% - 40px), 1120px); padding-top: 62px; }
.profile-heading h1,
.customer-orders-heading h1,
.personal-information-heading h1 { color: var(--brand-ink); font-weight: 700; }
.profile-heading p,
.customer-orders-heading p,
.personal-information-heading p { color: #68758b; }
.profile-heading-icon { border-radius: 14px; color: #087d79; background: var(--logo-orange-soft); }

.profile-overview {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--radius-lg);
  color: #fff;
  background: linear-gradient(125deg, var(--brand-ink), var(--brand-cobalt));
  box-shadow: var(--shadow-md);
}

.profile-overview::after { position: absolute; right: -80px; bottom: -100px; width: 270px; height: 270px; border: 48px solid rgba(255, 255, 255, .06); border-radius: 50%; content: ""; }
.profile-overview .eyebrow { color: #ffd97f; }
.profile-overview .profile-heading h1 { color: #fff; }
.profile-overview .profile-heading p { color: #c3d1e8; }
.profile-overview .profile-heading-icon { color: var(--brand-ink); background: var(--brand-gold); }
.profile-identity { position: relative; z-index: 1; margin-bottom: 0; border-color: rgba(255, 255, 255, .16); color: #fff; background: rgba(255, 255, 255, .09); box-shadow: none; backdrop-filter: blur(8px); }
.profile-identity:hover { border-color: rgba(72, 198, 84, .7); box-shadow: 0 14px 32px rgba(0, 0, 0, .16); }
.profile-identity-copy strong { color: #fff; }
.profile-identity-copy small { color: #d7e2f4; }
.profile-identity-copy > span { color: #9fb2d1; }
.profile-identity > .material-symbols-outlined { color: var(--brand-gold); }

.profile-layout { margin-top: 22px; }
.profile-menu-card,
.profile-form-card,
.customer-orders-card { border-color: #dce4ef; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.profile-menu-card > h2 { color: var(--brand-ink); }
.profile-menu-row { border-color: #e8ecf3; }
.profile-menu-row:hover,
.profile-menu-row:focus-visible { color: var(--brand-cobalt); background: #f6f9ff; }
.profile-menu-icon { color: var(--brand-cobalt); background: var(--accent-soft); }
.profile-form-card { padding: 30px; }
.profile-form input,
.profile-form textarea { border-color: #d2dce9; color: var(--brand-ink); background: #fbfcff; }
.profile-form input:focus,
.profile-form textarea:focus { border-color: var(--brand-cobalt); box-shadow: 0 0 0 4px rgba(24, 67, 166, .1); }
.profile-save-button { border-radius: 11px; }

.customer-orders-shop { border-radius: 11px; background: linear-gradient(135deg, var(--brand-cobalt), #0e347e); box-shadow: 0 10px 24px rgba(24, 67, 166, .2); }
.customer-order-stats article { border-color: #dce4ef; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.customer-order-stats article > .material-symbols-outlined { color: var(--brand-cobalt); background: var(--accent-soft); }
.customer-order-stats strong { color: var(--brand-ink); }
.customer-orders-card-heading { background: #f8faff; }
.customer-order-row { border-color: #e7ecf3; }
.customer-order-row:hover { background: #f7faff; }
.customer-order-icon { color: var(--brand-cobalt); background: var(--accent-soft); }

.delivery-list { gap: 12px; }
.delivery-download-card,
.download-list a.delivery-download-card { border-color: #dce4ef; border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.delivery-download-icon { color: var(--brand-cobalt); background: var(--accent-soft); }
.delivery-download-card b { color: var(--success); background: #ecf9f3; }

/* Authentication — split editorial story and precise form */
.auth-body {
  background:
    linear-gradient(rgba(24, 67, 166, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 67, 166, .025) 1px, transparent 1px),
    #f4f7fc;
  background-size: 36px 36px;
}

.auth-brand-bar { width: min(calc(100% - 48px), 1180px); padding: 20px 0; }
.auth-brand { gap: 0; }
.auth-brand::after { display: none; }
.brand-logo-auth { width: 172px; height: auto; max-height: 60px; }
.auth-back { color: #56647a; }

.auth-stage {
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  align-items: stretch;
  width: min(calc(100% - 48px), 1120px);
  margin: 0 auto;
  padding: 18px 0 38px;
}

.auth-story {
  position: relative;
  display: flex;
  min-height: 610px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 6vw, 68px);
  overflow: hidden;
  border-radius: 28px 0 0 28px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 16%, rgba(55, 109, 230, .55), transparent 26%),
    linear-gradient(135deg, var(--brand-ink), var(--brand-cobalt));
  box-shadow: 0 28px 68px rgba(8, 26, 60, .2);
}

.auth-story .eyebrow { color: #ffd97f; }
.auth-story h1 { max-width: 520px; margin: 10px 0 20px; font-size: clamp(2.6rem, 4.8vw, 4.8rem); line-height: .93; letter-spacing: -.06em; }
.auth-story > p { max-width: 510px; margin: 0; color: #c7d5eb; font-size: 14px; line-height: 1.7; }
.auth-story-points { display: grid; gap: 13px; margin-top: 34px; }
.auth-story-points > span { display: flex; align-items: center; gap: 10px; color: #e1e9f7; font-size: 12px; font-weight: 600; }
.auth-story-points .material-symbols-outlined { color: var(--brand-gold); font-size: 19px; }
.auth-story-mark { position: absolute; right: -65px; bottom: -55px; width: 250px; height: 220px; opacity: .14; transform: rotate(-8deg); }
.auth-story-mark span { position: absolute; top: 0; bottom: 0; width: 50%; border: 3px solid #fff; }
.auth-story-mark span:first-child { left: 0; clip-path: polygon(0 5%, 100% 25%, 100% 100%, 0 76%); }
.auth-story-mark span:last-child { right: 0; clip-path: polygon(0 25%, 100% 5%, 100% 76%, 0 100%); }

.auth-panel,
.auth-panel:has(.signup-form) {
  display: flex;
  width: 100%;
  max-width: none;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid #dce4ef;
  border-left: 0;
  border-radius: 0 28px 28px 0;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 28px 68px rgba(8, 26, 60, .12);
}

.auth-kicker { color: #087d79; background: var(--logo-orange-soft); font-family: var(--font-utility); }
.auth-heading h1 { color: var(--brand-ink); font: 700 clamp(30px, 4vw, 42px)/1.08 var(--font-display); }
.auth-heading a,
.auth-label-row a,
.auth-text-link { color: var(--brand-cobalt); }
.auth-input-wrap { min-height: 49px; border-color: #d0dae8; border-radius: 11px; background: #f9fbff; }
.auth-input-wrap:focus-within { border-color: var(--brand-cobalt); background: #fff; box-shadow: 0 0 0 4px rgba(24, 67, 166, .1); }
.auth-submit { min-height: 50px; border-radius: 11px; background: linear-gradient(135deg, var(--brand-cobalt), #0e347e); box-shadow: 0 10px 24px rgba(24, 67, 166, .2); }
.auth-submit:hover { background: linear-gradient(135deg, #2054c8, var(--brand-cobalt)); box-shadow: var(--shadow-blue); }
.auth-legal { color: #7d899c; }

/* Editorial, FAQ and legal content */
.blog-grid.page-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.blog-card { position: relative; overflow: hidden; padding-bottom: 20px; border-radius: var(--radius-md); transition: transform .25s var(--ease-premium), box-shadow .25s ease; }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
.blog-card-media { display: block !important; height: 210px; margin: 0 !important; overflow: hidden; background: linear-gradient(145deg, #fff7f7, #fff0f1); }
.blog-card-media img,
.blog-card > img { width: 100%; height: 100%; padding: 18px; object-fit: contain; transition: transform .35s var(--ease-premium); }
.blog-card:hover .blog-card-media img { transform: scale(1.04); }
.blog-card .blog-card-date { display: flex; align-items: center; gap: 6px; margin-top: 17px; color: #087d79; font: 600 9px var(--font-utility); letter-spacing: .06em; text-transform: uppercase; }
.blog-card-date .material-symbols-outlined { font-size: 14px; }
.blog-card h3 { color: var(--brand-ink); font-size: 20px; line-height: 1.2; letter-spacing: -.035em; }
.blog-card p { color: #69768b; font-size: 12px; line-height: 1.65; }
.blog-card-link { display: flex !important; align-items: center; gap: 6px; margin-top: auto !important; color: var(--brand-cobalt) !important; font-size: 11px !important; font-weight: 700; }
.blog-card-link .material-symbols-outlined { font-size: 16px; }

.article-page { max-width: 900px !important; margin-top: 54px; padding: clamp(28px, 6vw, 64px); border-radius: var(--radius-lg); }
.article-back { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 34px; color: var(--brand-cobalt); font-size: 11px; font-weight: 700; }
.article-back .material-symbols-outlined { font-size: 17px; }
.article-page h1 { font-size: clamp(2.7rem, 6vw, 5.4rem); line-height: .96; }
.article-page > img { max-height: 450px; margin: 34px 0; border-radius: var(--radius-md); background: linear-gradient(145deg, #e7effb, #fff8e5); }
.article-body { color: #526078; font-size: 1rem; line-height: 1.9; }

.faq-overview article,
.faq-sidebar,
.faq-section,
.faq-final-cta { border-color: #dce4ef; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.faq-overview article { background: #fff; }
.faq-overview .material-symbols-outlined { color: var(--brand-cobalt); background: var(--accent-soft); }
.faq-sidebar { top: 104px; }
.faq-sidebar nav a:hover { color: var(--brand-cobalt); background: var(--accent-soft); }
.faq-support-card { color: #fff; background: linear-gradient(145deg, var(--brand-ink), var(--brand-cobalt)); }
.faq-support-card .material-symbols-outlined,
.faq-support-card strong { color: var(--brand-gold); }
.faq-support-card p { color: #c7d5ea; }
.faq-support-card a { color: var(--brand-ink); background: var(--brand-gold); }
.faq-section-heading h2 { color: var(--brand-ink); }
.faq-item { border-color: #dce4ef; border-radius: 13px; background: #fff; }
.faq-item[open] { border-color: #afc2e0; box-shadow: var(--shadow-sm); }
.faq-item[open] summary { color: var(--brand-cobalt); }
.faq-final-cta { color: #fff; background: linear-gradient(125deg, var(--brand-ink), var(--brand-cobalt)); }
.faq-final-cta .eyebrow { color: #ffd97f; }
.faq-final-cta h2 { color: #fff; }
.faq-final-cta p { color: #c7d5ea; }
.faq-final-cta .btn { color: var(--brand-ink); background: var(--brand-gold); }

.legal-document { margin-top: 54px; border-radius: var(--radius-lg); }
.legal-document .legal-header { border-color: #dce4ef; }
.legal-document .legal-header h1,
.legal-document h2 { color: var(--brand-ink); }
.legal-updated { color: #087d79; font-family: var(--font-utility); }
.legal-summary { border-left-color: var(--brand-gold); background: #effbf1; }
.legal-document section a { color: var(--brand-cobalt); }

@media (max-width: 900px) {
  .auth-stage { grid-template-columns: minmax(0, .8fr) minmax(400px, 1.2fr); }
  .auth-story { padding: 36px; }
  .auth-story h1 { font-size: 2.8rem; }
  .blog-grid.page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Skeletons should feel native to the same system. */
.page-skeleton,
.ajax-page-skeleton { top: 78px; background: var(--brand-porcelain); }
.skeleton-header { height: 78px; border-color: #dfe6f1; background: #fbfcff; }
.skeleton-block { background: #e2e9f4; }
.skeleton-block::after { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .9), transparent); }

@media (max-width: 1080px) {
  .brand-lockup-copy {
    min-width: 150px;
  }
  .desktop-store-search { max-width: 380px; }
  .desktop-store-nav { gap: 2px; }
}

@media (max-width: 700px) {
  body,
  .store-home,
  body:not(.store-home) { background-size: 28px 28px; }

  .app-main::before {
    width: 100%;
    height: 260px;
    opacity: .58;
    clip-path: polygon(0 0, 50% 9%, 100% 0, 100% 82%, 50% 100%, 0 82%);
  }

  .store-header-inner { height: 70px; padding: 0 14px; }
  .brand-logo-header { width: 43px; height: 43px; }
  .page-skeleton,
  .ajax-page-skeleton { top: 70px; }
  .skeleton-header { height: 70px; }

  .global-mobile-search { top: 70px; }
  .global-mobile-search label,
  .catalog-mobile-search label { border-color: #ccd8ea; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
  .global-mobile-search button,
  .catalog-mobile-search button { border-radius: var(--radius-sm); background: var(--brand-cobalt); }

  .app-main .page-hero,
  .app-main .section,
  .app-main .catalog-layout,
  .app-main .checkout-layout,
  .app-main .payment-page,
  .app-main .account-grid,
  .app-main .article-page,
  .app-main .success-card,
  .app-main .product-detail,
  .app-main .detail-tabs,
  .app-main .download-list.wide,
  .app-main .page-grid { padding-right: 16px; padding-left: 16px; }

  .page-hero.compact { padding-top: 42px; padding-bottom: 24px; }
  .page-hero.compact h1 { font-size: clamp(2.25rem, 11vw, 3.3rem); line-height: .98; }
  .page-hero.compact p { font-size: 14px; line-height: 1.65; }

  .catalog-hero {
    display: block;
    min-height: 0;
    width: calc(100% - 28px);
    margin-top: 16px;
    padding: 38px 24px 34px;
    border-radius: 22px;
  }

  .page-hero.compact.catalog-hero h1 { font-size: clamp(2.55rem, 12.5vw, 4rem); }
  .catalog-hero-assurances { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 25px; }
  .catalog-hero-assurances > span { font-size: 10px; }
  .catalog-hero-signature { display: none; }

  .catalog-layout { display: block; padding-top: 14px; }
  .filters-intro { display: none; }
  .results-head { align-items: flex-start; padding-bottom: 14px; }
  .results-head > small { display: none; }
  .results-head strong { font-size: 1.25rem; }
  .catalog-results .product-grid,
  .section .product-grid { gap: 12px; }

  .product-card { border-radius: 15px; box-shadow: 0 7px 22px rgba(8, 26, 60, .065); }
  .product-card:hover { transform: none; }
  .product-media { min-height: 152px; }
  .product-media img { height: 148px; padding: 16px; }
  .favorite-button { width: 34px; height: 34px; border-radius: 9px; }
  .favorite-button .material-symbols-outlined { font-size: 18px; }
  .ribbon { top: 9px; left: 9px; max-width: calc(100% - 54px); overflow: hidden; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
  .product-body { gap: 8px; padding: 11px; }
  .product-card-topline { display: flex; }
  .product-card-topline > span:first-child { overflow: hidden; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
  .product-card-topline .product-reference { display: none; }
  .product-body h3 { font-size: 13px; }
  .price-row { padding-top: 10px; }
  .price-row strong { font-size: 15px; }
  .price-row > small { display: none; }
  .card-actions { grid-template-columns: 1fr; }
  .card-actions button { min-height: 39px; padding: 8px; font-size: 9px; }
  .card-actions a { display: none; }

  .product-breadcrumb { width: calc(100% - 32px); padding-top: 20px; font-size: 9px; }
  .product-detail { display: grid; grid-template-columns: 1fr; gap: 20px; padding-top: 18px; }
  .detail-media { position: relative; top: auto; min-height: 330px; border-radius: 20px; }
  .detail-media-slide { min-height: 330px; }
  .detail-media img { height: 250px; }
  .detail-copy { padding-top: 4px; }
  .detail-copy-topline { align-items: flex-start; }
  .detail-copy h1 { margin-top: 18px; font-size: clamp(2.2rem, 11vw, 3.25rem); }
  .detail-copy .lead { margin: 15px 0; }
  .detail-price { margin-top: 15px; padding: 15px 0; }
  .buy-box { padding: 14px; }
  .micro-proof { gap: 6px; }
  .micro-proof span { padding: 10px 5px; font-size: 8px; }
  .detail-tabs { padding-top: 30px; }
  .detail-tabs article { padding: 24px 20px; border-radius: 20px; }

  .checkout-progress { margin-top: 24px; }
  .checkout-progress li { gap: 5px; font-size: 9px; }
  .checkout-progress li:not(:last-child)::after { margin: 0 6px; }
  .checkout-progress li > span { flex-basis: 24px; width: 24px; height: 24px; border-radius: 7px; font-size: 9px; }
  .checkout-layout,
  .payment-page { grid-template-columns: 1fr; gap: 16px; }
  .cart-line { border-radius: 15px; }
  .summary-card,
  .checkout-form { padding: 20px 17px; border-radius: 16px; }
  .summary-card { position: static; }
  .payment-page { padding-top: 30px; }
  .payment-intro { padding: 30px 22px; border-radius: 20px; }
  .payment-intro h1 { font-size: 2.7rem; }
  .success-card { margin-top: 30px; border-radius: 20px; }

  .profile-page,
  .customer-orders-page { width: calc(100% - 28px); padding-top: 38px; }
  .profile-overview { padding: 22px 16px; border-radius: 20px; }
  .profile-identity { padding: 14px; }
  .profile-form-card { padding: 20px 16px; }

  .auth-brand-bar { width: calc(100% - 28px); padding: 14px 0; }
  .auth-stage { display: block; width: calc(100% - 24px); padding: 4px 0 22px; }
  .auth-story { display: none; }
  .auth-panel,
  .auth-panel:has(.signup-form) { padding: 28px 20px; border: 1px solid #dce4ef; border-radius: 20px; box-shadow: var(--shadow-md); }
  .auth-heading h1 { font-size: 32px; }
  .auth-legal { padding-bottom: 18px; }

  .blog-grid.page-grid { grid-template-columns: 1fr; gap: 14px; }
  .blog-card { display: grid; grid-template-columns: 116px minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; padding: 10px; }
  .blog-card-media { grid-row: 1 / -1; width: 116px; height: 150px; border-radius: 11px; }
  .blog-card-media img { padding: 8px; }
  .blog-card .blog-card-date,
  .blog-card h3,
  .blog-card p,
  .blog-card .blog-card-link { margin-right: 4px; margin-left: 14px; }
  .blog-card .blog-card-date { margin-top: 4px; font-size: 7px; }
  .blog-card h3 { margin-top: 6px; margin-bottom: 4px; font-size: 15px; }
  .blog-card p { display: -webkit-box; margin-top: 0; margin-bottom: 4px; padding: 0; overflow: hidden; font-size: 10px; line-clamp: 2; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .blog-card-link { font-size: 9px !important; }
  .article-page { margin-top: 24px; padding: 26px 18px; border-radius: 19px; }
  .article-page h1 { font-size: clamp(2.35rem, 11vw, 3.5rem); }
  .article-page > img { margin: 24px 0; }
  .article-body { font-size: 14px; }
  .legal-document { margin-top: 24px; border-radius: 19px; }

  .footer-confidence {
    grid-template-columns: 1fr;
    width: calc(100% - 28px);
    margin-top: 46px;
  }

  .footer-confidence > div { min-height: 70px; padding: 14px 18px; border-right: 0; border-bottom: 1px solid #e5eaf3; }
  .footer-confidence > div:last-child { border-bottom: 0; }
  .modern-site-footer,
  .exchange-rate-attribution { display: none; }
  .faq-chat { bottom: 86px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
