/* ===== 金炘厨具 - 全局样式 ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #8b2500;
  --primary-dark: #6b1a00;
  --primary-light: #a61e1e;
  --gold: #c9952e;
  --gold-light: #d4a853;
  --gold-pale: #f5e6c8;
  --brown: #3d2914;
  --brown-mid: #5c4033;
  --brown-light: #8b6914;
  --bg: #faf7f2;
  --bg-white: #ffffff;
  --bg-warm: #f5f0e8;
  --text: #3d2914;
  --text-muted: #7a6548;
  --text-light: #a89880;
  --border: #e8dfd0;
  --shadow: 0 2px 12px rgba(61, 41, 20, 0.08);
  --shadow-lg: 0 8px 30px rgba(61, 41, 20, 0.12);
  --radius: 4px;
  --header-h: 80px;
  --transition: 0.3s ease;
  --checkout-orange: #e85d04;
  --checkout-orange-hover: #d45203;
  --checkout-bg: #f0f0f0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

main {
  flex: 1;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-white);
  border-bottom: 2px solid var(--primary);
  height: var(--header-h);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo img {
  height: 48px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav a {
  padding: 10px 22px;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
}

.nav a:hover::after,
.nav a.active::after {
  width: 60%;
}

.nav-cart {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 8px;
  background: var(--checkout-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.cart-badge.hidden {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--brown);
  transition: var(--transition);
}

.page-offset {
  padding-top: var(--header-h);
}

/* ===== Hero Banner ===== */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: var(--brown);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(44, 24, 16, 0.92) 0%, rgba(44, 24, 16, 0.6) 50%, rgba(44, 24, 16, 0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 80px 0;
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(201, 149, 46, 0.2);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 13px;
  letter-spacing: 3px;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: "STSong", "SimSun", serif;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero h1 em {
  color: var(--gold-light);
  font-style: normal;
}

.hero p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  line-height: 1.8;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 1px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(139, 37, 0, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--brown);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), #e8c86a);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 40px;
  font-size: 16px;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

/* ===== Section ===== */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-white);
}

.section-warm {
  background: var(--bg-warm);
}

.section-dark {
  background: var(--brown);
  color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header.left {
  text-align: left;
}

.section-header h2 {
  font-family: "STSong", "SimSun", serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-dark .section-header h2 {
  color: var(--gold-light);
}

.section-header h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--primary);
  margin: 14px auto 0;
}

.section-header.left h2::after {
  margin: 14px 0 0;
}

.section-header p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.section-dark .section-header p {
  color: var(--text-light);
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-more {
  text-align: center;
  margin-top: 40px;
}

.section-more a {
  color: var(--primary);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--primary);
  padding-bottom: 2px;
  transition: var(--transition);
}

.section-more a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ===== Product Grid ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--gold-pale);
}

.product-card-image {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-warm);
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.product-card-body {
  padding: 22px;
  text-align: center;
}

.product-card-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 8px;
}

.product-card-body .desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-body .price {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.product-card-body .price small {
  font-size: 14px;
  font-weight: 400;
}

.product-card-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* ===== Advantages ===== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.advantage-item {
  text-align: center;
  padding: 36px 20px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.advantage-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.advantage-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.advantage-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 10px;
}

.advantage-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== About Block ===== */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border: 4px solid var(--gold-pale);
}

.about-image::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  border: 2px solid var(--gold);
  z-index: -1;
}

.about-text h2 {
  font-family: "STSong", "SimSun", serif;
  font-size: 32px;
  color: var(--brown);
  margin-bottom: 20px;
}

.about-text p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.9;
  text-align: justify;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat-item {
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 28px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 4px;
}

.stat-item span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== News ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.news-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-pale);
}

.news-card-image {
  height: 180px;
  background: linear-gradient(135deg, var(--brown-mid), var(--brown));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.news-card-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,255,255,0.03) 10px,
    rgba(255,255,255,0.03) 20px
  );
}

.news-card-image span {
  font-family: "STSong", serif;
  font-size: 20px;
  color: var(--gold-light);
  position: relative;
  z-index: 1;
  padding: 0 20px;
  text-align: center;
  line-height: 1.5;
}

.news-card-body {
  padding: 22px;
}

.news-card-body .date {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.news-card-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-body a.read-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
}

