:root {
  --primary: #111111;
  --primary-hover: #333333;
  --accent: #e11d48;
  --accent-hover: #be123c;
  --dark: #0f172a;
  --light: #f8fafc;
  --surface: #ffffff;
  --border: #e2e8f0;
  --gray: #64748b;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--primary);
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1560px !important;
  margin: 0 auto;
  padding: 0 40px;
}

/* Topbar */
.topbar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  padding: 8px 0;
  color: var(--gray);
}
.topbar-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.topbar-socials {
  display: flex;
  gap: 12px;
}
.topbar-socials a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.topbar-socials a:hover {
  color: var(--primary);
}

/* Navbar */
.navbar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 96px;
}
.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-img {
  height: 72px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  display: block;
}

.nav-right-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Dark Pill Menu as in cover.jpg */
.nav-dark-pill {
  background: #111111;
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.nav-dark-pill a {
  color: #f1f5f9;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
  padding: 6px 4px;
}
.nav-dark-pill a:hover,
.nav-dark-pill a.active {
  color: #cbd5e1;
}

/* Auth and Cart Icons in Navbar */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.btn-nav-icon {
  background: none;
  border: none;
  color: #334155;
  font-size: 1.15rem;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
  text-decoration: none;
}
.btn-nav-icon:hover {
  color: var(--primary);
}
.btn-cart-nav {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  transition: all 0.2s;
}
.btn-cart-nav:hover {
  border-color: var(--primary);
  background: #f8fafc;
}
.cart-badge {
  background: #ea580c;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 10px;
  line-height: 1.2;
}

/* Hero Section (Left-Aligned Box as requested) */
.hero {
  position: relative;
  min-height: 520px;
  background-color: #f4f4f4;
  background-image: url('images/hero_7.jpg');
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 60px 0;
  margin-bottom: 45px;
}
.hero .container {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center;
  width: 100%;
}
.hero-glass-box {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-sm);
  padding: 42px 48px;
  max-width: 580px;
  width: 100%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}
.hero-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 12px;
}
.hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #111111;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.hero p {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 25px;
}
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #111111;
  color: #ffffff;
  padding: 13px 30px;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.25s ease;
  letter-spacing: 0.5px;
}
.btn-hero:hover {
  background: #333333;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Category Banners (Middle section of cover.jpg) */
.banners-section {
  padding: 10px 0 50px;
}
.banners-row-1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}
.banners-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 55px;
}
.banner-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 270px;
  display: block;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
}
.banners-row-2 .banner-card {
  height: 300px;
}
.banner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.banner-card:hover img {
  transform: scale(1.06);
}
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  text-align: left;
}
.banner-title {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 6px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}
.banner-desc {
  color: #e2e8f0;
  font-size: 0.88rem;
  line-height: 1.45;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Products Section (Bottom section of cover.jpg) */
.products-section {
  padding: 30px 0 80px;
  border-top: 1px solid var(--border);
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}
.section-header h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.section-header p {
  color: var(--gray);
  font-size: 1rem;
}

.products-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
.product-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}
.product-img-wrap {
  position: relative;
  height: 380px;
  background: #f8fafc;
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.05);
}

.product-badge-red {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #e11d48;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 2px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
}

.btn-quick-buy {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #111111;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.btn-quick-buy:hover {
  background: #e11d48;
  transform: scale(1.1);
}

.product-body {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
  line-height: 1.35;
}
.product-desc {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.45;
  margin-bottom: 14px;
  flex-grow: 1;
}
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}
.price-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.price-current {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111111;
}
.price-old {
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: line-through;
}

/* ========================================================
   PRODUCT DETAIL PAGE STYLES (dettaglio.php)
   ======================================================== */
.detail-page-container {
  padding: 50px 0 90px;
}
.detail-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--gray);
  margin-bottom: 35px;
}
.detail-breadcrumbs a {
  color: #475569;
  text-decoration: none;
  transition: color 0.2s;
}
.detail-breadcrumbs a:hover {
  color: var(--primary);
}
.detail-breadcrumbs span {
  color: #111111;
  font-weight: 600;
}

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

