/* ============================================
   上海米全自动化科技有限公司 — 官网样式
   工业科技风 · 蓝橙品牌色 · 响应式
   ============================================ */

/* ----- CSS Variables ----- */
:root {
  --primary: #1a56db;
  --primary-dark: #1243af;
  --primary-light: #e8f0fe;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --border: #e5e7eb;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1200px;
  --font: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  --transition: 0.3s ease;
}

/* ----- Reset & Base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul, ol { padding-left: 1.25rem; }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; }

/* ----- Container ----- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1.4;
}
.btn-primary {
  background: var(--primary);
  color: #fff !important;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26,86,219,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--primary) !important;
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff !important;
}
.btn-link {
  color: var(--primary) !important;
  padding: 0.5rem 0;
  border: none;
  font-weight: 600;
}
.btn-link:hover { color: var(--primary-dark) !important; gap: 0.75rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.125rem; }
.btn-full { width: 100%; justify-content: center; }

/* ----- Header / Nav ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text) !important;
}
.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.125rem;
  border-radius: 10px;
  letter-spacing: -0.5px;
}
.logo-text strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
}
.logo-text small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 400;
}

/* ----- Nav ----- */
.site-nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 0.25rem;
}
.site-nav a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a.active {
  background: var(--primary-light);
  color: var(--primary);
}
.site-nav a.active { font-weight: 700; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}


.hero-contact {
  margin-top: 1rem;
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  opacity: 0.85;
}
.hero-contact span { white-space: nowrap; }
@media (max-width: 640px) {
  .hero-contact { font-size: 0.78rem; gap: 0.6rem; }
}

/* ----- Section ----- */
.section {
  padding: 5rem 0;
}
.section-alt {
  background: var(--bg-alt);
}
.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.section-desc {
  text-align: center;
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ----- Hero ----- */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1a56db 100%);
  color: #fff;
  padding: 6rem 0 5rem;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}
.hero-tagline {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}
.hero-desc {
  font-size: 0.95rem;
  margin-bottom: 2rem;
  opacity: 0.75;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-actions .btn-outline {
  color: #fff !important;
  border-color: rgba(255,255,255,0.5);
}
.hero-actions .btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
  padding: 1.5rem 2rem;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
}
.stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.stat-label {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ----- About Brief ----- */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
}
.about-content p + p { margin-top: 1rem; }
.about-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.cert-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ----- Product Grid ----- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}
.product-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  padding: 0 1.5rem;
}
.product-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  padding: 0 1.5rem 1.5rem;
}
.card-tag {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.2rem 0.6rem;
  background: #fef3c7;
  color: #92400e;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ----- Product Images (photos) ----- */
.product-img {
  width: 100%;
  padding: 1rem 1.5rem 0.5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.product-img {
  width: 100%;
  min-height: 180px;
  position: relative;
  background: #f5f7fa;
}

.product-img img.product-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.product-img svg {
  width: 100%;
  height: auto;
  max-height: 130px;
  display: block;
}
.product-img-patent {
  position: relative;
}
.prod-patent-badge {
  position: absolute;
  top: 8px;
  right: 12px;
  background: #f59e0b;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  z-index: 2;
}
.product-img svg {
  width: 100%;
  height: auto;
  max-height: 130px;
  display: block;
}
.product-img-patent {
  position: relative;
}
.prod-patent-badge {
  position: absolute;
  top: 8px;
  right: 12px;
  background: #f59e0b;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  z-index: 2;
}

/* ----- Cases (home) ----- */
.case-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.case-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
}
.case-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.case-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.case-client {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary);
}
.case-industry {
  font-size: 0.78rem;
  padding: 0.2rem 0.6rem;
  background: var(--bg-alt);
  border-radius: 4px;
  color: var(--text-light);
}
.case-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.case-card > p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.case-results {
  list-style: none;
  padding: 0;
}
.case-results li {
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

/* ----- Why Us ----- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.why-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--transition);
}
.why-item:hover { box-shadow: var(--shadow); }
.why-item h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.why-item p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; }

/* ----- CTA ----- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #0f172a 100%);
  color: #fff;
  text-align: center;
  padding: 4rem 0;
}
.cta-inner h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}
.cta-inner p {
  opacity: 0.85;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}
.cta-inner .btn-primary {
  background: #fff;
  color: var(--primary) !important;
  border-color: #fff;
}
.cta-inner .btn-primary:hover {
  background: transparent;
  color: #fff !important;
}

/* ----- Footer ----- */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 1.5rem;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.site-footer ul {
  list-style: none;
  padding: 0;
}
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color var(--transition);
}
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ============================================
   PAGE SPECIFIC
   ============================================ */

/* ----- Page Banner ----- */
.page-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  color: #fff;
  padding: 4rem 0 3rem;
  text-align: center;
}
.page-banner h1 { font-size: 2.25rem; margin-bottom: 0.5rem; }
.page-banner p { opacity: 0.8; font-size: 1.05rem; }

/* ----- Product Nav ----- */
.product-nav { padding: 2rem 0 3rem !important; }
.product-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.product-nav-item {
  padding: 0.5rem 1rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text) !important;
  transition: all var(--transition);
  text-decoration: none;
}
.product-nav-item:hover {
  background: var(--primary);
  color: #fff !important;
  border-color: var(--primary);
}

