/* ==========================================================
   ALBUMCRAFTED - LUXURY HANDCRAFTED MEMORIES STYLING
   Brand Palette extracted from logo.jpg:
   Espresso Wood, Kraft Paper Gold, Blush Pink, Sage Green, Warm Cream
   ========================================================== */

:root {
  --color-espresso: #2b1810;
  --color-espresso-light: #442a20;
  --color-kraft: #c68a4c;
  --color-kraft-soft: #e6b980;
  --color-kraft-bg: #f7ede2;
  --color-rose: #e76f8b;
  --color-rose-soft: #fde8ed;
  --color-rose-dark: #c24564;
  --color-sage: #607d5b;
  --color-sage-soft: #e9f0e8;
  --color-cream: #fbf8f5;
  --color-cream-card: #ffffff;
  --color-border: #ede4db;
  --color-text-main: #2b1810;
  --color-text-muted: #6e584f;
  --color-gold: #df9e38;
  
  --font-serif: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-hand: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(43, 24, 16, 0.05);
  --shadow-md: 0 8px 24px rgba(43, 24, 16, 0.08);
  --shadow-lg: 0 16px 40px rgba(43, 24, 16, 0.12);
  --shadow-float: 0 20px 48px rgba(198, 138, 76, 0.18);
  
  --rainbow-gradient: linear-gradient(135deg, #fba1b7 0%, #fed1a7 25%, #feefa7 50%, #c4e9bd 75%, #d8c2f8 100%);
  --kraft-gradient: linear-gradient(135deg, #c68a4c 0%, #e2a86f 100%);
  --rose-gradient: linear-gradient(135deg, #e76f8b 0%, #f694ac 100%);
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-cream);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

/* ================= UTILITIES ================= */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-sm { gap: 10px; }
.gap-md { gap: 20px; }
.gap-lg { gap: 30px; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--color-rose-soft);
  color: var(--color-rose-dark);
  margin-bottom: 12px;
  border: 1px dashed var(--color-rose);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-espresso);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 650px;
  margin: 0 auto 40px auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--kraft-gradient);
  color: #ffffff;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #b57a3e 0%, #d4985f 100%);
  color: #ffffff;
}

.btn-rose {
  background: var(--rose-gradient);
  color: #ffffff;
}

.btn-rose:hover {
  background: linear-gradient(135deg, #d35f7c 0%, #e6839c 100%);
  color: #ffffff;
}

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

.btn-outline:hover {
  background: var(--color-espresso);
  color: #ffffff;
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
}

.btn-whatsapp:hover {
  background: #1EBE5D;
  color: #ffffff;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ================= TOP ANNOUNCEMENT BAR ================= */
.top-bar {
  background: var(--color-espresso);
  color: #fff;
  padding: 8px 0;
  font-size: 0.85rem;
  position: relative;
  z-index: 100;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-links a {
  color: #f7ede2;
  margin-left: 20px;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-links a:hover {
  color: var(--color-kraft-soft);
}

/* ================= MAIN HEADER & NAV ================= */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 99;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 16px rgba(43, 24, 16, 0.03);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(43, 24, 16, 0.1);
  border: 2px solid #ffffff;
  outline: 2px solid var(--color-kraft-soft);
  flex-shrink: 0;
  background: #ffffff;
}

.logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text h1 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--color-espresso);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.brand-text span {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-kraft);
  font-weight: 600;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-espresso);
  position: relative;
  padding: 6px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-kraft);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

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

.cart-icon-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-kraft-bg);
  color: var(--color-espresso);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 1px solid var(--color-kraft-soft);
  transition: all 0.2s ease;
}

.cart-icon-btn:hover {
  background: var(--color-kraft);
  color: #fff;
  transform: scale(1.05);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--color-rose);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

