@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400..800;1,400..800&family=Prompt:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  color-scheme: light;
  --bg: #f4f8fa;
  --bg-subtle: #ebf3f6;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --surface-alt: #f0f6f9;
  
  --deep-dark: #07272f;
  
  --brand: #0f766e;
  --brand-dark: #115e59;
  --brand-deep: #134e4a;
  --brand-soft: #f0fdfa;
  --brand-subtle: #ccfbf1;
  --brand-glow: #0f766e33;
  
  --accent: #f97316;
  --accent-dark: #ea580c;
  --accent-soft: #fff7ed;
  --accent-glow: #f9731640;
  
  --text-main: #0c2027;
  --text-muted: #526872;
  --text-subtle: #7a929c;
  --line: #d8e5e9;
  --line-light: #eaf1f4;
  
  --shadow-xs: 0 1px 2px 0 rgba(8, 28, 36, 0.04);
  --shadow-sm: 0 2px 5px -1px rgba(8, 28, 36, 0.06), 0 1px 3px -1px rgba(8, 28, 36, 0.04);
  --shadow-md: 0 8px 18px -3px rgba(8, 28, 36, 0.08), 0 3px 7px -1px rgba(8, 28, 36, 0.04);
  --shadow-lg: 0 16px 32px -4px rgba(8, 28, 36, 0.11), 0 5px 12px -2px rgba(8, 28, 36, 0.05);
  --shadow-xl: 0 26px 52px -8px rgba(8, 28, 36, 0.16), 0 8px 20px -4px rgba(8, 28, 36, 0.06);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --font-base: 'Prompt', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Prompt', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

::selection {
  background: var(--brand-glow);
  color: var(--brand-dark);
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-subtle);
}

::-webkit-scrollbar-thumb {
  background: #9bb4bc;
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: #7a9ca6;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(at 100% 0%, #0f766e0d 0px, transparent 50%),
    radial-gradient(at 0% 100%, #f973160a 0px, transparent 50%);
  color: var(--text-main);
  font-family: var(--font-base);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}

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

button {
  cursor: pointer;
  border: none;
  background: transparent;
}

input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* Animations */
@keyframes heroEntrance {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cardEntrance {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes panelEntrance {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 64px);
  background: #07272fe6;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  display: block;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 2px 8px #0f766e66);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand:hover .brand-logo {
  transform: scale(1.1) rotate(-4deg);
}

.brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.brand small {
  display: block;
  color: #93c5cf;
  font-size: 12px;
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  color: #d1e3e7;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

/* Main Container */
main {
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto;
  padding-bottom: 60px;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: stretch;
  padding: 36px 0 24px;
}

.hero-copy {
  display: grid;
  align-content: center;
  min-height: 380px;
  padding: clamp(32px, 5vw, 56px);
  background:
    linear-gradient(90deg, #07272ff0 0%, #07272fd4 50%, #0f766e40 80%, #f973161a 100%),
    url("assets/brand/kitchen-hero-generated.png");
  background-position: center;
  background-size: cover;
  color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  animation: heroEntrance 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.hero-copy:hover {
  border-color: #0f766e66;
  box-shadow: var(--shadow-xl);
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
  max-width: 600px;
  margin: 16px 0 0;
  color: #d1e4e8;
  font-size: 16px;
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.primary-action {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 14px var(--brand-glow);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.primary-action::after {
  content: "→";
  display: inline-block;
  transition: transform 0.2s ease;
}

.primary-action:hover {
  background: linear-gradient(135deg, var(--brand-dark), var(--accent));
  box-shadow: 0 8px 24px var(--accent-glow);
  transform: translateY(-2px);
  color: #ffffff;
}

.primary-action:hover::after {
  transform: translateX(4px);
}

.primary-action:active {
  transform: translateY(1px) scale(0.98);
}

/* Stats Panel */
.hero-panel {
  display: grid;
  gap: 14px;
  animation: panelEntrance 0.7s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-panel > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.hero-panel > div::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--brand);
  opacity: 0.8;
  transition: width 0.2s ease, opacity 0.2s ease;
}

.hero-panel > div:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px) scale(1.01);
  border-color: #b9d3dc;
}

.hero-panel > div:hover::after {
  width: 6px;
  opacity: 1;
}

.hero-panel span {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--deep-dark);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  transition: color 0.2s ease;
}

.hero-panel > div:hover span {
  color: var(--brand-dark);
}

.hero-panel small {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}

/* Toolbar & Filters */
.toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 220px;
  gap: 16px;
  align-items: end;
  padding: 22px;
  margin-top: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.search-box,
.control-group,
.category-filter {
  display: grid;
  gap: 8px;
}

.category-filter {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line-light);
}

.category-filter > span,
label {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

input[type="search"],
select {
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  color: var(--text-main);
  font-size: 14px;
  transition: all 0.2s ease;
}

input[type="search"]:focus,
select:focus {
  background: #ffffff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
  transform: translateY(-1px);
}

.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.category-strip[hidden] {
  display: none;
}

.category-chip,
.text-button {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.category-chip {
  min-height: 38px;
  padding: 6px 16px;
}

.category-chip:hover {
  border-color: #b0c9d2;
  color: var(--text-main);
  background: var(--surface-alt);
  transform: translateY(-2px);
}

.category-chip:active {
  transform: translateY(1px) scale(0.96);
}

.category-chip.is-active {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 3px 10px var(--brand-glow);
  transform: translateY(-1px);
}

.result-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 12px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

.text-button {
  padding: 6px 14px;
}

.text-button:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  min-height: 340px;
}

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  animation: cardEntrance 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  transition: all 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
  border-color: #bad3db;
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--surface-alt);
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}

.product-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--text-subtle);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  max-width: calc(100% - 20px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: #07272fe0;
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, background 0.2s ease;
}