.news-card-body a.read-more:hover {
  color: var(--gold);
}

/* ===== Page Banner ===== */
.page-banner {
  background: var(--brown);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4a853' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-banner h1 {
  font-family: "STSong", "SimSun", serif;
  font-size: 36px;
  color: var(--gold-light);
  position: relative;
  margin-bottom: 10px;
}

.page-banner p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  position: relative;
  letter-spacing: 2px;
}

.breadcrumb {
  padding: 16px 0;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}

.breadcrumb a {
  color: var(--primary);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ===== Product Detail ===== */
.product-detail {
  padding: 50px 0 80px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-detail-image {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  aspect-ratio: 1;
}

.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-info h1 {
  font-family: "STSong", "SimSun", serif;
  font-size: 30px;
  color: var(--brown);
  margin-bottom: 16px;
}

.product-detail-price {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.product-detail-sellpoints {
  margin-bottom: 28px;
}

.product-detail-sellpoints h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--brown);
}

.product-detail-sellpoints li {
  padding: 8px 0 8px 22px;
  position: relative;
  font-size: 14px;
  color: var(--text-muted);
}

.product-detail-sellpoints li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 10px;
  top: 11px;
}

.product-detail-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  background: var(--gold-pale);
  border-left: 3px solid var(--gold);
  margin-bottom: 28px;
  font-size: 15px;
}

.product-detail-contact strong {
  color: var(--primary);
  font-size: 20px;
}

.product-detail-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.btn-checkout {
  background: var(--checkout-orange);
  color: #fff;
}

.btn-checkout:hover {
  background: var(--checkout-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 93, 4, 0.35);
}

.btn-cart-add {
  background: #fff;
  color: var(--brown);
  border: 2px solid var(--brown);
}

.btn-cart-add:hover {
  background: var(--brown);
  color: #fff;
}

.product-detail-desc {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.product-detail-desc h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.product-detail-desc p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.9;
}

/* ===== About Page ===== */
.about-content {
  padding: 60px 0 80px;
}

