/* ==========================================
   MODERN MINIMALIST DESIGN 2026
   ========================================== */

:root {
  /* 现代化配色系统 */
  --md-primary-fg-color: #6366F1;          /* 主色：靛蓝紫 */
  --md-primary-fg-color--light: #818CF8;   /* 浅色 */
  --md-primary-fg-color--dark: #4F46E5;    /* 深色 */
  --md-accent-fg-color: #10B981;           /* 强调色：绿色 */
  --md-accent-fg-color--transparent: rgba(16, 185, 129, 0.08);
  
  /* 中性色板 */
  --color-bg-primary: #FFFFFF;
  --color-bg-secondary: #F9FAFB;
  --color-bg-tertiary: #F3F4F6;
  --color-border: #E5E7EB;
  --color-text-primary: #111827;
  --color-text-secondary: #6B7280;
  --color-text-tertiary: #9CA3AF;
  
  /* 字体 */
  --md-text-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --md-code-font: "Fira Code", "Courier New", monospace;
  
  /* 动效 */
  --transition-smooth: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================
   全局样式重置
   ========================================== */
* {
  box-sizing: border-box;
}

html, body {
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  font-family: var(--md-text-font);
  width: 100% !important;
  height: 100% !important;
  overflow-x: hidden;
}

body {
  display: block !important;
  flex: none !important;
}

.md-sidebar,
.md-sidebar--primary,
.md-sidebar--secondary {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
}

.md-container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  display: block !important;
  flex: none !important;
}

.md-main {
  background: var(--color-bg-primary);
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  flex: none !important;
}

.md-main__inner {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  display: block !important;
}

.md-content {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  padding: 40px !important;
  display: block !important;
  margin: 0 !important;
}

article {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto;
  padding: 0 !important;
}

/* ==========================================
   Hero Section - 现代极简设计
   ========================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
  color: white;
  padding: 100px 40px;
  margin: 0 0 60px 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-section > * {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px 0;
  color: white;
  letter-spacing: -1px;
}

.hero-section h2 {
  font-size: 24px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 24px 0;
}

.hero-section p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 0 40px 0;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================
   按钮样式
   ========================================== */
.md-button {
  transition: var(--transition-smooth);
  font-weight: 600;
  border-radius: 8px;
  padding: 12px 28px !important;
  font-size: 15px;
  border: none;
  cursor: pointer;
}

.md-button--primary {
  background-color: #10B981 !important;
  color: white !important;
}

.md-button--primary:hover {
  background-color: #059669 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.md-button--primary:active {
  transform: translateY(0);
}

.md-button--outline {
  background-color: rgba(255, 255, 255, 0.15) !important;
  color: white !important;
  border: 1.5px solid white !important;
}

.md-button--outline:hover {
  background-color: rgba(255, 255, 255, 0.25) !important;
  transform: translateY(-2px);
}

/* ==========================================
   卡片组件
   ========================================== */
.card {
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 28px;
  transition: var(--transition-smooth);
}

.card:hover {
  border-color: var(--md-primary-fg-color);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.12);
  transform: translateY(-4px);
}

.card-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: inline-block;
}

.card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 16px 0 12px 0;
  color: var(--color-text-primary);
}

.card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

.card a {
  color: var(--md-primary-fg-color) !important;
  font-weight: 600;
  text-decoration: none;
  margin-top: 12px;
  display: inline-block;
  transition: var(--transition-smooth);
}

.card a:hover {
  color: var(--md-accent-fg-color) !important;
  gap: 8px;
}

/* 旧版卡片兼容性 */
.goldse-card {
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 28px;
  transition: var(--transition-smooth);
}

.goldse-card:hover {
  border-color: var(--md-primary-fg-color);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.12);
  transform: translateY(-4px);
}

.goldse-card h3 {
  color: var(--color-text-primary);
  margin-top: 0;
  font-size: 18px;
  font-weight: 700;
}

.goldse-card-icon {
  color: var(--md-accent-fg-color);
  font-size: 32px;
  margin-bottom: 16px;
}

/* ==========================================
   网格系统
   ========================================== */
.grid {
  display: grid;
  gap: 24px;
  margin: 40px 0;
}

.grid.cards {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

@media (max-width: 768px) {
  .grid.cards,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   分段及标题
   ========================================== */
h2 {
  font-size: 32px;
  font-weight: 800;
  margin: 60px 0 32px 0;
  color: var(--color-text-primary);
  position: relative;
  padding-bottom: 12px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--md-primary-fg-color), var(--md-accent-fg-color));
  border-radius: 2px;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 28px 0 12px 0;
  color: var(--color-text-primary);
}

h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 20px 0 8px 0;
  color: var(--color-text-primary);
}

/* ==========================================
   段落及文本
   ========================================== */
p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin: 16px 0;
}

a {
  color: var(--md-primary-fg-color);
  text-decoration: none;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

a:hover {
  color: var(--md-accent-fg-color);
  border-bottom-color: var(--md-accent-fg-color);
}

/* ==========================================
   列表样式
   ========================================== */
ul, ol {
  margin: 16px 0;
  padding-left: 24px;
}

li {
  margin: 8px 0;
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

ul li::marker {
  color: var(--md-accent-fg-color);
}

/* ==========================================
   代码块
   ========================================== */
.md-typeset code {
  background-color: var(--color-bg-tertiary);
  color: #D73A49;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--md-code-font);
  font-size: 13px;
}

.md-typeset pre {
  background-color: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 16px;
  overflow-x: auto;
  margin: 20px 0;
}

.md-typeset pre code {
  background: none;
  color: inherit;
  padding: 0;
  border-radius: 0;
}

/* ==========================================
   品牌展示
   ========================================== */
.brands-showcase {
  background: linear-gradient(135deg, var(--color-bg-secondary) 0%, var(--color-bg-tertiary) 100%);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 48px;
  margin: 40px 0;
  border-left: 4px solid var(--md-primary-fg-color);
}

.brands-showcase table {
  width: 100%;
  border-collapse: collapse;
}

.brands-showcase td {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--color-border);
}

.brands-showcase td:last-child {
  border-right: none;
}

.brands-showcase img {
  max-width: 120px;
  height: auto;
  margin-bottom: 16px;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.brands-showcase img:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 8px 16px rgba(99, 102, 241, 0.2));
}

.brands-showcase strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.brands-showcase p {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin: 8px 0;
}

.brands-showcase a {
  color: var(--md-primary-fg-color) !important;
  font-weight: 600;
}

.brands-showcase a:hover {
  color: var(--md-accent-fg-color) !important;
}

/* ==========================================
   品牌网格
   ========================================== */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.brands-grid-item {
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
  transition: var(--transition-smooth);
}

.brands-grid-item:hover {
  border-color: var(--md-primary-fg-color);
  box-shadow: 0 16px 32px rgba(99, 102, 241, 0.12);
  transform: translateY(-6px);
}

.brands-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 16px;
}

.brands-grid h3 {
  font-size: 18px;
  margin-top: 0;
  color: var(--color-text-primary);
}

.brands-grid p {
  font-size: 14px;
  color: var(--color-text-secondary);
}

.brands-grid a {
  color: var(--md-primary-fg-color) !important;
  font-weight: 600;
  font-size: 14px;
}

/* ==========================================
   导航栏美化
   ========================================== */