/* ================= HERO SECTION ================= */
.hero-section {
  padding: 60px 0 80px 0;
  background: radial-gradient(circle at 10% 20%, rgba(254, 239, 219, 0.7) 0%, rgba(251, 248, 245, 0.9) 60%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.hero-content h2 {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  line-height: 1.15;
  color: var(--color-espresso);
  margin-bottom: 20px;
}

.hero-content h2 span.highlight {
  color: var(--color-kraft);
  position: relative;
  display: inline-block;
}

.hero-content h2 span.highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 100%;
  height: 10px;
  background: var(--color-rose-soft);
  z-index: -1;
  border-radius: 4px;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px dashed var(--color-border);
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.hero-badge-item i {
  color: var(--color-kraft);
  font-size: 1.1rem;
}

.hero-visual-card {
  position: relative;
  background: #ffffff;
  padding: 16px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  border: 1px solid var(--color-border);
}

.hero-main-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.hero-floating-tag {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: #ffffff;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  border-left: 5px solid var(--color-rose);
  animation: floatAnim 4s ease-in-out infinite;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-floating-tag .tag-icon {
  width: 44px;
  height: 44px;
  background: var(--color-rose-soft);
  color: var(--color-rose);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.hero-floating-tag h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-espresso);
}

.hero-floating-tag p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ================= CATEGORY CARDS ================= */
.categories-section {
  padding: 70px 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.category-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  display: block;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-kraft);
  box-shadow: var(--shadow-md);
}

.category-icon-circle {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px auto;
  border-radius: 50%;
  background: var(--color-kraft-bg);
  color: var(--color-kraft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: all 0.3s ease;
}

.category-card:hover .category-icon-circle {
  background: var(--kraft-gradient);
  color: #fff;
  transform: rotate(5deg) scale(1.05);
}

.category-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-espresso);
  margin-bottom: 4px;
}

.category-card span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ================= PRODUCT CARDS GRID ================= */
.products-section {
  padding: 80px 0;
  background: #ffffff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--color-cream-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-kraft-soft);
}

.product-thumb-wrap {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: #f5f1eb;
}

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

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

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--color-espresso);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.product-badge.bestseller {
  background: var(--rose-gradient);
}

.product-badge.custom-photos {
  top: auto;
  bottom: 14px;
  left: 14px;
  background: rgba(43, 24, 16, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
}

.product-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.78rem;
  color: var(--color-kraft);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.product-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-espresso);
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-title a:hover {
  color: var(--color-rose-dark);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  margin-bottom: 12px;
  color: var(--color-gold);
}

.product-rating span {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.product-desc-brief {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Custom requirements pill in card */
.custom-spec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.spec-pill {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  color: var(--color-espresso);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.spec-pill.photos-pill {
  background: var(--color-rose-soft);
  color: var(--color-rose-dark);
  border-color: #fbd0db;
}

.spec-pill.video-pill {
  background: #eef2ff;
  color: #4338ca;
  border-color: #c7d2fe;
}

.product-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.product-price-box {
  display: flex;
  flex-direction: column;
}

.price-now {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-espresso);
}

.price-old {
  font-size: 0.85rem;
  color: #a89489;
  text-decoration: line-through;
}

/* ================= VIDEO REELS SHOWCASE ================= */
.video-reels-section {
  padding: 80px 0;
  background: var(--color-espresso);
  color: #ffffff;
  position: relative;
}

.video-reels-section .section-title {
  color: #ffffff;
}

.video-reels-section .section-subtitle {
  color: #d8c2b5;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.video-card {
  background: #382117;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #553426;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  position: relative;
}

.video-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-kraft);
}

.video-player-wrap {
  width: 100%;
  height: 420px;
  position: relative;
  background: #000;
}

.video-player-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-info-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.video-badge {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--color-rose);
  color: #ffffff;
}

.video-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

/* ================= HOW IT WORKS ================= */
.how-it-works-section {
  padding: 80px 0;
  background: var(--color-cream);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  position: relative;
}

