/* ============================================
   ABAGI ART — color & font system
   Palette pulled from the logo (light blue + orange fish)
   ============================================ */
:root {
  --color-bg: #FBF3E7;        /* warm cream — replaces plain white */
  --color-bg-header: #DCF0FA; /* soft tint of the logo's sky blue */
  --color-text: #2E2A26;      /* warm near-black, softer than pure black */
  --color-blue: #97D7F0;      /* exact sky blue from the logo */
  --color-orange: #F7AE23;    /* exact golden orange from the fish fill */
  --color-orange-dark: #CD7617; /* exact burnt orange from the logo outline */
  --color-border: #E5D9C8;

  --font-heading: "Fraunces", Georgia, serif;
  --font-body: "Nunito", -apple-system, sans-serif;
}

/* ===== Base ===== */
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px 60px;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
}

/* ===== Header / logo / nav ===== */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--color-bg-header);
  margin: 0 -20px 40px;
  padding: 22px 28px;
  border-bottom: 3px solid var(--color-orange-dark);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-text);
}

.nav-tabs {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-tabs a {
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 20px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-tabs a:hover {
  background: rgba(205, 118, 23, 0.1);
  color: var(--color-orange-dark);
}

.nav-tabs a.active {
  background: var(--color-orange-dark);
  color: white;
}

/* ===== Hero image (Workshop / Products pages) ===== */
.hero-img {
  width: 100%;
  max-height: 440px;
  min-height: 260px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 30px;
}

/* ===== Workshop details block ===== */
.workshop-details {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 20px 0 30px;
}

.workshop-details p {
  margin: 6px 0;
}

/* ===== Gallery carousel (Workshop page) ===== */
.gallery {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.gallery-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  flex: 1;
  padding-bottom: 4px;
}

.gallery-track::-webkit-scrollbar {
  height: 6px;
}

.gallery-track::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 6px;
}

.gallery-track img {
  scroll-snap-align: start;
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.gallery-arrow {
  background: white;
  border: 1.5px solid var(--color-border);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  min-width: 42px;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--color-orange-dark);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.gallery-arrow:hover {
  background: rgba(205, 118, 23, 0.08);
  border-color: var(--color-orange-dark);
}

/* ===== Call-to-action buttons (Book a spot, See more, etc.) ===== */
.btn {
  display: inline-block;
  background: var(--color-orange-dark);
  color: white;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(205, 118, 23, 0.25);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  background: #B5660F;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(205, 118, 23, 0.32);
}

.btn-secondary {
  background: white;
  color: var(--color-orange-dark);
  border: 1.5px solid var(--color-orange-dark);
  box-shadow: none;
}

.btn-secondary:hover {
  background: rgba(205, 118, 23, 0.08);
  box-shadow: none;
}

.see-more {
  display: block;
  text-align: center;
  margin-top: 24px;
}

/* ===== Category filter buttons ===== */
.category-filters {
  gap: 14px 16px;
  margin-bottom: 36px;
}

.category-filters button {
  padding: 9px 18px;
  border: 1.5px solid var(--color-border);
  background: white;
  border-radius: 30px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  transition: all 0.15s ease;
}

.category-filters button:hover {
  border-color: var(--color-orange-dark);
}

.category-filters button.active {
  background: var(--color-orange-dark);
  color: white;
  border-color: var(--color-orange-dark);
}

/* "Home Decorations" sub-menu — a vertical dropdown list, not a button row,
   so it always fits regardless of screen width */
#main-filters {
  position: relative;
  margin-bottom: 18px;
}

#sub-filters {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 220px;
  max-width: 100%;
  margin-top: 22px;
  margin-bottom: 36px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(46, 42, 38, 0.08);
  padding: 8px;
  gap: 2px;
}

#sub-filters::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 28px;
  width: 14px;
  height: 14px;
  background: white;
  border-left: 1px solid var(--color-border);
  border-top: 1px solid var(--color-border);
  transform: rotate(45deg);
}

#sub-filters::after {
  content: "Home Decorations";
  display: block;
  order: -1;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #a89f92;
  padding: 6px 10px 4px;
}

#sub-filters button {
  border: none;
  border-radius: 8px;
  background: transparent;
  padding: 9px 12px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
}

#sub-filters button:hover {
  background: var(--color-bg);
}

#sub-filters button.active {
  background: var(--color-orange-dark);
  color: white;
  font-weight: 600;
}

