@font-face {
  font-family: "Vazir-Bold-FD-WOL";
  /* src: local("Vazirmatn"), local("IRANSans"), local("Tahoma"); */
}


/* fonts */
@font-face {
      font-family: iranyekanwebregular;
      font-style: normal;
      font-weight: 400;
      src: url(fonts/iranyekanwebregular.eot) format("embedded-opentype"), url('fonts/iranyekanwebregular(FaNum).woff') format("woff"), url(fonts/iranyekanwebregular.ttf) format("truetype")
}
  
@font-face {
      font-family: IRANSansWeb_Light;
      font-style: normal;
      font-weight: 400;
      src: url(fonts/IRANSansWeb.eot) format("embedded-opentype"), url('fonts/IRANSansWeb(FaNum).woff') format("woff"), url(fonts/IRANSansWeb.ttf) format("truetype")
}
@font-face {
      font-family: Yekan;
      font-style: normal;
      font-weight: 400;
      src: url(fonts/Yekan.eot) format("embedded-opentype"), url(fonts/Yekan.woff) format("woff"), url(fonts/Yekan.ttf) format("truetype")
}
@font-face {
      font-family: Vazir-Bold-FD-WOL;
      font-style: normal;
      font-weight: 400;
      src: url(fonts/Vazir-Bold-FD-WOL.eot) format("embedded-opentype"), url(fonts/Vazir-Bold-FD-WOL.woff) format("woff"), url(fonts/Vazir-Bold-FD-WOL.ttf) format("truetype")
}
@font-face {
      font-family: Vazir-FD-WOL;
      font-style: normal;
      font-weight: 400;
      src: url(fonts/Vazir-FD-WOL.eot) format("embedded-opentype"), url(fonts/Vazir-FD-WOL.woff) format("woff"), url(fonts/Vazir-FD-WOL.ttf) format("truetype")
}
@font-face {
      font-family: Vazir-Light-FD-WOL;
      font-style: normal;
      font-weight: 400;
      src: url(fonts/Vazir-Light-FD-WOL.eot) format("embedded-opentype"), url(fonts/Vazir-Light-FD-WOL.woff) format("woff"), url(fonts/Vazir-Light-FD-WOL.ttf) format("truetype")
}
@font-face {
      font-family: Vazir-Medium-FD-WOL;
      font-style: normal;
      font-weight: 400;
      src: url(fonts/Vazir-Medium-FD-WOL.eot) format("embedded-opentype"), url(fonts/Vazir-Medium-FD-WOL.woff) format("woff"), url(fonts/Vazir-Medium-FD-WOL.ttf) format("truetype")
}
@font-face {
      font-family: Vazir-Thin-FD-WOL;
      font-style: normal;
      font-weight: 400;
      src: url(fonts/Vazir-Thin-FD-WOL.eot) format("embedded-opentype"), url(fonts/Vazir-Thin-FD-WOL.woff) format("woff"), url(fonts/Vazir-Thin-FD-WOL.ttf) format("truetype")
}
  

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green: #0f3b28;
  --green-soft: #eaf1e9;
  --gold: #c99b5c;
  --gold-light: #e7c891;
  --cream: #fbfaf6;
  --text: #1f2a24;
  --muted: #666b66;
  --line: #eee8dc;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Vazir-Bold-FD-WOL;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: inherit;
}

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.site-header {
  height: 88px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: #f1eadc;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 24px;
}

.logo strong {
  display: block;
  font-size: 23px;
  color: var(--green);
  line-height: 1.4;
}

.logo span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu > a,
.has-mega > a {
  text-decoration: none;
  color: #232823;
  font-size: 14px;
  transition: 0.2s ease;
  white-space: nowrap;
}

.nav-menu > a:hover,
.has-mega > a:hover {
  color: var(--green);
}

.price-btn {
  background: var(--green);
  color: white;
  padding: 14px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 12px 28px rgba(15, 59, 40, 0.16);
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  color: var(--green);
}

.has-mega {
  position: relative;
}

.menu-arrow{
    font-size:10px;
}

.mega-menu {
  position: absolute;
  top: 46px;
  right: 50%;
  transform: translateX(50%) translateY(12px);
  width: min(880px, 86vw);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  box-shadow: 0 28px 70px rgba(20, 35, 27, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 200;
}

.has-mega:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(50%) translateY(0);
}

.mega-col h4 {
  font-size: 17px;
  color: var(--green);
  margin-bottom: 16px;
}

.mega-col a {
  display: block;
  padding: 9px 0;
  font-size: 14px;
  color: #444;
  text-decoration: none;
  transition: 0.2s ease;
}

.mega-col a:hover {
  color: var(--green);
  padding-right: 6px;
}

