/* Fine-Design Boutique Shopify Theme Prototype */
:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent: #d97706;
  --accent-light: #fef3c7;
  --rose: #be185d;
  --rose-light: #fdf2f8;
  --bg-cream: #faf8f5;
  --bg-white: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 28px rgba(0,0,0,0.1);
  --radius: 14px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3, .brand-font {
  font-family: 'Playfair Display', Georgia, serif;
}

/* Announcement Bar */
.announcement-bar {
  background: var(--primary);
  color: #fff;
  font-size: 0.8rem;
  padding: 9px 16px;
  text-align: center;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.announcement-bar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Header */
header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-container {
  display: flex;
  flex-direction: column;
}
.logo-title {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.logo-subtitle {
  font-size: 0.72rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.search-bar {
  flex: 1;
  max-width: 440px;
  position: relative;
}
.search-bar input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: #f1f5f9;
  font-size: 0.88rem;
  outline: none;
  transition: all 0.2s;
}
.search-bar input:focus {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.action-btn {
  background: none;
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  padding: 9px 16px;
  border-radius: 99px;
  transition: all 0.2s;
}
.action-btn:hover {
  background: #f8fafc;
  border-color: var(--accent);
}
.action-btn.btn-cart {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.action-btn.btn-cart:hover {
  background: #000;
}

.cart-badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 99px;
  padding: 2px 7px;
  margin-left: 2px;
}

/* Nav Menu */
.main-nav {
  background: #fff;
  border-top: 1px solid #f1f5f9;
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.nav-link {
  padding: 12px 2px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #fef3c7 0%, #fdf2f8 50%, #f1f5f9 100%);
  padding: 55px 24px;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.hero-content {
  max-width: 820px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.hero h2 {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 14px;
  line-height: 1.2;
}
.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 26px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 12px 28px;
  border-radius: 99px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
}
.btn-primary:hover {
  background: #000;
  transform: translateY(-2px);
}
.btn-secondary {
  background: #fff;
  color: var(--primary);
  padding: 12px 28px;
  border-radius: 99px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Category Filter Bar */
.filter-section {
  max-width: 1280px;
  margin: 36px auto 20px;
  padding: 0 24px;
}
.filter-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  overflow-x: auto;
  padding-bottom: 4px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.filter-btn {
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Products Grid */
.products-grid {
  max-width: 1280px;
  margin: 0 auto 60px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.product-img-wrapper {
  position: relative;
  background: #ffffff;
  padding-top: 100%;
  overflow: hidden;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
}
.product-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  transition: transform 0.3s;
}
.product-card:hover .product-img {
  transform: scale(1.05);
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.88);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  backdrop-filter: blur(4px);
}
.product-badge.rose {
  background: var(--rose);
}

.quick-view-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #fff;
  border: 1px solid var(--border);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}
.product-card:hover .quick-view-btn {
  opacity: 1;
  transform: translateY(0);
}
.quick-view-btn:hover {
  background: var(--primary);
  color: #fff;
}

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-category {
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}
.product-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
  line-height: 1.35;
  cursor: pointer;
}
.product-title:hover {
  color: var(--accent);
}

.variant-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
}
.v-pill {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}
.v-pill.more {
  background: #e2e8f0;
  color: #1e293b;
}

.product-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex: 1;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}
.product-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}
.incl-vat {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: block;
}
.btn-card {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-card:hover {
  background: var(--accent);
}

/* Personalizer Feature Box */
.personalizer-banner {
  max-width: 1280px;
  margin: 0 auto 60px;
  padding: 0 24px;
}
.banner-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  border-radius: 18px;
  padding: 40px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.banner-box::after {
  content: '✨';
  position: absolute;
  right: -20px;
  bottom: -30px;
  font-size: 8rem;
  opacity: 0.08;
}
.banner-text h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.banner-text p {
  color: #cbd5e1;
  font-size: 0.98rem;
  max-width: 580px;
}
.btn-gold {
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: 99px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-gold:hover {
  background: #b45309;
}

/* About / Story Section with real photo */
.story-section {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 24px;
}
.story-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
}
.story-image-box {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  background: #f1f5f9;
}
.story-image-box img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}
.story-content h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 16px;
}
.story-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: -440px;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background: #fff;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-drawer.active {
  right: 0;
}
.drawer-header {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-header h3 {
  font-size: 1.3rem;
  color: var(--primary);
}
.close-drawer {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text-muted);
}
.shipping-progress {
  background: #f8fafc;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
}
.progress-bar-bg {
  height: 6px;
  background: #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
  margin-top: 6px;
}
.progress-bar-fill {
  height: 100%;
  background: var(--accent);
  width: 60%;
  border-radius: 99px;
  transition: width 0.3s;
}
.drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cart-item {
  display: flex;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}
.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 4px;
}
.cart-item-info {
  flex: 1;
}
.cart-item-title {
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 3px;
}
.cart-item-custom {
  font-size: 0.74rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 6px;
}
.cart-item-price {
  font-weight: 700;
  font-size: 0.9rem;
}
.drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--border);
  background: #f8fafc;
}
.total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.pickup-select {
  margin-bottom: 14px;
  font-size: 0.82rem;
  background: #fff;
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.65);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(3px);
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  background: #fff;
  border-radius: 20px;
  max-width: 720px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}

/* Footer */
footer {
  background: var(--primary);
  color: #fff;
  padding: 55px 24px 24px;
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px;
  border-bottom: 1px solid #334155;
  padding-bottom: 40px;
}
.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: #f8fafc;
}
.footer-col p, .footer-col li {
  color: #94a3b8;
  font-size: 0.85rem;
  margin-bottom: 8px;
  list-style: none;
}
.footer-col a {
  color: #94a3b8;
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--accent);
}
.footer-bottom {
  max-width: 1280px;
  margin: 24px auto 0;
  text-align: center;
  color: #64748b;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .hero h2 { font-size: 2rem; }
  .story-container { grid-template-columns: 1fr; }
  .banner-box { flex-direction: column; text-align: center; }
  .header-main { flex-wrap: wrap; }
  .search-bar { order: 3; max-width: 100%; width: 100%; }
}

/* Scrollbar Hiding & Smooth Scrolling Utility */
.nav-container, .filter-tabs, .hide-scrollbar {
  -ms-overflow-style: none !important;  /* IE and Edge */
  scrollbar-width: none !important;  /* Firefox */
  -webkit-overflow-scrolling: touch;
}

.nav-container::-webkit-scrollbar, 
.filter-tabs::-webkit-scrollbar, 
.hide-scrollbar::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
