/* ============================================================
   NGUYỄN ROASTERY — PAGES
   pages.css — Page-specific layouts & hero sections
   ============================================================ */

/* ════════════════════════════════════════════════════════════
   HOME PAGE
   ════════════════════════════════════════════════════════════ */

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,18,11,0.85) 0%,
    rgba(44,30,22,0.65) 50%,
    rgba(26,18,11,0.4) 100%
  );
}

.hero.loaded .hero-bg { transform: scale(1); }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding-top: var(--sp-16);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--sp-5);
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--clr-accent);
}

.hero h1 {
  color: white;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.15;
  margin-bottom: var(--sp-6);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

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

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin-bottom: var(--sp-8);
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: var(--sp-10);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 1;
  animation: bounce 2s ease infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* Featured Products on Home */
.home-products {
  background: var(--clr-bg);
}

.home-product-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: white;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.home-product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.home-product-card.reverse { direction: rtl; }
.home-product-card.reverse > * { direction: ltr; }

.home-product-img {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

.home-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.home-product-card:hover .home-product-img img {
  transform: scale(1.06);
}

.home-product-info {
  padding: var(--sp-12) var(--sp-10);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-product-number {
  font-size: 5rem;
  font-weight: 900;
  color: var(--clr-accent-light);
  font-family: var(--font-serif);
  line-height: 1;
  margin-bottom: var(--sp-4);
}

.home-product-info h3 {
  font-size: 2rem;
  margin-bottom: var(--sp-4);
}

.home-product-notes {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.home-product-info p {
  margin-bottom: var(--sp-6);
  font-size: 0.95rem;
}

/* The Nguyễn Difference */
.difference-section {
  background: var(--clr-dark);
  color: white;
  overflow: hidden;
  position: relative;
}

.difference-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,163,115,0.08) 0%, transparent 70%);
}

.difference-section .section-eyebrow { color: var(--clr-accent); }
.difference-section h2 { color: white; }
.difference-section .divider { background: var(--clr-accent); }

.difference-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}

.difference-card {
  padding: var(--sp-8) var(--sp-6);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.difference-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,163,115,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.difference-card:hover {
  border-color: rgba(212,163,115,0.3);
  transform: translateY(-6px);
}

.difference-card:hover::before { opacity: 1; }

.difference-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background: rgba(212,163,115,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-5);
  font-size: 1.75rem;
  transition: all var(--transition-base);
}

.difference-card:hover .difference-icon {
  background: var(--clr-accent);
  transform: scale(1.1);
}

.difference-card h4 { color: white; margin-bottom: var(--sp-3); }
.difference-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

/* B2B Teaser */
.b2b-teaser {
  background: linear-gradient(135deg, var(--clr-bg-secondary) 0%, var(--clr-accent-light) 100%);
  position: relative;
  overflow: hidden;
}

.b2b-teaser-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-8);
  align-items: center;
}

.b2b-teaser h2 { margin-bottom: var(--sp-4); }
.b2b-teaser p  { font-size: 1.05rem; max-width: 560px; }

/* ════════════════════════════════════════════════════════════
   PRODUCTS PAGE
   ════════════════════════════════════════════════════════════ */
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
  flex-wrap: wrap;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--clr-white);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-full);
  padding: var(--sp-2) var(--sp-4);
  min-width: 280px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.search-bar:focus-within {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(212,163,115,0.15);
}

.search-bar input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.9rem;
  flex: 1;
  color: var(--clr-text);
}

.search-bar svg { color: var(--clr-text-muted); flex-shrink: 0; }

.products-count {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .products-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE
   ════════════════════════════════════════════════════════════ */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: calc(var(--nav-height) + var(--sp-6));
}

.product-gallery-main {
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--clr-bg-secondary);
  margin-bottom: var(--sp-4);
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-gallery-main:hover img { transform: scale(1.03); }

.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}

.gallery-thumb {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition-fast);
  background: var(--clr-bg-secondary);
}

.gallery-thumb.active { border-color: var(--clr-accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info-section {
  padding-top: var(--sp-4);
}

.product-info-header {
  margin-bottom: var(--sp-6);
}

.product-info-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--sp-4);
}

.product-info-header .product-price {
  font-size: 2rem;
  margin-bottom: var(--sp-3);
}

.product-detail-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-3);
}

.product-detail-notes {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}

.tasting-note {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-2) var(--sp-3);
  background: var(--clr-bg-secondary);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
}

