/* ============================================
   PawsPlush - Custom Pet Plush Store
   Main Stylesheet
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --cream: #FAF7F2;
  --cream-dark: #F3EDE3;
  --cream-darker: #EBE3D5;
  --tan: #D4B896;
  --tan-light: #E8D5BC;
  --tan-dark: #B8956A;
  --brown: #8B6F47;
  --brown-dark: #5C4A32;
  --brown-darker: #3D2E1F;
  --text: #3D2E1F;
  --text-light: #7A6B5D;
  --text-muted: #A89888;
  --accent: #C97B4A;
  --accent-dark: #A86238;
  --accent-light: #E8A878;
  --white: #FFFFFF;
  --border: #E8DFD3;
  --border-light: #F0E9DD;
  --success: #6B9E6B;
  --error: #C45C5C;
  --warning: #D4A843;
  --shadow-sm: 0 2px 8px rgba(61, 46, 31, 0.06);
  --shadow-md: 0 4px 20px rgba(61, 46, 31, 0.08);
  --shadow-lg: 0 8px 40px rgba(61, 46, 31, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-main: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Georgia', 'Times New Roman', serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--cream);
  overflow-x: hidden;
}

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

a {
  color: var(--brown);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--brown-darker);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background-color: var(--cream-dark);
}

.section-title {
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  line-height: 1.2;
  font-family: var(--font-main);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(201, 123, 74, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201, 123, 74, 0.45);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--brown-dark);
  border: 2px solid var(--tan);
}

.btn-secondary:hover {
  background: var(--tan-light);
  border-color: var(--tan-dark);
  color: var(--brown-dark);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--brown-dark);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brown-dark);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-weight: 500;
  color: var(--text);
  font-size: 0.95rem;
  position: relative;
}

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

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--text);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -12px;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--brown-dark);
  padding: 4px;
}

/* ---------- Hero Banner ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--tan-light) 100%);
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 123, 74, 0.15), transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 111, 71, 0.1), transparent 70%);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  margin-bottom: 20px;
  color: var(--brown-darker);
}

.hero-content .subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-light);
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-visual {
  position: relative;
}

.hero-image-main {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--cream-darker);
}

.hero-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-badge .stars {
  color: var(--warning);
  font-size: 1rem;
}

.hero-badge .rating-text {
  font-size: 0.85rem;
  color: var(--text-light);
}

.hero-badge .rating-num {
  font-weight: 700;
  color: var(--brown-dark);
}

/* ---------- Transformation Showcase ---------- */
.transform-showcase {
  padding: 60px 0;
  background: var(--white);
}

.transform-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

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

.transform-item .img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  margin-bottom: 12px;
  box-shadow: var(--shadow-md);
  background: var(--cream-dark);
}

.transform-item .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.transform-item h4 {
  font-size: 0.95rem;
  color: var(--brown-dark);
}

.transform-arrow {
  font-size: 2rem;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- Products Section ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cream-dark);
  position: relative;
}

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

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

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}

.product-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-family: var(--font-main);
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 12px;
  flex: 1;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.product-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.product-price .from {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

.product-time {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ---------- How It Works ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  counter-reset: step;
}

.step-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--tan-light), var(--tan));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  position: relative;
}

.step-num {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-family: var(--font-main);
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* ---------- Factory / About Section ---------- */
.factory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.factory-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.factory-images .img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--cream-darker);
}

.factory-images .img-wrap:first-child {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

.factory-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.factory-content h2 {
  margin-bottom: 20px;
}

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

.factory-advantages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.advantage-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--cream);
  border-radius: var(--radius-sm);
}

.advantage-item .icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.advantage-item span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--brown-dark);
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--tan-light);
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-meta h4 {
  font-size: 1rem;
  margin-bottom: 2px;
  font-family: var(--font-main);
}

.testimonial-meta .location {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonial-stars {
  color: var(--warning);
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.testimonial-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.testimonial-compare .img-wrap {
  aspect-ratio: 1;
  background: var(--cream-dark);
  overflow: hidden;
}

.testimonial-compare img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-compare .label {
  font-size: 0.7rem;
  text-align: center;
  color: var(--text-muted);
  padding: 4px;
  background: var(--cream);
}

/* ---------- FAQ ---------- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--brown-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-main);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question .icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ---------- Newsletter / CTA Band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--brown-dark), var(--brown));
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.cta-band p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brown-darker);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 24px;
}

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

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
}

.footer-social a:hover {
  background: var(--accent);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  font-family: var(--font-main);
}

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

.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.payment-icons {
  display: flex;
  gap: 8px;
  font-size: 1.4rem;
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--cream-dark), var(--tan-light));
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 12px;
}

.page-header p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

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

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--brown-dark);
  font-size: 0.95rem;
}

.form-group label .required {
  color: var(--error);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-main);
  background: var(--white);
  color: var(--text);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 123, 74, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

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

.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ---------- Upload Zone ---------- */
.upload-zone {
  border: 2px dashed var(--tan);
  border-radius: var(--radius-md);
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--cream);
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--accent);
  background: var(--cream-dark);
}

.upload-zone .upload-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  color: var(--tan-dark);
}

.upload-zone p {
  color: var(--text-light);
  margin-bottom: 4px;
}

.upload-zone .upload-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.upload-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.upload-preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--cream-dark);
}

.upload-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-preview-item .remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Option Selector (size/style) ---------- */
.option-group {
  margin-bottom: 24px;
}