/* ===== Product grid ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 28px;
  margin-top: 36px;
}

.grid > a {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 14px;
  display: block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.grid > a:hover {
  transform: translateY(-3px);
  border-color: var(--color-blue);
  box-shadow: 0 6px 16px rgba(151, 215, 240, 0.35);
}

.grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.grid p {
  margin: 2px 0;
  font-size: 0.92rem;
  color: #6b6660;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-text);
  font-weight: 600;
  margin-bottom: 0;
}

.variant {
  color: #6b6660;
  font-size: 0.88rem;
  margin-top: -2px;
}

.price {
  color: var(--color-orange-dark);
  font-weight: 600;
}

/* ===== Product detail page ===== */
.product-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 20px;
}

.product-detail-img {
  flex: 1 1 280px;
  max-width: 340px;
  max-height: 340px;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  object-fit: cover;
}

.product-detail-info {
  flex: 2 1 300px;
}

.product-detail-info h1 {
  margin-bottom: 4px;
}

.product-detail-variant {
  color: #6b6660;
  font-size: 1rem;
  margin-top: 0;
}

.product-detail-price {
  font-size: 1.3rem;
  margin: 14px 0 20px;
}

.product-detail-description {
  color: #55504A;
  margin: 16px 0 8px;
}

/* ===== Accordion (FAQ page + product detail specs) ===== */
.accordion {
  margin-top: 28px;
  border-top: 1px solid var(--color-border);
}

details {
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
}

summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 1rem;
}

details p {
  margin-top: 10px;
  color: #55504A;
}

/* ===== Footer ===== */
.site-footer {
  margin-top: 80px;
  padding-top: 30px;
  border-top: 1px solid var(--color-border);
  color: #a89f92;
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.15s ease;
}

.footer-icon-link:hover {
  color: var(--color-orange-dark);
}

.footer-icon-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.footer-address {
  text-align: right;
}

.footer-address-title {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.95rem;
  margin: 0 0 4px;
}

.footer-address a {
  color: var(--color-orange-dark);
  font-weight: 600;
}

.footer-address a:hover {
  text-decoration: underline;
}

.footer-copy {
  text-align: center;
  font-size: 0.82rem;
}

@media (max-width: 500px) {
  .footer-content { flex-direction: column; }
  .footer-address { text-align: left; }
}

/* ===== Responsive adjustments for phones/small screens ===== */
@media (max-width: 640px) {
  body {
    padding: 0 16px 40px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    margin: 0 -16px 28px;
  }

  .logo {
    width: 46px;
    height: 46px;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .nav-tabs {
    gap: 8px;
    flex-wrap: wrap;
  }

  .nav-tabs a {
    padding: 6px 12px;
    font-size: 0.88rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero {
    padding: 24px 0;
  }

  .hero-img {
    max-height: 260px;
    min-height: 180px;
  }

  .grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
  }

  .product-detail {
    flex-direction: column;
    gap: 16px;
  }

  .product-detail-img {
    max-width: 220px;
    max-height: 220px;
    margin: 0 auto;
  }

  #sub-filters {
    width: 100%;
  }

  .gallery-track img {
    width: 160px;
    height: 160px;
  }

  .category-filters {
    gap: 10px 10px;
  }
}