.about-intro {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.about-intro p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.value-card {
  padding: 36px 28px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.value-card .icon {
  font-size: 40px;
  margin-bottom: 18px;
}

.value-card h3 {
  font-size: 18px;
  color: var(--brown);
  margin-bottom: 12px;
}

.value-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.timeline {
  margin-top: 60px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.timeline h3 {
  font-family: "STSong", serif;
  font-size: 24px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--brown);
}

.timeline-list {
  max-width: 700px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px dashed var(--border);
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-year {
  flex-shrink: 0;
  width: 80px;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.timeline-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== News Page ===== */
.news-list-page {
  padding: 50px 0 80px;
}

.news-list-item {
  display: flex;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.news-list-item:first-child {
  padding-top: 0;
}

.news-list-item:hover {
  background: rgba(245, 240, 232, 0.5);
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
}

.news-list-date {
  flex-shrink: 0;
  width: 80px;
  text-align: center;
}

.news-list-date .day {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.news-list-date .month {
  font-size: 13px;
  color: var(--text-muted);
}

.news-list-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 10px;
  transition: var(--transition);
}

.news-list-item:hover .news-list-content h3 {
  color: var(--primary);
}

.news-list-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ===== Contact Page ===== */
.contact-page {
  padding: 50px 0 80px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info-card {
  padding: 36px;
  background: var(--brown);
  color: #fff;
}

.contact-info-card h3 {
  font-family: "STSong", serif;
  font-size: 24px;
  color: var(--gold-light);
  margin-bottom: 30px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-item .icon {
  width: 44px;
  height: 44px;
  background: rgba(212, 168, 83, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 14px;
  color: var(--gold-pale);
  margin-bottom: 4px;
  font-weight: 400;
}

.contact-info-item p {
  font-size: 16px;
  color: #fff;
}

.contact-form {
  background: var(--bg-white);
  padding: 36px;
  border: 1px solid var(--border);
}

.contact-form h3 {
  font-size: 20px;
  color: var(--brown);
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--brown);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-family: inherit;
  background: var(--bg);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  background: var(--bg-white);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* ===== Footer ===== */
.footer {
  background: #2a1a0e;
  color: #c4b5a0;
  margin-top: auto;
}

.footer-main {
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}

.footer-brand img {
  height: 44px;
  margin-bottom: 16px;
  filter: brightness(1.2);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: #8a7968;
}

.footer-col h4 {
  font-size: 16px;
  color: var(--gold-light);
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: #8a7968;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold-light);
}

.footer-contact p {
  font-size: 14px;
  color: #8a7968;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #6a5a48;
  margin-bottom: 4px;
}

.footer-bottom a {
  color: #8a7968;
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: var(--gold-light);
}

/* ===== Cart ===== */
.cart-page {
  padding: 40px 0 80px;
}

.cart-page h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--brown);
}

.cart-empty {
  text-align: center;
  padding: 80px 20px;
  background: var(--bg-white);
  border: 1px solid var(--border);
}

.cart-empty-icon {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.cart-empty h2 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.cart-empty p {
  color: var(--text-light);
  margin-bottom: 24px;
}

.cart-table {
  background: var(--bg-white);
  border: 1px solid var(--border);
  overflow: hidden;
}

.cart-table-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 80px;
  padding: 16px 24px;
  background: var(--bg-warm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.cart-item {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 80px;
  padding: 20px 24px;
  align-items: center;
  border-top: 1px solid var(--border);
  gap: 16px;
}

.cart-item-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-item-info img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--bg-warm);
}

.cart-item-info h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.cart-item-price {
  font-size: 14px;
  color: var(--checkout-orange);
  font-weight: 600;
}

.cart-item-subtotal {
  font-weight: 700;
  color: var(--checkout-orange);
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  width: fit-content;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg);
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition);
}

.qty-btn:hover {
  background: var(--border);
}

.qty-value {
  width: 40px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  line-height: 32px;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.btn-danger {
  background: #dc3545;
  color: #fff;
  border: none;
  cursor: pointer;
}

.btn-danger:hover {
  background: #c82333;
}

.cart-summary {
  margin-top: 24px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 24px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 32px;
}

.cart-total {
  font-size: 16px;
  color: var(--text-muted);
}

.cart-total strong {
  font-size: 24px;
  color: var(--checkout-orange);
  margin-left: 8px;
}

.cart-actions {
  display: flex;
  gap: 12px;
}

/* ===== Checkout ===== */
.checkout-page-body {
  background: var(--checkout-bg);
}

.checkout-page {
  padding: 30px 0 60px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}

.checkout-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checkout-card {
  background: var(--bg-white);
  border: 1px solid #e0e0e0;
  padding: 24px 28px;
}

.checkout-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.btn-add-address {
  width: 100%;
  padding: 40px 20px;
  background: #fff;
  border: 1px dashed #ccc;
  color: #666;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-add-address:hover {
  border-color: var(--checkout-orange);
  color: var(--checkout-orange);
}

.checkout-shipping-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  cursor: pointer;
}

.checkout-shipping-option input {
  accent-color: var(--checkout-orange);
  width: 18px;
  height: 18px;
}

.shipping-icon {
  width: 36px;
  height: 36px;
  background: #4a90d9;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.checkout-notes {
  width: 100%;
  min-height: 100px;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  outline: none;
}

.checkout-notes:focus {
  border-color: var(--checkout-orange);
}

.checkout-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checkout-login .btn-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border: 1px solid #e0e0e0;
  background: #fff;
  font-size: 14px;
  color: #333;
  transition: var(--transition);
}

.checkout-login .btn-login:hover {
  border-color: var(--checkout-orange);
  color: var(--checkout-orange);
}

.checkout-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: var(--checkout-orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 11px;
  margin-left: 6px;
}

.checkout-items {
  margin-bottom: 20px;
}

.checkout-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.checkout-item:last-child {
  border-bottom: none;
}

.checkout-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border: 1px solid #eee;
  background: var(--bg-warm);
  flex-shrink: 0;
}

.checkout-item-name {
  font-size: 13px;
  color: #333;
  line-height: 1.5;
  margin-bottom: 6px;
}

.checkout-item-meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: #999;
}

.checkout-fees {
  border-top: 1px solid #eee;
  padding-top: 16px;
  margin-bottom: 20px;
}

.checkout-fee-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: #666;
}

.checkout-total-row {
  padding-top: 12px;
  margin-top: 8px;
  border-top: 1px solid #eee;
  font-size: 15px;
  color: #333;
}