.step-card {
  background: #ffffff;
  padding: 36px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-num {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--kraft-gradient);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.step-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-rose-soft);
  color: var(--color-rose);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto 20px auto;
}

.step-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-espresso);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ================= PRODUCT DETAIL & CUSTOMIZER STUDIO ================= */
.product-detail-section {
  padding: 60px 0 90px 0;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
}

.detail-gallery {
  position: sticky;
  top: 110px;
}

.main-image-viewport {
  width: 100%;
  height: 520px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  margin-bottom: 16px;
}

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

.gallery-thumbs-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.gallery-thumb-item {
  width: 84px;
  height: 84px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--color-border);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.gallery-thumb-item.active,
.gallery-thumb-item:hover {
  border-color: var(--color-kraft);
  transform: translateY(-2px);
}

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

/* Customizer Box */
.customizer-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.custom-step-block {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed var(--color-border);
}

.step-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.step-label h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-espresso);
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-counter-badge {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-rose-soft);
  color: var(--color-rose-dark);
}

.step-counter-badge.complete {
  background: #dcfce7;
  color: #166534;
}

/* Options Pickers (Size, Color) */
.options-chips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.option-chip {
  position: relative;
}

.option-chip input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.chip-label {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
  font-size: 0.88rem;
  background: var(--color-cream);
}

.chip-label .chip-price {
  display: block;
  font-size: 0.78rem;
  color: var(--color-kraft);
  margin-top: 4px;
}

.option-chip input[type="radio"]:checked + .chip-label {
  border-color: var(--color-kraft);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(198, 138, 76, 0.15);
  color: var(--color-espresso);
}

/* Interactive Photo Upload Dropzone */
.dropzone-container {
  border: 2px dashed var(--color-kraft);
  background: var(--color-cream);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.dropzone-container:hover,
.dropzone-container.dragover {
  background: #ffffff;
  border-color: var(--color-rose);
}

.dropzone-icon {
  font-size: 2.4rem;
  color: var(--color-kraft);
  margin-bottom: 10px;
}

.dropzone-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-espresso);
  margin-bottom: 4px;
}

.dropzone-hint {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

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

.upload-thumb-card {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1.5px solid var(--color-kraft-soft);
  box-shadow: var(--shadow-sm);
}

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

.upload-thumb-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.upload-thumb-remove:hover {
  background: var(--color-rose);
}

/* Custom Message Input */
.custom-textarea {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-espresso);
  resize: vertical;
  min-height: 85px;
  outline: none;
  transition: border-color 0.2s ease;
  background: var(--color-cream);
}

.custom-textarea:focus {
  border-color: var(--color-kraft);
  background: #ffffff;
}

/* Video Option Input */
.video-option-container {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 20px;
}

/* Action Bar in Customizer */
.customizer-actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
}

.customizer-actions .btn {
  flex: 1;
}

/* ================= CART & CHECKOUT PAGES ================= */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.cart-table th {
  text-align: left;
  padding: 14px 18px;
  background: var(--color-kraft-bg);
  color: var(--color-espresso);
  font-weight: 700;
  font-size: 0.9rem;
  border-bottom: 2px solid var(--color-border);
}

.cart-table td {
  padding: 18px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

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

.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--color-border);
}

.cart-item-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-espresso);
}

.cart-item-meta {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
}

.form-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-espresso);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  font-size: 0.92rem;
  font-family: var(--font-sans);
  color: var(--color-espresso);
  outline: none;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  border-color: var(--color-kraft);
}

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

.payment-method-card {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.payment-method-card:hover,
.payment-method-card.selected {
  border-color: var(--color-kraft);
  background: var(--color-kraft-bg);
}

/* ================= FOOTER ================= */
.site-footer {
  background: var(--color-espresso);
  color: #ffffff;
  padding: 70px 0 24px 0;
  border-top: 4px solid var(--color-kraft);
  margin-top: 80px;
}

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

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

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

.footer-col ul li a {
  color: #c9b4a9;
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #4a2f24;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #a89184;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-container { height: 72px; }
  .main-nav { display: none; }
  .hero-content h2 { font-size: 2.4rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* ==========================================================
   FLOATING ATELIER SUPPORT & CHATBOT WIDGET
   ========================================================== */
.atelier-support-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  font-family: var(--font-sans);
}

.floating-pills-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.floating-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
  transition: all 0.25s ease;
}

.floating-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
}

