/* ==========================================================================
   SACI Products — shared styles
   Palette: deep olive / wheat gold / soil brown on warm parchment
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Public+Sans:wght@400;500;600;700&display=swap');

:root {
  --soil-900: #2b2318;
  --soil-700: #4a3d2a;
  --moss-800: #34472d;
  --moss-700: #435c3a;
  --moss-600: #52704a;
  --wheat-500: #c99a3b;
  --wheat-600: #b3862e;
  --paper-50: #f2ede0;
  --paper-100: #e8e0cb;
  --paper-200: #ddd3b7;
  --line-300: #cabf9f;
  --sky-600: #5c7f86;
  --white: #fffdf8;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1180px;
  --radius: 3px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--soil-900);
  background: var(--paper-50);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Site header ---------- */

.site-header {
  border-bottom: 1px solid var(--line-300);
  background: var(--paper-50);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: var(--soil-900);
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--moss-700);
  position: relative;
  flex: none;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--wheat-500);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}

.brand-tag {
  display: none;
}

@media (min-width: 640px) {
  .brand-tag {
    display: inline;
    font-size: 0.85rem;
    color: var(--soil-700);
    border-left: 1px solid var(--line-300);
    padding-left: 10px;
    margin-left: 2px;
  }
}

.site-nav {
  display: flex;
  gap: 26px;
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--soil-700);
}

.site-nav a.current,
.site-nav a:hover {
  color: var(--moss-800);
}

/* ---------- Breadcrumb ---------- */

.breadcrumb {
  font-size: 0.85rem;
  color: var(--soil-700);
  padding: 18px 0 0;
}

.breadcrumb a {
  text-decoration: none;
  color: var(--soil-700);
  border-bottom: 1px solid var(--line-300);
}

.breadcrumb a:hover { color: var(--moss-800); }

.breadcrumb .sep {
  margin: 0 8px;
  color: var(--line-300);
}

.breadcrumb .current {
  color: var(--soil-900);
}

/* ---------- Page intro (listing page) ---------- */

.page-intro {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--line-300);
}

.page-intro h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 4vw, 3rem);
  margin: 0 0 14px;
  max-width: 14ch;
}

.page-intro p {
  max-width: 56ch;
  color: var(--soil-700);
  font-size: 1.05rem;
  margin: 0;
}

/* ---------- Category filter (optional quick-jump) ---------- */

.category-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 22px 0 0;
}

.category-jump a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--soil-700);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.category-jump a:hover {
  border-bottom-color: var(--wheat-500);
  color: var(--soil-900);
}

/* ---------- Category sections ---------- */

.category-section {
  padding: 52px 0;
  border-bottom: 1px solid var(--line-300);
  scroll-margin-top: 90px;
}

.category-section:last-of-type {
  border-bottom: none;
}

.category-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  border-top: 3px solid var(--moss-700);
  padding-top: 16px;
}

.category-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.6rem;
  margin: 0 0 6px;
}

.category-head p {
  margin: 0;
  color: var(--soil-700);
  max-width: 60ch;
  font-size: 0.98rem;
}

.category-count {
  font-size: 0.85rem;
  color: var(--soil-700);
  white-space: nowrap;
  padding-bottom: 4px;
}

/* ---------- Product grid & card ---------- */

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

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-300);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.product-card:hover {
  border-color: var(--moss-700);
  transform: translateY(-2px);
}

.product-card .thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--line-300);
  background: var(--paper-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card .card-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card .card-tag {
  font-size: 0.75rem;
  color: var(--moss-800);
  margin-bottom: 6px;
}

.product-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.product-card .card-desc {
  font-size: 0.9rem;
  color: var(--soil-700);
  margin: 0;
  flex: 1;
}

.product-card .card-cta {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--moss-800);
  display: flex;
  align-items: center;
  gap: 6px;
}

.chevron {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--moss-700);
  color: var(--white);
}

.btn-primary:hover { background: var(--moss-800); }

.btn-secondary {
  background: transparent;
  color: var(--soil-900);
  border-color: var(--soil-900);
}

.btn-secondary:hover {
  background: var(--soil-900);
  color: var(--white);
}

.btn-whatsapp {
  background: #3f6b45;
  color: var(--white);
}

.btn-whatsapp:hover { background: #345a39; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.icon {
  width: 17px;
  height: 17px;
  flex: none;
}

/* ---------- Product detail: hero ---------- */

.product-hero {
  padding: 34px 0 10px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
}

@media (max-width: 860px) {
  .product-hero { grid-template-columns: 1fr; }
}

.gallery-main {
  border: 1px solid var(--line-300);
  background: var(--paper-100);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  position: relative;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-main .zoom-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(43, 35, 24, 0.72);
  color: var(--white);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  pointer-events: none;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.gallery-thumbs button {
  padding: 0;
  border: 1px solid var(--line-300);
  background: var(--paper-100);
  width: 76px;
  height: 76px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-thumbs button.active {
  border-color: var(--moss-700);
  border-width: 2px;
}

.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---------- Lightbox (click-to-enlarge) ---------- */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 10, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 32px;
}

.lightbox-overlay[hidden] { display: none; }

.lightbox-overlay img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--soil-900);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.product-info .category-tag {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--moss-800);
  border: 1px solid var(--moss-700);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.product-info h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  margin: 0 0 14px;
}