.checkout-total-row strong {
  font-size: 22px;
  color: var(--checkout-orange);
  font-weight: 700;
}

.checkout-empty {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
}

.checkout-empty p {
  margin-bottom: 20px;
  color: #666;
}

/* ===== Address Display ===== */
.saved-address {
  padding: 16px 18px;
  margin-bottom: 16px;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
}

.saved-address-name {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.saved-address-name strong {
  font-size: 15px;
  color: #333;
}

.saved-address-name span {
  font-size: 14px;
  color: #666;
}

.saved-address-detail {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 4px;
}

.saved-address-email,
.saved-address-zip {
  font-size: 13px;
  color: #999;
}

.btn-add-address.has-address {
  padding: 14px 20px;
  border-style: solid;
}

/* ===== Address Modal ===== */
.address-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.address-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.address-modal {
  background: #fff;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.address-modal-overlay.show .address-modal {
  transform: translateY(0);
}

.address-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 0;
}

.address-modal-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0;
  border: none;
  padding: 0;
}

.address-modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: color 0.2s;
}

.address-modal-close:hover {
  color: #333;
}

.address-form {
  padding: 24px 28px 28px;
}

.address-form-row {
  margin-bottom: 18px;
}

.address-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.address-field label {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
}

.address-field label .required {
  color: #e85d04;
  margin-right: 2px;
}

.address-field input,
.address-field select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  color: #333;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.address-field input::placeholder {
  color: #bbb;
}

.address-field input:focus,
.address-field select:focus {
  border-color: #999;
}

.address-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23999' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.address-field-full {
  grid-column: 1 / -1;
}

.address-form-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  padding-top: 8px;
}

.address-form-actions .btn-checkout {
  padding: 10px 36px;
  font-size: 14px;
  border: none;
  cursor: pointer;
}

.btn-cancel {
  padding: 10px 36px;
  font-size: 14px;
  background: #fff;
  color: #666;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: var(--transition);
}

.btn-cancel:hover {
  border-color: #bbb;
  color: #333;
}

/* ===== Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.show {
  opacity: 1;
}

.modal-box {
  background: #fff;
  padding: 36px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.show .modal-box {
  transform: scale(1);
}

.modal-box h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 16px;
}

.modal-message {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 28px;
}

.modal-message strong {
  color: var(--checkout-orange);
}

/* ===== Login ===== */
.login-page {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: var(--checkout-bg);
}

.login-card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 40px 32px;
}

.login-card h1 {
  font-size: 22px;
  text-align: center;
  margin-bottom: 28px;
  color: var(--brown);
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  top: 100px;
  right: 20px;
  padding: 14px 28px;
  background: var(--brown);
  color: #fff;
  font-size: 14px;
  z-index: 9999;
  transform: translateX(calc(100% + 40px));
  transition: transform 0.35s ease;
  border-left: 3px solid var(--gold);
}

.toast.show {
  transform: translateX(0);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .product-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 12px;
    border-bottom: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    width: 100%;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .hero {
    min-height: 420px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 15px;
  }

  .section {
    padding: 50px 0;
  }

  .section-header h2 {
    font-size: 26px;
  }

  .product-grid,
  .news-grid,
  .advantages-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .news-list-item {
    flex-direction: column;
    gap: 12px;
  }

  .news-list-date {
    display: flex;
    align-items: baseline;
    gap: 8px;
    width: auto;
  }

  .news-list-date .day {
    font-size: 24px;
  }

  .page-banner h1 {
    font-size: 28px;
  }

  .product-card-actions {
    flex-direction: column;
  }

  .product-detail-actions {
    flex-direction: column;
  }

  .product-detail-actions .btn {
    width: 100%;
  }

  .cart-table-header {
    display: none;
  }

  .cart-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cart-summary {
    flex-direction: column;
    align-items: stretch;
  }

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

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .address-form-row-2 {
    grid-template-columns: 1fr;
  }

  .address-modal {
    border-radius: 6px;
  }

  .address-modal-header,
  .address-form {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-content {
    padding: 50px 0;
  }

  .hero h1 {
    font-size: 26px;
  }

  .btn-lg {
    padding: 12px 28px;
    font-size: 14px;
  }
}