.wa-pill {
  background: #25D366;
  color: #ffffff;
}

.wa-pill i {
  font-size: 1.15rem;
}

.bot-pill {
  background: var(--color-espresso);
  color: #ffffff;
  border: 1px solid rgba(198, 138, 76, 0.5);
  position: relative;
}

.bot-pill i {
  color: var(--color-gold);
  font-size: 1.1rem;
}

.bot-pill.active {
  background: var(--color-gold);
  color: #ffffff;
}

.bot-pill.active i {
  color: #ffffff;
}

.pill-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.35);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Chatbot Drawer / Window */
.chatbot-window {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 110px);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(43, 24, 16, 0.35);
  border: 1px solid rgba(198, 138, 76, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 100000;
  animation: slideUpFade 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chatbot-header {
  background: var(--color-espresso);
  color: #ffffff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--color-gold);
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chatbot-avatar {
  width: 36px;
  height: 36px;
  background: rgba(198, 138, 76, 0.2);
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 0.95rem;
}

.chatbot-title {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
}

.chatbot-status {
  font-size: 0.74rem;
  color: #d1c5bc;
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
}

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

.header-wa-btn {
  background: #25D366;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.header-wa-btn:hover {
  background: #20ba5a;
}

.chatbot-close-btn {
  background: transparent;
  border: none;
  color: #c9b4a9;
  font-size: 1rem;
  cursor: pointer;
  padding: 4px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
}

.chatbot-close-btn:hover {
  color: #ffffff;
}

/* Quick Suggestion Chips Bar */
.chatbot-chips-bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: #fbf8f5;
  border-bottom: 1px solid #eee4db;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.chatbot-chips-bar::-webkit-scrollbar {
  display: none;
}

.chat-chip {
  background: #ffffff;
  border: 1px solid #dfd3c7;
  color: var(--color-espresso);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  transition: all 0.2s;
  font-family: inherit;
}

.chat-chip i {
  color: var(--color-gold);
  font-size: 0.72rem;
}

.chat-chip:hover {
  background: var(--color-espresso);
  color: #ffffff;
  border-color: var(--color-espresso);
}

.chat-chip:hover i {
  color: var(--color-gold);
}

/* Messages */
.chatbot-messages {
  flex: 1;
  padding: 16px 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #faf7f2;
}

.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 86%;
}

.user-msg {
  align-self: flex-end;
}

.bot-msg {
  align-self: flex-start;
}

.chat-bubble {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.5;
  word-break: break-word;
}

.user-msg .chat-bubble {
  background: var(--color-espresso);
  color: #ffffff;
  border-bottom-right-radius: 2px;
}

.bot-msg .chat-bubble {
  background: #ffffff;
  color: #2b1810;
  border: 1px solid #ebd8c8;
  border-bottom-left-radius: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.chat-link {
  color: var(--color-gold);
  font-weight: 700;
  text-decoration: underline;
  display: inline-block;
  margin-top: 4px;
}

.chat-link:hover {
  color: var(--color-espresso);
}

.chat-link-inline {
  color: var(--color-espresso);
  font-weight: 700;
  text-decoration: underline;
}

.bot-followup-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.chat-followup-chip {
  background: #f1e9df;
  border: 1px solid #decbbe;
  color: var(--color-espresso);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
}

.chat-followup-chip:hover {
  background: var(--color-espresso);
  color: #ffffff;
}

/* Typing Indicator */
.chat-typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  background: #b8864e;
  border-radius: 50%;
  animation: typingBounce 1.2s infinite ease-in-out;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-5px); opacity: 1; }
}

