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

:root {
  --bg:          #EEC98A;   /* warm honey/parchment */
  --bg-card:     #FFF6E6;   /* light warm cream */
  --brown-dark:  #2C1503;   /* deep espresso brown */
  --brown-mid:   #7A3A10;   /* rich burnt sienna */
  --accent:      #B85433;   /* terracotta rust */
  --accent-hover:#963E22;   /* darker terracotta */
  --border:      #C4855A;   /* warm orange-brown border */
  --shadow:      rgba(44, 21, 3, 0.20);
}

body {
  font-family: 'Lato', sans-serif;
  background: var(--bg);
  color: var(--brown-dark);
  font-size: 18px;
  line-height: 1.6;
  min-height: 100vh;
}

/* ===== Header ===== */
header {
  position: relative;
  background: linear-gradient(150deg, #C87830 0%, #E0A050 40%, #C87030 100%);
  border-bottom: 4px solid #9A5520;
  padding: 28px 40px 20px;
}

/* ===== Social Icons (header top-left) ===== */
.social-icons {
  position: absolute;
  top: 18px;
  left: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10;
}

.social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--brown-dark);
  opacity: 0.72;
  transition: opacity 0.2s, transform 0.2s;
  text-decoration: none;
}

.social-icon-link:hover { opacity: 1; transform: scale(1.12); }

.social-icon-link svg {
  width: 28px;
  height: 28px;
  fill: var(--brown-dark);
  display: block;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.title-block {
  text-align: center;
}

.title-block h1 {
  font-family: 'American Typewriter', 'Courier Prime', 'Courier New', serif;
  font-size: clamp(1.8rem, 7.5vw, 3.9rem);
  font-weight: 400;
  color: var(--brown-dark);
  letter-spacing: clamp(2px, 1vw, 5px);
  line-height: 1.05;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
  margin-bottom: 0;
}

.cat-graphic {
  height: 2.2em;
  width: auto;
  flex-shrink: 0;
  mix-blend-mode: multiply;
  filter: contrast(1.25) drop-shadow(0 0 0px rgba(44,21,3,0));
  margin-right: 0;
  position: relative;
  top: -0.17em;
}

.location-subtitle {
  font-family: 'American Typewriter', 'Courier Prime', 'Courier New', serif;
  font-size: clamp(0.85rem, 2vw, 1.15rem);
  color: #5A2A0A;
  letter-spacing: clamp(1px, 0.5vw, 3px);
  margin-top: clamp(-14px, -2.5vw, -34px);
  margin-bottom: 0;
  text-align: center;
}

.tagline {
  font-family: 'American Typewriter', 'Courier Prime', 'Courier New', serif;
  font-style: normal;
  font-size: clamp(0.9rem, 2.8vw, 1.25rem);
  color: #3D1A08;
  margin-top: clamp(8px, 1.5vw, 16px);
  line-height: 1.45;
  text-align: center;
}

.location-heart {
  color: #c0392b;
}

.shop-ornament {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 340px;
  margin: 0 auto 36px;
}

.shop-ornament-line {
  flex: 1;
  height: 1px;
  background: var(--border);
  opacity: 0.6;
}

.shop-ornament-glyph {
  font-size: 0.85rem;
  color: var(--border);
  flex-shrink: 0;
  line-height: 1;
}

nav {
  display: flex;
  justify-content: center;
  gap: 36px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  width: 100%;
}

nav a {
  text-decoration: none;
  color: var(--brown-mid);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

/* ===== Section Titles ===== */
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  text-align: center;
  color: var(--brown-dark);
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: var(--brown-mid);
  font-style: italic;
  margin-bottom: 40px;
  font-size: 1rem;
}

/* ===== Shop Section ===== */
#shop {
  max-width: 1100px;
  margin: 55px auto;
  padding: 0 30px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 980px)  { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px)  { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px)  { .products-grid { grid-template-columns: 1fr; } }

/* ===== Cart Icon ===== */
.cart-icon-btn {
  position: absolute;
  top: 16px;
  right: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  z-index: 10;
  color: var(--brown-dark);
  opacity: 0.72;
  transition: opacity 0.2s;
}

.cart-icon-btn:hover { opacity: 1; }

.cart-icon-btn svg {
  width: 30px;
  height: 30px;
  fill: var(--brown-dark);
  display: block;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  min-width: 20px;
  height: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* ===== Cart Overlay ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 21, 3, 0.45);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ===== Cart Drawer ===== */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  max-width: 100vw;
  background: var(--bg-card);
  box-shadow: -4px 0 30px var(--shadow);
  z-index: 301;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.cart-drawer.open { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 2px solid var(--border);
  background: linear-gradient(160deg, #EDD9A3 0%, #F5E6C8 100%);
  flex-shrink: 0;
}

.cart-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--brown-dark);
}