.product-add-to-cart {
  display: flex;
  gap: var(--sp-4);
  align-items: center;
  margin-top: var(--sp-6);
  flex-wrap: wrap;
}

.product-tabs {
  margin-top: var(--sp-8);
  border-top: 1px solid var(--clr-border);
}

.product-tab-headers {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--clr-border);
}

.product-tab-btn {
  padding: var(--sp-4) var(--sp-5);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.product-tab-btn.active {
  color: var(--clr-text);
  border-bottom-color: var(--clr-accent);
}

.product-tab-content {
  padding: var(--sp-6) 0;
  display: none;
}

.product-tab-content.active { display: block; }

.brew-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-4);
}

.brew-method-card {
  text-align: center;
  padding: var(--sp-5);
  background: var(--clr-bg-secondary);
  border-radius: var(--radius-lg);
}

.brew-method-card .brew-icon { font-size: 2rem; margin-bottom: var(--sp-3); }
.brew-method-card h5 { font-family: var(--font-sans); font-size: 0.875rem; margin-bottom: var(--sp-2); }
.brew-method-card p { font-size: 0.8rem; line-height: 1.5; }

@media (max-width: 768px) {
  .product-detail-layout { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
}

/* ════════════════════════════════════════════════════════════
   B2B PAGE
   ════════════════════════════════════════════════════════════ */
.b2b-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.b2b-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/b2b-hero.jpg');
  background-size: cover;
  background-position: center;
}

.b2b-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,18,11,0.88) 0%, rgba(44,30,22,0.6) 100%);
}

.b2b-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding-top: var(--sp-16);
}

.b2b-hero-content h1 { color: white; margin-bottom: var(--sp-5); }
.b2b-hero-content p  { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: var(--sp-8); }

.b2b-stats {
  display: flex;
  gap: var(--sp-8);
  flex-wrap: wrap;
  margin-top: var(--sp-10);
}

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

.b2b-stat-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--clr-accent);
  line-height: 1;
}

.b2b-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: var(--sp-1);
}

.b2b-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.b2b-service-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-slow);
}

.b2b-service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.b2b-service-header {
  padding: var(--sp-8);
  background: linear-gradient(135deg, var(--clr-dark) 0%, #3d2b1f 100%);
  position: relative;
  overflow: hidden;
}

.b2b-service-header::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(212,163,115,0.1);
}

.b2b-service-icon {
  font-size: 2.5rem;
  margin-bottom: var(--sp-4);
}

.b2b-service-header h3 { color: white; font-size: 1.4rem; }

.b2b-service-body {
  padding: var(--sp-6);
}

.b2b-service-body p {
  font-size: 0.9rem;
  margin-bottom: var(--sp-5);
}

.b2b-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.b2b-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

.b2b-features li::before {
  content: '✓';
  color: var(--clr-accent-dark);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.b2b-contact-section {
  background: var(--clr-bg-secondary);
}

.b2b-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: start;
}

.b2b-contact-info h2 { margin-bottom: var(--sp-5); }
.b2b-contact-info p  { font-size: 1rem; margin-bottom: var(--sp-6); }

.b2b-contact-highlights {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.b2b-highlight {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}

.b2b-highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--clr-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.b2b-highlight-text h5 { font-family: var(--font-sans); font-size: 0.95rem; margin-bottom: var(--sp-1); }
.b2b-highlight-text p  { font-size: 0.85rem; }

.b2b-contact-form {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .b2b-services-grid { grid-template-columns: 1fr; }
  .b2b-contact-grid  { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   BLOG PAGE
   ════════════════════════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.blog-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: white;
  min-height: 380px;
  transition: all var(--transition-slow);
}

.blog-featured:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }

.blog-featured-img {
  position: relative;
  overflow: hidden;
}

.blog-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-featured:hover .blog-featured-img img { transform: scale(1.05); }

.blog-featured-body {
  padding: var(--sp-10);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-featured-body .blog-card-category { font-size: 0.8rem; }
.blog-featured-body .blog-card-title { font-size: 1.75rem; }

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-featured { grid-template-columns: 1fr; min-height: auto; }
  .blog-featured-img { aspect-ratio: 16/9; }
}

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

/* ════════════════════════════════════════════════════════════
   BLOG DETAIL PAGE
   ════════════════════════════════════════════════════════════ */
.blog-detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--sp-12);
  align-items: start;
}