.product-card:hover .badge {
  transform: translateY(-1px);
  background: #0f766ef0;
}

.product-body {
  display: grid;
  gap: 10px;
  padding: 16px;
  flex: 1;
}

.product-title {
  display: -webkit-box;
  min-height: 44px;
  margin: 0;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-main);
  transition: color 0.2s ease;
}

.product-card:hover .product-title {
  color: var(--brand-dark);
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 12px;
}

.product-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}

.price {
  font-family: var(--font-display);
  color: var(--brand-dark);
  font-size: 20px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.shop-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 2px 8px var(--brand-glow);
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.shop-button::after {
  content: "↗";
  font-size: 14px;
  transition: transform 0.2s ease;
}

.shop-button:hover {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  box-shadow: 0 6px 18px var(--accent-glow);
  color: #ffffff;
  transform: translateY(-2px);
}

.shop-button:hover::after {
  transform: translate(2px, -2px);
}

.shop-button:active {
  transform: translateY(1px) scale(0.98);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 48px 24px;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  color: var(--text-muted);
}

/* Pagination */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 36px 0 24px;
  padding: 0 12px;
}

.page-button {
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-main);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  transition: all 0.18s ease;
}

.page-button:hover:not(:disabled) {
  border-color: #b0c9d2;
  background: var(--surface-alt);
}

.page-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.page-button.is-active {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
  color: #ffffff;
  box-shadow: 0 2px 8px var(--brand-glow);
}

.page-ellipsis {
  display: grid;
  min-width: 28px;
  height: 40px;
  place-items: center;
  color: var(--text-subtle);
  font-weight: 700;
}