.cart-close-btn {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--brown-mid);
  padding: 4px 8px;
  transition: color 0.2s;
  line-height: 1;
}

.cart-close-btn:hover { color: var(--brown-dark); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--brown-mid);
  font-style: italic;
  font-size: 1.05rem;
}

.cart-item {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}

.cart-item-img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 7px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #E8C07A, #C4855A);
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--brown-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 2px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.qty-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 5px;
  width: 26px;
  height: 26px;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--brown-mid);
  transition: background 0.2s, color 0.2s;
  padding: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover { background: var(--brown-mid); color: #fff; }

.qty-num {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brown-dark);
  min-width: 22px;
  text-align: center;
}

.cart-remove-btn {
  background: none;
  border: none;
  color: var(--border);
  font-size: 1rem;
  cursor: pointer;
  padding: 2px 4px;
  margin-left: 2px;
  transition: color 0.2s;
  line-height: 1;
}

.cart-remove-btn:hover { color: #c0392b; }

.cart-footer {
  border-top: 2px solid var(--border);
  padding: 20px 24px;
  background: var(--bg-card);
  flex-shrink: 0;
}

.cart-total {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--brown-dark);
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.cart-checkout-btn {
  width: 100%;
  padding: 14px;
  background: var(--brown-dark);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  transition: background 0.2s;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.cart-checkout-btn:hover    { background: var(--brown-mid); }
.cart-checkout-btn:disabled { background: #ccc; cursor: not-allowed; }

.cart-continue-btn {
  width: 100%;
  padding: 11px;
  background: transparent;
  color: var(--brown-mid);
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  transition: border-color 0.2s;
}

.cart-continue-btn:hover { border-color: var(--brown-mid); }

/* ===== This Month Heading ===== */
.this-month-heading {
  text-align: center;
  margin-bottom: 32px;
}

.this-month-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--brown-dark);
  letter-spacing: 0;
}

.this-month-ellipsis {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--brown-dark);
  letter-spacing: 0;
}

/* ===== Product Cards ===== */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 14px var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px var(--shadow);
}

.product-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #E8C07A, #C4855A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--border);
}

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

.product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--brown-dark);
  margin-bottom: 5px;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--brown-mid);
  line-height: 1.4;
  margin-bottom: 10px;
  flex: 1;
}

.product-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.buy-btn {
  width: 100%;
  padding: 13px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  transition: background 0.2s;
  letter-spacing: 0.5px;
}

.buy-btn:hover   { background: var(--accent-hover); }
.buy-btn:disabled { background: #ccc; cursor: not-allowed; }

.remove-cart-btn {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 0;
  background: none;
  border: none;
  color: var(--brown-mid);
  font-size: 0.8rem;
  font-family: 'Lato', sans-serif;
  text-decoration: underline;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}

.remove-cart-btn:hover { opacity: 1; color: var(--accent); }

/* ===== Contact Section ===== */
#contact {
  background: linear-gradient(150deg, #C87830, #E0A050, #C87030);
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  padding: 65px 30px;
  text-align: center;
}

#contact h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  margin-bottom: 14px;
}

#contact p {
  font-size: 1.1rem;
  color: var(--brown-mid);
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.contact-btn {
  display: inline-block;
  padding: 17px 46px;
  background: var(--brown-mid);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  transition: background 0.2s;
  letter-spacing: 0.5px;
}

.contact-btn:hover { background: var(--accent-hover); }

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 30px 20px;
  color: var(--brown-mid);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
}

.admin-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--border);
  font-size: 0.78rem;
  text-decoration: none;
  transition: color 0.2s;
}

.admin-link:hover { color: var(--brown-mid); }

.site-version {
  font-size: 0.65rem;
  color: var(--border);
  margin-top: 6px;
  letter-spacing: 1px;
  opacity: 0.7;
}

/* ===== Product Carousel ===== */
.product-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.carousel-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: block;
}

.carousel-img.active { opacity: 1; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(44, 21, 3, 0.52);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s;
  padding: 0;
  line-height: 1;
}

.product-carousel:hover .carousel-btn { opacity: 1; }
.carousel-btn:hover { background: rgba(44, 21, 3, 0.80); }

.prev-btn { left: 7px; }
.next-btn { right: 7px; }

.carousel-dots {
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.50);
  cursor: pointer;
  transition: background 0.2s;
}