/* ----- Product Detail ----- */
.product-detail { padding-bottom: 4rem !important; }
.product-detail + .product-detail { border-top: 1px solid var(--border); }
.pd-header { margin-bottom: 2rem; }
.pd-patent {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: #fef3c7;
  color: #92400e;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.pd-patent-id {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}
.pd-body h3 {
  font-size: 1.05rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}
.pd-body p { margin-bottom: 0.75rem; }
.pd-body ul, .pd-body ol { margin-bottom: 1rem; }
.pd-body li { margin-bottom: 0.3rem; }

/* ----- Case Full Page ----- */
.case-full { padding-bottom: 4rem !important; }
.case-full + .case-full { border-top: 1px solid var(--border); }
.case-full-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.case-client-lg {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}
.case-industry-lg {
  font-size: 0.85rem;
  color: var(--text-light);
  background: var(--bg-alt);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
}
.case-full h2 {
  font-size: 1.35rem;
  margin-bottom: 2rem;
  color: var(--text);
}
.case-section {
  margin-bottom: 2rem;
}
.case-section h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--primary-light);
}
.case-section h4 {
  font-size: 0.95rem;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}
.case-section li { margin-bottom: 0.4rem; }
.case-results-lg {
  list-style: none;
  padding: 0;
}
.case-results-lg li {
  padding: 0.4rem 0;
  font-weight: 500;
}
blockquote {
  background: var(--bg-alt);
  border-left: 4px solid var(--primary);
  padding: 1.5rem 2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1rem 0;
}
blockquote p { font-style: italic; font-size: 0.95rem; line-height: 1.7; }
blockquote cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ----- About Page ----- */
.about-content-full {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.9;
}
.about-content-full p + p { margin-top: 1rem; }
.about-milestones {
  max-width: 700px;
  margin: 3rem auto 0;
}
.about-milestones h3 { text-align: center; margin-bottom: 1.5rem; }
.milestone-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.milestone {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary);
}
.milestone-year {
  flex-shrink: 0;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
  min-width: 60px;
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}
.cert-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.cert-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.cert-icon { font-size: 2.5rem; display: block; margin-bottom: 0.75rem; }
.cert-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.cert-card p { font-size: 0.85rem; color: var(--text-light); }
.team-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}
.team-member {
  padding: 1.5rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
}
.team-member h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.team-member p { font-size: 0.9rem; color: var(--text-light); }
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.advantage-item {
  padding: 1.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.advantage-item:hover { box-shadow: var(--shadow); }
.advantage-item h3 { font-size: 1.05rem; margin-bottom: 0.5rem; color: var(--primary); }
.advantage-item p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; }
.partner-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.partner-item {
  padding: 0.6rem 1.25rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
}
.partner-item:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* ----- Contact Page ----- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-info h2 { font-size: 1.5rem; margin-bottom: 2rem; }
.contact-block {
  margin-bottom: 1.75rem;
}
.contact-block h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--primary);
}
.contact-block p { color: var(--text-light); line-height: 1.6; }
.contact-block ol { padding-left: 1.25rem; }
.contact-block li { margin-bottom: 0.4rem; font-size: 0.9rem; }
.contact-form-wrap {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.contact-form-wrap h2 { font-size: 1.35rem; margin-bottom: 0.25rem; }
.contact-form-wrap > p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label { font-weight: 600; font-size: 0.88rem; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font);
  transition: border-color var(--transition);
  background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}
.form-success {
  text-align: center;
  padding: 2rem;
  font-size: 1.1rem;
  color: #059669;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 640px) {
  .section { padding: 3rem 0; }
  .section-title { font-size: 1.5rem; }
  .hero { padding: 3rem 0 2.5rem; }
  .hero h1 { font-size: 1.75rem; }
  .hero-tagline { font-size: 1rem; }
  
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    display: none;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { padding: 0.75rem 1rem; }
  
  .product-grid { grid-template-columns: 1fr; }
  .case-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-stats { gap: 0.75rem; }
  .stat-item { padding: 1rem 1.5rem; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .page-banner h1 { font-size: 1.6rem; }
  .case-full-header { flex-direction: column; align-items: flex-start; }
}


/* ----- Product Gallery (多图滑动切换) ----- */
.product-gallery {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid var(--border);
}
.gallery-wrapper {
  overflow: hidden;
  width: 100%;
}
.gallery-container {
  display: flex;
  transition: transform 0.35s ease;
}
.gallery-container img {
  width: 100%;
  flex-shrink: 0;
  display: block;
  height: 320px;
  object-fit: contain;
  background: #f8fafc;
}
.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.9);
  border: 1px solid #d1d5db;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 36px;
  text-align: center;
  color: var(--text);
  z-index: 5;
  transition: all 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.gallery-btn:hover {
  background: #fff;
  border-color: var(--primary);
  color: var(--primary);
}
.gallery-btn-prev { left: 8px; }
.gallery-btn-next { right: 8px; }
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0;
  background: #fff;
}
.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.gallery-dot.active {
  background: var(--primary);
  width: 20px;
  border-radius: 4px;
}
.product-detail-img {
  width: 100%;
  max-width: 600px;
  height: 350px;
  object-fit: contain;
  display: block;
  margin: 0 auto 1.5rem;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid var(--border);
}