.mega-footer {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.mega-footer span {
  color: var(--muted);
  font-size: 14px;
}

.mega-footer a {
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.hero {
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  background: var(--green-soft);
  border-radius: 50%;
  left: -150px;
  top: 110px;
  filter: blur(8px);
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(201, 155, 92, 0.14);
  border-radius: 50%;
  right: -120px;
  bottom: 40px;
  filter: blur(10px);
  z-index: -1;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 64px;
  padding-block: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-soft);
  color: var(--green);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 22px;
}

.hero-content h1 {
  font-size: clamp(58px, 7vw, 104px);
  color: var(--green);
  line-height: 1.08;
  margin-bottom: 18px;
  letter-spacing: -2px;
}

.hero-content h2 {
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.55;
  color: #252a25;
  margin-bottom: 24px;
  max-width: 740px;
}

.hero-content p {
  max-width: 640px;
  font-size: 15px;
  line-height: 2.1;
  color: #555b55;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 54px;
  flex-wrap: wrap;
}

.btn {
  padding: 17px 28px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 900;
  font-size: 15px;
  transition: 0.22s ease;
}

.btn.primary {
  background: var(--green);
  color: white;
  box-shadow: 0 16px 32px rgba(15, 59, 40, 0.2);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(15, 59, 40, 0.24);
}

.btn.secondary {
  background: white;
  color: var(--green);
  border: 1px solid #cfd8d1;
}

.btn.secondary:hover {
  border-color: var(--green);
}

.stats {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}

.stats div {
  min-width: 120px;
  border-left: 1px solid #ddd7ca;
  padding-left: 30px;
}

.stats div:last-child {
  border-left: none;
}

.stats strong {
  display: block;
  font-size: 32px;
  color: var(--green);
  margin-bottom: 8px;
}

.stats span {
  font-size: 14px;
  color: var(--muted);
}

.hero-image {
  min-height: 590px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-box {
  position: relative;
  width: 560px;
  height: 520px;
}

.decor-circle {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

.decor-circle.one {
  width: 410px;
  height: 410px;
  background: #eef3e8;
  left: 60px;
  top: 36px;
}

.decor-circle.two {
  width: 180px;
  height: 180px;
  background: rgba(201, 155, 92, 0.18);
  right: 10px;
  bottom: 46px;
}

.bag,
.carton {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--green);
  font-weight: 900;
  box-shadow: 0 30px 60px rgba(28, 22, 13, 0.12);
  z-index: 2;
}

.pouch {
  width: 220px;
  height: 320px;
  background: linear-gradient(145deg, #c79b5e, #e7c891);
  border-radius: 22px 22px 62px 62px;
  right: 72px;
  top: 42px;
  font-size: 24px;
  line-height: 1.8;
}

.pouch::after {
  content: "";
  position: absolute;
  width: 54px;
  height: 95px;
  background: var(--green);
  top: 0;
  border-radius: 0 0 14px 14px;
}

.sack {
  width: 188px;
  height: 280px;
  background: linear-gradient(145deg, #c8a06c, #e4c28e);
  border-radius: 84px 84px 24px 24px;
  left: 72px;
  top: 84px;
  font-size: 22px;
}

.sack::before {
  content: "";
  position: absolute;
  top: 62px;
  width: 72%;
  height: 2px;
  background: rgba(15, 59, 40, 0.24);
}

.carton {
  width: 310px;
  height: 170px;
  background: #c99b5c;
  border-radius: 14px;
  left: 42px;
  bottom: 70px;
  font-size: 22px;
}

.carton::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 100%;
  left: 0;
  background: var(--green);
  border-radius: 14px 0 0 14px;
}

.spices {
  position: absolute;
  right: 58px;
  bottom: 38px;
  display: flex;
  gap: 12px;
  z-index: 3;
}

.spices span {
  width: 72px;
  height: 72px;
  background: #d7c19b;
  border-radius: 50%;
  box-shadow: inset 0 10px 20px rgba(0,0,0,0.12), 0 12px 24px rgba(0,0,0,0.08);
}

.spices span:nth-child(2) {
  background: #b66a28;
}

.spices span:nth-child(3) {
  background: #7f3d21;
}

@media (max-width: 1040px) {
  .nav-menu,
  .price-btn {
    display: none;
  }
	
  .menu-toggle {
    display: block;
  }

  .nav-menu.active {
    display: flex;
    position: absolute;
    top: 76px;
    right: 4%;
    left: 4%;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  }

  .nav-menu.active > a,
  .nav-menu.active .has-mega > a {
    width: 100%;
    display: block;
  }

  .has-mega {
    width: 100%;
  }

  .mega-menu {
    position: static;
    width: 100%;
    transform: none;
    box-shadow: none;
    border-radius: 16px;
    margin-top: 12px;
    padding: 18px;
    grid-template-columns: 1fr;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
  }

  .has-mega:hover .mega-menu {
    transform: none;
  }

  .has-mega.open .mega-menu {
    display: grid;
  }

  .mega-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-block: 54px;
  }

  .hero-content p {
    margin-inline: auto;
  }

  .hero-actions,
  .stats {
    justify-content: center;
  }

  .hero-image {
    min-height: 460px;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 76px;
  }

  .logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .logo strong {
    font-size: 19px;
  }

  .logo span {
    display: none;
  }

  .hero-content h1 {
    font-size: 56px;
    letter-spacing: -1px;
  }

  .hero-content h2 {
    font-size: 25px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .stats {
    flex-direction: column;
    gap: 20px;
  }

  .stats div {
    border-left: none;
    padding-left: 0;
  }

  .product-box {
    transform: scale(0.7);
    transform-origin: center;
  }
}

/* ---------- fixes: stable desktop mega menu + mobile full-screen drawer ---------- */
.mobile-price-link {
  display: none;
}

@media (min-width: 1041px) {
  .has-mega {
    display: flex;
    align-items: center;
    min-height: 88px;
  }

  .has-mega::after {
    content: "";
    position: absolute;
    right: -24px;
    left: -24px;
    top: 100%;
    height: 34px;
    pointer-events: auto;
  }

  .mega-menu {
    top: calc(100% + 10px);
  }

  .has-mega:hover .mega-menu,
  .has-mega:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(40%) translateY(0);
  }
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1040px) {
  .site-header {
    height: 76px;
  }
.menu-arrow{
	display:none;
}
  .header-inner {
    gap: 12px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    line-height: 1;
    z-index: 1001;
  }

  .nav-menu {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(420px, 88vw);
    height: 100dvh;
    background: rgba(255, 255, 255, 0.98);
    border-left: 1px solid var(--line);
    box-shadow: -22px 0 70px rgba(20, 35, 27, 0.14);
    padding: 92px 22px 28px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(105%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.22s ease, visibility 0.22s ease;
    z-index: 1000;
  }

  .nav-menu.active {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: min(420px, 88vw);
    height: 100dvh;
    border-radius: 0;
    padding: 92px 22px 28px;
    gap: 8px;
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-menu::before {
    content: "منوی سایت";
    position: absolute;
    top: 28px;
    right: 22px;
    color: var(--green);
    font-size: 20px;
    font-weight: 900;
  }

  .nav-menu > a,
  .has-mega > a,
  .nav-menu.active > a,
  .nav-menu.active .has-mega > a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fbfaf6;
    border: 1px solid #f0eadf;
    font-size: 15px;
    font-weight: 800;
  }

  .has-mega {
    width: 100%;
  }

  .has-mega > a::after {
    content: "+";
    margin-right: auto;
    font-size: 20px;
  }

  .has-mega.open > a::after {
    content: "−";
  }

  .mega-menu {
    position: static;
    width: 100%;
    max-height: none;
    overflow: visible;
    transform: none !important;
    box-shadow: none;
    border-radius: 18px;
    margin-top: 10px;
    padding: 16px;
    grid-template-columns: 1fr;
    gap: 18px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    background: #ffffff;
    border: 1px solid var(--line);
  }

  .has-mega.open .mega-menu {
    display: grid;
  }

  .mega-col {
    padding-bottom: 12px;
    border-bottom: 1px solid #f0eadf;
  }

  .mega-col:last-of-type {
    border-bottom: none;
  }

  .mega-col h4 {
    margin-bottom: 10px;
  }

  .mega-col a {
    padding: 10px 12px;
    border-radius: 12px;
    background: #fbfaf6;
    margin-bottom: 6px;
  }

  .mega-col a:hover {
    padding-right: 16px;
  }

  .mega-footer {
    padding-top: 16px;
  }

  .mobile-price-link {
    display: flex !important;
    background: var(--green) !important;
    color: #fff !important;
    justify-content: center !important;
    margin-top: 10px;
  }
}

@media (max-width: 420px) {
  .nav-menu,
  .nav-menu.active {
    width: 100vw;
  }

  .logo strong {
    font-size: 18px;
  }
}

/* ---------- mobile overflow fixes ---------- */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

.header-inner,
.hero-inner,
.hero-content,
.hero-image,
.product-box {
  min-width: 0;
}

.site-header {
  width: 100%;
  max-width: 100vw;
}

@media (max-width: 1040px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .header-inner {
    max-width: 100%;
    justify-content: space-between;
  }

  .logo {
    min-width: 0;
    max-width: calc(100vw - 96px);
  }

  .logo > div:last-child {
    min-width: 0;
  }

  .logo strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }

  .hero-inner {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-content,
  .hero-image {
    width: 100%;
    max-width: 100%;
  }

  .hero-content h1,
  .hero-content h2,
  .hero-content p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .product-box {
    width: min(560px, 100%);
    max-width: 100%;
    margin-inline: auto;
  }

  .nav-menu,
  .nav-menu.active {
    max-width: 100vw;
    box-sizing: border-box;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 28px);
  }

  .hero-inner {
    padding-block: 38px;
    gap: 24px;
  }

  .hero-content h1 {
    font-size: clamp(42px, 14vw, 56px);
  }

  .hero-content h2 {
    font-size: clamp(21px, 7vw, 25px);
  }

  .hero-actions {
    width: 100%;
  }

  .hero-image {
    min-height: 360px;
  }

  .product-box {
    width: 360px;
    max-width: 100%;
    height: 360px;
    transform: none;
  }

  .decor-circle.one {
    width: 270px;
    height: 270px;
    left: 42px;
    top: 32px;
  }

  .decor-circle.two {
    width: 120px;
    height: 120px;
    right: 8px;
    bottom: 42px;
  }

  .pouch {
    width: 150px;
    height: 220px;
    right: 46px;
    top: 28px;
    font-size: 17px;
  }

  .pouch::after {
    width: 38px;
    height: 65px;
  }

  .sack {
    width: 130px;
    height: 195px;
    left: 44px;
    top: 56px;
    font-size: 16px;
  }

  .carton {
    width: 210px;
    height: 116px;
    left: 34px;
    bottom: 48px;
    font-size: 16px;
  }

  .carton::after {
    width: 54px;
  }

  .spices {
    right: 42px;
    bottom: 26px;
    gap: 8px;
  }

  .spices span {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 380px) {
  .container {
    width: calc(100% - 22px);
  }

  .logo-icon {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .logo strong {
    font-size: 16px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .product-box {
    width: 320px;
    height: 330px;
  }

  .pouch {
    right: 32px;
  }

  .sack {
    left: 28px;
  }

  .carton {
    left: 24px;
  }
}

/* ---------- search button + clean header action alignment ---------- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-right: auto;
}

.search-btn {
  width: 46px;
  height: 46px;
  border: 1px solid #dfe7df;
  border-radius: 14px;
  background: var(--white);
  color: var(--green);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.22s ease;
  box-shadow: 0 10px 24px rgba(15, 59, 40, 0.08);
}

.search-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.search-btn:hover {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-1px);
}

.price-btn:hover {
  background: #164b34;
  transform: translateY(-1px);
}

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: start center;
  padding: 110px 18px 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.search-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 22, 18, 0.44);
  backdrop-filter: blur(8px);
}

.search-box {
  position: relative;
  width: min(650px, 100%);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 30px 90px rgba(10, 30, 20, 0.22);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.24s ease;
}

.search-modal.active .search-box {
  transform: translateY(0) scale(1);
}

.search-close {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfaf6;
  color: var(--green);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.search-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 48px;
  margin-bottom: 22px;
}

.search-mini-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 24px;
  font-weight: 900;
  flex-shrink: 0;
}

.search-title-wrap h3 {
  color: var(--green);
  font-size: 18px;
  margin-bottom: 6px;
}

.search-title-wrap p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.search-form {
  display: flex;
  gap: 12px;
  background: #fbfaf6;
  border: 1px solid #eee8dc;
  border-radius: 18px;
  padding: 10px;
}

.search-form input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  padding: 10px 8px;
}

.search-form button {
  border: none;
  border-radius: 14px;
  background: var(--green);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  padding: 0 24px;
  cursor: pointer;
  white-space: nowrap;
}

body.search-open {
  overflow: hidden;
}

@media (min-width: 1041px) {
  .nav-menu {
    margin-left: 0;
  }
}

@media (max-width: 1040px) {
  .header-actions {
    margin-right: auto;
    gap: 8px;
  }

  .header-actions .price-btn {
    display: none;
  }

  .search-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    box-shadow: none;
  }

  .search-modal {
    padding-top: 92px;
    align-items: start;
  }

  .search-box {
    border-radius: 22px;
    padding: 22px;
  }

  .search-form {
    flex-direction: column;
  }

  .search-form button {
    min-height: 48px;
  }
}

@media (max-width: 420px) {
  .header-inner {
    gap: 8px;
  }

  .logo {
    max-width: calc(100vw - 124px);
  }

  .search-title-wrap {
    align-items: flex-start;
    padding-left: 40px;
  }

  .search-mini-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }
}

/* ---------- final homepage sections: modern catalog design ---------- */
.section {
  padding: 86px 0;
  position: relative;
}

.section-head {
  margin-bottom: 34px;
}

.section-head.compact {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.row-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid #dce8dc;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 14px;
}

.section-kicker.light {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}

.section h2 {
  color: #18251d;
  font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1.55;
  letter-spacing: -0.5px;
}

.section-head p,
.seo-content p,
.stock-title p,
.faq-title p,
.price-copy p,
.cta-card p,
.footer-brand p {
  color: var(--muted);
  line-height: 2;
  font-size: 16px;
}

.text-link {
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid rgba(15,59,40,.25);
  padding-bottom: 5px;
}

/* features */
.feature-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.feature-card {
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  min-height: 250px;
  box-shadow: 0 20px 54px rgba(22,35,28,.06);
  transition: .25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 70px rgba(22,35,28,.1);
}

.main-feature {
  background: linear-gradient(145deg, var(--green), #1f5b3f);
  color: #fff;
}

.main-feature p,
.main-feature h3 {
  color: #fff !important;
}

.feature-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green);
  border-radius: 18px;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 24px;
}

.main-feature .feature-icon {
  background: rgba(255,255,255,.14);
  color: #fff;
}

.feature-card h3 {
  font-size: 21px;
  color: var(--green);
  margin-bottom: 14px;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.9;
  font-size: 15px;
}

/* categories */
.categories {
  background: #fff;
  border-block: 1px solid var(--line);
}

.category-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.category-card {
  min-height: 220px;
  border-radius: 30px;
  padding: 28px;
  text-decoration: none;
  background: #fbfaf6;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: .25s ease;
}

.category-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  left: -70px;
  bottom: -80px;
  border-radius: 50%;
  background: rgba(201,155,92,.14);
}

.category-card.large {
  grid-row: span 2;
  background: linear-gradient(145deg, #f7f2e9, #fff);
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: #d8cfbf;
}

.category-card span {
  color: var(--gold);
  font-weight: 900;
  font-size: 14px;
}

.category-card h3 {
  color: var(--green);
  font-size: 24px;
  margin: 18px 0 12px;
}

.category-card p {
  color: var(--muted);
  line-height: 1.9;
  max-width: 330px;
}

/* products carousel */
.products {
  overflow: hidden;
}

.carousel-controls {
  display: flex;
  gap: 10px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--green);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: .22s ease;
}

.carousel-btn:hover {
  background: var(--green);
  color: #fff;
}

.product-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 290px);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 2px 22px;
  scrollbar-width: thin;
}

.product-card {
  scroll-snap-align: start;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 18px;
  box-shadow: 0 18px 50px rgba(22,35,28,.07);
}

.product-visual {
  height: 185px;
  border-radius: 24px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  background: #eee;
}

.product-visual::before,
.product-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.product-visual::before { width: 145px; height: 145px; right: 28px; bottom: -38px; background: rgba(255,255,255,.35); }
.product-visual::after { width: 78px; height: 78px; left: 26px; top: 24px; background: rgba(255,255,255,.22); }
.product-visual.saffron { background: linear-gradient(135deg, #d6c2e8, #745090); }
.product-visual.cinnamon { background: linear-gradient(135deg, #d9a56c, #7c3f22); }
.product-visual.sesame { background: linear-gradient(135deg, #efe4ca, #c4a66d); }
.product-visual.blackseed { background: linear-gradient(135deg, #7d7a70, #171916); }
.product-visual.paprika { background: linear-gradient(135deg, #e07c3e, #8b2f19); }
.product-visual.turmeric { background: linear-gradient(135deg, #f1c84e, #a66518); }

.product-card h3 {
  color: var(--green);
  font-size: 20px;
  margin-bottom: 8px;
}

.product-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.product-card a {
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}

/* seo */
.seo-block {
  background: #fff;
  border-block: 1px solid var(--line);
}

.seo-inner {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 26px;
  align-items: stretch;
}

.seo-content,
.seo-panel {
  background: #fbfaf6;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 38px;
}

.seo-content h2 {
  margin-bottom: 20px;
}

.seo-content p + p {
  margin-top: 14px;
}

.seo-panel {
  background: linear-gradient(145deg, var(--green), #1d593c);
  color: #fff;
}

.seo-panel h3 {
  font-size: 24px;
  margin-bottom: 18px;
}

.seo-panel ul {
  list-style: none;
}

.seo-panel li {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
  line-height: 1.8;
}

.seo-panel li::before {
  content: "✓";
  margin-left: 10px;
  color: var(--gold-light);
}

/* stock */
.stock-inner {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 28px;
  align-items: center;
}

.stock-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.stock-list a {
  min-height: 106px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 16px 42px rgba(22,35,28,.05);
}

.stock-list strong {
  color: var(--green);
  font-size: 19px;
  margin-bottom: 8px;
}

.stock-list span {
  color: var(--muted);
  font-size: 14px;
}

/* price */
.price-preview {
  background: #fff;
  border-block: 1px solid var(--line);
}

.price-shell {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 22px;
  align-items: center;
  background: linear-gradient(145deg, #fbfaf6, #fff);
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 24px;
  box-shadow: 0 24px 70px rgba(22,35,28,.07);
}

.price-copy {
  padding: 22px;
}

.price-copy h2 {
  margin-bottom: 16px;
}

.small-btn {
  display: inline-flex;
  margin-top: 22px;
}

.price-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.price-table th,
.price-table td {
  text-align: right;
  padding: 18px 20px;
  border-bottom: 1px solid #f0eadf;
}

.price-table th {
  color: var(--green);
  font-size: 14px;
  background: #fbfaf6;
}

.price-table td {
  color: #333;
  font-size: 15px;
}

.status {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.status.in { background: var(--green-soft); color: var(--green); }
.status.new { background: #fff2d8; color: #9a6418; }

/* process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.process-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.process-grid article::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  left: -54px;
  bottom: -54px;
  background: var(--green-soft);
  border-radius: 50%;
}

.process-grid span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  border-radius: 17px;
  font-weight: 900;
  margin-bottom: 26px;
}

.process-grid h3 {
  color: var(--green);
  font-size: 22px;
  margin-bottom: 12px;
}

.process-grid p {
  color: var(--muted);
  line-height: 1.9;
}

/* faq */
.faq {
  background: #fff;
  border-block: 1px solid var(--line);
}

.faq-inner {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 34px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #fbfaf6;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  border: none;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: right;
  color: var(--green);
  font-weight: 900;
  font-size: 17px;
}

.faq-item button span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.faq-item div {
  display: grid;
  grid-template-rows: 0fr;
  transition: .28s ease;
}

.faq-item div p {
  overflow: hidden;
  color: var(--muted);
  line-height: 2;
  padding: 0 22px;
}

.faq-item.active div {
  grid-template-rows: 1fr;
}

.faq-item.active div p {
  padding-bottom: 22px;
}

.faq-item.active button span {
  background: var(--green);
  color: #fff;
}

/* blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.blog-card {
  min-height: 270px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 28px;
  box-shadow: 0 18px 52px rgba(22,35,28,.06);
  display: flex;
  flex-direction: column;
}

.blog-card span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 18px;
}

.blog-card h3 {
  color: var(--green);
  line-height: 1.6;
  font-size: 22px;
  margin-bottom: 14px;
}

.blog-card p {
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 24px;
}

.blog-card a {
  margin-top: auto;
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}

/* cta + footer */
.final-cta {
  padding-bottom: 46px;
}

.cta-card {
  background: radial-gradient(circle at top left, rgba(231,200,145,.22), transparent 36%), linear-gradient(145deg, var(--green), #174d35);
  color: #fff;
  border-radius: 38px;
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 28px 80px rgba(15,59,40,.22);
}

.cta-card h2 {
  color: #fff;
  margin-bottom: 10px;
}

.cta-card p {
  color: rgba(255,255,255,.78);
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.white-btn {
  background: #fff;
  color: var(--green);
}

.outline-white {
  border: 1px solid rgba(255,255,255,.34);
  color: #fff;
}

.site-footer {
  background: #10271d;
  color: #fff;
  padding: 56px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
  padding-bottom: 38px;
}

.footer-logo .logo-icon {
  background: rgba(255,255,255,.1);
}

.footer-logo strong,
.footer-grid h4 {
  color: #fff;
}

.footer-logo span,
.footer-brand p,
.footer-grid a,
.footer-bottom {
  color: rgba(255,255,255,.68);
}

.footer-brand p {
  margin-top: 20px;
  max-width: 380px;
}

.footer-grid h4 {
  margin-bottom: 18px;
  font-size: 18px;
}

.footer-grid a {
  display: block;
  text-decoration: none;
  padding: 8px 0;
  transition: .2s ease;
}

.footer-grid a:hover {
  color: #fff;
  padding-right: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

/* image-ready product placeholders */
.bag img,
.carton img,
.spices img,
.product-visual img,
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bag:has(img),
.carton:has(img) {
  overflow: hidden;
  padding: 0;
}

.pouch:has(img)::after,
.sack:has(img)::before,
.carton:has(img)::after {
  display: none;
}

.spices span:has(img) {
  overflow: hidden;
}

/* header alignment patch: keep menu right, actions left */
@media (min-width: 1041px) {
  .header-inner {
    justify-content: flex-start;
  }

  .nav-menu {
    margin-right: 18px;
    margin-left: 0;
    gap: 26px;
    flex-shrink: 1;
  }

  .header-actions {
    margin-right: auto;
    margin-left: 0;
  }

  .nav-menu > a:hover,
  .has-mega > a:hover,
  .nav-menu > a:focus,
  .has-mega > a:focus {
    color: var(--gold);
  }

  .btn,
  .price-btn {
    padding: 13px 20px;
    border-radius: 12px;
	margin: 0 10px;
  }

  .hero-actions .btn {
    padding: 14px 22px;
    font-size: 14px;
  }
}

@media (max-width: 1040px) {
  .section { padding: 64px 0; }
  .row-head { align-items: start; flex-direction: column; }
  .feature-grid,
  .seo-inner,
  .stock-inner,
  .price-shell,
  .faq-inner,
  .footer-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card.large { grid-row: auto; grid-column: 1 / -1; }
  .process-grid,
  .blog-grid { grid-template-columns: 1fr; }
  .cta-card { flex-direction: column; align-items: stretch; }
  .cta-actions { flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .feature-card,
  .seo-content,
  .seo-panel,
  .price-shell,
  .cta-card { border-radius: 26px; padding: 24px; }
  .category-grid,
  .stock-list { grid-template-columns: 1fr; }
  .product-carousel { grid-auto-columns: minmax(235px, 82vw); }
  .price-shell { padding: 14px; }
  .price-copy { padding: 12px; }
  .cta-actions .btn { width: 100%; text-align: center; }
  .footer-grid { gap: 24px; }
}

/* ---------- blog archive + single article pages ---------- */
.page-hero {
  padding: 72px 0 42px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,155,92,.18), transparent 68%);
  left: -140px;
  top: -120px;
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  display: grid;
  gap: 28px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
  transition: .2s ease;
}

.breadcrumb a:hover,
.article-content a:hover,
.internal-link:hover,
.read-more:hover {
  color: var(--gold);
}

.page-hero-copy {
  max-width: 820px;
}

.page-hero h1,
.article-hero h1 {
  font-size: clamp(38px, 5vw, 74px);
  line-height: 1.35;
  color: var(--green);
  margin: 12px 0 18px;
  letter-spacing: -1.8px;
}

.page-hero p,
.article-title-wrap p {
  font-size: 18px;
  line-height: 2.1;
  color: var(--muted);
  max-width: 790px;
}

.archive-search {
  width: min(720px, 100%);
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 9px;
  display: flex;
  gap: 10px;
  box-shadow: 0 24px 70px rgba(20,35,27,.08);
}

.archive-search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0 16px;
  font: inherit;
  min-width: 0;
  outline: none;
}

.archive-search button,
.sort-select {
  border: none;
  background: var(--green);
  color: #fff;
  border-radius: 14px;
  padding: 13px 22px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.section-slim {
  padding: 14px 0 24px;
}

.toolbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.category-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.category-pills a,
.article-tags a,
.share-box a,
.share-box button,
.pagination a {
  text-decoration: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  font-size: 14px;
  transition: .2s ease;
}

.category-pills a:hover,
.category-pills a.active,
.article-tags a:hover,
.share-box a:hover,
.share-box button:hover,
.pagination a:hover,
.pagination .current {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.sort-select {
  background: #fff;
  color: var(--green);
  border: 1px solid var(--line);
  outline: none;
}

.archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}

.archive-main,
.article-content {
  min-width: 0;
}

.featured-post {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 18px;
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 28px;
  box-shadow: 0 24px 70px rgba(20,35,27,.06);
  margin-bottom: 26px;
}

.featured-image,
.post-thumb,
.article-featured-image {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(145deg, #f7efe0, #fffaf1);
  min-height: 260px;
  display: block;
}

.featured-content {
  padding: 22px 12px 22px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-meta,
.article-meta,
.article-labels {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

.post-meta span,
.article-labels span {
  color: var(--green);
  background: var(--green-soft);
  padding: 6px 11px;
  border-radius: 999px;
  font-weight: 900;
}

.featured-post h2,
.post-card h3 {
  line-height: 1.65;
}

.featured-post h2 a,
.post-card h3 a {
  color: var(--green);
  text-decoration: none;
  transition: .2s ease;
}

.featured-post h2 {
  font-size: 30px;
  margin: 14px 0;
}

.featured-post p,
.post-card p,
.sidebar-card p {
  color: var(--muted);
  line-height: 1.9;
}

.post-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.read-more,
.internal-link {
  color: var(--green);
  text-decoration: none;
  font-weight: 900;
  transition: .2s ease;
}

.internal-link {
  color: #9b6b2e;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.post-card,
.sidebar-card,
.comments-area,
.share-box,
.article-tags,
.inline-cta {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 18px 60px rgba(20,35,27,.055);
}

.post-card {
  overflow: hidden;
  transition: .25s ease;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 78px rgba(20,35,27,.09);
}

.post-thumb {
  min-height: 190px;
  border-radius: 0;
}

.post-body {
  padding: 22px;
}

.post-card h3 {
  font-size: 21px;
  margin: 13px 0 10px;
}

.pagination {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}

.blog-sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 110px;
}

.sidebar-card {
  padding: 24px;
}

.sidebar-card h3 {
  color: var(--green);
  margin-bottom: 14px;
  font-size: 20px;
}

.side-list {
  list-style: none;
}

.side-list a {
  display: block;
  color: var(--text);
  text-decoration: none;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  transition: .2s ease;
}

.side-list li:last-child a { border-bottom: 0; }
.side-list a:hover { color: var(--gold); padding-right: 5px; }

.mini-post {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.mini-post:last-child { border-bottom: 0; }
.mini-post span { color: var(--gold); font-weight: 900; }
.mini-post a { color: var(--text); text-decoration: none; line-height: 1.7; font-weight: 800; }
.mini-post a:hover { color: var(--green); }

.newsletter-card {
  background: linear-gradient(145deg, var(--green), #1f6042);
  color: #fff;
}

.newsletter-card h3 { color: #fff; }
.newsletter-card p { color: rgba(255,255,255,.78); margin-bottom: 18px; }

.spice-illustration,
.post-thumb::before,
.product-thumb::before {
  position: absolute;
  inset: 0;
  display: block;
  background:
    radial-gradient(circle at 32% 36%, rgba(255,255,255,.9) 0 7%, transparent 8%),
    radial-gradient(circle at 64% 44%, rgba(255,255,255,.75) 0 5%, transparent 6%),
    radial-gradient(circle at 45% 64%, rgba(255,255,255,.65) 0 6%, transparent 7%),
    radial-gradient(circle at 50% 50%, rgba(201,155,92,.44), transparent 62%);
}

.cardamom { background: radial-gradient(circle at 42% 42%, #9fbf80 0 14%, transparent 15%), radial-gradient(circle at 58% 58%, #d9c56e 0 11%, transparent 12%), linear-gradient(145deg, #f4ead4, #eef5e9); }
.cinnamon-thumb { background: linear-gradient(145deg,#8c4322,#e0a166); }
.sesame-thumb { background: radial-gradient(circle,#f4ead4 0 16%,transparent 17%), linear-gradient(145deg,#fff9ec,#e0c58e); }
.paprika-thumb { background: linear-gradient(145deg,#a73e22,#f0a34e); }
.blackseed-thumb { background: radial-gradient(circle,#141414 0 10%,transparent 11%), linear-gradient(145deg,#47362c,#ddd1b6); }
.turmeric-thumb { background: linear-gradient(145deg,#de9d28,#ffe1a4); }
.flavor-thumb { background: linear-gradient(145deg,#c99b5c,#0f3b28); }

/* Single article */
.article-hero {
  padding: 68px 0 34px;
  background: radial-gradient(circle at left top, rgba(201,155,92,.13), transparent 32%);
}

.article-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 44px;
  align-items: center;
}

.article-featured-image {
  min-height: 360px;
  box-shadow: 0 28px 80px rgba(20,35,27,.08);
}

.article-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}

.article-sidebar {
  position: sticky;
  top: 110px;
}

.sticky-card { padding: 20px; }

.toc {
  display: grid;
  gap: 8px;
}

.toc a {
  color: var(--muted);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 12px;
  transition: .2s ease;
  line-height: 1.6;
}

.toc a:hover {
  background: var(--green-soft);
  color: var(--green);
}

.article-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 28px 80px rgba(20,35,27,.06);
}

.article-content section {
  scroll-margin-top: 120px;
  margin-bottom: 34px;
}

.article-content .lead {
  font-size: 20px;
  line-height: 2.15;
  color: #38433b;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.article-content h2 {
  color: var(--green);
  font-size: 30px;
  line-height: 1.55;
  margin: 24px 0 14px;
}

.article-content p,
.article-content li {
  color: #454c46;
  line-height: 2.15;
  font-size: 17px;
}

.article-content ul {
  padding-right: 22px;
  margin-top: 14px;
}

.article-content a {
  color: #9b6b2e;
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: .2s ease;
}

.article-note {
  background: #fff8ea;
  border: 1px solid #f0dfbd;
  border-right: 5px solid var(--gold);
  border-radius: 18px;
  padding: 18px 20px;
  line-height: 2;
  margin: 20px 0;
  color: #5c4425;
}

.inline-cta {
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  background: linear-gradient(145deg, #fff, #f8f1e4);
}

.inline-cta h3 { color: var(--green); margin-bottom: 6px; }

.article-tags,
.share-box,
.comments-area {
  padding: 22px;
  margin-top: 24px;
}

.article-tags,
.share-box {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.share-box { justify-content: space-between; }
.share-box div { display: flex; gap: 10px; flex-wrap: wrap; }
.share-box button { cursor: pointer; font-family: inherit; }

.comments-area h2 { color: var(--green); margin-bottom: 8px; }
.comments-area > p { color: var(--muted); margin-bottom: 20px; }
.comment-form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  outline: none;
  background: #fbfaf6;
  transition: .2s ease;
}
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(201,155,92,.12); }
.form-message { color: var(--green); font-weight: 900; }
.related-posts { padding-top: 0; }

@media (max-width: 1120px) {
  .archive-layout,
  .article-layout,
  .article-hero-inner {
    grid-template-columns: 1fr;
  }
  .blog-sidebar,
  .article-sidebar { position: static; }
  .right-sidebar { order: 2; }
  .article-content { order: 1; }
  .left-sidebar { order: 3; }
  .toc { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .featured-post { grid-template-columns: 1fr; }
  .featured-content { padding: 8px; }
  .post-grid { grid-template-columns: 1fr; }
  .toolbar-inner { align-items: stretch; flex-direction: column; }
  .sort-select { width: 100%; }
  .article-featured-image { min-height: 240px; }
  .share-box { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .page-hero, .article-hero { padding: 46px 0 24px; }
  .archive-search { flex-direction: column; }
  .archive-search input { min-height: 46px; }
  .archive-search button { width: 100%; }
  .page-hero h1, .article-hero h1 { font-size: 34px; letter-spacing: -1px; }
  .page-hero p, .article-title-wrap p { font-size: 16px; }
  .category-pills { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; }
  .category-pills a { white-space: nowrap; }
  .featured-image { min-height: 210px; }
  .article-content { border-radius: 24px; padding: 22px; }
  .article-content h2 { font-size: 25px; }
  .form-row, .toc { grid-template-columns: 1fr; }
  .inline-cta { flex-direction: column; align-items: flex-start; }
  .inline-cta .btn { width: 100%; text-align: center; }
}

/* ---------- final blog UX fixes ---------- */
.compact-page-head,
.single-top-head {
  padding: 26px 0 14px;
  background: radial-gradient(circle at left top, rgba(201,155,92,.09), transparent 34%);
}
.compact-head-inner,
.single-top-inner { display: grid; gap: 12px; }
.compact-breadcrumb { background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: 18px; padding: 10px 14px; width: fit-content; max-width: 100%; }
.compact-breadcrumb h1 { font-size: 22px; color: var(--green); line-height: 1.4; margin: 0; }
.compact-page-head p { color: var(--muted); line-height: 1.9; max-width: 800px; font-size: 16px; }
.compact-toolbar { padding: 10px 0 10px; }
.compact-archive-section { padding-top: 18px; }
.filter-pills button,
.side-filter-list button {
  font: inherit;
  cursor: pointer;
  transition: .22s ease;
}
.filter-pills button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 900;
  font-size: 14px;
}
.filter-pills button:hover,
.filter-pills button.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  transform: translateY(-2px);
}
.side-filter-list button {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: right;
  color: var(--text);
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}
.side-filter-list li:last-child button { border-bottom: 0; }
.side-filter-list button:hover,
.side-filter-list button.active { color: var(--gold); padding-right: 6px; }
.blog-item { transition: opacity .28s ease, transform .28s ease, filter .28s ease; }
.blog-item.is-hiding { opacity: 0; transform: translateY(12px) scale(.98); filter: blur(2px); pointer-events: none; }
.blog-item.hidden-by-filter { display: none !important; }
.empty-filter { display: none; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; color: var(--muted); text-align: center; }
.empty-filter.active { display: block; }
.compact-article-title { max-width: 920px; }
.compact-article-title h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.45; color: var(--green); margin: 12px 0; letter-spacing: -1px; }
.compact-article-title p { font-size: 17px; line-height: 2; color: var(--muted); max-width: 780px; }
.compact-article-section { padding-top: 20px; }
.one-sidebar-layout { grid-template-columns: minmax(0, 1fr) 310px; }
.article-top-image { min-height: 330px; margin-bottom: 24px; }
.inline-toc {
  background: #fbfaf6;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  margin-bottom: 24px;
  grid-template-columns: repeat(2, minmax(0,1fr));
}
.inline-toc strong { grid-column: 1 / -1; color: var(--green); font-size: 18px; margin-bottom: 4px; }
.article-side-only { position: sticky; top: 110px; }
.comment-list { display: grid; gap: 14px; margin-top: 18px; }
.comment-card { display: grid; grid-template-columns: 48px 1fr; gap: 14px; background: #fbfaf6; border: 1px solid var(--line); border-radius: 20px; padding: 16px; }
.comment-avatar { width: 48px; height: 48px; border-radius: 16px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-weight: 900; }
.comment-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.comment-head strong { color: var(--green); }
.comment-head time { color: var(--muted); font-size: 13px; }
.comment-card p { color: #454c46; line-height: 1.9; }
@media (max-width:1120px){ .one-sidebar-layout{grid-template-columns:1fr;} .article-side-only{position:static;} }
@media (max-width:820px){ .compact-breadcrumb{width:100%;} .toolbar-inner{gap:12px;} .inline-toc{grid-template-columns:1fr;} .article-top-image{min-height:240px;} }
@media (max-width:640px){ .compact-page-head,.single-top-head{padding:18px 0 10px;} .compact-breadcrumb h1{font-size:20px;} .compact-article-title h1{font-size:31px;} .filter-pills{flex-wrap:nowrap; overflow-x:auto; padding-bottom:8px;} .filter-pills button{white-space:nowrap;} .comment-card{grid-template-columns:1fr;} }

/* ---------- refinement pass: compact premium breadcrumbs, dynamic TOC, comments, related posts ---------- */
.compact-page-head,
.single-top-head {
  padding: 26px 0 12px;
}

.compact-head-inner,
.single-top-inner {
  gap: 10px;
}

.breadcrumb.compact-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(15,59,40,.10);
  box-shadow: 0 12px 36px rgba(20,35,27,.055);
  backdrop-filter: blur(14px);
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb.compact-breadcrumb::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(201,155,92,.12);
  flex: 0 0 auto;
}

.breadcrumb.compact-breadcrumb a,
.breadcrumb.compact-breadcrumb span {
  display: inline-flex;
  align-items: center;
  line-height: 1.7;
}

.breadcrumb.compact-breadcrumb a {
  color: var(--green);
  font-weight: 900;
}

.breadcrumb.compact-breadcrumb h1,
.breadcrumb.compact-breadcrumb .current-page {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  font-weight: 900;
}

.compact-page-head p {
  max-width: 700px;
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.9;
}

.compact-article-title h1 {
  margin-top: 10px;
  margin-bottom: 8px;
}

.auto-toc-card {
  background: linear-gradient(145deg, #ffffff, #fbf7ef);
  border: 1px solid rgba(15,59,40,.10);
  border-radius: 26px;
  padding: 18px;
  margin-bottom: 26px;
  box-shadow: 0 18px 55px rgba(20,35,27,.06);
  display: block;
}

.toc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.toc-head::-webkit-details-marker {
  display: none;
}

.auto-toc-card[open] .toc-head {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.toc-icon {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  font-weight: 900;
  flex: 0 0 auto;
}

.toc-head strong {
  display: block;
  color: var(--green);
  font-size: 18px;
  margin: 0;
}

.toc-chevron {
  width: 34px;
  height: 34px;
  margin-right: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
  transition: transform .22s ease, background .22s ease, color .22s ease;
}

.auto-toc-card[open] .toc-chevron {
  transform: rotate(180deg);
  background: var(--green);
  color: #fff;
}

.toc-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  counter-reset: toc;
}

.toc-links a {
  counter-increment: toc;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 15px;
  color: #39433d;
  background: #fff;
  border: 1px solid rgba(15,59,40,.075);
  text-decoration: none;
  font-weight: 850;
  line-height: 1.7;
  transition: .22s ease;
}

.toc-links a::before {
  content: counter(toc, decimal-leading-zero);
  direction: ltr;
  color: var(--gold);
  font-weight: 1000;
  font-size: 12px;
}

.toc-links a.toc-h3 {
  padding-right: 28px;
  color: var(--muted);
  font-size: 14px;
}

.toc-links a:hover,
.toc-links a.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  transform: translateY(-2px);
}

.toc-links a:hover::before,
.toc-links a.active::before {
  color: #f8dba3;
}

.refined-comments {
  background: linear-gradient(145deg, #ffffff, #fbfaf6);
}

.comments-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.comments-title-row h2 {
  color: var(--green);
  margin: 4px 0 0;
}

.comments-count,
.approved-badge {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  background: var(--green-soft);
  color: var(--green);
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 900;
  font-size: 13px;
}

.comment-list {
  gap: 16px;
}

.comment-card {
  grid-template-columns: 52px minmax(0, 1fr);
  background: #fff;
  border: 1px solid rgba(15,59,40,.09);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 14px 42px rgba(20,35,27,.045);
  position: relative;
  overflow: hidden;
}

.comment-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(var(--gold), var(--green));
  opacity: .75;
}

.comment-avatar {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--green), #2e7b54);
  color: #fff;
  box-shadow: 0 12px 24px rgba(15,59,40,.18);
}

.comment-body {
  min-width: 0;
}

.comment-head {
  margin-bottom: 8px;
}

.comment-head strong {
  color: var(--text);
}

.comment-card p {
  margin-bottom: 10px;
}

.approved-badge {
  background: #fff8ea;
  color: #9b6b2e;
  padding: 5px 10px;
  font-size: 12px;
}

.refined-related-section {
  padding-top: 8px;
}

.refined-related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.refined-related-grid .post-card {
  border-radius: 28px;
}

.refined-related-grid .post-thumb {
  min-height: 180px;
}

.refined-related-grid .post-body {
  padding: 20px;
}

@media (max-width: 960px) {
  .toc-links,
  .refined-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .breadcrumb.compact-breadcrumb {
    width: 100%;
    border-radius: 18px;
    padding: 9px 11px;
  }
  .comments-title-row {
    flex-direction: column;
  }
  .comment-card {
    grid-template-columns: 1fr;
  }
}

/* =========================
   WooCommerce Catalog Pages
   shop.html + product.html
   ========================= */
.catalog-page {
  background:
    radial-gradient(circle at 85% 4%, rgba(201,155,92,0.10), transparent 28%),
    radial-gradient(circle at 12% 12%, rgba(15,59,40,0.06), transparent 24%),
    var(--cream);
}

.commerce-hero,
.product-top-section {
  padding: 34px 0 24px;
}

.compact-commerce-hero {
  border-bottom: 1px solid rgba(238,232,220,0.85);
}

.mini-breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: rgba(255,255,255,0.76);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
  box-shadow: 0 10px 25px rgba(20,35,27,0.04);
}

.mini-breadcrumb a {
  text-decoration: none;
  color: var(--green);
  font-weight: 800;
  transition: 0.2s ease;
}

.mini-breadcrumb a:hover { color: var(--gold); }
.mini-breadcrumb strong { color: #2d332f; font-weight: 900; }

.commerce-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: end;
}

.commerce-title-row h1,
.product-summary h1 {
  color: var(--green);
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.35;
  margin: 12px 0 14px;
  letter-spacing: -0.02em;
}

.commerce-title-row p,
.summary-lead {
  color: var(--muted);
  line-height: 2;
  font-size: 16px;
  max-width: 720px;
}

.shop-quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: rgba(255,255,255,0.76);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 12px;
  min-width: 360px;
  box-shadow: 0 18px 45px rgba(20,35,27,0.06);
}

.shop-quick-stats div {
  background: #fff;
  border-radius: 16px;
  padding: 15px 14px;
  text-align: center;
}

.shop-quick-stats strong {
  display: block;
  color: var(--green);
  font-size: 22px;
  margin-bottom: 4px;
}

.shop-quick-stats span { font-size: 12px; color: var(--muted); }

.shop-layout-section { padding: 34px 0 86px; }

.shop-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.shop-sidebar,
.product-side-card,
.product-description-card,
.product-gallery,
.product-summary {
  background: rgba(255,255,255,0.86);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 22px 55px rgba(20,35,27,0.06);
}

.shop-sidebar {
  position: sticky;
  top: 108px;
  padding: 22px;
}

.filter-head,
.shop-toolbar,
.product-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.filter-head h2,
.shop-toolbar h2,
.product-side-card h2 {
  color: var(--green);
  font-size: 20px;
}

.filter-head button,
.mobile-filter-toggle {
  border: none;
  background: var(--green-soft);
  color: var(--green);
  border-radius: 12px;
  padding: 9px 12px;
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
}

.filter-block {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.filter-block h3,
.filter-block label:first-child {
  display: block;
  color: #28332d;
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 12px;
}

.filter-block label:not(:first-child),
.filter-block label:has(input) {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #505a53;
  font-size: 14px;
  margin: 12px 0;
  cursor: pointer;
}

.filter-block input[type="checkbox"] { accent-color: var(--green); }

.filter-block input[type="search"],
.shop-tools select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 13px 14px;
  font-family: inherit;
  outline: none;
  transition: 0.2s ease;
}

.filter-block input[type="search"]:focus,
.shop-tools select:focus {
  border-color: rgba(15,59,40,0.35);
  box-shadow: 0 0 0 4px rgba(15,59,40,0.08);
}

.range-value {
  color: var(--green);
  font-weight: 900;
  margin-bottom: 8px;
}

.filter-block input[type="range"] { width: 100%; accent-color: var(--green); }

.filter-cta {
  margin-top: 22px;
  background: linear-gradient(135deg, var(--green), #174f37);
  color: #fff;
  border-radius: 22px;
  padding: 18px;
}

.filter-cta p {
  color: rgba(255,255,255,0.78);
  line-height: 1.8;
  font-size: 13px;
  margin: 10px 0 14px;
}

.filter-cta a {
  display: block;
  background: #fff;
  color: var(--green);
  text-decoration: none;
  border-radius: 14px;
  padding: 12px 14px;
  text-align: center;
  font-weight: 900;
}

.shop-results { min-width: 0; }

.shop-toolbar {
  margin-bottom: 16px;
  background: rgba(255,255,255,0.76);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 16px 18px;
}

.shop-toolbar p { color: var(--muted); font-size: 13px; margin-top: 5px; }
.shop-tools { display: flex; gap: 10px; align-items: center; }
.shop-tools select { min-width: 210px; }
.mobile-filter-toggle { display: none; }

.active-filter-chips {
  min-height: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.active-filter-chips span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.product-grid-catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.catalog-product-card {
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(20,35,27,0.055);
  transition: transform 0.26s ease, box-shadow 0.26s ease, opacity 0.22s ease;
}

.catalog-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(20,35,27,0.10);
}

.catalog-product-card.is-hiding { opacity: 0; transform: scale(0.96); }
.catalog-product-card.hidden-by-product-filter { display: none; }

.product-visual {
  min-height: 170px;
  background: linear-gradient(145deg, #f5efe2, #fffaf0);
  display: grid;
  place-items: center;
  position: relative;
  text-decoration: none;
  color: var(--green);
  overflow: hidden;
}

.product-visual::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(15,59,40,0.055);
}

.product-visual small {
  position: absolute;
  right: 16px;
  bottom: 14px;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(238,232,220,0.9);
  border-radius: 999px;
  padding: 7px 11px;
  font-weight: 900;
}

.product-shape,
.mini-visual {
  display: block;
  position: relative;
  z-index: 2;
  width: 96px;
  height: 96px;
  border-radius: 38% 62% 44% 56%;
  box-shadow: inset 0 14px 26px rgba(255,255,255,0.22), 0 18px 35px rgba(0,0,0,0.12);
  background: var(--gold);
}

.product-shape.green, .mini-visual.cardamom { background: linear-gradient(135deg, #234b31, #8d8b45); }
.product-shape.cinnamon { background: linear-gradient(135deg, #7b3f22, #c0844f); border-radius: 20px 70px 20px 70px; }
.product-shape.sesame { background: radial-gradient(circle, #f4ead4 35%, #d4bd8d 36%); }
.product-shape.pepper { background: linear-gradient(135deg, #9c2e22, #e48752); }
.product-shape.bean { background: radial-gradient(circle at 40% 35%, #f6e0c9, #8a412d); }
.product-shape.splitpea { background: linear-gradient(135deg, #d7bd4b, #f1d872); }
.product-shape.crystal { background: linear-gradient(135deg, #eae6dc, #fff); border-radius: 28px; transform: rotate(8deg); }
.product-shape.vanilla { background: linear-gradient(135deg, #345d93, #c2d6f2); border-radius: 28px; }
.product-shape.ketchup { background: linear-gradient(135deg, #c73a25, #f1a15d); }
.product-shape.cheese { background: linear-gradient(135deg, #f5bd33, #f8e08a); }
.product-shape.paprika { background: linear-gradient(135deg, #b42a1f, #f28a2c); }
.product-shape.cumin { background: linear-gradient(135deg, #1f201b, #5f5a42); }

.product-info { padding: 18px; }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 12px;
}
.badge.available { background: #e9f5ef; color: #16633f; }
.badge.new { background: #fff1dc; color: #9b5f11; }
.badge.soon { background: #f1f0ec; color: #68625a; }

.product-info h3 { font-size: 18px; line-height: 1.6; color: var(--green); }
.product-info h3 a { text-decoration: none; transition: 0.2s ease; }
.product-info h3 a:hover { color: var(--gold); }
.product-info p { color: var(--muted); font-size: 13px; line-height: 1.8; margin: 8px 0 14px; }
.product-meta { display: flex; justify-content: space-between; gap: 10px; color: #4b554f; font-size: 12px; margin-bottom: 14px; }
.product-meta strong { color: var(--green); }
.product-actions { display: grid; grid-template-columns: 1fr 0.7fr; gap: 8px; }
.product-actions a {
  text-align: center;
  text-decoration: none;
  border-radius: 13px;
  padding: 10px 8px;
  font-weight: 900;
  font-size: 13px;
  transition: 0.2s ease;
}
.product-actions a:first-child { background: var(--green); color: #fff; }
.product-actions a:last-child { background: var(--green-soft); color: var(--green); }
.product-actions a:hover { transform: translateY(-2px); }
.empty-products {
  display: none;
  background: #fff;
  border: 1px dashed rgba(15,59,40,0.26);
  color: var(--muted);
  border-radius: 22px;
  padding: 28px;
  text-align: center;
  margin-top: 16px;
}
.empty-products.active { display: block; }

/* Single product */
.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: 28px;
  align-items: start;
}
.product-gallery,
.product-summary { padding: 22px; }
.gallery-main-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #f6efe3;
}
.gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide {
  min-width: 100%;
  scroll-snap-align: start;
}
.gallery-placeholder {
  height: 520px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  text-align: center;
  color: #fff;
  background: linear-gradient(145deg, #0f3b28, #c99b5c);
  position: relative;
  overflow: hidden;
}
.gallery-placeholder::before {
  content: "";
  width: 240px;
  height: 240px;
  border-radius: 44% 56% 52% 48%;
  background: rgba(255,255,255,0.16);
  position: absolute;
  transform: rotate(-15deg);
}
.gallery-placeholder strong,
.gallery-placeholder span { position: relative; z-index: 2; }
.gallery-placeholder strong { font-size: 34px; }
.gallery-placeholder span { background: rgba(255,255,255,0.16); padding: 8px 14px; border-radius: 999px; }
.gallery-placeholder.sack-img { background: linear-gradient(145deg, #b48a56, #ead2a2); color: var(--green); }
.gallery-placeholder.close-img { background: linear-gradient(145deg, #203927, #7b8745); }
.gallery-placeholder.warehouse-img { background: linear-gradient(145deg, #372719, #bc8750); }
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.78);
  color: var(--green);
  border-radius: 50%;
  font-size: 32px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.2s ease;
}
.gallery-nav:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.gallery-prev { right: 16px; }
.gallery-next { left: 16px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.gallery-thumbs button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  height: 92px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.2s ease;
}
.gallery-thumbs button.active,
.gallery-thumbs button:hover { border-color: var(--green); box-shadow: 0 0 0 4px rgba(15,59,40,0.08); }
.mini-visual { width: 84px; height: 84px; }
.gallery-help { color: var(--muted); font-size: 12px; line-height: 1.8; margin-top: 12px; }
.product-summary { position: sticky; top: 108px; }
.sku { color: var(--muted); font-size: 13px; }
.catalog-price-box {
  background: linear-gradient(135deg, var(--green), #174f37);
  color: #fff;
  border-radius: 24px;
  padding: 20px;
  margin: 22px 0;
}
.catalog-price-box span { color: rgba(255,255,255,0.74); font-size: 13px; }
.catalog-price-box strong { display: block; font-size: 28px; margin-top: 6px; }
.catalog-price-box p { color: rgba(255,255,255,0.78); line-height: 1.8; font-size: 13px; margin-top: 12px; }
.product-key-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 20px; }
.product-key-points div { background: #fbfaf6; border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.product-key-points strong { display: block; color: var(--green); margin-bottom: 6px; }
.product-key-points span { color: var(--muted); font-size: 13px; }
.product-cta-panel { display: flex; flex-wrap: wrap; gap: 10px; }
.product-cta-panel .btn { padding: 13px 18px; font-size: 13px; }
.whatsapp-btn { background: #1d8d58; color: #fff; box-shadow: 0 14px 28px rgba(29,141,88,0.16); }
.trust-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.trust-strip span { background: var(--green-soft); color: var(--green); padding: 8px 11px; border-radius: 999px; font-size: 12px; font-weight: 900; }
.product-content-section { padding: 34px 0 20px; }
.product-content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 28px; align-items: start; }
.product-description-card { padding: 24px; }
.product-tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 22px; }
.product-tabs button { border: none; background: var(--green-soft); color: var(--green); border-radius: 999px; padding: 10px 16px; font-family: inherit; font-weight: 900; cursor: pointer; }
.product-tabs button.active { background: var(--green); color: #fff; }
.product-tab-panel { display: none; animation: tabFade 0.28s ease; }
.product-tab-panel.active { display: block; }
@keyframes tabFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.product-tab-panel h2 { color: var(--green); font-size: 28px; margin-bottom: 16px; }
.product-tab-panel h3 { color: #2c352f; font-size: 20px; margin: 24px 0 10px; }
.product-tab-panel p,
.product-tab-panel li { color: #505a53; line-height: 2.1; }
.product-tab-panel ul { padding-right: 22px; }
.spec-table { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.spec-table div { border: 1px solid var(--line); background: #fff; border-radius: 16px; padding: 14px; }
.spec-table span { color: var(--muted); font-size: 13px; display: block; margin-bottom: 6px; }
.spec-table strong { color: var(--green); }
.buy-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.buy-steps div { border: 1px solid var(--line); background: #fff; border-radius: 18px; padding: 16px; }
.buy-steps span { width: 34px; height: 34px; display: grid; place-items: center; background: var(--green); color: #fff; border-radius: 50%; font-weight: 900; }
.product-side-card { position: sticky; top: 108px; padding: 22px; }
.product-side-card p { color: var(--muted); line-height: 1.9; margin: 12px 0 16px; }
.product-side-card a { display: block; text-decoration: none; text-align: center; font-weight: 900; padding: 13px 14px; border-radius: 14px; margin: 10px 0; background: var(--green); color: #fff; }
.product-side-card a:nth-of-type(2) { background: #1d8d58; }
.product-side-card a:nth-of-type(3) { background: var(--green-soft); color: var(--green); }
.side-note { margin-top: 16px; background: #fbfaf6; border: 1px solid var(--line); border-radius: 16px; padding: 14px; color: var(--muted); line-height: 1.8; font-size: 13px; }
.related-product-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini-product-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 18px; box-shadow: 0 20px 45px rgba(20,35,27,0.05); transition: 0.2s ease; }
.mini-product-card:hover { transform: translateY(-5px); box-shadow: 0 28px 60px rgba(20,35,27,0.09); }
.mini-product-card .product-shape { width: 70px; height: 70px; margin-bottom: 16px; }
.mini-product-card h3 { color: var(--green); font-size: 18px; }
.mini-product-card p { color: var(--muted); margin: 8px 0 14px; }
.mini-product-card a { color: var(--green); font-weight: 900; text-decoration: none; }

@media (max-width: 1040px) {
  .commerce-title-row,
  .shop-layout,
  .product-detail-grid,
  .product-content-layout { grid-template-columns: 1fr; }
  .shop-quick-stats { min-width: 0; }
  .shop-sidebar {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(360px, 88vw);
    z-index: 500;
    border-radius: 28px 0 0 28px;
    overflow-y: auto;
    transform: translateX(110%);
    transition: 0.28s ease;
  }
  .shop-sidebar.active { transform: translateX(0); }
  .mobile-filter-toggle { display: inline-flex; }
  .product-grid-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-summary,
  .product-side-card { position: static; }
  .related-product-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .commerce-hero,
  .product-top-section { padding-top: 22px; }
  .commerce-title-row h1,
  .product-summary h1 { font-size: 32px; }
  .shop-quick-stats { grid-template-columns: 1fr; }
  .shop-toolbar { align-items: flex-start; flex-direction: column; }
  .shop-tools { width: 100%; }
  .shop-tools select { min-width: 0; flex: 1; }
  .product-grid-catalog,
  .spec-table,
  .buy-steps,
  .product-key-points,
  .related-product-row { grid-template-columns: 1fr; }
  .gallery-placeholder { height: 360px; }
  .gallery-placeholder strong { font-size: 26px; }
  .product-tabs { overflow-x: auto; }
  .product-tabs button { white-space: nowrap; }
}

/* =========================
   Product page overflow containment fix
   ========================= */
.product-page,
.product-page * {
  box-sizing: border-box;
}

.product-page {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.product-page .container,
.product-page .product-detail-grid,
.product-page .product-content-layout,
.product-page .related-product-row,
.product-page .faq-inner,
.product-page .footer-grid,
.product-page .product-gallery,
.product-page .product-summary,
.product-page .product-description-card,
.product-page .product-side-card,
.product-page .mini-product-card,
.product-page .gallery-main-wrap,
.product-page .gallery-track,
.product-page .gallery-slide,
.product-page .product-tabs,
.product-page .product-cta-panel,
.product-page .trust-strip {
  min-width: 0;
  max-width: 100%;
}

.product-page .product-top-section,
.product-page .product-content-section,
.product-page .related-products-section,
.product-page .product-faq-section {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.product-page .gallery-track {
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.product-page .gallery-slide {
  flex: 0 0 100%;
  max-width: 100%;
}

.product-page img,
.product-page video,
.product-page svg {
  max-width: 100%;
  height: auto;
}

.product-page .product-tabs {
  scrollbar-width: thin;
}

.product-page .product-cta-panel .btn {
  min-width: 0;
  white-space: normal;
}

@media (max-width: 1040px) {
  .product-page .product-detail-grid,
  .product-page .product-content-layout {
    gap: 18px;
  }
}

@media (max-width: 680px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .product-page .product-top-section,
  .product-page .product-content-section {
    padding-left: 0;
    padding-right: 0;
  }

  .product-page .container {
    width: min(100% - 28px, 1180px);
  }

  .product-page .product-gallery,
  .product-page .product-summary,
  .product-page .product-description-card,
  .product-page .product-side-card {
    padding: 16px;
    border-radius: 22px;
  }

  .product-page .gallery-main-wrap {
    border-radius: 20px;
  }

  .product-page .gallery-nav {
    width: 38px;
    height: 38px;
    font-size: 26px;
  }

  .product-page .gallery-prev { right: 10px; }
  .product-page .gallery-next { left: 10px; }

  .product-page .gallery-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .product-page .gallery-thumbs button {
    height: 72px;
    border-radius: 14px;
  }

  .product-page .mini-visual {
    width: 54px;
    height: 54px;
  }

  .product-page .product-label-row,
  .product-page .product-cta-panel,
  .product-page .trust-strip {
    align-items: stretch;
  }
}

/* ===== Extra catalog pages: contact, about, price list ===== */
.inner-page {
  background:
    radial-gradient(circle at 8% 10%, rgba(233, 223, 197, .45), transparent 30%),
    radial-gradient(circle at 96% 22%, rgba(15, 59, 40, .06), transparent 28%),
    #fbfaf6;
}
.compact-page-top {
  padding: 34px 0 26px;
}
.pretty-breadcrumb {
  width: fit-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, .74);
  border: 1px solid #eee8dc;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(20,35,27,.06);
  color: #7d7466;
  font-size: 13px;
  margin-bottom: 24px;
}
.pretty-breadcrumb a {
  color: #0f3b28;
  text-decoration: none;
  font-weight: 800;
}
.pretty-breadcrumb a:hover { color: #b66a28; }
.pretty-breadcrumb h1 {
  font-size: 13px;
  font-weight: 800;
  color: #4b463d;
  margin: 0;
}
.page-title-block h2 {
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.35;
  color: #0f3b28;
  margin: 14px 0 18px;
  letter-spacing: -1px;
}
.page-title-block p {
  font-size: 17px;
  line-height: 2.05;
  color: #5d5b55;
  max-width: 760px;
}
.section-tight { padding: 34px 0; }
.contact-hero-grid,
.about-hero-grid,
.price-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: stretch;
}
.contact-highlight-card,
.price-update-card,
.about-visual-card {
  background: linear-gradient(145deg, #0f3b28, #184934);
  color: #fff;
  border-radius: 28px;
  padding: 28px;
  min-height: 240px;
  box-shadow: 0 28px 70px rgba(15, 59, 40, .18);
  position: relative;
  overflow: hidden;
}
.contact-highlight-card::after,
.price-update-card::after,
.about-visual-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  left: -70px;
  bottom: -80px;
  background: rgba(255,255,255,.09);
}
.contact-highlight-card span,
.price-update-card span {
  display: inline-block;
  color: #e5c28c;
  font-weight: 800;
  margin-bottom: 24px;
}
.contact-highlight-card strong,
.price-update-card strong {
  display: block;
  font-size: 34px;
  margin-bottom: 12px;
}
.contact-highlight-card p,
.price-update-card p { color: rgba(255,255,255,.76); line-height: 1.9; }
.contact-highlight-card a,
.price-update-card a {
  display: inline-flex;
  margin-top: 22px;
  color: #0f3b28;
  background: #fff;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 900;
}
.contact-pill-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact-pill-row a {
  text-decoration: none;
  background: #fff;
  color: #0f3b28;
  border: 1px solid #eee8dc;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 850;
  box-shadow: 0 14px 34px rgba(20,35,27,.07);
}
.contact-pill-row a:hover { background: #0f3b28; color: #fff; }
.contact-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.contact-method-card {
  background: #fff;
  border: 1px solid #eee8dc;
  border-radius: 26px;
  padding: 26px;
  box-shadow: 0 18px 45px rgba(20,35,27,.06);
  transition: .25s ease;
}
.contact-method-card:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(20,35,27,.1); }
.primary-contact { background: linear-gradient(145deg, #fff, #f5efe2); }
.method-icon {
  width: 48px; height: 48px; border-radius: 16px;
  display: grid; place-items: center;
  background: #eef3e8; color: #0f3b28;
  font-size: 22px; margin-bottom: 18px;
}
.contact-method-card h2 { font-size: 22px; color: #0f3b28; margin-bottom: 10px; }
.contact-method-card p { color: #666; line-height: 1.9; margin-bottom: 18px; }
.contact-method-card a { color: #b66a28; text-decoration: none; font-weight: 900; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; align-items: start; }
.contact-form-card,
.price-table-pro-card,
.price-tools-card,
.map-card,
.large-story-card,
.timeline-shell,
.soft-cta-card {
  background: rgba(255,255,255,.86);
  border: 1px solid #eee8dc;
  border-radius: 30px;
  box-shadow: 0 24px 65px rgba(20,35,27,.07);
}
.contact-form-card { padding: 30px; }
.form-head h2 { color: #0f3b28; font-size: 30px; margin: 12px 0; }
.form-head p { color: #666; line-height: 1.9; margin-bottom: 22px; }
.professional-form { display: grid; gap: 16px; }
.form-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.professional-form label { display: grid; gap: 8px; color: #4e4a42; font-size: 14px; font-weight: 850; }
.professional-form input,
.professional-form select,
.professional-form textarea,
.price-search-wrap input {
  width: 100%;
  border: 1px solid #e7decc;
  background: #fbfaf6;
  color: #1f2a24;
  border-radius: 16px;
  padding: 15px 16px;
  font-family: inherit;
  outline: none;
  transition: .2s ease;
}
.professional-form input:focus,
.professional-form select:focus,
.professional-form textarea:focus,
.price-search-wrap input:focus { border-color: #0f3b28; box-shadow: 0 0 0 4px rgba(15,59,40,.08); background: #fff; }
.professional-form button {
  justify-self: start;
  border: 0;
  background: #0f3b28;
  color: #fff;
  font-family: inherit;
  font-weight: 900;
  padding: 14px 24px;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(15,59,40,.18);
}
.contact-side-panel { display: grid; gap: 16px; }
.side-mini-card {
  background: #fff;
  border: 1px solid #eee8dc;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 18px 45px rgba(20,35,27,.06);
}
.side-mini-card h3 { color: #0f3b28; font-size: 20px; margin-bottom: 14px; }
.side-mini-card ul { padding-right: 18px; color: #666; line-height: 2.2; }
.side-mini-card a { display:block; color:#0f3b28; text-decoration:none; font-weight:850; padding: 9px 0; }
.side-mini-card a:hover { color:#b66a28; }
.dark-mini-card { background:#0f3b28; color:#fff; }
.dark-mini-card h3, .dark-mini-card a { color:#fff; }
.dark-mini-card a:hover { color:#e5c28c; }
.map-card { padding: 24px; display:grid; grid-template-columns: minmax(0,1fr) 420px; gap: 24px; align-items: center; }
.map-card h2 { color:#0f3b28; font-size: 30px; margin: 12px 0; }
.map-card p { color:#666; line-height:2; }
.address-copy { margin-top: 20px; display:flex; gap: 10px; flex-wrap: wrap; align-items:center; }
.address-copy span { background:#fbfaf6; border:1px solid #eee8dc; padding: 12px 16px; border-radius: 14px; color:#4a463e; }
.address-copy button { border:0; background:#0f3b28; color:#fff; border-radius:14px; padding: 12px 16px; font-family:inherit; font-weight:900; cursor:pointer; }
.map-placeholder { min-height: 270px; border-radius: 24px; background: linear-gradient(135deg,#eef3e8,#e6d4b6); display:grid; place-items:center; color:#0f3b28; font-weight:950; position:relative; overflow:hidden; }
.map-placeholder::before { content:""; position:absolute; inset:22px; border:1px dashed rgba(15,59,40,.22); border-radius:20px; }
.about-visual-card { display:flex; flex-direction:column; gap:14px; justify-content:center; background: linear-gradient(145deg,#f3ead9,#fff); color:#0f3b28; }
.visual-stack-card { position:relative; z-index:1; background:#fff; border:1px solid #eee8dc; border-radius: 20px; padding: 18px; font-weight: 950; box-shadow:0 18px 38px rgba(20,35,27,.07); }
.v2 { margin-right: 28px; }
.v3 { margin-right: 56px; }
.about-story-grid { display:grid; grid-template-columns: minmax(0,1fr) 330px; gap:22px; align-items:stretch; }
.large-story-card { padding: 32px; }
.large-story-card h2 { color:#0f3b28; font-size: 34px; margin: 12px 0 18px; }
.large-story-card p { color:#5d5b55; line-height: 2.1; margin-bottom: 12px; }
.about-metrics { display:grid; gap:16px; }
.about-metrics article { background:#0f3b28; color:#fff; border-radius:24px; padding:24px; box-shadow:0 18px 44px rgba(15,59,40,.12); }
.about-metrics strong { display:block; font-size:34px; margin-bottom:8px; }
.about-metrics span { color:rgba(255,255,255,.78); }
.values-grid { display:grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap:16px; }
.values-grid article { background:#fff; border:1px solid #eee8dc; border-radius:24px; padding:24px; box-shadow:0 18px 45px rgba(20,35,27,.06); }
.values-grid span { color:#b66a28; font-weight:950; }
.values-grid h3 { color:#0f3b28; font-size:20px; margin: 12px 0; }
.values-grid p { color:#666; line-height:1.9; }
.timeline-shell { padding:30px; display:grid; grid-template-columns: 330px minmax(0,1fr); gap:24px; }
.timeline-title h2 { color:#0f3b28; font-size:32px; margin-top:12px; line-height:1.45; }
.timeline-list { display:grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap:14px; }
.timeline-list article { background:#fbfaf6; border:1px solid #eee8dc; border-radius:22px; padding:22px; }
.timeline-list span { width:42px; height:42px; border-radius:14px; display:grid; place-items:center; background:#0f3b28; color:#fff; font-weight:950; margin-bottom:14px; }
.timeline-list h3 { color:#0f3b28; font-size:20px; margin-bottom:9px; }
.timeline-list p { color:#666; line-height:1.9; }
.soft-cta-card { background: linear-gradient(145deg,#fff,#f4ecdd); color:#1f2a24; }
.soft-cta-card h2 { color:#0f3b28; }
.soft-cta-card p { color:#666; }
.price-tools-card { padding:18px; display:grid; grid-template-columns: 330px minmax(0,1fr); gap:18px; align-items:end; }
.price-search-wrap label { display:block; color:#4e4a42; font-size:14px; font-weight:850; margin-bottom:8px; }
.price-filter-chips { display:flex; flex-wrap:wrap; gap:10px; }
.price-filter-chips button,
.table-actions button,
.table-actions a {
  border:1px solid #eee8dc;
  background:#fff;
  color:#0f3b28;
  border-radius:999px;
  padding: 11px 16px;
  font-family:inherit;
  font-weight:900;
  cursor:pointer;
  text-decoration:none;
}
.price-filter-chips button:hover,
.price-filter-chips button.active { background:#0f3b28; color:#fff; border-color:#0f3b28; }
.price-table-pro-card { padding:0; overflow:hidden; }
.table-topbar { display:flex; justify-content:space-between; align-items:center; gap:16px; padding: 24px; border-bottom:1px solid #eee8dc; }
.table-topbar h2 { color:#0f3b28; font-size:28px; margin-bottom:7px; }
.table-topbar p { color:#666; }
.table-actions { display:flex; gap:10px; flex-wrap:wrap; }
.table-actions a { background:#0f3b28; color:#fff; border-color:#0f3b28; }
.responsive-table-wrap { overflow-x:auto; -webkit-overflow-scrolling:touch; }
.pro-price-table { width:100%; min-width: 860px; border-collapse:collapse; }
.pro-price-table th { background:#fbfaf6; color:#0f3b28; font-size:14px; text-align:right; padding:16px 18px; border-bottom:1px solid #eee8dc; }
.pro-price-table td { padding:17px 18px; border-bottom:1px solid #f0eadf; color:#4d4a43; font-size:14px; }
.pro-price-table tbody tr { transition:.22s ease; }
.pro-price-table tbody tr:hover { background:#fffaf0; }
.pro-price-table td:first-child { font-weight:950; color:#1f2a24; }
.pro-price-table td a { color:#b66a28; font-weight:950; text-decoration:none; }
.pro-price-table td a:hover { color:#0f3b28; }
.no-price-result { display:none; padding: 24px; color:#7a6a58; font-weight:900; }
.no-price-result.active { display:block; }
.note-grid { display:grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap:16px; }
.note-grid article { background:#fff; border:1px solid #eee8dc; border-radius:24px; padding:24px; box-shadow:0 18px 45px rgba(20,35,27,.05); }
.note-grid h3 { color:#0f3b28; font-size:20px; margin-bottom:10px; }
.note-grid p { color:#666; line-height:1.9; }
@media (max-width: 1040px) {
  .contact-hero-grid,.about-hero-grid,.price-hero-grid,.contact-layout,.map-card,.about-story-grid,.timeline-shell,.price-tools-card { grid-template-columns: 1fr; }
  .contact-methods-grid,.values-grid,.timeline-list,.note-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .map-placeholder { min-height:220px; }
}
@media (max-width: 680px) {
  .compact-page-top { padding-top:22px; }
  .page-title-block h2 { font-size: 31px; }
  .page-title-block p { font-size: 15px; }
  .contact-methods-grid,.values-grid,.timeline-list,.note-grid,.form-grid-2 { grid-template-columns:1fr; }
  .contact-highlight-card,.price-update-card,.contact-form-card,.large-story-card,.timeline-shell,.map-card { border-radius:22px; padding:20px; }
  .professional-form button { width:100%; justify-self:stretch; }
  .address-copy span,.address-copy button { width:100%; text-align:center; justify-content:center; }
  .table-topbar { align-items:flex-start; flex-direction:column; }
  .table-actions, .table-actions button, .table-actions a { width:100%; text-align:center; justify-content:center; }
  .pretty-breadcrumb { font-size:12px; }
}


/* ===== Final polish: real image slots, internal linking ready, cleaner heading scale ===== */
.logo-icon {
  overflow: hidden;
  background: #fff;
}
.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 6px;
}

.product-visual img,
.featured-image img,
.post-thumb img,
.article-featured-image img,
.gallery-placeholder img,
.mini-visual img,
.bag img,
.carton img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-visual,
.featured-image,
.post-thumb,
.article-featured-image,
.gallery-placeholder,
.mini-visual,
.bag,
.carton {
  overflow: hidden;
}

.product-visual img,
.post-thumb img,
.featured-image img,
.article-featured-image img {
  transition: transform .35s ease, filter .35s ease;
}
.product-visual:hover img,
.post-thumb:hover img,
.featured-image:hover img,
.article-featured-image:hover img {
  transform: scale(1.045);
  filter: saturate(1.04);
}

.gallery-placeholder {
  position: relative;
}
.gallery-placeholder img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.gallery-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,59,40,.04), rgba(15,59,40,.50));
  z-index: 1;
  pointer-events: none;
}
.gallery-placeholder span,
.gallery-placeholder strong {
  position: relative;
  z-index: 2;
}
.mini-visual img { border-radius: inherit; }

/* Cleaner typography scale */
.hero-content h1 { font-size: clamp(36px, 3.8vw, 48px); }
.hero-content h2 { font-size: clamp(18px, 2.05vw, 28px); }
.section-head h2,
.section-heading h2 { font-size: clamp(25px, 2.7vw, 36px); line-height: 1.55; }
.page-title-block h2 { font-size: clamp(26px, 3vw, 42px); line-height: 1.55; }
.commerce-title-row h1,
.product-summary h1 { font-size: clamp(28px, 3.1vw, 44px); }
.compact-article-title h1 { font-size: clamp(28px, 3.35vw, 44px); }
.article-content h2 { font-size: clamp(21px, 2.3vw, 28px); line-height: 1.75; }
.article-content h3 { font-size: clamp(18px, 1.9vw, 22px); line-height: 1.75; }
.compact-breadcrumb h1 { font-size: 18px; }
.filter-head h2,
.shop-toolbar h2,
.product-side-card h2 { font-size: 18px; }
.product-info h3,
.sidebar-card h3,
.footer-grid h4 { font-size: 17px; }
.product-description-card h2,
.product-tab-panel h2 { font-size: clamp(21px, 2.2vw, 27px); }
.product-tab-panel h3 { font-size: clamp(18px, 1.8vw, 22px); }
.gallery-placeholder strong { font-size: clamp(24px, 3vw, 30px); }
.blog-card h3,
.post-card h3,
.product-card h3,
.category-card h3 { font-size: 18px; line-height: 1.65; }

@media (max-width: 640px) {
  .hero-content h1 { font-size: 42px; }
  .hero-content h2 { font-size: 22px; }
  .section-head h2,
  .section-heading h2 { font-size: 24px; }
  .commerce-title-row h1,
  .product-summary h1,
  .compact-article-title h1,
  .page-title-block h2 { font-size: 27px; }
  .article-content h2 { font-size: 22px; }
  .article-content h3 { font-size: 18px; }
}

.product-shape img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }


@media (min-width: 1040px) {
	.mega-menu {
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    width: min(1050px, calc(100vw - 48px));
}
}



@media (min-width: 1040px) {
	
	.menu-arrow {
    display: inline-block; /* برای اینکه transform درست کار کند */
    transition: transform .1s ease;
}
.has-mega:hover .menu-arrow {
    transform: rotate(180deg);
}

}

/* ==================================================
   Samadi price list final mobile design
   Desktop table remains untouched. Mobile is separate.
================================================== */

.samadi-mobile-price-title,
.samadi-mobile-price-list,
.samadi-search-icon,
.samadi-note-icon {
  display: none;
}

@media (min-width: 769px) {
  .samadi-price-desktop-table {
    display: block;
  }

  .samadi-mobile-price-list {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .samadi-price-list-page {
    background: radial-gradient(circle at 50% -80px, rgba(231,220,200,.55), transparent 310px), #fbfaf6;
  }

  .samadi-price-list-page .container {
    width: min(100% - 22px, 430px);
  }

  .samadi-price-list-page .compact-page-top {
    padding-top: 18px;
    padding-bottom: 8px;
  }

  .samadi-desktop-price-title,
  .samadi-desktop-price-intro {
    display: none !important;
  }

  .samadi-mobile-price-title {
    display: block;
    text-align: center;
  }

  .samadi-mobile-price-title h1 {
    color: #0f3b28;
    font-size: 34px;
    line-height: 1.35;
    font-weight: 950;
    margin: 0 0 8px;
    letter-spacing: -0.6px;
  }

  .samadi-mobile-price-title p {
    color: #626963;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
  }

  .samadi-price-tools-section.section-tight {
    padding-top: 8px;
    padding-bottom: 14px;
  }

  .samadi-price-tools-card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .samadi-price-search-wrap label {
    display: none !important;
  }

  .samadi-price-search-box {
    position: relative;
  }

  .samadi-search-icon {
    display: grid !important;
    place-items: center;
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    color: #2f3430;
    font-size: 22px;
    pointer-events: none;
    z-index: 2;
  }

  .samadi-price-search-wrap input {
    width: 100% !important;
    height: 58px !important;
    min-height: 58px !important;
    border: 1px solid #eadfcd !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.88) !important;
    color: #2f3430 !important;
    font-size: 15px !important;
    padding: 14px 20px 14px 58px !important;
    box-shadow: none !important;
  }

  .samadi-price-search-wrap input::placeholder {
    color: #8a8d87;
  }

  .samadi-price-filter-chips {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 4px !important;
    scrollbar-width: none;
  }

  .samadi-price-filter-chips::-webkit-scrollbar {
    display: none;
  }

  .samadi-price-filter-chips .price-filter {
    flex: 0 0 auto !important;
    min-height: 46px !important;
    white-space: nowrap !important;
    border: 1px solid #e8ddcc !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.90) !important;
    color: #0f3b28 !important;
    padding: 10px 17px !important;
    font-size: 14px !important;
    font-weight: 950 !important;
    box-shadow: none !important;
  }

  .samadi-price-filter-chips .price-filter.active,
  .samadi-price-filter-chips .price-filter:hover {
    background: #0f3b28 !important;
    color: #fff !important;
    border-color: #0f3b28 !important;
  }

  .samadi-price-desktop-table {
    display: none !important;
  }

  .samadi-mobile-price-list {
    display: grid !important;
    gap: 14px !important;
  }

  .samadi-mobile-price-card {
    direction: ltr !important;
    display: grid !important;
    grid-template-columns: 112px minmax(0,1fr) 72px !important;
    grid-template-areas: "price info image" !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 132px !important;
    padding: 14px !important;
    background: rgba(255,255,255,.96) !important;
    border: 1px solid #eee8dc !important;
    border-radius: 24px !important;
    box-shadow: 0 14px 32px rgba(20,35,27,.045) !important;
  }

  .samadi-card-price {
    grid-area: price !important;
    direction: rtl !important;
    align-self: stretch !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 7px !important;
    border-right: 1px dashed #e7decc !important;
    padding-right: 12px !important;
    text-align: right !important;
  }

  .samadi-price-label {
    color: #555a54 !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
  }

  .samadi-price-value {
    display: block !important;
    color: #0f3b28 !important;
    font-size: 21px !important;
    line-height: 1.3 !important;
    font-weight: 950 !important;
    direction: ltr !important;
    unicode-bidi: plaintext !important;
    white-space: nowrap !important;
    text-align: right !important;
    letter-spacing: -0.5px !important;
  }

  .samadi-price-note {
    color: #77746d !important;
    font-size: 11.5px !important;
    line-height: 1.55 !important;
    white-space: nowrap !important;
  }

  .samadi-card-info {
    grid-area: info !important;
    direction: rtl !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-self: center !important;
    gap: 6px !important;
    text-align: right !important;
  }

  .samadi-card-info h3 {
    margin: 0 !important;
    color: #0f3b28 !important;
    font-size: clamp(15px,4.15vw,20px) !important;
    line-height: 1.35 !important;
    font-weight: 950 !important;
    letter-spacing: -0.35px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .samadi-card-cat {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #697069 !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    line-height: 1.5 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .samadi-card-cat i {
    font-size: 12px !important;
    color: #5f6660 !important;
  }

  .samadi-stock {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    width: fit-content !important;
    margin-top: 2px !important;
    padding: 7px 12px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 950 !important;
    line-height: 1.2 !important;
  }

  .samadi-stock.in {
    background: #eef7ea !important;
    color: #2f7d32 !important;
  }

  .samadi-stock.out {
    background: #fff1ef !important;
    color: #c84d3e !important;
  }

  .samadi-stock i {
    font-size: 12px !important;
  }

  .samadi-card-image {
    grid-area: image !important;
    width: 72px !important;
    height: 72px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    background: #f8f3eb !important;
    border: 1px solid #eee8dc !important;
    display: block !important;
    align-self: start !important;
    justify-self: end !important;
  }

  .samadi-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  #noPriceResult.no-price-result {
    text-align: center !important;
    background: #fff !important;
    border: 1px solid #eee8dc !important;
    border-radius: 22px !important;
    padding: 18px !important;
    color: #7a6a58 !important;
    font-weight: 900 !important;
    margin-top: 12px !important;
  }

  .samadi-final-note {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) 58px !important;
    gap: 14px !important;
    direction: rtl !important;
    align-items: center !important;
    background: rgba(255,255,255,.88) !important;
    border: 1px solid #eee8dc !important;
    border-radius: 24px !important;
    box-shadow: 0 12px 30px rgba(20,35,27,.04) !important;
    padding: 16px !important;
    text-align: right !important;
  }

  .samadi-note-icon {
    display: grid !important;
    place-items: center !important;
    width: 58px !important;
    height: 58px !important;
    border-radius: 18px !important;
    background: #f2f6ee !important;
    color: #0f3b28 !important;
    font-size: 25px !important;
  }

  .samadi-note-copy h2 {
    color: #0f3b28 !important;
    font-size: 21px !important;
    line-height: 1.5 !important;
    margin: 0 0 8px !important;
    font-weight: 950 !important;
  }

  .samadi-note-copy p {
    color: #666 !important;
    font-size: 13.5px !important;
    line-height: 2 !important;
    margin: 0 0 12px !important;
  }

  .samadi-note-copy .btn {
    padding: 12px 18px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 380px) {
  .samadi-price-list-page .container {
    width: min(100% - 18px, 390px) !important;
  }

  .samadi-mobile-price-card {
    grid-template-columns: 98px minmax(0,1fr) 64px !important;
    min-height: 124px !important;
    gap: 10px !important;
    padding: 12px !important;
    border-radius: 23px !important;
  }

  .samadi-card-image {
    width: 64px !important;
    height: 64px !important;
    border-radius: 17px !important;
  }

  .samadi-card-price {
    padding-right: 10px !important;
  }

  .samadi-price-label {
    font-size: 11px !important;
  }

  .samadi-price-value {
    font-size: 19px !important;
  }

  .samadi-price-note {
    font-size: 10.8px !important;
  }

  .samadi-card-info h3 {
    font-size: clamp(13px,4vw,18px) !important;
  }

  .samadi-card-cat,
  .samadi-stock {
    font-size: 12px !important;
  }

  .samadi-stock {
    padding: 6px 10px !important;
  }
}

@media (max-width: 340px) {
  .samadi-mobile-price-card {
    grid-template-columns: 88px minmax(0,1fr) 56px !important;
    gap: 8px !important;
    padding: 10px !important;
    min-height: 116px !important;
  }

  .samadi-card-image {
    width: 56px !important;
    height: 56px !important;
    border-radius: 15px !important;
  }

  .samadi-price-value {
    font-size: 17px !important;
  }

  .samadi-card-info h3 {
    font-size: 13px !important;
  }
}

/* =========================================================
   Samadi price list - final mobile visual match + bug-safe states
========================================================= */
.samadi-price-hidden { display: none !important; }

@media (max-width: 768px) {
  body .samadi-price-list-page {
    background:
      radial-gradient(circle at 50% -120px, rgba(232,222,204,.68), transparent 330px),
      linear-gradient(180deg, #fbfaf6 0%, #f8f5ee 100%) !important;
  }

  body .samadi-price-list-page .container {
    width: min(100% - 24px, 430px) !important;
    max-width: 430px !important;
    margin-inline: auto !important;
  }

  body .samadi-price-list-page .compact-page-top {
    padding: 24px 0 8px !important;
    background: transparent !important;
  }

  body .samadi-mobile-price-title h1 {
    font-size: clamp(31px, 8.7vw, 39px) !important;
    font-weight: 950 !important;
    color: #103b2a !important;
    letter-spacing: -1px !important;
    margin-bottom: 8px !important;
  }

  body .samadi-mobile-price-title p {
    color: #5f655f !important;
    font-size: 14px !important;
    font-weight: 600 !important;
  }

  body .samadi-price-tools-section.section-tight {
    padding: 10px 0 15px !important;
    background: transparent !important;
  }

  body .samadi-price-search-box { position: relative !important; }

  body .samadi-search-icon {
    left: 19px !important;
    width: 31px !important;
    height: 31px !important;
    font-size: 23px !important;
    color: #252a27 !important;
  }

  body .samadi-price-search-wrap input#priceSearch {
    height: 66px !important;
    min-height: 66px !important;
    border-radius: 999px !important;
    border: 1px solid #eadfcd !important;
    background: rgba(255,255,255,.82) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8) !important;
    padding: 15px 22px 15px 63px !important;
    font-size: 18px !important;
    color: #28312c !important;
    text-align: right !important;
  }

  body .samadi-price-search-wrap input#priceSearch:focus {
    border-color: #d6c7b1 !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(15,59,40,.06) !important;
  }

  body .samadi-price-search-wrap input#priceSearch::placeholder {
    color: #7b807a !important;
    opacity: 1 !important;
  }

  body .samadi-price-filter-chips {
    gap: 11px !important;
    padding: 2px 1px 6px !important;
    margin-top: 2px !important;
    scroll-snap-type: x proximity !important;
  }

  body .samadi-price-filter-chips .price-filter {
    min-height: 47px !important;
    padding: 10px 17px !important;
    border-radius: 20px !important;
    border-color: #e7dcc9 !important;
    background: rgba(255,255,255,.86) !important;
    color: #153c2d !important;
    font-size: 14px !important;
    font-weight: 950 !important;
    box-shadow: 0 7px 18px rgba(20,35,27,.025) !important;
    scroll-snap-align: start !important;
  }

  body .samadi-price-filter-chips .price-filter.active,
  body .samadi-price-filter-chips .price-filter:hover {
    background: #063f2b !important;
    border-color: #063f2b !important;
    color: #fff !important;
  }

  body .samadi-price-results-section.section-tight {
    padding-top: 2px !important;
    background: transparent !important;
  }

  body .samadi-mobile-price-list {
    gap: 13px !important;
  }

  body .samadi-mobile-price-card {
    direction: ltr !important;
    grid-template-columns: 118px minmax(0, 1fr) 82px !important;
    grid-template-areas: "price info image" !important;
    min-height: 136px !important;
    gap: 12px !important;
    padding: 13px 12px !important;
    border-radius: 24px !important;
    border: 1px solid #eee6d8 !important;
    background: rgba(255,255,255,.95) !important;
    box-shadow: 0 11px 26px rgba(20,35,27,.035) !important;
  }

  body .samadi-card-price {
    border-right: 1px dashed #e5dac8 !important;
    padding-right: 14px !important;
    padding-left: 0 !important;
    gap: 8px !important;
    text-align: right !important;
  }

  body .samadi-price-label {
    font-size: 13px !important;
    color: #3f463f !important;
  }

  body .samadi-price-value {
    font-size: clamp(22px, 6.3vw, 28px) !important;
    color: #0f583b !important;
    font-weight: 950 !important;
    letter-spacing: -1px !important;
  }

  body .samadi-price-note {
    font-size: 12.5px !important;
    color: #6f716c !important;
  }

  body .samadi-card-info {
    gap: 8px !important;
    padding-top: 2px !important;
  }

  body .samadi-card-info h3 {
    color: #122b22 !important;
    font-size: clamp(18px, 5vw, 23px) !important;
    line-height: 1.42 !important;
    font-weight: 950 !important;
  }

  body .samadi-card-cat {
    color: #696f69 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
  }

  body .samadi-card-cat i {
    font-size: 13px !important;
    color: #626862 !important;
  }

  body .samadi-stock {
    padding: 8px 13px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    box-shadow: inset 0 0 0 1px rgba(15,59,40,.04) !important;
  }

  body .samadi-stock.in {
    background: #edf6e9 !important;
    color: #155b3e !important;
  }

  body .samadi-stock.out {
    background: #fff0eb !important;
    color: #b34332 !important;
  }

  body .samadi-card-image {
    width: 82px !important;
    height: 82px !important;
    border-radius: 20px !important;
    background: #f7f0e8 !important;
    border: 1px solid #eee5d6 !important;
    align-self: center !important;
  }

  body .samadi-card-image img {
    object-fit: cover !important;
  }

  body #noPriceResult.no-price-result {
    margin: 14px 0 0 !important;
    border-radius: 23px !important;
    background: rgba(255,255,255,.93) !important;
    border-color: #eee6d8 !important;
  }

  body .price-note-section.section-tight {
    padding-top: 15px !important;
    background: transparent !important;
  }

  body .samadi-final-note {
    grid-template-columns: minmax(0, 1fr) 62px !important;
    border-radius: 24px !important;
    background: rgba(255,255,255,.78) !important;
    border-color: #eee6d8 !important;
    padding: 16px !important;
  }

  body .samadi-note-icon {
    width: 62px !important;
    height: 62px !important;
    color: #0a5136 !important;
    background: transparent !important;
    font-size: 35px !important;
  }

  body .samadi-note-copy h2 {
    font-size: 19px !important;
    text-align: right !important;
  }

  body .samadi-note-copy p {
    font-size: 13px !important;
    line-height: 2.05 !important;
  }

  body .samadi-note-copy .btn {
    display: none !important;
  }
}

@media (max-width: 390px) {
  body .samadi-mobile-price-card {
    grid-template-columns: 104px minmax(0, 1fr) 72px !important;
    min-height: 128px !important;
    gap: 10px !important;
    padding: 12px 11px !important;
  }

  body .samadi-card-image {
    width: 72px !important;
    height: 72px !important;
  }

  body .samadi-card-price {
    padding-right: 11px !important;
  }

  body .samadi-card-info h3 {
    font-size: clamp(16px, 4.8vw, 20px) !important;
  }

  body .samadi-price-value {
    font-size: clamp(20px, 5.8vw, 24px) !important;
  }
}

/* =========================================================
   Samadi price list v8 - no product images, fast mobile UI
   This block overrides the previous image-card mobile design.
========================================================= */
@media (max-width: 768px) {
  body .samadi-price-list-page {
    background:
      radial-gradient(circle at 50% -130px, rgba(232,222,204,.66), transparent 335px),
      linear-gradient(180deg, #fbfaf6 0%, #f8f5ee 100%) !important;
  }

  body .samadi-price-list-page .container {
    width: min(100% - 24px, 430px) !important;
    max-width: 430px !important;
    margin-inline: auto !important;
  }

  body .samadi-price-list-page .compact-page-top {
    padding: 24px 0 8px !important;
    background: transparent !important;
  }

  body .samadi-mobile-price-title h1 {
    color: #103b2a !important;
    font-size: clamp(33px, 9vw, 42px) !important;
    line-height: 1.35 !important;
    font-weight: 950 !important;
    letter-spacing: -1px !important;
    margin: 0 0 8px !important;
  }

  body .samadi-mobile-price-title p {
    color: #5f655f !important;
    font-size: 14px !important;
    line-height: 1.85 !important;
    font-weight: 650 !important;
    margin: 0 !important;
  }

  body .samadi-price-tools-section.section-tight {
    padding: 10px 0 16px !important;
    background: transparent !important;
  }

  body .samadi-price-search-box { position: relative !important; }

  body .samadi-search-icon {
    display: grid !important;
    place-items: center !important;
    left: 19px !important;
    width: 31px !important;
    height: 31px !important;
    color: #252a27 !important;
    font-size: 23px !important;
  }

  body .samadi-price-search-wrap input#priceSearch {
    height: 66px !important;
    min-height: 66px !important;
    border-radius: 999px !important;
    border: 1px solid #eadfcd !important;
    background: rgba(255,255,255,.84) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.85) !important;
    padding: 15px 22px 15px 63px !important;
    color: #28312c !important;
    font-size: 18px !important;
    text-align: right !important;
  }

  body .samadi-price-search-wrap input#priceSearch:focus {
    border-color: #d6c7b1 !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(15,59,40,.06) !important;
  }

  body .samadi-price-search-wrap input#priceSearch::placeholder {
    color: #7b807a !important;
    opacity: 1 !important;
  }

  body .samadi-price-filter-chips {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 11px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 2px 1px 7px !important;
    margin-top: 2px !important;
    scrollbar-width: none !important;
    scroll-snap-type: x proximity !important;
  }

  body .samadi-price-filter-chips::-webkit-scrollbar { display: none !important; }

  body .samadi-price-filter-chips .price-filter {
    flex: 0 0 auto !important;
    min-height: 36px !important;
    white-space: nowrap !important;
    border: 1px solid #e7dcc9 !important;
    border-radius: 20px !important;
    background: rgba(255,255,255,.88) !important;
    color: #153c2d !important;
    padding: 7px 15px !important;
    font-size: 14px !important;
    font-weight: 950 !important;
    box-shadow: 0 7px 18px rgba(20,35,27,.025) !important;
    scroll-snap-align: start !important;
}

  body .samadi-price-filter-chips .price-filter.active,
  body .samadi-price-filter-chips .price-filter:hover {
    background: #063f2b !important;
    border-color: #063f2b !important;
    color: #fff !important;
  }

  body .samadi-price-results-section.section-tight {
    padding-top: 1px !important;
    background: transparent !important;
  }

  body .samadi-mobile-price-list {
    display: grid !important;
    gap: 13px !important;
  }

  body .samadi-mobile-price-card,
  body .samadi-mobile-price-card.samadi-no-image-price-card {
    direction: ltr !important;
    display: grid !important;
    grid-template-columns: 118px minmax(0, 1fr) !important;
    grid-template-areas: "price info" !important;
    align-items: center !important;
    min-height: 126px !important;
    gap: 16px !important;
    padding: 17px 18px !important;
    border-radius: 24px !important;
    border: 1px solid #eee6d8 !important;
    background: rgba(255,255,255,.95) !important;
    box-shadow: 0 11px 26px rgba(20,35,27,.035) !important;
  }

  body .samadi-card-image { display: none !important; }

  body .samadi-card-price {
    grid-area: price !important;
    direction: rtl !important;
    align-self: stretch !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 8px !important;
    border-right: 1px dashed #e5dac8 !important;
    padding-right: 14px !important;
    padding-left: 0 !important;
    text-align: right !important;
  }

  body .samadi-price-label {
    color: #3f463f !important;
    font-size: 13px !important;
    font-weight: 950 !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
  }

  body .samadi-price-value {
    display: block !important;
    color: #0f583b !important;
    font-size: clamp(22px, 6.3vw, 22px) !important;
    line-height: 1.28 !important;
    font-weight: 950 !important;
    direction: ltr !important;
    unicode-bidi: plaintext !important;
    text-align: right !important;
    white-space: nowrap !important;
    letter-spacing: -1px !important;
}

  body .samadi-price-note {
    color: #6f716c !important;
    font-size: 12.5px !important;
    line-height: 1.55 !important;
    white-space: nowrap !important;
  }

  body .samadi-card-info {
    grid-area: info !important;
    direction: rtl !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding-top: 2px !important;
    text-align: right !important;
  }

  body .samadi-product-title-link {
    color: inherit !important;
    text-decoration: none !important;
    display: block !important;
    max-width: 100% !important;
  }

 body .samadi-card-info h3 {
    margin: 0 !important;
    color: #122b22 !important;
    font-size: clamp(18px, 5vw, 20px) !important;
    line-height: 1.42 !important;
    font-weight: 950 !important;
    letter-spacing: -0.35px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
}

  body .samadi-card-cat {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #696f69 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body .samadi-card-cat i { display: none !important; }

  body .samadi-stock {
    display: inline-flex !important;
    align-items: center !important;
    flex-direction: row-reverse !important;
    gap: 2px !important;
    width: fit-content !important;
    margin-top: 2px !important;
    padding: 6px 7px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    font-weight: 950 !important;
    line-height: 1.2 !important;
    box-shadow: inset 0 0 0 1px rgba(15,59,40,.04) !important;
}

  body .samadi-stock.in {
    background: #edf6e9 !important;
    color: #155b3e !important;
  }

  body .samadi-stock.out {
    background: #fff0eb !important;
    color: #b34332 !important;
  }

  body .samadi-stock.inquiry {
    background: #fff7df !important;
    color: #6e5414 !important;
  }

  body .samadi-stock i { font-size: 13px !important; }

  body #noPriceResult.no-price-result {
    margin: 14px 0 0 !important;
    border-radius: 23px !important;
    background: rgba(255,255,255,.94) !important;
    border: 1px solid #eee6d8 !important;
    color: #7a6a58 !important;
    font-weight: 950 !important;
  }

  body .price-note-section.section-tight {
    padding-top: 15px !important;
    background: transparent !important;
  }

  body .samadi-final-note {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 62px !important;
    gap: 14px !important;
    direction: rtl !important;
    align-items: center !important;
    border-radius: 24px !important;
    background: rgba(255,255,255,.80) !important;
    border: 1px solid #dceadf !important;
    box-shadow: 0 12px 30px rgba(20,35,27,.035) !important;
    padding: 16px !important;
    text-align: right !important;
  }

  body .samadi-note-icon {
    display: grid !important;
    place-items: center !important;
    width: 62px !important;
    height: 62px !important;
    color: #0a5136 !important;
    background: transparent !important;
    font-size: 35px !important;
  }

  body .samadi-note-copy h2 {
    color: #103b2a !important;
    font-size: 19px !important;
    line-height: 1.55 !important;
    margin: 0 0 8px !important;
    font-weight: 950 !important;
    text-align: right !important;
  }

  body .samadi-note-copy p {
    color: #666 !important;
    font-size: 13px !important;
    line-height: 2.05 !important;
    margin: 0 !important;
  }

  body .samadi-note-copy .btn { display: none !important; }
}

@media (max-width: 390px) {
  body .samadi-mobile-price-card,
  body .samadi-mobile-price-card.samadi-no-image-price-card {
    grid-template-columns: 106px minmax(0, 1fr) !important;
    min-height: 122px !important;
    gap: 12px !important;
    padding: 15px 15px !important;
  }

  body .samadi-card-price { padding-right: 11px !important; }
  body .samadi-card-info h3 { font-size: clamp(14px, 4.8vw, 14px) !important; }
  body .samadi-price-value {
    font-size: clamp(18px, 5.8vw, 20px) !important;
}
  body .samadi-stock,
  body .samadi-card-cat { font-size: 12.5px !important; }
}

@media (max-width: 340px) {
  body .samadi-mobile-price-card,
  body .samadi-mobile-price-card.samadi-no-image-price-card {
    grid-template-columns: 92px minmax(0, 1fr) !important;
    min-height: 116px !important;
    gap: 10px !important;
    padding: 13px 13px !important;
  }

  body .samadi-price-label { font-size: 11.5px !important; }
  body .samadi-price-note { font-size: 11px !important; }
  body .samadi-price-value { font-size: 19px !important; }
  body .samadi-card-info h3 { font-size: 15px !important; }
}


/* =========================================================
   Samadi price filter visibility fix
   Must stay at the very end of the CSS file.
   Mobile cards use display:grid!important above, so hidden items need
   a stronger rule to actually disappear after search/category filtering.
========================================================= */
body .samadi-price-list-page .samadi-price-hidden,
body .samadi-price-list-page [hidden].samadi-mobile-price-card,
body .samadi-price-list-page [hidden].price-result-row,
body .samadi-price-list-page .samadi-mobile-price-card.samadi-price-hidden,
body .samadi-price-list-page tr.price-result-row.samadi-price-hidden {
  display: none !important;
}

/* =========================================================
   Catalog product image fix — square, stable and uncropped
   Upload recommendation: 1000x1000 WebP
   ========================================================= */
.catalog-product-card .product-visual {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  padding: 14px;
  background: #f8f6f0;
  isolation: isolate;
}

.catalog-product-card .product-visual::before {
  z-index: -1;
}

.catalog-product-card .product-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 18px;
}

/* Keep the product label above the image and readable. */
.catalog-product-card .product-visual small {
  z-index: 3;
}

/* A softer hover without cropping packaged products. */
.catalog-product-card .product-visual:hover img {
  transform: scale(1.02);
  filter: none;
}

/* More compact image spacing on narrow phones. */
@media (max-width: 680px) {
  .catalog-product-card .product-visual {
    padding: 10px;
  }

  .catalog-product-card .product-visual img {
    border-radius: 15px;
  }
}


/* =====================================================
   FIX: Square WooCommerce catalog product images
   Keep this block at the very end of style-base.css
===================================================== */

body .catalog-page .catalog-product-card .product-visual {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
  display: block !important;
  position: relative !important;
  overflow: hidden !important;
  background: #f8f5ee !important;
}

body .catalog-page .catalog-product-card .product-visual img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
  transform: none !important;
}

body .catalog-page .catalog-product-card .product-visual:hover img {
  transform: scale(1.025) !important;
}

body .catalog-page .catalog-product-card .product-visual::before,
body .catalog-page .catalog-product-card .product-visual::after {
  display: none !important;
}

body .catalog-page .catalog-product-card .product-visual small {
  z-index: 3 !important;
}
/* =========================================================
   Blog archive cleanup — breadcrumb, intro and category removal
   ========================================================= */
.blog-archive-page .compact-page-head {
  padding: 30px 0 24px;
  background:
    radial-gradient(circle at 8% 0%, rgba(201, 155, 92, .10), transparent 34%),
    var(--cream);
  border-bottom: 1px solid rgba(238, 232, 220, .75);
}

.blog-archive-page .compact-page-head-inner {
  display: grid;
  gap: 18px;
}

.blog-archive-page .breadcrumb.compact-breadcrumb {
  width: auto;
  max-width: max-content;
  padding: 0;
  gap: 9px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
}

.blog-archive-page .breadcrumb.compact-breadcrumb::before {
  display: none;
}

.blog-archive-page .breadcrumb.compact-breadcrumb a,
.blog-archive-page .breadcrumb.compact-breadcrumb .current-page {
  line-height: 1.7;
  text-decoration: none;
}

.blog-archive-page .breadcrumb.compact-breadcrumb a {
  color: var(--muted);
  font-weight: 700;
}

.blog-archive-page .breadcrumb.compact-breadcrumb a:hover {
  color: var(--green);
}

.blog-archive-page .breadcrumb.compact-breadcrumb .breadcrumb-separator {
  color: #b9b2a7;
  font-weight: 400;
}

.blog-archive-page .breadcrumb.compact-breadcrumb .current-page {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.blog-page-intro {
  max-width: 760px;
}

.blog-page-intro h1 {
  margin: 0 0 8px;
  color: var(--green);
  font-size: clamp(27px, 3vw, 39px);
  line-height: 1.55;
  letter-spacing: -.5px;
}

.blog-archive-page .blog-page-intro p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
}

.blog-archive-page .compact-archive-section {
  padding-top: 34px;
}

.blog-archive-page .newsletter-card h2,
.blog-archive-page .popular-posts-card h2 {
  margin-bottom: 14px;
  font-size: 18px;
  line-height: 1.7;
}

.blog-archive-page .newsletter-card h2 {
  color: #fff;
}

.blog-archive-page .popular-posts-card h2 {
  color: var(--green);
}

/* Category filtering is handled by WordPress archive URLs; no duplicate filter UI is rendered. */

@media (max-width: 820px) {
  .blog-archive-page .compact-page-head {
    padding: 22px 0 20px;
  }

  .blog-archive-page .breadcrumb.compact-breadcrumb {
    width: auto;
    max-width: 100%;
    padding: 0;
    border-radius: 0;
  }

  .blog-archive-page .archive-layout {
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .blog-archive-page .compact-page-head-inner {
    gap: 14px;
  }

  .blog-page-intro h1 {
    font-size: 27px;
  }

  .blog-archive-page .blog-page-intro p {
    font-size: 15px;
    line-height: 1.9;
  }

  .blog-archive-page .compact-archive-section {
    padding-top: 24px;
  }
}

/* ---------- single article: book-style TOC + contained comment form ---------- */
.auto-toc-card .toc-links {
  display: block;
  counter-reset: toc;
}

.auto-toc-card .toc-links a {
  counter-increment: toc;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 12px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: #39433d;
  text-decoration: none;
  font-weight: 850;
  line-height: 1.85;
  transform: none;
  box-shadow: none;
}

.auto-toc-card .toc-links a:last-child {
  border-bottom: 0;
}

.auto-toc-card .toc-links a::before {
  content: counter(toc, decimal-leading-zero) ".";
  direction: ltr;
  flex: 0 0 30px;
  width: 30px;
  color: var(--gold);
  font-weight: 1000;
  font-size: 13px;
  line-height: 1.9;
  text-align: left;
}

.auto-toc-card .toc-links a.toc-h3 {
  padding-right: 34px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.auto-toc-card .toc-links a:hover,
.auto-toc-card .toc-links a.active {
  background: transparent;
  color: var(--green);
  border-color: var(--line);
  transform: none;
  box-shadow: inset -3px 0 0 var(--gold);
  padding-right: 12px;
}

.auto-toc-card .toc-links a:hover::before,
.auto-toc-card .toc-links a.active::before {
  color: var(--green);
}

.comment-form-card {
  width: 100%;
  max-width: 100%;
  padding: clamp(18px, 3vw, 28px);
  margin-top: 24px;
  overflow: hidden;
}

.comment-form-card .comment-respond,
.comment-form-card .comment-form {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
}

.comment-form-card .comment-reply-title {
  color: var(--green);
  margin: 0 0 10px;
  font-size: clamp(22px, 2.4vw, 28px);
}

.comment-form-card .comment-notes,
.comment-form-card .logged-in-as {
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.9;
}

.comment-form-card .comment-form p {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
}

.comment-form-card .comment-form input,
.comment-form-card .comment-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.comment-form-card .form-submit {
  margin-top: 4px;
}

@media (max-width: 640px) {
  .auto-toc-card .toc-links a {
    padding-block: 11px;
  }

  .auto-toc-card .toc-links a.toc-h3 {
    padding-right: 22px;
  }

  .comment-form-card {
    padding: 18px;
  }
}

/* ==========================================================
   Clean single.php layout
   Desktop: fixed left sidebar + flexible right content.
   Mobile: content first, sidebar second.
   ========================================================== */

#samadi-single-page,
#samadi-single-page * {
  box-sizing: border-box;
}

#samadi-single-page {
  width: 100%;
  max-width: 100%;
  overflow: clip;
  direction: rtl;
}

#samadi-single-page .samadi-single-container {
  width: min(1180px, calc(100% - 48px)) !important;
  max-width: 1180px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

#samadi-single-page .samadi-single-header {
  padding: 28px 0 20px;
}

#samadi-single-page .samadi-single-title {
  max-width: 940px;
  margin-top: 18px;
}

#samadi-single-page .samadi-single-title h1 {
  margin: 12px 0 0;
  color: var(--green);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.5;
}

#samadi-single-page .samadi-single-content-section {
  width: 100%;
  padding: 18px 0 72px;
}

#samadi-single-page .samadi-single-layout {
  display: grid !important;
  grid-template-columns: 310px minmax(0, 1fr) !important;
  grid-template-areas: "sidebar main" !important;
  gap: 28px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: start !important;
  direction: ltr !important;
}

#samadi-single-page .samadi-single-sidebar {
  grid-area: sidebar !important;
  display: grid !important;
  gap: 18px !important;
  width: 310px !important;
  max-width: 310px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: none !important;
  align-self: start !important;
  position: sticky !important;
  top: 110px !important;
  direction: rtl !important;
}

#samadi-single-page .samadi-single-main {
  grid-area: main !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: none !important;
  direction: rtl !important;
}

#samadi-single-page .samadi-sidebar-card,
#samadi-single-page .samadi-article-card,
#samadi-single-page .samadi-related-posts,
#samadi-single-page .samadi-comments-box {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 18px 60px rgba(20, 35, 27, .055);
  overflow: hidden;
}

#samadi-single-page .samadi-sidebar-card {
  padding: 24px;
}

#samadi-single-page .samadi-sidebar-card h2 {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 20px;
  line-height: 1.7;
}

#samadi-single-page .samadi-sidebar-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.9;
}

#samadi-single-page .samadi-sidebar-price-card {
  color: #fff;
  background: linear-gradient(145deg, var(--green), #1f6042);
  border-color: transparent;
}

#samadi-single-page .samadi-sidebar-price-card h2 {
  color: #fff;
}

#samadi-single-page .samadi-sidebar-price-card p {
  color: rgba(255, 255, 255, .82);
}

#samadi-single-page .samadi-sidebar-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

#samadi-single-page .samadi-sidebar-links li + li {
  border-top: 1px solid var(--line);
}

#samadi-single-page .samadi-sidebar-links a {
  display: block;
  padding: 12px 0;
  color: var(--text);
  font-weight: 800;
  line-height: 1.7;
  text-decoration: none;
}

#samadi-single-page .samadi-sidebar-links a:hover {
  color: var(--gold);
}

#samadi-single-page .samadi-article-card {
  padding: clamp(22px, 3.5vw, 42px);
}

#samadi-single-page .samadi-article-image {
  display: block;
  width: 100%;
  min-height: 330px;
  margin: 0 0 24px;
  overflow: hidden;
  border-radius: 24px;
  background: #f7f2e8;
}

#samadi-single-page .samadi-article-image img {
  display: block;
  width: 100%;
  height: 330px;
  max-width: 100%;
  object-fit: cover;
}

#samadi-single-page .samadi-article-entry,
#samadi-single-page .samadi-article-entry > * {
  max-width: 100% !important;
  min-width: 0 !important;
}

#samadi-single-page .samadi-article-entry {
  color: #454c46;
  overflow-wrap: anywhere;
}

#samadi-single-page .samadi-article-entry h2 {
  margin: 30px 0 14px;
  color: var(--green);
  font-size: clamp(23px, 2.4vw, 30px);
  line-height: 1.7;
  scroll-margin-top: 120px;
}

#samadi-single-page .samadi-article-entry h3 {
  margin: 24px 0 12px;
  color: var(--green);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.75;
  scroll-margin-top: 120px;
}

#samadi-single-page .samadi-article-entry p,
#samadi-single-page .samadi-article-entry li {
  font-size: 17px;
  line-height: 2.15;
}

#samadi-single-page .samadi-article-entry img,
#samadi-single-page .samadi-article-entry video,
#samadi-single-page .samadi-article-entry iframe,
#samadi-single-page .samadi-article-entry table {
  max-width: 100% !important;
}

#samadi-single-page .samadi-article-entry img,
#samadi-single-page .samadi-article-entry video {
  height: auto;
}

#samadi-single-page .samadi-article-entry table {
  display: block;
  overflow-x: auto;
}

#samadi-single-page .samadi-article-tags,
#samadi-single-page .samadi-share-box {
  margin-top: 24px;
}

#samadi-single-page .samadi-related-posts,
#samadi-single-page .samadi-comments-box {
  margin-top: 24px !important;
  padding: clamp(20px, 3vw, 28px);
}

/*
 * Keep the comment form inside the article column on desktop.
 * The small horizontal inset prevents the card from visually touching
 * both sides of the content column while preserving full width on mobile.
 */
#samadi-single-page .samadi-single-main > .samadi-comment-form-box {
  display: block !important;
  width: calc(100% - 48px) !important;
  max-width: 794px !important;
  min-width: 0 !important;
  margin-top: 24px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding: clamp(24px, 3vw, 32px) !important;
  position: relative !important;
  inset: auto !important;
  transform: none !important;
}

/* Reset old/full-viewport comment styles that may come from the theme or plugins. */
#samadi-single-page .samadi-comment-form-box #respond,
#samadi-single-page .samadi-comment-form-box .comment-respond,
#samadi-single-page .samadi-comment-form-box #commentform,
#samadi-single-page .samadi-comment-form-box .samadi-comment-form {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
  position: static !important;
  inset: auto !important;
  transform: none !important;
}

#samadi-single-page .samadi-section-heading {
  margin-bottom: 20px;
}

#samadi-single-page .samadi-section-heading h2,
#samadi-single-page .samadi-comments-box h2 {
  margin: 4px 0 6px;
  color: var(--green);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.7;
}

#samadi-single-page .samadi-section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

#samadi-single-page .samadi-related-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

#samadi-single-page .samadi-related-grid > * {
  min-width: 0 !important;
  max-width: 100% !important;
}

#samadi-single-page .samadi-related-grid .post-card {
  width: 100%;
  min-width: 0;
  margin: 0;
}

#samadi-single-page .samadi-related-grid .post-thumb {
  min-height: 155px;
}

#samadi-single-page .samadi-related-grid .post-body {
  padding: 17px;
}

#samadi-single-page .samadi-related-grid .post-card h3 {
  font-size: 17px;
}

#samadi-single-page .comments-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

#samadi-single-page .comments-count {
  flex: 0 0 auto;
  padding: 8px 13px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

#samadi-single-page .comment-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

#samadi-single-page .samadi-empty-message {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

#samadi-single-page .samadi-comment-form-box .comment-respond,
#samadi-single-page .samadi-comment-form,
#samadi-single-page .samadi-comment-form > p {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

#samadi-single-page .samadi-comment-form {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px !important;
}

#samadi-single-page .samadi-comment-form .comment-form-comment,
#samadi-single-page .samadi-comment-form .comment-notes,
#samadi-single-page .samadi-comment-form .logged-in-as,
#samadi-single-page .samadi-comment-form .form-submit,
#samadi-single-page .samadi-comment-form .comment-form-cookies-consent {
  grid-column: 1 / -1;
}

#samadi-single-page .samadi-comment-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 800;
  line-height: 1.7;
}

#samadi-single-page .samadi-comment-form input,
#samadi-single-page .samadi-comment-form textarea {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--text);
  background: #fbfaf6;
  font: inherit;
  outline: none;
}

#samadi-single-page .samadi-comment-form textarea {
  min-height: 190px;
  resize: vertical;
}

#samadi-single-page .samadi-comment-form input:focus,
#samadi-single-page .samadi-comment-form textarea:focus {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(201, 155, 92, .12);
}

#samadi-single-page .samadi-comment-form .required {
  color: #b42318;
}

#samadi-single-page .samadi-comment-form .form-submit {
  margin-top: 2px !important;
}

@media (max-width: 1080px) {
  #samadi-single-page .samadi-single-layout {
    grid-template-columns: 280px minmax(0, 1fr) !important;
    gap: 22px !important;
  }

  #samadi-single-page .samadi-single-sidebar {
    width: 280px !important;
    max-width: 280px !important;
  }

  #samadi-single-page .samadi-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 860px) {
  #samadi-single-page .samadi-single-container {
    width: min(100% - 28px, 760px) !important;
  }

  #samadi-single-page .samadi-single-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "main"
      "sidebar" !important;
    gap: 22px !important;
    direction: rtl !important;
  }

  #samadi-single-page .samadi-single-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    position: static !important;
    top: auto !important;
  }

  #samadi-single-page .samadi-single-main > .samadi-comment-form-box {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 640px) {
  #samadi-single-page .samadi-single-header {
    padding-top: 18px;
  }

  #samadi-single-page .samadi-single-title h1 {
    font-size: 30px;
  }

  #samadi-single-page .samadi-article-card,
  #samadi-single-page .samadi-related-posts,
  #samadi-single-page .samadi-comments-box,
  #samadi-single-page .samadi-sidebar-card {
    border-radius: 22px;
  }

  #samadi-single-page .samadi-article-card {
    padding: 18px;
  }

  #samadi-single-page .samadi-article-image,
  #samadi-single-page .samadi-article-image img {
    min-height: 220px;
    height: 220px;
  }

  #samadi-single-page .samadi-related-grid,
  #samadi-single-page .samadi-comment-form {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  #samadi-single-page .samadi-comment-form > p {
    grid-column: 1 !important;
  }
}