.dot.active { background: #fff; }

/* ===== About Section ===== */
.about-section {
  background: var(--bg);
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  padding: 65px 30px;
}

.about-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.about-photo-col {
  flex-shrink: 0;
}

.about-photo {
  width: 240px;
  height: 280px;
  object-fit: cover;
  border-radius: 14px;
  border: 3px solid var(--border);
  box-shadow: 0 6px 22px var(--shadow);
  display: block;
}

.about-text-col { flex: 1; }

.about-text-col h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--brown-dark);
  margin-bottom: 16px;
}

.about-body {
  font-size: 1.05rem;
  color: var(--brown-dark);
  line-height: 1.75;
  margin-bottom: 24px;
}

.about-social-links {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.about-social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--brown-dark);
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 0.2s;
}

.about-social-link:hover { color: var(--accent); }

.about-social-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

@media (max-width: 680px) {
  .about-inner { flex-direction: column; gap: 28px; }
  .about-photo  { width: 100%; height: 260px; }
}

/* ===== Shops Section ===== */
.shops-section {
  max-width: 1100px;
  margin: 55px auto;
  padding: 0 30px;
  text-align: center;
}

.shops-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}

.shop-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 28px;
  width: 100%;
  max-width: 400px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 80px;
  box-shadow: 0 2px 10px var(--shadow);
}

.shop-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 5px;
}

.shop-address {
  font-size: 0.88rem;
  color: var(--brown-mid);
  line-height: 1.4;
}

/* ===== Have a Question Section ===== */
.questions-section {
  background: linear-gradient(150deg, #C87830, #E0A050, #C87030);
  border-top: 2px solid var(--border);
  padding: 65px 30px 70px;
  text-align: center;
}

.questions-section > h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  color: var(--brown-dark);
  margin-bottom: 40px;
}

.questions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

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

.question-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: left;
  box-shadow: 0 3px 14px var(--shadow);
  display: flex;
  flex-direction: column;
}

.question-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--brown-dark);
  margin-bottom: 12px;
}

.question-card p {
  font-size: 0.95rem;
  color: var(--brown-mid);
  line-height: 1.7;
  flex: 1;
}

.question-card .contact-btn {
  margin-top: 20px;
  display: inline-block;
  align-self: flex-start;
}

/* ===== Loading / Empty ===== */
.grid-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  font-style: italic;
  color: var(--brown-mid);
  font-size: 1.1rem;
}

/* ===== Sold overlay ===== */
.product-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.sold-banner {
  position: absolute;
  top: 14px;
  left: -6px;
  background: var(--brown-dark);
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  z-index: 2;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.25);
}

.product-card.is-sold .product-image-wrap,
.product-card.is-sold .product-carousel {
  opacity: 0.55;
}

.buy-btn.sold-btn {
  background: #aaa;
  cursor: default;
}

.buy-btn.sold-btn:hover { background: #aaa; }

/* ===== Product Detail Modal ===== */
.product-modal {
  position: fixed;
  inset: 0;
  background: rgba(44, 21, 3, 0.62);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.product-modal.open {
  opacity: 1;
  pointer-events: all;
}

.product-modal-inner {
  background: var(--bg-card);
  border-radius: 18px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 50px rgba(44,21,3,0.45);
}

.product-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(44,21,3,0.14);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 0.95rem;
  cursor: pointer;
  color: var(--brown-dark);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.product-modal-close:hover { background: rgba(44,21,3,0.28); }

.product-modal-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  background: #E8C07A;
}

.product-modal-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s;
}
.product-modal-img.active { opacity: 1; }

.product-modal-placeholder {
  width: 100%;
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, #E8C07A, #C4855A);
  border-radius: 18px 18px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.product-modal-prev,
.product-modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(44,21,3,0.45);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.2s;
}
.product-modal-carousel:hover .product-modal-prev,
.product-modal-carousel:hover .product-modal-next { opacity: 1; }
.product-modal-prev:hover,
.product-modal-next:hover { background: rgba(44,21,3,0.75); }
.product-modal-prev { left: 10px; }
.product-modal-next { right: 10px; }

.product-modal-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.product-modal-body {
  padding: 22px 24px 28px;
}

.product-modal-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 10px;
  line-height: 1.2;
}

.product-modal-desc {
  font-size: 1rem;
  color: var(--brown-mid);
  line-height: 1.6;
  margin-bottom: 14px;
  font-style: italic;
}

.product-modal-price {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 18px;
}

.product-card {
  cursor: pointer;
}