.md-header {
  background-color: white !important;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.md-header__button {
  color: var(--color-text-primary) !important;
}

/* 小屏幕隐藏侧边栏导航 */
@media (max-width: 1200px) {
  .md-nav {
    display: none !important;
  }
}

.md-tabs {
  background-color: white !important;
  border-bottom: 1px solid var(--color-border);
}

.md-tabs__link {
  color: var(--color-text-secondary) !important;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.md-tabs__link:hover,
.md-tabs__link--active {
  color: var(--md-primary-fg-color) !important;
  border-bottom-color: var(--md-primary-fg-color) !important;
}

/* ==========================================
   页脚 - 现代化设计
   ========================================== */
.md-footer {
  background: linear-gradient(135deg, #1F2937 0%, #111827 100%) !important;
  margin-top: 100px !important;
  padding: 80px 40px 40px !important;
  color: white;
}

.md-footer-meta {
  background-color: rgba(0, 0, 0, 0.3) !important;
  padding: 30px 0 !important;
}

.md-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.md-footer__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.md-footer__title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--md-accent-fg-color);
  margin-bottom: 16px;
}

.md-footer__link {
  display: block;
  font-size: 14px;
  color: #D1D5DB;
  margin-bottom: 10px;
  transition: var(--transition-smooth);
}

.md-footer__link:hover {
  color: var(--md-accent-fg-color);
  padding-left: 4px;
}

.md-footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.md-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background-color: rgba(16, 185, 129, 0.15);
  color: var(--md-accent-fg-color);
  transition: var(--transition-smooth);
  border: none;
}

.md-footer-social a:hover {
  background-color: var(--md-accent-fg-color);
  color: white;
  transform: translateY(-3px);
}

.md-footer__copyright {
  text-align: center;
  font-size: 12px;
  color: #9CA3AF;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================
   通知框及提示
   ========================================== */
.md-typeset .admonition,
.md-typeset details {
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--md-primary-fg-color);
  border-radius: 8px;
  padding: 16px;
  margin: 20px 0;
}

.md-typeset .note > .admonition-title,
.md-typeset .note > summary {
  color: var(--md-primary-fg-color);
  font-weight: 700;
}

/* ==========================================
   表格样式
   ========================================== */
.md-typeset table {
  border-collapse: collapse;
  width: 100%;
  margin: 24px 0;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
}

.md-typeset th {
  background-color: var(--color-bg-tertiary);
  color: var(--color-text-primary);
  font-weight: 700;
  padding: 16px;
  border-bottom: 2px solid var(--color-border);
}

.md-typeset td {
  padding: 16px;
  border-bottom: 1px solid var(--color-border);
}

.md-typeset tbody tr:hover {
  background-color: var(--color-bg-secondary);
}

/* ==========================================
   响应式设计
   ========================================== */