/* Articles Hub & Detail */
.article-hero {
  margin: 28px 0 24px;
  padding: clamp(32px, 5vw, 52px);
  background:
    linear-gradient(90deg, #07272ff0 0%, #07272fd4 50%, #0f766e40 80%, #f973161a 100%),
    url("assets/brand/kitchen-hero-generated.png");
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.article-hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.article-hero p {
  max-width: 680px;
  margin: 14px 0 0;
  color: #d1e4e8;
  font-size: 16px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  min-height: 340px;
}

.article-card {
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-card:hover {
  border-color: #bad3db;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.article-card-link {
  display: grid;
  height: 100%;
}

.article-image {
  aspect-ratio: 16 / 9;
  background: var(--surface-alt);
  overflow: hidden;
}

.article-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-body {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.article-category {
  justify-self: start;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #0f766e33;
}

.article-body h2 {
  margin: 0;
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
}

.article-body p {
  display: -webkit-box;
  min-height: 44px;
  margin: 0;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}

.article-meta {
  color: var(--text-subtle);
  font-size: 12px;
  font-weight: 600;
}

/* Article Detail */
.article-detail {
  max-width: 860px;
  margin: 28px auto 48px;
}

.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.18s ease;
}

.article-back-link:hover {
  background: var(--brand-soft);
  border-color: var(--brand);
}

.article-detail-head {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.article-detail-head h1 {
  margin: 0;
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--deep-dark);
}

.article-detail-media {
  overflow: hidden;
  margin: 0 0 32px;
  border-radius: var(--radius-lg);
  background: var(--deep-dark);
  box-shadow: var(--shadow-lg);
}

.article-detail-media img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.article-content {
  display: grid;
  gap: 24px;
  width: 100%;
  padding: clamp(24px, 5vw, 44px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.85;
  color: #1e293b;
}

.article-content h2 {
  margin: 24px 0 8px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--deep-dark);
  line-height: 1.25;
}

.article-content h3 {
  margin: 18px 0 6px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--deep-dark);
}

.article-content p {
  margin: 0;
}

.article-lead {
  font-size: clamp(18px, 2.2vw, 21px);
  font-weight: 600;
  color: var(--deep-dark);
  line-height: 1.7;
}

.article-content ul {
  margin: 6px 0 16px;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-inline-figure {
  overflow: hidden;
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-alt);
}

.article-inline-figure img {
  display: block;
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.article-inline-figure figcaption {
  padding: 10px 16px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  border-top: 1px solid var(--line-light);
}

.article-affiliate-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  margin: 4px 6px 4px 0;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #ffffff !important;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 2px 8px var(--brand-glow);
  transition: all 0.2s ease;
}

.article-affiliate-link:hover {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  box-shadow: 0 4px 14px var(--accent-glow);
  transform: translateY(-1px);
}

/* Recommendations in Article */
.article-recommendations {
  display: grid;
  gap: 20px;
  margin-top: 36px;
  padding: clamp(24px, 4vw, 36px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.article-section-head h2 {
  margin: 0;
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--deep-dark);
}

.article-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.article-product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.article-product-card:hover {
  border-color: #bad3db;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.article-product-image {
  display: block;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  overflow: hidden;
}

.article-product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.article-product-card:hover .article-product-image img {
  transform: scale(1.05);
}

.article-product-body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.article-product-body h3 {
  display: -webkit-box;
  min-height: 40px;
  margin: 0;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-main);
}

.article-product-body p {
  margin: 0;
  color: var(--brand-dark);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Share Buttons */
.article-share-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.article-share-label {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  margin-right: 4px;
}

.article-share-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: var(--surface);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.18s ease;
}

.article-share-button:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-dark);
}