/* ===== Cart Item Detail Modal ===== */
.cart-detail-modal {
  position: fixed;
  inset: 0;
  background: rgba(44, 21, 3, 0.6);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.cart-detail-modal.open {
  opacity: 1;
  pointer-events: all;
}

.cart-detail-inner {
  background: var(--bg-card);
  border-radius: 16px;
  max-width: 380px;
  width: 92%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 40px rgba(44,21,3,0.4);
}

.cart-detail-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(44,21,3,0.18);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--brown-dark);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.cart-detail-close:hover { background: rgba(44,21,3,0.35); }

.cart-detail-img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  display: block;
}

.cart-detail-info {
  padding: 18px 20px 22px;
}

.cart-detail-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  color: var(--brown-dark);
  margin-bottom: 8px;
  font-weight: 600;
}

.cart-detail-desc {
  font-size: 0.95rem;
  color: var(--brown-mid);
  line-height: 1.55;
  margin-bottom: 12px;
  font-style: italic;
}

.cart-detail-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.cart-item {
  cursor: pointer;
  transition: background 0.15s;
}

.cart-item:hover {
  background: #EEDBB0;
}

/* ===== Responsive header ===== */
@media (max-width: 680px) {
  header { padding: 16px 20px 16px; }

  .social-icons { top: 14px; left: 14px; gap: 8px; }
  .social-icon-link { width: 24px; height: 24px; }
  .social-icon-link svg { width: 22px; height: 22px; }

  .cart-icon-btn { top: 12px; right: 14px; }
  .cart-icon-btn svg { width: 24px; height: 24px; }

  .logo-row { margin-bottom: 12px; }

  nav { gap: 20px; }
}

/* ===== Events Page ===== */
.events-section {
  max-width: 720px;
  margin: 60px auto 0;
  padding: 0 30px;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 32px;
}

.event-card {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(196, 133, 90, 0.25);
}

.event-card:first-child { border-top: 1px solid rgba(196, 133, 90, 0.25); }

.event-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--brown-dark);
  color: #fff;
  border-radius: 10px;
  min-width: 62px;
  padding: 10px 8px 8px;
  flex-shrink: 0;
  line-height: 1;
}

.event-badge-month {
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 3px;
}

.event-badge-day {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.event-badge-year {
  font-family: 'Lato', sans-serif;
  font-size: 0.65rem;
  opacity: 0.6;
  margin-top: 4px;
  letter-spacing: 1px;
}

.event-details {
  flex: 1;
}

.event-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brown-dark);
  line-height: 1.2;
  margin-bottom: 5px;
}

.event-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.88rem;
  color: var(--brown-mid);
}

.event-pin-icon {
  width: 11px;
  height: 11px;
  fill: var(--accent);
  flex-shrink: 0;
  position: relative;
  top: -1px;
}

/* ===== Events / Shops Divider ===== */
.events-page-divider {
  max-width: 720px;
  margin: 50px auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.events-page-divider::before,
.events-page-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

.events-page-divider-icon {
  font-size: 0.75rem;
  color: var(--border);
  flex-shrink: 0;
}

.no-content-section {
  max-width: 600px;
  margin: 80px auto;
  padding: 0 30px;
  text-align: center;
  font-style: italic;
  color: var(--brown-mid);
  font-size: 1.05rem;
}

@media (max-width: 500px) {
  .event-card { gap: 16px; }
  .event-badge { min-width: 54px; padding: 8px 6px 6px; }
  .event-badge-day { font-size: 1.6rem; }
  .event-name { font-size: 1.15rem; }
}

/* ===== Admin Events ===== */
.events-admin-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

.event-admin-row {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 10px;
}

.event-admin-row .event-name-input {
  grid-column: 1;
  grid-row: 1;
}

.event-admin-row .delete-event-btn {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  background: none;
  border: 1px solid #c97a7a;
  color: #b04040;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.event-admin-row .delete-event-btn:hover {
  background: #b04040;
  color: #fff;
}

.event-admin-row .event-date-input,
.event-admin-row .event-location-input {
  grid-column: 1;
}

.add-event-btn {
  background: none;
  border: 2px dashed var(--border);
  border-radius: 10px;
  color: var(--brown-mid);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 24px;
  cursor: pointer;
  width: 100%;
  transition: border-color 0.2s, color 0.2s;
}

.add-event-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 600px) {
  .event-admin-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .event-admin-row .event-name-input,
  .event-admin-row .event-date-input,
  .event-admin-row .event-location-input {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .event-admin-row .delete-event-btn {
    width: 100%;
  }
}