/* ===== Updated product catalogue and responsive product pages ===== */
.catalog-main,.faq-main{padding:0 0 48px}
.page-intro{max-width:720px;margin:0 auto 30px;text-align:center}
.page-intro h1{margin:4px 0 10px;font-size:clamp(2rem,5vw,3rem)}
.page-intro p{color:#625b53}
.eyebrow{font-size:.76rem;letter-spacing:.16em;font-weight:700;color:var(--color-orange-dark);margin:0}
.catalog-controls{background:rgba(255,255,255,.68);border:1px solid var(--color-border);border-radius:16px;padding:18px 20px;margin:26px 0 24px}
.filter-group+.filter-group{margin-top:16px}
.filter-label{display:block;font-weight:700;margin-bottom:9px}
.filter-buttons{display:flex;flex-wrap:wrap;gap:8px}
.filter-btn{border:1px solid var(--color-border);background:#fff;color:var(--color-text);padding:9px 15px;border-radius:24px;font:600 .9rem var(--font-body);cursor:pointer;transition:.18s ease}
.filter-btn:hover,.filter-btn.active{background:var(--color-orange-dark);border-color:var(--color-orange-dark);color:#fff}
.result-count{font-size:.88rem;color:#71685e;margin:13px 0 0}
.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.product-card{display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid var(--color-border);border-radius:14px;transition:transform .2s ease,box-shadow .2s ease}
.product-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(46,42,38,.1)}
.product-card>img{width:100%;aspect-ratio:1/1;object-fit:cover;background:#f4eee5}
.product-card-body{padding:15px 16px 17px;display:flex;flex-direction:column;align-items:flex-start;flex:1}
.product-card h2{font-size:1.18rem;line-height:1.3;margin:0 0 4px}
.product-variant{color:#766b60;margin:0 0 8px;font-size:.94rem}
.product-card .price{margin:7px 0 10px;font-weight:700}
.card-link{color:var(--color-orange-dark);font-weight:700;font-size:.9rem;margin-top:auto}
.empty-state{text-align:center;padding:35px;background:#fff;border-radius:12px}
.product-detail{padding:0 0 55px}
.breadcrumbs{font-size:.88rem;color:#74695e;margin:0 0 20px}
.breadcrumbs a{text-decoration:underline}
.product-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:42px;align-items:start}
.product-detail-image img{display:block;width:100%;max-height:680px;object-fit:contain;border-radius:16px;background:#fff}
.product-detail-info h1{font-size:clamp(2rem,4vw,2.8rem);line-height:1.15;margin:8px 0 4px}
.product-detail-price{font-size:1.2rem;font-weight:700;margin:8px 0 18px}
.product-facts{margin:22px 0}
.product-facts details,.faq-item{border-bottom:1px solid var(--color-border);padding:15px 0}
.product-facts summary,.faq-item summary{cursor:pointer;font-family:var(--font-heading);font-weight:600;font-size:1.05rem;list-style-position:inside}
.product-facts details p,.faq-answer{color:#5d554d;padding:8px 2px 0}
.faq-list{max-width:820px;margin:0 auto}
.faq-item summary{font-size:1.08rem}
.faq-answer p{margin:0 0 10px}
.product-detail-info>.btn{display:inline-block;margin-top:8px}
@media(max-width:800px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-detail-layout{gap:24px}}
@media(max-width:560px){
 body{padding-left:14px;padding-right:14px}
 .site-header{margin:0 -14px 28px;padding:14px;justify-content:center;position:relative}
 .logo{width:48px;height:48px}.brand-name{font-size:1.35rem}
 .site-header nav{width:100%}.nav-tabs{justify-content:center;gap:2px;flex-wrap:wrap}
 .nav-tabs a{display:block;padding:8px 10px;font-size:.88rem}
 .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .product-card-body{padding:11px}.product-card h2{font-size:1rem}
 .product-card .price{font-size:.92rem}
 .catalog-controls{padding:14px}
 .filter-btn{padding:8px 11px;font-size:.83rem}
 .product-detail-layout{grid-template-columns:1fr;gap:22px}
 .product-detail-image img{max-height:460px}
 .page-intro{text-align:left}
}


/* ===== Home workshop banner ===== */
.home-workshop-feature {
  position: relative;
  isolation: isolate;
  min-height: 390px;
  margin: 0 0 48px;
  overflow: hidden;
  border-radius: 18px;
  background: #3d332b;
}
.home-workshop-feature > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.home-workshop-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(24,22,20,.78) 0%, rgba(24,22,20,.48) 55%, rgba(24,22,20,.12) 100%);
}
.home-workshop-overlay {
  max-width: 590px;
  padding: clamp(30px, 6vw, 66px);
  color: #fff;
}
.home-workshop-eyebrow {
  color: #ffe0a7;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  margin: 0 0 12px;
}
.home-workshop-overlay h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.home-workshop-overlay > p:not(.home-workshop-eyebrow) {
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 440px;
  text-shadow: 0 1px 8px rgba(0,0,0,.45);
}
.home-workshop-btn {
  margin-top: 12px;
  background: #a94f16;
  border: 2px solid #fff;
}
.home-workshop-btn:hover { background: #873c10; }
.home-discover-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.about-main { max-width: 780px; margin: 0 auto; min-height: 45vh; }
.about-content {
  background: rgba(255,255,255,.72);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: clamp(22px, 5vw, 42px);
  font-size: 1.08rem;
}
.about-content p { margin: 0 0 18px; }
.about-content p:last-child { margin-bottom: 0; }

/* Three reserved workshop gallery slots; replace each with its named photo. */
.workshop-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.workshop-photo-placeholder {
  min-height: 210px;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 16px;
  border: 1px dashed #c8b8a4;
  border-radius: 14px;
  background: linear-gradient(135deg, #f4e8d8, #e6f2f6);
  color: #51463b;
}
.workshop-photo-placeholder span { font-family: var(--font-heading); font-weight: 600; }
.workshop-photo-placeholder small { color: #786b5e; font-size: .82rem; }
@media (max-width: 700px) {
  .home-workshop-feature { min-height: 350px; }
  .home-workshop-feature::after {
    background: linear-gradient(90deg, rgba(24,22,20,.76), rgba(24,22,20,.40));
  }
  .home-discover-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workshop-photo-grid { grid-template-columns: 1fr; }
  .workshop-photo-placeholder { min-height: 190px; }
}

.selected-subcategory-title {
  margin: 8px 0 18px;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
}