.product-info .short-desc {
  font-size: 1.05rem;
  color: var(--soil-700);
  max-width: 52ch;
  margin: 0;
}

/* ---------- Detail sections ---------- */

.detail-section {
  padding: 44px 0;
  border-top: 1px solid var(--line-300);
}

.detail-section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  margin: 0 0 22px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  max-width: 780px;
}

.spec-table tr {
  border-bottom: 1px solid var(--line-300);
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 12px 16px;
  vertical-align: top;
}

.spec-table th {
  width: 38%;
  font-weight: 600;
  color: var(--soil-700);
  font-size: 0.88rem;
}

.spec-table tr:nth-child(odd) {
  background: var(--paper-100);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 700px) {
  .two-col { grid-template-columns: 1fr; }
}

.detail-section ul {
  margin: 0;
  padding-left: 20px;
}

.detail-section ul li {
  margin-bottom: 9px;
  color: var(--soil-700);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  border: 1px solid var(--line-300);
  background: var(--white);
  padding: 8px 14px;
  font-size: 0.88rem;
  border-radius: var(--radius);
}

.chip strong {
  color: var(--soil-900);
}

/* ---------- Inquiry footer block ---------- */

.inquiry-block {
  background: var(--moss-800);
  color: var(--paper-50);
  padding: 44px 0;
}

.inquiry-block .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.inquiry-block h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0 0 6px;
}

.inquiry-block p {
  margin: 0;
  color: var(--paper-200);
  max-width: 46ch;
}

/* ---------- Site footer ---------- */

.site-footer {
  padding: 26px 0 40px;
  font-size: 0.85rem;
  color: var(--soil-700);
}

/* ---------- Placeholder image note ---------- */

.placeholder-note {
  font-size: 0.72rem;
  color: var(--soil-700);
  background: var(--paper-100);
  border: 1px dashed var(--line-300);
  padding: 3px 8px;
  display: inline-block;
  margin-top: 8px;
}
/* ---------- SACI home-page color theme ---------- */

:root {
  --soil-900: #202044;
  --soil-700: #4d4d68;
  --moss-800: #202044;
  --moss-700: #2b2a62;
  --moss-600: #8cab35;
  --wheat-500: #9aba38;
  --wheat-600: #7e9f2c;
  --paper-50: #f8f8fb;
  --paper-100: #eef0f5;
  --paper-200: #dfe2eb;
  --line-300: #d5d7e2;
  --sky-600: #555576;
  --white: #ffffff;
}

body {
  color: var(--soil-900);
  background: var(--paper-50);
}

.site-header {
  background: #202044;
  border-bottom: 3px solid #9aba38;
}

.brand {
  color: #ffffff;
}

.brand-tag {
  color: #d9e68b;
  border-left-color: rgba(255, 255, 255, 0.35);
}

.brand-mark {
  background: #9aba38;
}

.brand-mark::after {
  background: #ef3b46;
}

.site-nav a {
  color: #ffffff;
}

.site-nav a.current,
.site-nav a:hover {
  color: #b8d45b;
}

.breadcrumb,
.breadcrumb a,
.category-count,
.page-intro p,
.category-head p,
.product-card .card-desc,
.site-footer {
  color: #555576;
}

.breadcrumb a {
  border-bottom-color: #9aba38;
}

.page-intro,
.category-section,
.detail-section {
  border-color: #d5d7e2;
}

.category-head {
  border-top-color: #9aba38;
}

.category-jump a {
  color: #4d4d68;
}

.category-jump a:hover {
  color: #202044;
  border-bottom-color: #ef3b46;
}

.product-card {
  background: #ffffff;
  border-color: #d5d7e2;
}

.product-card:hover {
  border-color: #9aba38;
}

.product-card .thumb,
.gallery-main,
.gallery-thumbs button {
  background: #eef0f5;
  border-color: #d5d7e2;
}

.product-card .card-tag,
.product-card .card-cta,
.product-info .category-tag {
  color: #718f25;
}

.gallery-thumbs button.active,
.product-info .category-tag {
  border-color: #9aba38;
}

.btn-primary {
  background: #2b2a62;
  color: #ffffff;
}

.btn-primary:hover {
  background: #202044;
}

.btn-secondary {
  color: #202044;
  border-color: #202044;
}

.btn-secondary:hover {
  background: #202044;
  color: #ffffff;
}

.btn-whatsapp {
  background: #20c967;
  color: #ffffff;
}

.btn-whatsapp:hover {
  background: #159b4e;
}

.inquiry-block {
  background: #202044;
  color: #ffffff;
}

.inquiry-block p {
  color: #dfe2eb;
}

.site-footer {
  background: #202044;
  color: #ffffff;
}

.spec-table tr {
  border-color: #d5d7e2;
}

.spec-table th {
  color: #555576;
}

.spec-table tr:nth-child(odd),
.chip {
  background: #eef0f5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  border-radius: 50%;
  background: #ffffff;
  flex: none;
}