.blog-article {
  max-width: 720px;
}

.blog-article-hero {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16/9;
  margin-bottom: var(--sp-8);
}

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

.blog-article h1 { margin-bottom: var(--sp-5); }

.article-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--clr-border);
  flex-wrap: wrap;
}

.article-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--clr-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.author-name { font-size: 0.875rem; font-weight: 600; }
.author-role { font-size: 0.75rem; color: var(--clr-text-muted); }

.article-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--clr-text);
}

.article-content p { margin-bottom: var(--sp-5); color: var(--clr-text); }
.article-content h2 { margin-top: var(--sp-10); margin-bottom: var(--sp-4); font-size: 1.75rem; }
.article-content h3 { margin-top: var(--sp-8); margin-bottom: var(--sp-3); font-size: 1.35rem; }
.article-content img {
  border-radius: var(--radius-lg);
  margin: var(--sp-8) 0;
  width: 100%;
  object-fit: cover;
}

.article-content blockquote {
  border-left: 3px solid var(--clr-accent);
  padding: var(--sp-4) var(--sp-6);
  background: var(--clr-accent-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--sp-6) 0;
}

.article-content blockquote p { color: var(--clr-accent-dark); font-style: italic; margin: 0; }
.article-content ul { padding-left: var(--sp-5); margin-bottom: var(--sp-5); }
.article-content li { margin-bottom: var(--sp-2); color: var(--clr-text); }
.article-content li::marker { color: var(--clr-accent); }

.article-cta-box {
  background: linear-gradient(135deg, var(--clr-dark) 0%, #3d2b1f 100%);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  text-align: center;
  margin-top: var(--sp-10);
}

.article-cta-box h3 { color: white; margin-bottom: var(--sp-3); }
.article-cta-box p  { color: rgba(255,255,255,0.65); margin-bottom: var(--sp-5); font-size: 0.95rem; }

.blog-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + var(--sp-6));
}

.sidebar-widget {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  margin-bottom: var(--sp-5);
  box-shadow: var(--shadow-sm);
}

.sidebar-widget h5 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-4);
}

.sidebar-post {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--clr-border);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sidebar-post:last-child { border: none; }
.sidebar-post:hover .sidebar-post-title { color: var(--clr-accent-dark); }

.sidebar-post-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--clr-bg-secondary);
}

.sidebar-post-title {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: var(--sp-1);
  transition: color var(--transition-fast);
}

.sidebar-post-date {
  font-size: 0.75rem;
  color: var(--clr-text-muted);
}

@media (max-width: 1024px) {
  .blog-detail-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
}

/* ════════════════════════════════════════════════════════════
   CART & CHECKOUT PAGES
   ════════════════════════════════════════════════════════════ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--sp-10);
  align-items: start;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--sp-10);
  align-items: start;
}

.checkout-section-title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-4);
  margin-top: var(--sp-8);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--clr-border);
}

.checkout-section-title:first-of-type { margin-top: 0; }

.order-item-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  font-size: 0.875rem;
}

.order-item-img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--clr-bg-secondary);
  flex-shrink: 0;
  position: relative;
}

.order-item-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--clr-text-muted);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-item-name {
  font-weight: 500;
  flex: 1;
}

.order-item-price {
  font-weight: 600;
}

/* Success/Confirmation */
.order-success {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-16) var(--sp-6);
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-accent-light), var(--clr-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto var(--sp-6);
  animation: successPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes successPop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}

.order-success h1 { margin-bottom: var(--sp-4); }
.order-success p  { font-size: 1.1rem; max-width: 500px; margin-bottom: var(--sp-8); }

@media (max-width: 768px) {
  .cart-layout     { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   404 PAGE
   ════════════════════════════════════════════════════════════ */
.page-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-16) var(--sp-6);
}

.page-404 .error-number {
  font-family: var(--font-serif);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 700;
  color: var(--clr-accent-light);
  line-height: 1;
  margin-bottom: var(--sp-4);
}

/* ════════════════════════════════════════════════════════════
   GLOBAL RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .home-product-card {
    grid-template-columns: 1fr;
  }
  .home-product-img {
    min-height: 300px;
  }
  .home-product-info {
    padding: var(--sp-8) var(--sp-6);
  }
  .difference-cards {
    grid-template-columns: 1fr;
  }
  .b2b-teaser-inner {
    grid-template-columns: 1fr;
  }
}