@media (max-width: 1024px) {
  .hero-section {
    padding: 80px 32px;
  }
  
  .hero-section h1 {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .grid.cards,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .hero-section {
    padding: 60px 24px;
    margin-bottom: 40px;
  }
  
  .hero-section h1 {
    font-size: 36px;
  }
  
  .hero-section h2 {
    font-size: 20px;
  }
  
  .hero-section p {
    font-size: 16px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  h2 {
    font-size: 24px;
    margin: 40px 0 24px 0;
  }
  
  h3 {
    font-size: 18px;
  }
  
  .brands-showcase {
    padding: 24px;
  }
  
  .brands-showcase td {
    padding: 16px 12px;
    display: block;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }
  
  .brands-showcase table {
    display: block;
  }
  
  .brands-showcase tbody,
  .brands-showcase tr {
    display: block;
  }
  
  .md-footer {
    padding: 40px 24px 24px !important;
  }
  
  .md-footer__list {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .hero-section {
    padding: 50px 16px;
    margin-bottom: 30px;
  }
  
  .hero-section h1 {
    font-size: 28px;
    margin-bottom: 12px;
  }
  
  .hero-section h2 {
    font-size: 16px;
    margin-bottom: 16px;
  }
  
  .hero-section p {
    font-size: 14px;
    margin-bottom: 30px;
    line-height: 1.5;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .md-button {
    width: 100%;
    padding: 12px 16px !important;
    font-size: 14px;
  }
  
  h1 {
    font-size: 24px;
  }
  
  h2 {
    font-size: 20px;
    margin: 30px 0 20px 0;
  }
  
  h3 {
    font-size: 16px;
  }
  
  h4 {
    font-size: 14px;
  }
  
  p {
    font-size: 13px;
  }
  
  .card,
  .goldse-card {
    padding: 20px;
  }
  
  .card-icon,
  .goldse-card-icon {
    font-size: 28px;
  }
  
  .brands-showcase {
    padding: 16px;
    margin: 20px 0;
  }
  
  .brands-showcase td {
    padding: 12px 8px;
  }
  
  .brands-showcase img {
    max-width: 80px;
  }
  
  .brands-showcase strong {
    font-size: 14px;
  }
  
  .md-footer {
    padding: 30px 16px 20px !important;
    margin-top: 50px !important;
  }
  
  .md-footer__list {
    gap: 16px;
  }
  
  .md-footer__title {
    font-size: 12px;
  }
  
  .md-footer__link {
    font-size: 12px;
    margin-bottom: 8px;
  }
}
/* ==========================================
   Storefront homepage inspired layout
   ========================================== */
.md-content:has(.storefront-page) {
  padding: 0 !important;
}

.md-typeset .storefront-page h1,
.md-typeset .storefront-page h2,
.md-typeset .storefront-page h3,
.md-typeset .storefront-page p {
  margin: 0;
}

.md-typeset .storefront-page a {
  border-bottom: 0;
}

.storefront-page {
  background: #f2f2f2;
  color: #101010;
  min-height: 100vh;
  margin: -40px;
}

.storefront-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 52px;
  padding: 0 9vw;
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.storefront-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff !important;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 18px;
}

.storefront-logo-mark {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: linear-gradient(135deg, #ffffff, #10b981);
  color: #050505;
  font-weight: 900;
}

.storefront-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.storefront-nav a,
.storefront-top-action {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 13px;
  font-weight: 650;
}

.storefront-nav a::after {
  content: '⌄';
  margin-left: 6px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
}

.storefront-nav a:hover,
.storefront-top-action:hover {
  color: #10b981 !important;
}

.storefront-top-action {
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.38) !important;
  border-radius: 999px;
}

.storefront-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 36%, rgba(255,255,255,0.2), transparent 22%),
    linear-gradient(180deg, #050505 0%, #0f1315 58%, #6b7b84 100%);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  padding: 70px 9vw 80px;
}

.storefront-hero-content {
  position: relative;
  z-index: 2;
  max-width: 530px;
}

.storefront-kicker {
  color: #10b981;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.storefront-hero h1 {
  color: #fff;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.02;
  font-weight: 850;
  letter-spacing: -0.055em;
  max-width: 650px;
}

.storefront-hero p {
  color: rgba(255,255,255,0.78);
  max-width: 460px;
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.75;
}

.storefront-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.storefront-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: 42px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.storefront-btn:hover {
  transform: translateY(-2px);
}

.storefront-btn-light {
  background: #fff;
  color: #111 !important;
}

.storefront-btn-outline {
  border: 1px solid rgba(255,255,255,0.7) !important;
  color: #fff !important;
}

.storefront-hero-visual {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-machine {
  position: relative;
  width: min(430px, 78vw);
  height: 390px;
  z-index: 2;
  filter: drop-shadow(0 40px 40px rgba(0,0,0,0.45));
}

.machine-top {
  position: absolute;
  top: 0;
  left: 85px;
  width: 260px;
  height: 72px;
  border-radius: 60px 60px 10px 10px;
  background: linear-gradient(90deg, rgba(255,255,255,0.25), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.15);
}

.machine-body {
  position: absolute;
  inset: 54px 40px 0;
  border-radius: 16px 16px 4px 4px;
  background: linear-gradient(135deg, #1a1d1f 0%, #0a0b0c 42%, #31383d 100%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.03);
}

.machine-screen {
  position: absolute;
  top: 36px;
  left: 28px;
  width: 58px;
  height: 76px;
  border-radius: 8px;
  background: linear-gradient(180deg, #263238, #080a0b);
  border: 1px solid rgba(255,255,255,0.15);
}

.machine-window {
  position: absolute;
  top: 34px;
  right: 36px;
  width: 190px;
  height: 250px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.18);
}

.machine-base {
  position: absolute;
  left: -60px;
  right: -60px;
  bottom: -32px;
  height: 78px;
  background: linear-gradient(180deg, #111, #030303);
  transform: skewX(-12deg);
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(16px);
}

.hero-glow-one {
  width: 220px;
  height: 220px;
  right: 18%;
  top: 16%;
  background: rgba(16, 185, 129, 0.18);
}

.hero-glow-two {
  width: 180px;
  height: 180px;
  right: 4%;
  bottom: 10%;
  background: rgba(99, 102, 241, 0.18);
}

.storefront-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  align-items: center;
}

.storefront-dots span {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: rgba(255,255,255,0.42);
}

.storefront-dots .active {
  width: 38px;
  background: rgba(255,255,255,0.9);
}

.storefront-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  background: #f2f2f2;
}

.storefront-tile {
  min-height: 390px;
  position: relative;
  overflow: hidden;
  background: #f8f8f8;
  color: #111 !important;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  padding: 42px 34px;
  border: 0 !important;
}

.storefront-tile:hover {
  color: #111 !important;
}

.tile-copy {
  position: relative;
  z-index: 2;
  max-width: 460px;
}

.tile-copy span {
  color: #6f6f6f;
  font-size: 13px;
  font-weight: 700;
}

.tile-copy h2 {
  color: #111;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.16;
  font-weight: 850;
  letter-spacing: -0.035em;
  padding: 0;
  margin: 4px 0 8px;
}

.tile-copy h2::after {
  display: none;
}

.tile-copy p {
  color: #666;
  font-size: 15px;
  line-height: 1.65;
  margin: 0 auto 10px;
  max-width: 390px;
}

.tile-copy strong {
  color: #0f9f6e;
  font-size: 14px;
}

.tile-visual {
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: min(360px, 72%);
  height: 170px;
  opacity: 0.96;
}

.tile-visual-machine {
  background: linear-gradient(135deg, #d8dde0, #1b1f23 45%, #050505);
  clip-path: polygon(16% 38%, 40% 20%, 80% 28%, 92% 84%, 8% 84%);
}

.tile-visual-rolls {
  width: min(430px, 78%);
  background:
    radial-gradient(circle at 16% 62%, #f97316 0 28px, #222 29px 36px, transparent 37px),
    radial-gradient(circle at 34% 60%, #d1d5db 0 31px, #222 32px 39px, transparent 40px),
    radial-gradient(circle at 52% 58%, #86efac 0 32px, #222 33px 41px, transparent 42px),
    radial-gradient(circle at 70% 60%, #38bdf8 0 30px, #222 31px 38px, transparent 39px),
    radial-gradient(circle at 86% 63%, #ef4444 0 26px, #222 27px 34px, transparent 35px);
}

.tile-visual-calc {
  width: min(320px, 72%);
  border-radius: 26px 26px 0 0;
  background: linear-gradient(135deg, #111827, #6366f1);
  box-shadow: inset 0 0 0 12px rgba(255,255,255,0.12);
}

.tile-visual-calc::before {
  content: '¥';
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  color: rgba(255,255,255,0.9);
  font-size: 82px;
  font-weight: 900;
}

.tile-visual-parts {
  width: min(390px, 76%);
  background:
    radial-gradient(circle at 30% 50%, #111 0 18px, transparent 19px),
    radial-gradient(circle at 50% 55%, #555 0 26px, transparent 27px),
    radial-gradient(circle at 70% 48%, #111 0 15px, transparent 16px),
    linear-gradient(90deg, transparent 20%, #222 20% 78%, transparent 78%);
}

.tile-material,
.tile-parts {
  background: #f4f4f4;
}

.storefront-feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #e5e5e5;
  padding: 1px 10px 10px;
}

.storefront-feature-strip > div {
  background: #fff;
  padding: 34px;
}

.storefront-feature-strip span {
  color: #10b981;
  font-weight: 900;
  font-size: 13px;
}

.storefront-feature-strip h3 {
  color: #111;
  font-size: 21px;
  margin: 8px 0 10px;
}

.storefront-feature-strip p {
  color: #666;
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .storefront-page {
    margin: -24px;
  }

  .storefront-topbar {
    padding: 0 20px;
  }

  .storefront-nav {
    display: none;
  }

  .storefront-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 56px 24px 72px;
  }

  .storefront-hero-visual {
    min-height: 320px;
  }

  .storefront-grid,
  .storefront-feature-strip {
    grid-template-columns: 1fr;
  }

  .storefront-tile {
    min-height: 360px;
  }
}

@media (max-width: 600px) {
  .storefront-page {
    margin: -16px;
  }

  .storefront-top-action {
    display: none;
  }

  .storefront-actions {
    flex-direction: column;
  }

  .storefront-btn {
    width: 100%;
  }

  .product-machine {
    transform: scale(0.82);
  }
}

/* Hide MkDocs default top white header; storefront page provides its own header. */
.md-header,
.md-tabs {
  display: none !important;
}

.md-main,
.md-container {
  margin-top: 0 !important;
}

/* Scroll-linked product showcase */
.storefront-scroll-showcase {
  background: #050607;
  color: #fff;
  min-height: 230vh;
  position: relative;
}

.scroll-stage {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: 5vw;
  padding: 8vh 9vw;
  overflow: hidden;
}

.scroll-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 26%, rgba(16,185,129,0.28), transparent 24%),
    radial-gradient(circle at 86% 74%, rgba(99,102,241,0.26), transparent 26%),
    linear-gradient(180deg, #050607 0%, #111a1d 100%);
  pointer-events: none;
}

.scroll-copy-stack,
.scroll-visual-pin {
  position: relative;
  z-index: 2;
}

.scroll-copy-stack {
  min-height: 420px;
}

.scroll-copy {
  position: absolute;
  inset: 0 auto auto 0;
  max-width: 520px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.scroll-copy.is-active {
  opacity: 1;
  transform: translateY(0);
}

.scroll-copy span {
  color: #10b981;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scroll-copy h2 {
  color: #fff;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 900;
  margin-top: 14px;
  padding: 0;
}

.scroll-copy h2::after {
  display: none;
}

.scroll-copy p {
  color: rgba(255,255,255,0.72);
  font-size: 17px;
  line-height: 1.75;
  margin-top: 20px;
}

.scroll-visual-pin {
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.scroll-device {
  --scroll-progress: 0;
  width: min(430px, 78vw);
  height: 430px;
  position: relative;
  border-radius: 36px;
  background: linear-gradient(145deg, #22282d, #050607 58%, #3d464b);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 60px 90px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(255,255,255,0.08);
  transform:
    translateY(calc((var(--scroll-progress) - 0.5) * -90px))
    rotateX(calc((var(--scroll-progress) - 0.5) * 12deg))
    rotateY(calc((var(--scroll-progress) - 0.5) * -18deg))
    scale(calc(0.92 + var(--scroll-progress) * 0.12));
  transition: background 0.45s ease;
}

.scroll-device::before {
  content: '';
  position: absolute;
  inset: 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.025));
  border: 1px solid rgba(255,255,255,0.12);
}

.scroll-device-light {
  position: absolute;
  width: 180px;
  height: 180px;
  right: -40px;
  top: 24px;
  border-radius: 999px;
  background: rgba(16,185,129,0.32);
  filter: blur(30px);
  opacity: calc(0.4 + var(--scroll-progress) * 0.5);
}

.scroll-device-screen {
  position: absolute;
  left: 64px;
  top: 78px;
  width: 130px;
  height: 190px;
  border-radius: 18px;
  background: linear-gradient(180deg, #111827, #020617);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
}

.scroll-device-base {
  position: absolute;
  left: 52px;
  right: 52px;
  bottom: 54px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(16,185,129,0.7), rgba(99,102,241,0.65));
  transform: translateX(calc((var(--scroll-progress) - 0.5) * 70px));
}

.scroll-orbit-card {
  position: absolute;
  z-index: 4;
  min-width: 130px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(16px);
  font-weight: 900;
  text-align: center;
  box-shadow: 0 18px 45px rgba(0,0,0,0.26);
  transform: translate3d(0, 0, 0);
  transition: opacity 0.35s ease;
}

.scroll-card-one {
  left: 6%;
  top: 24%;
}

.scroll-card-two {
  right: 8%;
  top: 16%;
}

.scroll-card-three {
  right: 10%;
  bottom: 18%;
}

.storefront-scroll-showcase[data-step='0'] .scroll-card-one,
.storefront-scroll-showcase[data-step='1'] .scroll-card-two,
.storefront-scroll-showcase[data-step='2'] .scroll-card-three {
  background: rgba(16,185,129,0.28);
  border-color: rgba(16,185,129,0.58);
}

@media (max-width: 900px) {
  .storefront-scroll-showcase {
    min-height: auto;
  }

  .scroll-stage {
    position: relative;
    grid-template-columns: 1fr;
    padding: 70px 24px;
  }

  .scroll-copy-stack {
    min-height: 350px;
  }

  .scroll-visual-pin {
    min-height: 430px;
  }
}

/* Brand trust carousel section */
.brand-trust-section {
  position: relative;
  min-height: 640px;
  background: #030506;
  color: #fff;
  overflow: hidden;
  padding: 92px 0 86px;
}

.brand-trust-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 10%, rgba(99,102,241,0.34), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(16,185,129,0.34), transparent 28%),
    radial-gradient(circle at 50% 90%, rgba(14,165,233,0.16), transparent 30%),
    linear-gradient(180deg, #071015 0%, #020304 70%);
  opacity: 0.95;
}

.brand-trust-stage {
  position: relative;
  z-index: 2;
  width: min(1280px, 100vw);
  min-height: 430px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) minmax(360px, 1fr) minmax(230px, 0.8fr);
  align-items: center;
  gap: clamp(22px, 4vw, 58px);
  padding: 0 clamp(20px, 5vw, 70px);
}

.trust-story,
.trust-media-card {
  border-bottom: 0 !important;
}

.trust-story {
  display: block;
  color: #fff !important;
  transform: translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.trust-story span {
  color: #10b981;
  display: block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.trust-story h2 {
  color: #fff;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.045em;
  margin: 0 0 12px;
  padding: 0;
}

.trust-story h2::after {
  display: none;
}

.trust-story p {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 18px;
}

.trust-story strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.45);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.trust-story:hover strong {
  background: #fff;
  border-color: #fff;
  color: #050505;
}

.trust-media-card {
  display: block;
  position: relative;
  min-height: 330px;
  border-radius: 4px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02)),
    linear-gradient(135deg, #4b5563, #111827 54%, #0f766e);
  box-shadow: 0 42px 110px rgba(0,0,0,0.55);
  transform: translateY(0) scale(1);
  transition: transform 0.45s ease, box-shadow 0.45s ease, background 0.45s ease;
}

.trust-media-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 58px 130px rgba(0,0,0,0.68);
}

.trust-media-visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-person-card {
  position: relative;
  width: 250px;
  height: 250px;
  border-radius: 999px 999px 34px 34px;
  background: linear-gradient(180deg, rgba(255,255,255,0.2), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.16);
}

.trust-person-face {
  position: absolute;
  left: 50%;
  top: 38px;
  transform: translateX(-50%);
  width: 86px;
  height: 86px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fde68a, #f8fafc 52%, #dbeafe);
  box-shadow: 0 0 0 12px rgba(255,255,255,0.08);
}

.trust-person-body {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  width: 150px;
  height: 96px;
  border-radius: 42px 42px 18px 18px;
  background: linear-gradient(135deg, #fff, #dbeafe);
}

.trust-tabs {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 22px;
}

.trust-tabs button {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.86);
  width: 22px;
  height: 22px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  position: relative;
}

.trust-tabs button::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: #fff;
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.trust-tabs button.is-active::after {
  width: 34px;
}

.brand-trust-section.is-switching .trust-story,
.brand-trust-section.is-switching .trust-media-card {
  opacity: 0.25;
  transform: translateY(14px) scale(0.98);
}

@media (max-width: 980px) {
  .brand-trust-stage {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .trust-story {
    max-width: 680px;
    margin: 0 auto;
  }

  .trust-media-card {
    order: -1;
    width: min(620px, 100%);
    margin: 0 auto;
  }
}

/* Scroll-driven trust carousel overrides */
.brand-trust-section {
  min-height: 320vh;
  padding: 0;
}

.brand-trust-stage {
  position: sticky;
  top: 0;
  min-height: 100vh;
  align-content: center;
  padding-top: 8vh;
  padding-bottom: 8vh;
}

.trust-media-card {
  --trust-progress: 0;
  transform:
    translateY(calc((var(--trust-progress) - 0.5) * -48px))
    scale(calc(0.96 + var(--trust-progress) * 0.08));
}

.trust-person-card {
  transform: translateX(calc((var(--trust-progress) - 0.5) * 46px));
  transition: transform 0.35s ease;
}

.trust-tabs {
  position: sticky;
  z-index: 4;
  bottom: 38px;
  margin-top: -74px;
  padding-bottom: 38px;
}

@media (max-width: 980px) {
  .brand-trust-section {
    min-height: 260vh;
  }

  .brand-trust-stage {
    position: sticky;
    min-height: 100vh;
  }
}

/* Wheel-step trust carousel compact override */
.brand-trust-section {
  min-height: 680px !important;
  padding: 92px 0 96px !important;
}

.brand-trust-stage {
  position: relative !important;
  top: auto !important;
  min-height: 430px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.trust-tabs {
  position: relative !important;
  bottom: auto !important;
  margin-top: 28px !important;
  padding-bottom: 0 !important;
}

.trust-media-card {
  transform: translateY(0) scale(1) !important;
}

.trust-person-card {
  transform: translateX(0) !important;
}

.brand-trust-section.is-switching .trust-story-left {
  transform: translateX(-30px);
}

.brand-trust-section.is-switching .trust-story-right {
  transform: translateX(30px);
}

.brand-trust-section.is-switching .trust-media-card {
  transform: scale(0.94) !important;
}

/* Anker-style vertical-to-horizontal trust section */
.brand-trust-section {
  position: relative;
  height: 360vh !important;
  min-height: 360vh !important;
  padding: 0 !important;
  background: #020304;
  color: #fff;
  overflow: visible;
}

.brand-trust-bg {
  position: sticky;
  top: 0;
  height: 100vh;
  background:
    radial-gradient(circle at 16% 4%, rgba(79,70,229,0.38), transparent 30%),
    radial-gradient(circle at 86% 7%, rgba(16,185,129,0.34), transparent 28%),
    linear-gradient(180deg, #07121b 0%, #020304 72%);
}

.trust-hero-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.trust-hero-device {
  width: min(640px, 72vw);
  height: min(360px, 44vw);
  border-radius: 42px;
  background: linear-gradient(145deg, #22272f 0%, #06080d 54%, #52525b 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.16), 0 70px 130px rgba(0,0,0,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.trust-hero-device::before {
  content: '';
  position: absolute;
  inset: 34px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 52%, rgba(124,58,237,0.64), transparent 18%),
    linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.12);
}

.trust-hero-device span {
  position: absolute;
  top: 76px;
  color: rgba(255,255,255,0.74);
  font-size: 15px;
  z-index: 2;
}

.trust-hero-device strong {
  color: #fff;
  z-index: 2;
  font-size: clamp(32px, 5vw, 58px);
  letter-spacing: -0.04em;
}

.brand-trust-stage {
  position: sticky !important;
  top: 0 !important;
  z-index: 3;
  height: 100vh !important;
  min-height: 100vh !important;
  width: 100vw !important;
  overflow: hidden;
  display: block !important;
  padding: 0 !important;
  pointer-events: none;
}

.trust-horizontal-track {
  height: 100vh;
  display: flex;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding-left: 14vw;
  padding-right: 14vw;
  will-change: transform;
  transition: transform 0.08s linear;
  pointer-events: auto;
}

.trust-slide {
  flex: 0 0 auto;
  border-bottom: 0 !important;
  color: #fff !important;
}

.trust-slide-media {
  width: min(58vw, 720px);
  height: min(42vw, 420px);
  min-width: 420px;
  background: #020304;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 42px 110px rgba(0,0,0,0.62);
  overflow: hidden;
}

.trust-device-visual {
  width: 76%;
  height: 66%;
  border-radius: 30px;
  background:
    radial-gradient(circle at 48% 52%, rgba(124,58,237,0.7), transparent 18%),
    linear-gradient(145deg, #242832, #05070b 58%, #4b5563);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15), 0 36px 90px rgba(0,0,0,0.6);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 42px;
  color: rgba(255,255,255,0.72);
  font-weight: 800;
}

.trust-device-two {
  background:
    radial-gradient(circle at 58% 52%, rgba(16,185,129,0.62), transparent 20%),
    linear-gradient(145deg, #172554, #030712 56%, #0f766e);
}

.trust-slide-copy {
  width: min(38vw, 520px);
  min-width: 360px;
}

.trust-slide-copy span {
  display: block;
  color: #10b981;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.trust-slide-copy h2 {
  color: #fff;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.05em;
  font-weight: 900;
  padding: 0;
  margin: 0 0 14px;
}

.trust-slide-copy h2::after {
  display: none;
}

.trust-slide-copy p {
  color: rgba(255,255,255,0.74);
  font-size: 15px;
  line-height: 1.72;
  margin: 0 0 18px;
}

.trust-slide-copy strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  font-size: 13px;
  padding: 0 14px;
}

.trust-slide-person {
  background: linear-gradient(135deg, #1f2937, #050505);
}

.trust-person-scene {
  width: 100%;
  height: 100%;
  position: relative;
  background: linear-gradient(135deg, #374151, #111827 52%, #0f766e);
}

.trust-person-head {
  position: absolute;
  width: 92px;
  height: 92px;
  border-radius: 999px;
  right: 26%;
  top: 22%;
  background: linear-gradient(135deg, #fde68a, #f8fafc);
}

.trust-person-shirt {
  position: absolute;
  width: 190px;
  height: 150px;
  right: 16%;
  bottom: 20%;
  border-radius: 46px 46px 12px 12px;
  background: #0f172a;
}

.trust-table {
  position: absolute;
  left: 10%;
  right: 8%;
  bottom: 12%;
  height: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
}

.trust-progress-dots {
  position: fixed;
  left: 50%;
  bottom: 11vh;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 18px;
  pointer-events: none;
}

.trust-progress-dots span {
  color: rgba(255,255,255,0.62);
  font-size: 12px;
  font-weight: 800;
  position: relative;
}

.trust-progress-dots span::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: #fff;
  transform: translateX(-50%);
  transition: width 0.2s ease;
}

.trust-progress-dots span.is-active {
  color: #fff;
}

.trust-progress-dots span.is-active::after {
  width: 34px;
}

@media (max-width: 900px) {
  .brand-trust-section {
    height: 300vh !important;
    min-height: 300vh !important;
  }

  .trust-horizontal-track {
    padding-left: 8vw;
    padding-right: 8vw;
  }

  .trust-slide-media,
  .trust-slide-copy {
    min-width: 78vw;
    width: 78vw;
  }
}

.brand-trust-stage .trust-progress-dots {
  position: absolute !important;
  left: 50%;
  bottom: 11vh;
  transform: translateX(-50%);
}

/* Removed experimental brand trust module */
.brand-trust-section,
.storefront-scroll-showcase {
  display: none !important;
}

/* Bambu-style 2x2 product grid */
.storefront-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  padding: 10px !important;
  background: #f1f1f1 !important;
}

.storefront-tile {
  min-height: 430px !important;
  background: #f7f7f7 !important;
  padding: 34px 30px 0 !important;
  align-items: flex-start !important;
}

.tile-copy {
  max-width: 520px !important;
  margin: 0 auto;
}

.tile-copy span {
  color: #252525 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

.tile-copy h2 {
  max-width: 470px;
  margin: 6px auto 8px !important;
  font-size: clamp(25px, 2.4vw, 36px) !important;
  line-height: 1.08 !important;
  font-weight: 900 !important;
  letter-spacing: -0.045em !important;
}

.tile-copy p {
  display: none !important;
}

.tile-copy strong {
  color: #11845b !important;
  font-size: 13px !important;
  font-weight: 750 !important;
}

.tile-visual {
  bottom: 24px !important;
  height: 210px !important;
  width: min(470px, 86%) !important;
  opacity: 1 !important;
}

.tile-visual-printer-set {
  background: none !important;
  clip-path: none !important;
}

.printer-main,
.printer-side,
.printer-small {
  position: absolute;
  bottom: 0;
  background: linear-gradient(135deg, #2b2f32, #08090a 58%, #3b3f43);
  border: 2px solid #a7adb1;
  box-shadow: 0 22px 32px rgba(0,0,0,0.18), inset 0 0 0 10px rgba(255,255,255,0.05);
}

.printer-main {
  left: 35%;
  width: 130px;
  height: 185px;
}

.printer-main::before,
.printer-side::before {
  content: '';
  position: absolute;
  inset: 22px 18px 22px;
  border: 2px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.22);
}

.printer-side {
  left: 58%;
  width: 118px;
  height: 158px;
}

.printer-small {
  left: 16%;
  bottom: 18px;
  width: 112px;
  height: 112px;
  background: linear-gradient(135deg, #e5e7eb, #9ca3af);
  border-color: #6b7280;
}

.printer-small::before {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  height: 62px;
  border: 4px solid #111827;
  border-top: 0;
}

.tile-visual-filaments {
  background: none !important;
  height: 178px !important;
}

.tile-visual-filaments::before {
  content: '';
  position: absolute;
  left: 2%;
  right: 22%;
  top: 42px;
  height: 94px;
  background:
    radial-gradient(circle at 8% 50%, #fb923c 0 36px, #222 37px 45px, transparent 46px),
    radial-gradient(circle at 22% 50%, #f8fafc 0 36px, #222 37px 45px, transparent 46px),
    radial-gradient(circle at 36% 50%, #9ca3af 0 36px, #222 37px 45px, transparent 46px),
    radial-gradient(circle at 50% 50%, #86efac 0 36px, #222 37px 45px, transparent 46px),
    radial-gradient(circle at 64% 50%, #38bdf8 0 36px, #222 37px 45px, transparent 46px),
    radial-gradient(circle at 78% 50%, #f87171 0 36px, #222 37px 45px, transparent 46px);
}

.tile-visual-filaments::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 12px;
  width: 150px;
  height: 95px;
  background: linear-gradient(135deg, #7dd3fc, #e0f2fe 55%, #38bdf8);
  clip-path: polygon(0 60%, 28% 12%, 58% 38%, 100% 0, 88% 100%, 20% 86%);
}

.tile-visual-models {
  background: none !important;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 22px;
}

.model-part,
.model-phone {
  position: relative;
  flex: 0 0 auto;
}

.model-part-one {
  width: 150px;
  height: 112px;
  background: linear-gradient(135deg, #111827, #374151);
  clip-path: polygon(12% 22%, 82% 6%, 100% 54%, 78% 100%, 8% 86%, 0 42%);
}

.model-phone {
  width: 72px;
  height: 140px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.75)),
    linear-gradient(135deg, #111827, #38bdf8);
  border: 8px solid #111827;
  box-shadow: 0 16px 28px rgba(0,0,0,0.18);
}

.model-phone::before {
  content: '';
  position: absolute;
  inset: 16px 8px auto;
  height: 68px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f97316, #38bdf8);
}

.model-part-two {
  width: 128px;
  height: 154px;
  background: linear-gradient(135deg, #1f2937, #6b7280);
  clip-path: polygon(38% 0, 82% 12%, 90% 100%, 18% 100%, 0 16%);
}

.tile-visual-accessories {
  background: none !important;
  height: 190px !important;
}

.accessory-board,
.accessory-mouse,
.accessory-box {
  position: absolute;
  bottom: 0;
}

.accessory-board {
  left: 4%;
  width: 104px;
  height: 152px;
  background: linear-gradient(135deg, #b45309, #fef3c7);
  border: 6px solid #111827;
}

.accessory-board::before {
  content: '';
  position: absolute;
  inset: 16px;
  background: repeating-linear-gradient(180deg, #111827 0 4px, transparent 4px 14px);
}

.accessory-mouse {
  left: 34%;
  width: 150px;
  height: 118px;
  border-radius: 70px 70px 45px 45px;
  background: linear-gradient(135deg, #111827, #4b5563);
  box-shadow: 0 18px 30px rgba(0,0,0,0.18);
}

.accessory-mouse::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 12px;
  width: 14px;
  height: 38px;
  border-radius: 999px;
  background: #ef4444;
  transform: translateX(-50%);
}

.accessory-box {
  right: 2%;
  width: 160px;
  height: 124px;
  background: #f4f4f5;
  border: 5px solid #c7c7cc;
}

.accessory-box::before {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #9ca3af, #374151);
}

.tile-models,
.tile-accessories {
  background: #f7f7f7 !important;
}

@media (max-width: 900px) {
  .storefront-grid {
    grid-template-columns: 1fr !important;
  }

  .storefront-tile {
    min-height: 390px !important;
  }
}

/* Draggable hero carousel */
.hero-carousel {
  display: block !important;
  min-height: 640px !important;
  padding: 0 !important;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.hero-carousel.is-dragging {
  cursor: grabbing;
}

.hero-carousel-track {
  height: 100%;
  min-height: 640px;
  display: flex;
  transform: translate3d(0, 0, 0);
  transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-carousel.is-dragging .hero-carousel-track {
  transition: none;
}

.hero-slide {
  flex: 0 0 100%;
  min-height: 640px;
  position: relative;
  overflow: hidden;
  color: #fff;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  padding: 86px 9vw 104px;
  background:
    radial-gradient(circle at 72% 36%, rgba(255,255,255,0.2), transparent 22%),
    linear-gradient(180deg, #050505 0%, #0f1315 58%, #6b7b84 100%);
}

.hero-slide-alt {
  background:
    radial-gradient(circle at 76% 34%, rgba(16,185,129,0.26), transparent 24%),
    linear-gradient(180deg, #050505 0%, #07130f 58%, #30433e 100%);
}

.hero-slide-support {
  background:
    radial-gradient(circle at 72% 36%, rgba(99,102,241,0.26), transparent 24%),
    linear-gradient(180deg, #050505 0%, #0c0f1f 58%, #3f435c 100%);
}

.hero-carousel .storefront-dots {
  bottom: 34px !important;
  z-index: 5;
}

.hero-carousel-dots button {
  appearance: none;
  border: 0;
  padding: 0;
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: width 0.22s ease, background 0.22s ease;
}

.hero-carousel-dots button.active {
  width: 42px;
  background: rgba(255,255,255,0.95);
}

.hero-product-stack {
  position: relative;
  width: min(470px, 78vw);
  height: 380px;
  filter: drop-shadow(0 42px 44px rgba(0,0,0,0.45));
}

.hero-product-stack span {
  position: absolute;
  border-radius: 28px;
  background: linear-gradient(145deg, #202428, #050607 60%, #4b5563);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: inset 0 0 0 12px rgba(255,255,255,0.04);
}

.hero-product-stack span:nth-child(1) {
  width: 220px;
  height: 270px;
  left: 20px;
  bottom: 0;
}

.hero-product-stack span:nth-child(2) {
  width: 270px;
  height: 330px;
  left: 145px;
  bottom: 28px;
}

.hero-product-stack span:nth-child(3) {
  width: 160px;
  height: 230px;
  right: 0;
  bottom: 0;
}

.hero-doc-card {
  width: min(430px, 76vw);
  min-height: 330px;
  border-radius: 30px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 42px 80px rgba(0,0,0,0.42), inset 0 0 0 1px rgba(255,255,255,0.06);
  padding: 44px;
  display: grid;
  gap: 22px;
}

.hero-doc-card span {
  display: block;
  height: 28px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
}

.hero-doc-card span:nth-child(1) { width: 82%; }
.hero-doc-card span:nth-child(2) { width: 64%; }
.hero-doc-card span:nth-child(3) { width: 92%; }
.hero-doc-card span:nth-child(4) { width: 54%; }

@media (max-width: 900px) {
  .hero-carousel,
  .hero-carousel-track,
  .hero-slide {
    min-height: 690px !important;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    padding: 58px 24px 88px;
  }
}

/* Mega menu navigation and hero clipping fix */
.storefront-topbar {
  overflow: visible !important;
}

.mega-nav {
  height: 100%;
  align-items: stretch !important;
}

.mega-item {
  display: flex;
  align-items: center;
  height: 100%;
}

.mega-item > a {
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.mega-panel {
  position: fixed;
  left: 0;
  right: 0;
  top: 52px;
  background: rgba(248,248,248,0.98);
  color: #111;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  box-shadow: 0 26px 44px rgba(0,0,0,0.22);
  border-top: 1px solid rgba(0,0,0,0.05);
  z-index: 100;
}

.mega-item:hover .mega-panel,
.mega-panel:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-panel-inner {
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: 26px 0 30px;
}

.mega-section-title {
  color: #555;
  font-size: 13px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 56px;
}

.mega-card {
  display: grid;
  grid-template-columns: 78px 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-items: center;
  color: #111 !important;
  min-height: 86px;
}

.mega-card strong {
  display: block;
  font-size: 15px;
  font-weight: 850;
  align-self: end;
}

.mega-card em {
  color: #555;
  font-size: 12px;
  font-style: normal;
  align-self: start;
}

.mega-printer {
  grid-row: 1 / span 2;
  width: 58px;
  height: 76px;
  justify-self: center;
  background: linear-gradient(135deg, #2a2d31, #08090a 62%, #4b5563);
  border: 2px solid #9ca3af;
  box-shadow: inset 0 0 0 8px rgba(255,255,255,0.04);
}

.mega-printer-open,
.mega-printer-mini {
  background: linear-gradient(135deg, #e5e7eb, #9ca3af);
  border-color: #4b5563;
}

.mega-printer-tall { height: 86px; }
.mega-printer-compact { height: 68px; width: 52px; }
.mega-printer-mini { height: 70px; width: 46px; }

.mega-footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid #ddd;
}

.mega-footer-links a {
  color: #0f8f61 !important;
  font-size: 13px;
  font-weight: 800;
}

.mega-panel-small .mega-panel-inner {
  padding: 22px 0;
}

.mega-grid-small {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mega-link-card {
  color: #111 !important;
  font-size: 16px;
  font-weight: 850;
  padding: 22px;
  background: #fff;
  border-radius: 10px;
}

.hero-slide {
  width: 100% !important;
  max-width: none !important;
  min-width: 100% !important;
  box-sizing: border-box !important;
  padding-left: max(9vw, 96px) !important;
  padding-right: max(9vw, 96px) !important;
}

.hero-carousel .storefront-hero-content {
  max-width: 620px !important;
  padding-left: 0 !important;
  transform: translateX(0) !important;
}

.hero-carousel .storefront-hero h1,
.hero-carousel h1 {
  font-size: clamp(44px, 5.6vw, 86px) !important;
  max-width: 680px !important;
}

@media (max-width: 900px) {
  .mega-panel {
    display: none !important;
  }

  .hero-slide {
    padding-left: 28px !important;
    padding-right: 28px !important;
  }
}

/* Tool product pages */
.tool-product-hero,
.tool-detail-hero {
  padding: 46px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0f172a, #111827 58%, #047857);
  color: #fff;
  margin: 20px 0 34px;
  overflow: hidden;
  position: relative;
}

.tool-product-hero::after,
.tool-detail-hero::after {
  content: '';
  position: absolute;
  right: 44px;
  bottom: -42px;
  width: 260px;
  height: 210px;
  border-radius: 34px;
  background: rgba(255,255,255,0.08);
  transform: rotate(-10deg);
}

.tool-product-hero h2,
.tool-detail-hero h2 {
  color: #fff;
  max-width: 720px;
}

.tool-product-hero p,
.tool-detail-hero p {
  max-width: 680px;
  color: rgba(255,255,255,0.76);
  font-size: 17px;
}

.tool-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0 38px;
}

.tool-product-card {
  display: block;
  min-height: 250px;
  padding: 28px;
  border-radius: 22px;
  background: #f7f7f7;
  border: 1px solid #e5e7eb !important;
  color: #111827 !important;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
}

.tool-product-card::after {
  content: '';
  position: absolute;
  right: 22px;
  bottom: 20px;
  width: 132px;
  height: 108px;
  opacity: 0.92;
  background: linear-gradient(135deg, #1f2937, #030712 60%, #6b7280);
  clip-path: polygon(12% 22%, 74% 8%, 100% 46%, 82% 100%, 6% 84%, 0 40%);
}

.tool-card-saw::after { clip-path: polygon(0 42%, 72% 8%, 100% 24%, 58% 92%, 18% 100%); background: linear-gradient(135deg, #111827, #6b7280); }
.tool-card-laser::after { clip-path: polygon(42% 0, 72% 10%, 100% 100%, 0 100%, 28% 10%); background: linear-gradient(135deg, #047857, #111827); }
.tool-card-power::after { border-radius: 18px; clip-path: none; background: linear-gradient(135deg, #111827, #065f46); }
.tool-card-multi::after { clip-path: polygon(0 46%, 58% 0, 100% 20%, 74% 100%, 14% 80%); background: linear-gradient(135deg, #374151, #111827); }
.tool-card-storage::after { border-radius: 12px; clip-path: none; background: repeating-linear-gradient(180deg, #111827 0 30px, #374151 30px 34px); }

.tool-product-card h3 {
  max-width: 70%;
}

.tool-product-card p,
.tool-product-card li {
  max-width: 72%;
}

.tool-detail-drill { background: linear-gradient(135deg, #0f172a, #111827 58%, #047857); }
.tool-detail-saw { background: linear-gradient(135deg, #111827, #27272a 55%, #b45309); }
.tool-detail-laser { background: linear-gradient(135deg, #052e16, #111827 58%, #22c55e); }
.tool-detail-power { background: linear-gradient(135deg, #111827, #0f172a 58%, #2563eb); }
.tool-detail-multi { background: linear-gradient(135deg, #18181b, #111827 58%, #7c2d12); }
.tool-detail-storage { background: linear-gradient(135deg, #111827, #1f2937 58%, #64748b); }

@media (max-width: 820px) {
  .tool-product-grid {
    grid-template-columns: 1fr;
  }

  .tool-product-card h3,
  .tool-product-card p,
  .tool-product-card li {
    max-width: 100%;
  }
}

.tool-product-card > span {
  position: relative;
  z-index: 2;
  display: inline-flex;
  margin-top: 10px;
  color: #0f8f61;
  font-weight: 850;
}

.tool-product-card h3,
.tool-product-card p,
.tool-product-card ul {
  position: relative;
  z-index: 2;
}

/* Amazon-style catalog and detail pages */
.amazon-catalog-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 26px;
  margin-top: 20px;
}

.amazon-filter {
  position: sticky;
  top: 80px;
  align-self: start;
  padding: 22px 18px;
  background: #fafafa;
  border-right: 1px solid #e5e7eb;
}

.amazon-filter h3 {
  margin: 0 0 14px;
  font-size: 16px;
}

.amazon-filter a {
  display: block;
  color: #374151 !important;
  margin: 8px 0;
  font-size: 14px;
}

.amazon-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0 24px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 24px;
}

.amazon-toolbar span {
  display: block;
  color: #6b7280;
  font-size: 13px;
}

.amazon-toolbar strong {
  font-size: 24px;
}

.amazon-toolbar button {
  border: 1px solid #d1d5db;
  background: #fff;
  border-radius: 999px;
  padding: 8px 18px;
}

.amazon-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 22px;
}

.amazon-card {
  color: #111827 !important;
  border-bottom: 0 !important;
}

.amazon-card-visual,
.amazon-detail-image {
  height: 235px;
  background: #f3f4f6;
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
}

.amazon-card-visual::before,
.amazon-detail-image::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42%;
  height: 48%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #111827, #374151 62%, #9ca3af);
  box-shadow: 0 20px 34px rgba(0,0,0,0.16);
}

.tool-visual-drill::before,.tool-visual-driver::before { clip-path: polygon(0 36%, 72% 20%, 100% 42%, 84% 72%, 34% 64%, 24% 100%, 8% 100%); }
.tool-visual-saw::before { clip-path: polygon(0 46%, 66% 10%, 100% 32%, 64% 86%, 14% 100%); }
.tool-visual-laser::before,.tool-visual-meter::before { clip-path: polygon(36% 0, 72% 10%, 100% 100%, 0 100%, 28% 10%); background: linear-gradient(135deg, #047857, #111827); }
.tool-visual-grinder::before,.tool-visual-multitool::before { clip-path: polygon(0 42%, 70% 0, 100% 22%, 74% 100%, 16% 80%); }
.tool-visual-sander::before { clip-path: polygon(14% 20%, 88% 14%, 100% 70%, 72% 100%, 0 82%); }
.tool-visual-light::before { border-radius: 999px 999px 20px 20px; background: linear-gradient(135deg, #facc15, #111827); }
.tool-visual-power::before,.tool-visual-storage::before,.tool-visual-battery::before,.tool-visual-kit::before,.tool-visual-vacuum::before { border-radius: 16px; clip-path: none; }

.amazon-card h3 {
  font-size: 15px;
  margin: 0 0 6px;
  line-height: 1.35;
}

.amazon-card p {
  color: #6b7280;
  font-size: 13px;
  margin: 0 0 8px;
}

.amazon-card strong {
  color: #0f8f61;
  font-size: 13px;
}

.amazon-detail-page {
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(340px, 1.05fr);
  gap: 46px;
  margin: 24px 0 60px;
}

.amazon-detail-image {
  height: 560px;
  background: #f7f7f7;
}

.amazon-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.amazon-thumbs span {
  width: 70px;
  height: 70px;
  border: 1px solid #d1d5db;
  background: #f3f4f6;
}

.amazon-breadcrumb,
.amazon-asin {
  color: #6b7280;
  font-size: 13px;
}

.amazon-detail-info h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  margin: 10px 0 14px;
}

.amazon-price {
  font-size: 24px;
  font-weight: 850;
  margin: 12px 0 8px;
}

.amazon-detail-info li {
  margin: 8px 0;
}

.amazon-buy,
.amazon-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  margin: 18px 10px 0 0;
  border-radius: 4px;
  font-weight: 850;
}

.amazon-buy {
  background: #16a34a;
  color: #fff !important;
}

.amazon-secondary {
  background: #111827;
  color: #fff !important;
}

@media (max-width: 980px) {
  .amazon-catalog-layout,
  .amazon-detail-page {
    grid-template-columns: 1fr;
  }

  .amazon-filter {
    position: relative;
    top: auto;
    border-right: 0;
  }

  .amazon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .amazon-grid {
    grid-template-columns: 1fr;
  }
}

.language-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 14px;
  color: #4b5563;
}

.language-bar select {
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 8px 36px 8px 14px;
  background: #fff;
  font-weight: 700;
}

.amazon-card-visual img,
.amazon-detail-image img,
.amazon-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.amazon-card-visual:has(img)::before,
.amazon-detail-image:has(img)::before {
  display: none;
}

.amazon-thumbs span {
  overflow: hidden;
}

.amazon-detail-info p {
  font-size: 16px;
  line-height: 1.65;
}

.amazon-detail-info + h2,
.amazon-detail-page + h2 {
  margin-top: 38px;
}

.product-real-detail {
  align-items: start;
}

.product-real-detail .amazon-gallery h2 {
  margin-top: 0;
}

[data-lang-content][hidden] {
  display: none !important;
}

.qa-list details {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 18px;
  margin: 10px 0;
  background: #fff;
}

.qa-list summary {
  cursor: pointer;
  font-weight: 800;
}

.aplus-section {
  margin-top: 48px;
}

.aplus-images {
  display: grid;
  gap: 18px;
}

.aplus-images img {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: block;
  border-radius: 14px;
  background: #f7f7f7;
}

.amazon-detail-desc {
  font-size: 18px;
  line-height: 1.7;
  color: #374151;
}

.product-thumbs span {
  border-radius: 8px;
  background: #fff;
}

html[data-goldse-lang="en"] [data-lang-content]:not([data-lang-content="en"]),
html[data-goldse-lang="ja"] [data-lang-content]:not([data-lang-content="ja"]),
html[data-goldse-lang="de"] [data-lang-content]:not([data-lang-content="de"]),
html[data-goldse-lang="it"] [data-lang-content]:not([data-lang-content="it"]) {
  display: none !important;
}

html:not([data-goldse-lang]) [data-lang-content]:not([data-lang-content="en"]) {
  display: none !important;
}

.product-thumb {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  cursor: pointer;
}

.product-thumb img {
  width: 100%;
  height: 72px;
  object-fit: contain;
}

.mega-card > img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  margin-bottom: 8px;
}

body.goldse-storefront-header .md-content {
  padding: 0 !important;
}

body.goldse-storefront-header article > :not(.storefront-global-topbar):not(.storefront-page):not(.storefront-topbar) {
  margin-left: 40px;
  margin-right: 40px;
}

body.goldse-storefront-header article > .storefront-global-topbar {
  margin: 0 0 32px 0 !important;
  width: 100%;
}

.amazon-product-title {
  font-size: 28px;
  line-height: 1.25;
  font-weight: 850;
  color: #0f172a;
  margin: 8px 0 18px;
}

.amazon-rrp {
  color: #6b7280;
  font-size: 16px;
  margin-top: -10px;
  margin-bottom: 18px;
  text-decoration: line-through;
}

.amazon-detail-image {
  touch-action: pan-y;
  user-select: none;
}