/* Site Footer */
.site-footer {
  margin-top: 48px;
  padding: 32px clamp(20px, 5vw, 64px);
  background: var(--deep-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #93c5cf;
  text-align: center;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
  
  .hero-panel {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .toolbar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-panel {
    grid-template-columns: 1fr;
  }
  
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .product-body {
    padding: 12px;
  }
  
  .product-title {
    font-size: 13px;
    min-height: 38px;
  }
  
  .price {
    font-size: 17px;
  }
  
  .shop-button {
    min-height: 38px;
    font-size: 13px;
    padding: 6px 10px;
  }
  
  .article-grid {
    grid-template-columns: 1fr;
  }
}

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


/* ========================================================
   Shopee Campaign Promo Ribbon & Interactive Voucher Hub
   ======================================================== */
.promo-ribbon {
  background: linear-gradient(135deg, #ee4d2d 0%, #ff6b3d 100%);
  color: #ffffff;
  padding: 8px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(238, 77, 45, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.promo-ribbon-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  flex-wrap: wrap;
}

.ribbon-text {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ribbon-timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.2);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12.5px;
}

.timer-digits {
  font-family: Consolas, monospace;
  font-weight: 800;
  color: #ffeb3b;
}

.ribbon-action {
  background: #ffffff;
  color: #ee4d2d;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  transition: transform 0.15s ease, background 0.15s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.ribbon-action:hover {
  background: #fff8f6;
  transform: scale(1.04);
}

/* Voucher Hub Section */
.voucher-hub-section {
  max-width: 1200px;
  margin: 28px auto 16px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(238, 77, 45, 0.06);
}

.voucher-hub-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.voucher-badge-pill {
  display: inline-block;
  background: #fff7ed;
  color: #ea580c;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid #ffedd5;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.voucher-hub-title-group h2 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 800;
  color: #1e293b;
}

.voucher-hub-title-group p {
  margin: 0;
  color: #64748b;
  font-size: 13.5px;
}

.btn-all-vouchers {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ee4d2d;
  color: #ffffff;
  font-weight: 700;
  font-size: 13.5px;
  padding: 8px 18px;
  border-radius: 10px;
  transition: background 0.15s ease, transform 0.15s ease;
  box-shadow: 0 2px 8px rgba(238, 77, 45, 0.3);
}

.btn-all-vouchers:hover {
  background: #dc3e1e;
  transform: translateY(-1px);
}

.voucher-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.voucher-card {
  background: #fffaf8;
  border: 1.5px dashed #f97316;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.voucher-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.12);
}

.voucher-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.voucher-card-badge {
  background: #ee4d2d;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
}

.voucher-card-icon {
  font-size: 20px;
}

.voucher-card-title {
  font-size: 15.5px;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 4px;
}

.voucher-card-desc {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 14px;
  line-height: 1.4;
}

.voucher-btn-action {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #ffffff;
  color: #ee4d2d;
  border: 1.5px solid #ee4d2d;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.voucher-btn-action:hover {
  background: #ee4d2d;
  color: #ffffff;
}

.voucher-btn-action.copied {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}


/* ========================================================
   Interactive Conversion Suite (Calculator, Quiz, Lookbook, MysteryBox)
   ======================================================== */

.interactive-suite-container {
  max-width: 1200px;
  margin: 32px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 900px) {
  .interactive-suite-container {
    grid-template-columns: 1fr;
  }
}

.interactive-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.interactive-header h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  color: #1e293b;
}

.interactive-header p {
  margin: 0 0 16px;
  font-size: 13px;
  color: #64748b;
}

/* Calculator */
.calc-item-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.calc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  border: 1px solid #f1f5f9;
  cursor: pointer;
}

.calc-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #ee4d2d;
  cursor: pointer;
}

.calc-summary {
  background: #fff7ed;
  border: 1.5px dashed #f97316;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.calc-total-label {
  font-size: 13px;
  color: #9a3412;
  font-weight: 700;
}

.calc-total-val {
  font-size: 20px;
  font-weight: 900;
  color: #ea580c;
}

.btn-calc-checkout {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ee4d2d;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.btn-calc-checkout:hover {
  transform: scale(1.03);
}

/* Quiz */
.quiz-step-container {
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quiz-question {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.quiz-btn-opt {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}

.quiz-btn-opt:hover {
  background: #fee2e2;
  border-color: #f87171;
  color: #b91c1c;
}

.quiz-result {
  display: none;
  flex-direction: column;
  gap: 10px;
}

.quiz-recom-card {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Lookbook */
.lookbook-wrapper {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #000;
}

.lookbook-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.85;
}

.lookbook-hotspot {
  position: absolute;
  width: 28px;
  height: 28px;
  background: #ee4d2d;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(238, 77, 45, 0.4);
  transform: translate(-50%, -50%);
  animation: pulse 2s infinite;
  z-index: 10;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(238, 77, 45, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(238, 77, 45, 0); }
  100% { box-shadow: 0 0 0 0 rgba(238, 77, 45, 0); }
}

.hotspot-tooltip {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 20;
}

.lookbook-hotspot:hover .hotspot-tooltip {
  opacity: 1;
}

/* Mystery Box */
.mystery-box-content {
  text-align: center;
  padding: 16px;
}

.mystery-icon {
  font-size: 48px;
  cursor: pointer;
  display: inline-block;
  transition: transform 0.2s ease;
}

.mystery-icon:hover {
  transform: scale(1.15) rotate(5deg);
}

.mystery-result-box {
  display: none;
  background: #fff7ed;
  border: 2px dashed #f97316;
  border-radius: 12px;
  padding: 16px;
  margin-top: 14px;
}