/* Input Bar */
.chatbot-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #ffffff;
  border-top: 1px solid #ebd8c8;
}

.chatbot-input-bar input {
  flex: 1;
  border: 1px solid #dcd3c7;
  border-radius: 20px;
  padding: 10px 14px;
  font-size: 0.88rem;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}

.chatbot-input-bar input:focus {
  border-color: var(--color-gold);
}

.chatbot-input-bar button {
  width: 38px;
  height: 38px;
  background: var(--color-espresso);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.chatbot-input-bar button:hover {
  background: var(--color-gold);
  transform: scale(1.05);
}

@media (max-width: 480px) {
  .atelier-support-widget {
    bottom: 16px;
    right: 16px;
  }
  .chatbot-window {
    bottom: 74px;
    right: 12px;
    width: calc(100vw - 24px);
    height: 75vh;
  }
}


/* Responsive studio navigation and keyboard accessibility. */
.menu-toggle { display:none; }
.nav-container { height:auto; min-height:84px; flex-wrap:wrap; gap:16px; padding-top:14px; padding-bottom:14px; }
.main-nav { gap:18px; flex-wrap:wrap; }
.main-nav a { font-size:.85rem; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline:3px solid #a56a35; outline-offset:4px; }
@media(min-width:1101px) { .main-nav { order:3; width:100%; justify-content:center; padding-top:10px; border-top:1px solid var(--color-border); } }
@media(max-width:1100px) {
 .menu-toggle { display:inline-flex; margin-left:auto; }
 .main-nav { display:none; order:4; width:100%; }
 .main-nav.is-open { display:flex; flex-direction:column; align-items:stretch; gap:0; }
 .main-nav a { display:block; padding:12px 8px; border-bottom:1px solid var(--color-border); }
 .nav-container { height:auto; min-height:72px; }
 .nav-actions > .btn { display:none; }
}
@media(max-width:480px) {
 .brand-text span { display:none; }
 .brand-text h1 { font-size:1.2rem; }
 .logo-badge { width:40px; height:40px; }
 .brand-logo-wrap { gap:8px; }
 .nav-container { gap:8px; }
 .hero-floating-tag { max-width:90%; }
 .section-tag { white-space:normal; }
}
@media(prefers-reduced-motion:reduce) { *, *::before, *::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; } }

/* Keep navigation words intact at every breakpoint. */
.main-nav li { flex-shrink:0; }
.main-nav a { white-space:nowrap; word-break:normal; overflow-wrap:normal; }
.btn { word-break:normal; overflow-wrap:normal; }

.tracking-form { display:flex; flex-wrap:wrap; gap:12px; } .tracking-form input { flex:1 1 220px; min-width:0; } .tracking-form .btn { flex:0 0 auto; }

.skip-link { position:fixed; left:16px; top:-80px; z-index:10000; background:white; color:#2b1810; padding:12px; }
.skip-link:focus { top:12px; }
input,select,textarea { min-width:0; max-width:100%; }
.product-detail-grid > *, .checkout-grid > * { min-width:0; }
@media(max-width:768px) { main [style*="grid-template-columns: 1.4fr 1fr"] { grid-template-columns:minmax(0,1fr)!important; } }
@media(max-width:768px) {
 .checkout-grid { grid-template-columns:minmax(0,1fr)!important; }
 main [style*="grid-template-columns: 1fr 1fr"], main [style*="grid-template-columns: 1.5fr 1fr"], main [style*="grid-template-columns: 1.6fr 1fr"] { grid-template-columns:minmax(0,1fr)!important; }
 main [style*="display: grid"] > div { min-width:0; }
 .form-card { padding:20px; }
}

/* Improve text contrast on primary actions. */
.btn-primary { background:#875225; color:#fff; }
.btn-primary:hover { background:#6f411c; }
.hero-content .highlight { color:#986032; }