.option-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--brown-dark);
}

.option-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.option-btn {
  padding: 10px 20px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: var(--white);
  cursor: pointer;
  font-size: 0.9rem;
  font-family: var(--font-main);
  transition: var(--transition);
  color: var(--text);
}

.option-btn:hover {
  border-color: var(--tan-dark);
}

.option-btn.selected {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

.option-btn .price-add {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-left: 4px;
}

/* ---------- Product Detail ---------- */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.product-gallery .main-image {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream-dark);
  margin-bottom: 16px;
}

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

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.product-thumb {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  background: var(--cream-dark);
}

.product-thumb.active,
.product-thumb:hover {
  border-color: var(--accent);
}

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

.product-detail-info h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.product-rating .stars {
  color: var(--warning);
}

.product-detail-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 8px;
}

.product-detail-price .original {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 12px;
  font-weight: 400;
}

.product-stock {
  font-size: 0.9rem;
  color: var(--success);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-description {
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.8;
}

.product-features {
  margin-bottom: 24px;
}

.product-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-light);
}

.product-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
}

/* ---------- Cart ---------- */
.cart-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.cart-items {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
  align-items: center;
}

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

.cart-item-image {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--cream-dark);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  font-family: var(--font-main);
}

.cart-item-info .variant {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--error);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0;
}

.cart-item-price {
  font-weight: 700;
  color: var(--accent-dark);
  text-align: right;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  margin-top: 8px;
}

.qty-control button {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--cream);
  cursor: pointer;
  font-size: 1rem;
  color: var(--brown-dark);
}

.qty-control span {
  width: 40px;
  text-align: center;
  font-size: 0.9rem;
}

.cart-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}

.cart-summary h3 {
  margin-bottom: 20px;
  font-family: var(--font-main);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text-light);
}

.summary-row.total {
  border-top: 2px solid var(--border);
  margin-top: 12px;
  padding-top: 16px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brown-darker);
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
}

.cart-empty .icon {
  font-size: 4rem;
  margin-bottom: 16px;
  color: var(--text-muted);
}

/* ---------- Checkout ---------- */
.checkout-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.checkout-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.checkout-section h3 {
  margin-bottom: 20px;
  font-family: var(--font-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-section h3 .step-num {
  position: static;
  width: 28px;
  height: 28px;
  font-size: 0.8rem;
}

.payment-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.payment-method {
  padding: 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  font-weight: 500;
}

.payment-method:hover {
  border-color: var(--tan-dark);
}

.payment-method.selected {
  border-color: var(--accent);
  background: rgba(201, 123, 74, 0.05);
}

.payment-method .icon {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

/* ---------- Order Success ---------- */
.order-success {
  text-align: center;
  padding: 80px 20px;
  max-width: 600px;
  margin: 0 auto;
}

.order-success .check-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
}

.order-success h1 {
  margin-bottom: 12px;
}

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

.order-details {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: left;
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
}

.order-details .row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
}

.order-details .row:last-child {
  border-bottom: none;
}

.order-details .label {
  color: var(--text-light);
}

.order-details .value {
  font-weight: 600;
  color: var(--brown-dark);
}

/* ---------- About Page ---------- */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
}

.about-hero .img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
  background: var(--cream-darker);
}

.about-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.value-card .icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.value-card h3 {
  margin-bottom: 8px;
  font-family: var(--font-main);
  font-size: 1.1rem;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* ---------- Contact Page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}

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

.contact-info-item .icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--cream-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  font-family: var(--font-main);
}

.contact-info-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

/* ---------- Custom Order Page ---------- */
.custom-order-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.custom-order-main {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.custom-order-sidebar {
  position: sticky;
  top: 100px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.order-summary-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.order-summary-item .img-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cream-dark);
}

.order-summary-item .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-summary-item h4 {
  font-size: 0.9rem;
  margin-bottom: 2px;
  font-family: var(--font-main);
}

.order-summary-item .variant {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- Trust Badges ---------- */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 40px 0;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-badge .icon {
  font-size: 1.5rem;
}

/* ---------- Alert / Toast ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--brown-darker);
  color: white;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transform: translateX(120%);
  transition: transform 0.3s ease;
  max-width: 360px;
}

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

.toast.success { background: var(--success); }
.toast.error { background: var(--error); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.hidden { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid,
  .factory-grid,
  .product-detail-grid,
  .about-hero,
  .contact-layout,
  .custom-order-layout,
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }

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

  .cart-summary,
  .custom-order-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero { padding: 48px 0 64px; }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 24px 24px;
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    z-index: 999;
  }

  .main-nav.open {
    right: 0;
  }

  .mobile-toggle {
    display: block;
    z-index: 1001;
  }

  .header-actions .btn {
    display: none;
  }

  .transform-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .transform-arrow {
    transform: rotate(90deg);
    text-align: center;
  }

  .factory-advantages,
  .form-row,
  .payment-methods {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

  .cart-item-price {
    grid-column: 2;
    text-align: left;
  }

  .hero-badge {
    left: 12px;
    bottom: 12px;
  }

  .trust-badges {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .header-inner { padding: 12px 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .products-grid { gap: 20px; }
  .product-thumbs { grid-template-columns: repeat(4, 1fr); }
}

.site-announcement { text-align:center; padding:8px 16px; background:var(--cream-dark); color:var(--brown-dark); font-weight:600; border-bottom:1px solid var(--border); }