/* Detail Visuals (Left - Vertical in full, slender and tall) */
.detail-visuals {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 480px;
}
.detail-main-img-box {
  background: #fbfbfb;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 100%;
  height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.detail-main-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease;
}
.detail-thumbs-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.detail-thumb {
  height: 160px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: #fbfbfb;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.detail-thumb.active,
.detail-thumb:hover {
  border-color: #111111;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Detail Info (Right) */
.detail-info {
  display: flex;
  flex-direction: column;
}
.detail-badge-tag {
  display: inline-block;
  background: #e11d48;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
  align-self: flex-start;
}
.detail-product-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: #111111;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.detail-price-box {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.detail-price-current {
  font-size: 2rem;
  font-weight: 800;
  color: #111111;
}
.detail-price-old {
  font-size: 1.2rem;
  color: #94a3b8;
  text-decoration: line-through;
}
.detail-desc {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* Specs Table / Meta */
.detail-specs-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.detail-spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}
.detail-spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.detail-spec-key {
  color: var(--gray);
  font-weight: 600;
}
.detail-spec-val {
  color: #111111;
  font-weight: 700;
}

/* Sizes */
.size-selector-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}
.size-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.size-pill {
  border: 1.5px solid var(--border);
  background: #ffffff;
  padding: 10px 18px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}
.size-pill:hover,
.size-pill.active {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

/* Actions */
.detail-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 35px;
}
.btn-add-detail {
  background: #111111;
  color: #ffffff;
  border: none;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
  letter-spacing: 0.5px;
}
.btn-add-detail:hover {
  background: #333333;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.btn-wa-detail {
  background: #25d366;
  color: #ffffff;
  border: none;
  padding: 15px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
}
.btn-wa-detail:hover {
  background: #1ebd5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* Perks list in detail */
.detail-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: #475569;
}
.detail-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.detail-perks li i {
  color: #111111;
  font-size: 1rem;
}

/* ========================================================
   HOME ADDITIONAL CONTENT SECTIONS (Fill out page)
   ======================================================== */

/* 1. Value Perks Bar */
.home-perks-section {
  padding: 50px 0;
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 40px;
}
.home-perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.home-perk-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.home-perk-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  font-size: 1.25rem;
}
.home-perk-body h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #111111;
  margin-bottom: 5px;
}
.home-perk-body p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
}

/* 2. Atelier Storytelling Section */
.atelier-story-section {
  padding: 90px 0;
  background: #ffffff;
}
.atelier-story-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  align-items: center;
}
.atelier-story-visual {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}
.atelier-story-visual img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}
.atelier-story-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.atelier-story-badge i {
  color: #fbbf24;
}
.atelier-story-content {
  display: flex;
  flex-direction: column;
}
.atelier-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #e11d48;
  margin-bottom: 12px;
}
.atelier-story-content h2 {
  font-size: 2.3rem;
  font-weight: 800;
  color: #111111;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.atelier-lead {
  font-size: 1.02rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 28px;
}
.atelier-points-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 35px;
}
.atelier-point-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.atelier-point-item i {
  color: #111111;
  font-size: 1rem;
  margin-top: 4px;
}
.atelier-point-text h5 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #111111;
  margin-bottom: 3px;
}
.atelier-point-text p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
}
.atelier-stats-row {
  display: flex;
  gap: 40px;
  padding-top: 25px;
  border-top: 1px solid var(--border);
}
.atelier-stat-item .stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #111111;
  line-height: 1;
  margin-bottom: 6px;
}
.atelier-stat-item .stat-lbl {
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 3. Customer Reviews Section */
.reviews-section {
  padding: 85px 0;
  background: #f8fafc;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 45px;
}
.review-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}
.review-stars {
  color: #fbbf24;
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: flex;
  gap: 4px;
}
.review-text {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 22px;
}
.review-author-meta {
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}
.review-author-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #111111;
}
.review-author-sub {
  font-size: 0.8rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.review-verified-badge {
  color: #10b981;
  font-weight: 700;
}
.review-prod-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 2px;
}

/* 4. VIP Club / Newsletter Section */
.newsletter-section {
  padding: 80px 0;
  background: #ffffff;
}
.newsletter-card {
  background: #111111;
  color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 60px 50px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}
.newsletter-card-left .vip-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  color: #fbbf24;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.newsletter-card-left h2 {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #ffffff;
}
.newsletter-card-left p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
}
.newsletter-card-right form {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.newsletter-input {
  flex: 1;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}
.newsletter-input::placeholder {
  color: #94a3b8;
}
.newsletter-input:focus {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}
.newsletter-btn {
  background: #ffffff;
  color: #111111;
  border: none;
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.newsletter-btn:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
}
.newsletter-microcopy {
  font-size: 0.78rem;
  color: #64748b;
}

/* 5. Instagram Feed Section */
.instagram-feed-section {
  padding: 40px 0 80px;
  background: #ffffff;
}
.instagram-header {
  text-align: center;
  margin-bottom: 35px;
}
.instagram-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111111;
  margin-bottom: 6px;
}
.instagram-header p {
  font-size: 0.9rem;
  color: #64748b;
}
.instagram-header a {
  color: #111111;
  font-weight: 700;
  text-decoration: none;
}
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}
.instagram-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: block;
}
.instagram-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.instagram-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  color: #ffffff;
  font-size: 1.4rem;
}
.instagram-card:hover img {
  transform: scale(1.08);
}
.instagram-card:hover .instagram-overlay {
  opacity: 1;
}

/* Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  max-width: 90vw;
  height: 100%;
  background: #ffffff;
  z-index: 2000;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  transition: right 0.35s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.active {
  right: 0;
}
.cart-header {
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-header h3 {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.cart-items {
  padding: 20px 24px;
  flex-grow: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cart-item {
  display: flex;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
  align-items: center;
}
.cart-item-img {
  width: 60px;
  height: 75px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.cart-item-info {
  flex-grow: 1;
}
.cart-item-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.cart-item-price {
  font-size: 0.88rem;
  font-weight: 800;
  color: #111111;
}
.cart-item-remove {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 6px;
  transition: color 0.2s;
}
.cart-item-remove:hover {
  color: #e11d48;
}
.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--border);
  background: #f8fafc;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 18px;
}
.btn-checkout-wa {
  width: 100%;
  background: #25d366;
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
}
.btn-checkout-wa:hover {
  background: #1ebd5a;
}

/* Footer */
footer {
  background: #111111;
  color: #94a3b8;
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-brand-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 20px;
}
.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #ffffff;
}
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer-contact-list i {
  color: #cbd5e1;
  margin-top: 4px;
}
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1200px) {
  .products-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .product-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .detail-visuals { max-width: 480px; margin: 0 auto; }
  .detail-main-img-box { height: 720px; }
  .home-perks-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .atelier-story-grid { grid-template-columns: 1fr; gap: 40px; }
  .reviews-grid { grid-template-columns: 1fr; gap: 20px; }
  .newsletter-card { grid-template-columns: 1fr; gap: 25px; padding: 40px 30px; }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 20px !important; }
  .topbar { display: none; }
  .nav-dark-pill { display: none; }
  .nav-container { height: 75px; }
  .brand-img { height: 55px; }
  .hero { min-height: 440px; padding: 40px 0; background-position: right 30% center; }
  .hero-glass-box { padding: 25px; margin-left: 0; }
  .hero h1 { font-size: 1.7rem; }
  .banners-row-1 { grid-template-columns: 1fr; }
  .banners-row-2 { grid-template-columns: 1fr; }
  .products-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .home-perks-grid { grid-template-columns: 1fr; gap: 20px; }
  .atelier-story-visual img { height: 380px; }
  .atelier-story-content h2 { font-size: 1.8rem; }
  .atelier-stats-row { flex-wrap: wrap; gap: 24px; }
  .newsletter-card-right form { flex-direction: column; }
  .newsletter-btn { width: 100%; }
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-visuals { max-width: 100%; }
  .detail-main-img-box { height: 520px; }
  .detail-thumb { height: 110px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}

@media (max-width: 480px) {
  .products-grid-5 { grid-template-columns: 1fr; }
}

@media (min-width: 1440px) {
  .container {
    max-width: 1560px !important;
    padding-left: 40px;
    padding-right: 40px;
  }
}


/* Responsive Layout Grid Utilities (Auto-migrated from inline styles) */
.grid-2col-responsive {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.grid-split-responsive {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}
.grid-split-rev-responsive {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}
.grid-3col-responsive {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.grid-4col-responsive {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) {
  .grid-4col-responsive {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3col-responsive {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-split-responsive,
  .grid-split-rev-responsive {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .grid-2col-responsive,
  .grid-3col-responsive,
  .grid-4col-responsive,
  .grid-split-responsive,
  .grid-split-rev-responsive {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile Safeguard Rules */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}


/* Comprehensive Mobile Polish (360px - 768px) */
@media (max-width: 768px) {
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  
  button, .btn, .nav-link, a.btn {
    min-height: 42px;
  }
  
  h1, .hero-title, .page-hero-title {
    font-size: clamp(1.6rem, 5vw, 2.4rem) !important;
    line-height: 1.25 !important;
  }
  h2, .section-title, .shelf-title {
    font-size: clamp(1.3rem, 4vw, 1.8rem) !important;
    line-height: 1.3 !important;
  }
  
  table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  .grid-2col-responsive,
  .grid-3col-responsive,
  .grid-4col-responsive,
  .grid-split-responsive,
  .grid-split-rev-responsive {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea {
    font-size: 16px !important;
    width: 100% !important;
    box-sizing: border-box;
  }
}
