/* ════════════════════════════════════════════════════════════════
   ADIL'S SIGNATURE KITCHEN — ORGANIC / NATURAL DESIGN SYSTEM
   Loaded AFTER style.css + bootstrap. Overrides toward wabi-sabi:
   earth palette, Fraunces + Nunito, blob shapes, paper grain, soft
   tinted shadows. There are no straight lines in nature.
   ════════════════════════════════════════════════════════════════ */

/* ── 1. DESIGN TOKENS (remap legacy vars to organic palette) ───── */
:root {
  --primary:            #5D7052;   /* Moss Green */
  --primary-fg:         #F3F4F1;   /* Pale Mist */
  --secondary:          #C18C5D;   /* Terracotta / Clay */
  --secondary-fg:       #FFFFFF;
  --accent:             #E6DCCD;   /* Sand */
  --accent-fg:          #4A4A40;   /* Bark */
  --bg:                 #FDFCF8;   /* Rice Paper */
  --fg:                 #2C2C24;   /* Deep Loam */
  --muted:              #F0EBE5;   /* Stone */
  --muted-fg:           #78786C;   /* Dried Grass */
  --border:             #DED8CF;   /* Raw Timber */
  --destructive:        #A85448;   /* Burnt Sienna */

  /* Legacy var aliases used across views */
  --dark:               #2C2C24;
  --green:              #5D7052;
  --cream:              #FDFCF8;
  --cream2:             #F0EBE5;
  --light:              #F4EFE8;
  --shadow:             0 4px 20px -2px rgba(93,112,82,0.15);
  --shadow-lg:          0 10px 40px -10px rgba(193,140,93,0.2);
  --shadow-soft:        0 4px 20px -2px rgba(93,112,82,0.15);
  --shadow-float:       0 10px 40px -10px rgba(193,140,93,0.2);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Nunito', 'Quicksand', sans-serif;

  --r-xl: 16px;
  --r-2xl: 24px;
  --r-3xl: 32px;
}

/* ── 2. GLOBAL: grain, typography, scrollbar ───────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg);
  font-weight: 400;
  line-height: 1.7;
}

/* Global paper grain overlay — fixed, never scrolls, never blocks */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5, h6,
.brand-font {
  font-family: var(--font-display) !important;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
}

h1, .h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.08; font-weight: 700; }
h2, .h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.12; font-weight: 700; }
h3, .h3 { font-size: 1.5rem; }
h4, .h4 { font-size: 1.25rem; }
h5, .h5 { font-size: 1.08rem; }
h6, .h6 { font-size: 1rem; }

p { color: var(--fg); }

a { color: var(--primary); transition: color .25s ease; }
a:hover { color: #4A5C40; }

::selection { background: rgba(93,112,82,.22); }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: #C9C0B2;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ── 3. ORGANIC SHAPE UTILITIES ────────────────────────────────── */
.o-blob {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}
.o-blob-2 {
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}
.o-blob-3 {
  border-radius: 47% 53% 61% 39% / 45% 44% 56% 55%;
}
.o-blob-4 {
  border-radius: 40% 60% 55% 45% / 50% 35% 65% 50%;
}
.o-card {
  border-radius: var(--r-2xl);
}
.o-card-asym {
  border-radius: var(--r-2xl);
  border-top-left-radius: 5rem;
}
.o-card-asym2 {
  border-radius: var(--r-2xl);
  border-bottom-right-radius: 5rem;
}
.o-card-asym3 {
  border-radius: var(--r-2xl);
  border-top-right-radius: 4.5rem;
  border-bottom-left-radius: 4.5rem;
}
.o-rotate-1 { transform: rotate(-2deg); }
.o-rotate-2 { transform: rotate(2deg); }

/* Ambient color blobs (decorative) */
.o-blob-bg {
  position: absolute;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.o-blob-bg--moss  { background: rgba(93,112,82,.22); }
.o-blob-bg--clay  { background: rgba(193,140,93,.20); }
.o-blob-bg--sand  { background: rgba(230,220,205,.55); }

/* ── 4. BOOTSTRAP OVERRIDES ────────────────────────────────────── */

/* Buttons — always pills, organic */
.btn {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .01em;
  padding: .75rem 1.75rem;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
  border-width: 2px;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:active { transform: scale(.97); }
.btn-lg { padding: .95rem 2.25rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem 1.15rem; }

.btn-primary,
.btn-primary-custom {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-fg);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover,
.btn-primary-custom:hover {
  background: #4A5C40;
  border-color: #4A5C40;
  color: #fff;
  box-shadow: 0 6px 24px -4px rgba(93,112,82,.28);
}

.btn-outline-danger {
  border-color: var(--secondary);
  color: var(--secondary);
  background: transparent;
}
.btn-outline-danger:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--secondary-fg);
  box-shadow: var(--shadow-float);
}

.btn-outline-custom,
.btn-outline-secondary {
  border: 2px solid var(--border);
  color: var(--fg);
  background: transparent;
}
.btn-outline-custom:hover,
.btn-outline-secondary:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  background: rgba(193,140,93,.08);
}

.btn-outline-success {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline-success:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-fg);
}

.btn-danger {
  background: var(--destructive);
  border-color: var(--destructive);
  color: #fff;
}
.btn-danger:hover { background: #93483E; border-color: #93483E; }

.btn-success {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-fg);
}
.btn-success:hover { background: #4A5C40; border-color: #4A5C40; }

/* Cards — soft timber border, big radius, moss shadow */
.card {
  border: 1px solid rgba(222,216,207,.6);
  border-radius: var(--r-2xl);
  background: #FEFEFA;
  box-shadow: var(--shadow-soft);
}
.card.shadow-sm { box-shadow: var(--shadow-soft); }
.card-body { padding: 1.5rem; }
.card-title { font-family: var(--font-display); }

/* Forms — pill, translucent, timber border */
.form-control,
.form-select {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.6);
  padding: .75rem 1.25rem;
  color: var(--fg);
  font-family: var(--font-body);
  box-shadow: none;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 .25rem rgba(93,112,82,.14);
  background: #fff;
}
.form-control::placeholder { color: #9A9A8C; }
.form-label { font-weight: 700; color: var(--fg); }
textarea.form-control { border-radius: var(--r-2xl); }

/* Badges */
.badge {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .02em;
}
.badge.bg-danger { background: var(--destructive) !important; }
.badge.bg-success { background: var(--primary) !important; }
.badge.bg-secondary { background: var(--secondary) !important; }
.badge.bg-warning { background: var(--accent) !important; color: var(--accent-fg); }
.badge.bg-primary { background: var(--primary) !important; color: var(--primary-fg); }

/* Alerts */
.alert {
  border-radius: var(--r-2xl);
  border-width: 0;
  box-shadow: var(--shadow-soft);
}
.alert-success { background: #EDF2EA; color: #3F5138; }
.alert-danger { background: #F6E7E3; color: #8C453B; }

/* Accordion */
.accordion-item {
  border: 1px solid rgba(222,216,207,.5);
  border-radius: var(--r-2xl) !important;
  overflow: hidden;
  margin-bottom: .75rem;
}
.accordion-button {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--fg);
  background: #FEFEFA;
  padding: 1.1rem 1.4rem;
  box-shadow: none;
}
.accordion-button:not(.collapsed) {
  background: #F3F1EB;
  color: var(--primary);
  box-shadow: none;
}
.accordion-button:focus { box-shadow: 0 0 0 .25rem rgba(93,112,82,.14); }

/* Modal */
.modal-content {
  border-radius: var(--r-3xl);
  border: 1px solid rgba(222,216,207,.6);
  background: #FEFEFA;
  box-shadow: var(--shadow-lg);
}
.modal-header, .modal-footer { border-color: rgba(222,216,207,.5); }

/* List group */
.list-group-item {
  background: transparent;
  color: var(--fg);
  border-radius: 999px !important;
  padding: .6rem 1rem;
  transition: .25s ease;
}
.list-group-item-action:hover {
  background: var(--muted);
  color: var(--primary);
}
.list-group-item.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-fg);
}

/* Tables */
.table {
  --bs-table-border-color: rgba(222,216,207,.55);
  color: var(--fg);
}
.table thead th {
  font-family: var(--font-display);
  font-weight: 700;
  border-bottom-width: 2px;
  border-color: var(--border);
}
.table-hover tbody tr:hover { background: var(--muted); }

/* Text / background helpers — redirect legacy colors to organic palette */
.text-danger { color: var(--destructive) !important; }
.text-primary { color: var(--primary) !important; }
.text-success { color: var(--primary) !important; }
.bg-light { background: var(--muted) !important; }
.bg-white { background: #FEFEFA !important; }
.bg-danger { background: var(--destructive) !important; }
.bg-primary { background: var(--primary) !important; }
.bg-success { background: var(--primary) !important; }
.text-muted { color: var(--muted-fg) !important; }

/* Breadcrumb */
.breadcrumb-item a { color: var(--primary); }
.breadcrumb-item.active { color: var(--muted-fg); }

/* Pagination */
.page-link {
  border: none;
  color: var(--primary);
  background: transparent;
  border-radius: 999px !important;
  margin: 0 .15rem;
  font-weight: 700;
}
.page-item.active .page-link {
  background: var(--primary);
  color: var(--primary-fg);
}

/* Nav tabs */
.nav-tabs .nav-link {
  border-radius: 999px;
  border: 2px solid transparent;
  color: var(--muted-fg);
  font-weight: 700;
}
.nav-tabs .nav-link.active {
  border-color: var(--primary);
  background: rgba(93,112,82,.08);
  color: var(--primary);
}

/* Dropdowns */
.dropdown-menu {
  border-radius: var(--r-2xl);
  border: 1px solid rgba(222,216,207,.6);
  box-shadow: var(--shadow-float);
  padding: .5rem;
}
.dropdown-item { border-radius: 999px; }
.dropdown-item:hover { background: var(--muted); }

/* ── 5. LEGACY style.css CLASS OVERRIDES ───────────────────────── */

/* Section commons */
section { padding: 84px 0; }
.slbl {
  font-family: var(--font-display) !important;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--secondary);
  display: inline-block;
  background: rgba(193,140,93,.1);
  padding: .2rem 1rem;
  border-radius: 999px;
}
.stitle { color: var(--fg); }
.stitle span { color: var(--primary); }
.sline { background: var(--secondary); height: 3px; border-radius: 999px; width: 64px; }
.sdesc { color: var(--muted-fg); }

/* Buttons (legacy) */
.btn-red {
  background: var(--primary);
  color: var(--primary-fg);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  font-family: var(--font-body);
}
.btn-red:hover {
  background: #4A5C40;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 24px -4px rgba(93,112,82,.28);
}
.btnw {
  background: #fff;
  color: var(--primary);
  border-radius: 999px;
}

/* Hero (legacy home) */
#hero {
  background:
    radial-gradient(60% 55% at 15% 20%, rgba(93,112,82,.10), transparent 60%),
    radial-gradient(50% 45% at 90% 85%, rgba(193,140,93,.14), transparent 60%),
    var(--bg);
}
.htitle { color: var(--fg); }
.htitle .hl { color: var(--primary); }
.htitle .hl::before { background: rgba(93,112,82,.16); }
.hdesc { color: var(--muted-fg); }
.hbadge {
  background: #fff;
  border: 1px solid rgba(222,216,207,.6);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}
.hbadge .hbi { background: var(--primary); color: #fff; }
.hbadge span { color: var(--fg); }
.hstat .snum { font-family: var(--font-display); color: var(--fg); }
.hstat .snum em { color: var(--primary); }
.hstat small { color: var(--muted-fg); }
.sdiv { background: var(--border); }
.hcircle {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  background: radial-gradient(circle at 40% 40%, #F3EEE5, var(--accent));
  box-shadow: var(--shadow-float);
}
.hcircle img { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
.fcard {
  background: #FEFEFA;
  border: 1px solid rgba(222,216,207,.6);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-soft);
}
.fcoi.r { background: rgba(93,112,82,.12); color: var(--primary); }
.fcoi.y { background: rgba(193,140,93,.16); color: var(--secondary); }
.fcoi.g { background: rgba(193,140,93,.16); color: var(--secondary); }
.fcnum { color: var(--fg); }
.fcsm { color: var(--muted-fg); }

/* Marquee */
.mqsec { background: var(--primary); }
.mqitem { color: var(--primary-fg); }

/* Category cards */
#category { background: var(--bg); }
.catcard {
  background: #FEFEFA;
  border: 1px solid rgba(222,216,207,.55);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-soft);
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease, border-color .35s ease;
}
.catcard:hover, .catcard.active {
  transform: translateY(-6px) rotate(-1deg);
  border-color: var(--primary);
  box-shadow: var(--shadow-float);
}
.catimg { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
.catnm { color: var(--fg); }
.catct { color: var(--muted-fg); }

/* Menu / product cards */
#menu, #shop { background: var(--bg); }
.filtbtn {
  border: 2px solid var(--border);
  background: transparent;
  border-radius: 999px;
  color: var(--muted-fg);
  font-family: var(--font-body);
}
.filtbtn.active, .filtbtn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-fg);
  box-shadow: var(--shadow-soft);
}
.mcard, .shop-card {
  background: #FEFEFA;
  border: 1px solid rgba(222,216,207,.55);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-soft);
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease;
}
.mcard:hover, .shop-card:hover {
  transform: translateY(-8px) rotate(-.5deg);
  box-shadow: var(--shadow-float);
}
.mimg { background: var(--muted); }
.mbdg { background: var(--secondary); color: #fff; border-radius: 999px; }
.mbdg.new { background: var(--primary); }
.mbdg.hot { background: var(--accent); color: var(--accent-fg); }
.mhrt {
  background: #fff;
  border: 1px solid rgba(222,216,207,.6);
  color: #A9A9A0;
  box-shadow: var(--shadow-soft);
}
.mhrt:hover { color: var(--secondary); }
.mcat { color: var(--secondary); }
.mtit { font-family: var(--font-display); color: var(--fg); }
.mdesc { color: var(--muted-fg); }
.mprice { color: var(--primary); font-family: var(--font-display); }
.mprice small { color: var(--muted-fg); }
.mstars { color: var(--secondary); }
.madd {
  background: var(--primary);
  color: var(--primary-fg);
  box-shadow: var(--shadow-soft);
}
.madd:hover { background: #4A5C40; color: #fff; }

/* Special offer */
#special {
  background: linear-gradient(140deg, #3F4F38 0%, var(--primary) 100%);
}
.sptitle { color: #fff; }
.sptitle span { color: var(--accent); }
.spdesc { color: rgba(255,255,255,.75); }
.sptag { background: var(--secondary); color: #fff; border-radius: 999px; }
.cditem {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-2xl);
}
.cdnum { font-family: var(--font-display); color: #fff; }
.cdlbl { color: rgba(255,255,255,.6); }
.sppbdg { background: var(--secondary); box-shadow: 0 8px 24px rgba(193,140,93,.45); }

/* Gallery */
#gallery { background: var(--bg); }
.gitem { border-radius: var(--r-2xl); }
.gitem:first-child { border-radius: 40% 60% 55% 45% / 50% 35% 65% 50%; }

/* History / timeline */
#history { background: var(--bg); }
.timeline::before { background: linear-gradient(to bottom, var(--primary), var(--secondary)); }
.tldot { background: var(--primary); border: 4px solid var(--bg); box-shadow: 0 0 0 3px rgba(93,112,82,.25); }
.tlyear { color: var(--secondary); font-family: var(--font-display) !important; font-style: italic; }

/* Chefs */
.chcard {
  background: #FEFEFA;
  border: 1px solid rgba(222,216,207,.55);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-soft);
}
.chcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-float); }
.chimg { background: var(--muted); }
.chrole { color: var(--primary); }

/* Hours */
#hours { background: linear-gradient(135deg, #3F4F38, #4A5C40); }
.hrscard { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-2xl); }
.hrsday { color: rgba(255,255,255,.8); }
.hrstime { color: #fff; }
.hrscta { background: var(--secondary); border-radius: var(--r-2xl); box-shadow: 0 18px 48px rgba(193,140,93,.4); }
.btnw { color: var(--secondary); }

/* Testimonials */
#testimonials { background: var(--bg); }
.tescard {
  background: #FEFEFA;
  border: 1px solid rgba(222,216,207,.55);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-soft);
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease;
}
.tescard:hover { transform: translateY(-5px) rotate(1deg); box-shadow: var(--shadow-float); }
.tesq { color: rgba(193,140,93,.18); font-family: var(--font-display); }
.tess { color: var(--secondary); }
.testxt { color: var(--muted-fg); }
.tesnm { color: var(--fg); }
.tesrl { color: var(--muted-fg); }
.tesauth img { border: 3px solid var(--primary); }

/* Reservation / forms */
#reservation { background: var(--bg); }
.resico {
  background: rgba(93,112,82,.12);
  color: var(--primary);
  border-radius: var(--r-xl);
}
.flbl { color: var(--fg); }
.fctrl {
  border: 2px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.6);
  color: var(--fg);
  font-family: var(--font-body);
}
.fctrl:focus { border-color: var(--primary); box-shadow: 0 0 0 .25rem rgba(93,112,82,.14); }
.fcard {
  background: #FEFEFA;
  border: 1px solid rgba(222,216,207,.6);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-soft);
}
.sucmsg { background: rgba(93,112,82,.08); border-radius: var(--r-xl); }
.sucmsg i, .sucmsg p { color: var(--primary); }

/* Blog */
#blog { background: var(--bg); }
.blcard {
  background: #FEFEFA;
  border: 1px solid rgba(222,216,207,.55);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease;
}
.blcard:hover { transform: translateY(-7px); box-shadow: var(--shadow-float); }
.bltag { color: var(--secondary); }
.bltit a { color: var(--fg); }
.bltit a:hover { color: var(--primary); }
.blmeta { color: var(--muted-fg); }
.blmeta i { color: var(--primary); }
.blmore { color: var(--primary); }

/* Newsletter */
#newsletter { background: linear-gradient(140deg, #3F4F38, var(--primary)); }
.nlw h2 { color: #fff; }
.nlinput { border-radius: 999px; font-family: var(--font-body); }
.nlbtn { background: var(--secondary); color: #fff; border-radius: 999px; font-family: var(--font-body); }
.nlbtn:hover { box-shadow: 0 6px 18px rgba(193,140,93,.4); }

/* Contact */
#contact-section { background: var(--bg); }
.ctdark {
  background: linear-gradient(150deg, #3F4F38, var(--primary));
  border-radius: var(--r-3xl);
  box-shadow: var(--shadow-lg);
}
.ctdark h4 { color: #fff; }
.cticon { background: rgba(255,255,255,.14); color: var(--accent); border-radius: var(--r-xl); }
.ctinfo strong { color: rgba(255,255,255,.65); }
.ctinfo span { color: #fff; }
.ctsocrow a { background: rgba(255,255,255,.1); color: #fff; border-radius: 999px; }
.ctsocrow a:hover { background: var(--secondary); }

/* Footer */
footer {
  background: #232821;
  padding: 76px 0 0;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.fnm { font-family: var(--font-display); color: #fff; }
.fnm span { color: var(--accent); }
.fdesc { color: rgba(255,255,255,.6); }
.fsoc a { background: rgba(255,255,255,.07); color: rgba(255,255,255,.75); border-radius: 999px; }
.fsoc a:hover { background: var(--secondary); color: #fff; transform: translateY(-3px); }
.ftit { color: #fff; border-bottom: 2px solid var(--secondary); font-family: var(--font-display); }
.flinks a { color: rgba(255,255,255,.62); }
.flinks a:hover { color: var(--accent); }
.flinks a i { color: var(--secondary); }
.fciico { background: rgba(193,140,93,.18); color: var(--accent); border-radius: 999px; }
.fciinfo { color: rgba(255,255,255,.62); }
.fciinfo strong { color: rgba(255,255,255,.85); }
.fbot { border-top: 1px solid rgba(255,255,255,.08); }
.fbot p { color: rgba(255,255,255,.5); }
.fbot span { color: var(--accent); }
.fbot a { color: rgba(255,255,255,.5); }

/* Utilities: back-to-top + floating cart */
#btt {
  background: var(--primary);
  color: var(--primary-fg);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  width: 48px;
  height: 48px;
}
#btt:hover { background: #4A5C40; color: #fff; }
.cartfl {
  background: var(--secondary);
  color: #fff;
  border-radius: 999px;
  box-shadow: var(--shadow-float);
}
.cartfl .ccount { background: var(--primary); color: var(--primary-fg); }

/* Search overlay */
#searchOv { background: rgba(253,252,248,.97); backdrop-filter: blur(8px); }
.sovbox h4 { color: var(--fg); font-family: var(--font-display); }
.sovclose { background: rgba(93,112,82,.1); color: var(--fg); border-radius: 999px; }
.sovclose:hover { background: var(--primary); color: #fff; }
.sovinput {
  border: 2px solid var(--border);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.sovinput input { color: var(--fg); font-family: var(--font-body); }
.sovinput input::placeholder { color: #9A9A8C; }
.sovinput button { background: var(--primary); color: var(--primary-fg); border-radius: 0 999px 999px 0; }
.sovinput button:hover { background: #4A5C40; }
.sovcat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted-fg);
  font-family: var(--font-body);
}
.sovcat:hover, .sovcat.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Menu popup (product modal) */
#menuPop { background: rgba(44,44,36,.45); backdrop-filter: blur(4px); }
.mptag { background: var(--muted); color: var(--primary); border-radius: 999px; }

/* ── 6. ORGANIC COMPONENTS FOR REDESIGNED PAGES ────────────────── */

/* Floating pill navigation */
.nav-organic {
  position: sticky;
  top: 16px;
  z-index: 990;
  margin-top: 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(222,216,207,.7);
  box-shadow: var(--shadow-soft);
  transition: box-shadow .4s ease, transform .4s ease;
}
.nav-organic.scrolled {
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 8px 32px -8px rgba(93,112,82,.22);
}
.nav-organic .navbar-brand { margin-left: 4px; }
.nav-organic .navbar-nav .nav-link {
  color: var(--fg) !important;
  font-weight: 700;
  font-size: .92rem;
  padding: .55rem 1rem !important;
  border-radius: 999px;
  position: relative;
}
.nav-organic .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--secondary);
  border-radius: 999px;
  transition: width .3s ease;
}
.nav-organic .navbar-nav .nav-link:hover,
.nav-organic .navbar-nav .nav-link.active {
  color: var(--primary) !important;
}
.nav-organic .navbar-nav .nav-link:hover::after,
.nav-organic .navbar-nav .nav-link.active::after { width: 55%; }
.nav-organic .navbar-toggler {
  border: none;
  color: var(--primary);
  font-size: 1.4rem;
}
.nav-organic .nav-cta {
  background: var(--primary);
  color: var(--primary-fg) !important;
  border-radius: 999px;
  padding: .55rem 1.4rem !important;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}
.nav-organic .nav-cta:hover { background: #4A5C40; color: #fff !important; transform: translateY(-2px); }
.nav-organic .nav-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(222,216,207,.7);
  background: rgba(255,255,255,.6);
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: .3s ease;
}
.nav-organic .nav-icon-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.nav-organic .cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--secondary);
  color: #fff;
  font-size: .62rem;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* logo mark */
.o-logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  background: var(--primary);
  color: var(--primary-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-soft);
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.navbar-brand:hover .o-logo-mark { transform: rotate(-8deg) scale(1.05); }
.o-logo-name { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--fg); line-height: 1.05; }
.o-logo-name span { color: var(--secondary); }
.o-logo-sub {
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--muted-fg);
  font-weight: 700;
}

/* Page hero (inner pages) */
.o-page-hero {
  position: relative;
  padding: 96px 0 64px;
  overflow: hidden;
  background:
    radial-gradient(55% 50% at 12% 0%, rgba(93,112,82,.12), transparent 60%),
    radial-gradient(45% 40% at 90% 100%, rgba(193,140,93,.12), transparent 60%),
    var(--bg);
}
.o-page-hero .o-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--secondary);
  background: rgba(193,140,93,.1);
  padding: .25rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.o-page-hero h1 { margin-bottom: .5rem; }
.o-page-hero p.lead { color: var(--muted-fg); max-width: 56ch; }

/* Feature/benefit icon chips */
.o-chip {
  width: 56px;
  height: 56px;
  border-radius: 40% 60% 55% 45% / 50% 35% 65% 50%;
  background: rgba(93,112,82,.12);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: .4s ease;
}
.o-card:hover .o-chip { background: var(--primary); color: var(--primary-fg); transform: rotate(-6deg); }

/* Organic stats */
.o-stat .o-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--primary);
  line-height: 1;
}
.o-stat small { color: var(--muted-fg); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; font-size: .7rem; }

/* Commerce summary card */
.summary-card {
  background: #FEFEFA;
  border: 1px solid rgba(222,216,207,.6);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-soft);
  padding: 1.75rem;
  position: sticky;
  top: 110px;
}
.cart-table td { vertical-align: middle; }
.cart-table img { border-radius: var(--r-xl); }
.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}
.form-check-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 .25rem rgba(93,112,82,.14);
}
.form-check {
  border-radius: var(--r-xl);
  border-color: rgba(222,216,207,.6) !important;
  background: rgba(255,255,255,.5);
}

/* Wishlist product cards */
.product-card {
  background: #FEFEFA;
  border: 1px solid rgba(222,216,207,.55);
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease;
}
.product-card:hover { transform: translateY(-8px) rotate(-.5deg); box-shadow: var(--shadow-float); }
.product-img-wrapper { height: 220px; overflow: hidden; }
.product-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.16,1,.3,1); }
.product-card:hover .product-img-wrapper img { transform: scale(1.06); }
.product-body { padding: 1.25rem; display: flex; flex-direction: column; flex-grow: 1; }
.product-title { font-size: 1.05rem; font-family: var(--font-display); font-weight: 700; }
.product-title a { color: var(--fg); text-decoration: none; }
.product-title a:hover { color: var(--primary); }
.product-price { font-family: var(--font-display); font-weight: 700; color: var(--primary); font-size: 1.25rem; margin: .5rem 0 1rem; }

/* Rotated product image frame */
.o-img-frame {
  border-radius: 40% 60% 55% 45% / 50% 35% 65% 50%;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(222,216,207,.7);
  box-shadow: var(--shadow-float);
  transform: rotate(-2deg);
  overflow: hidden;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.o-img-frame:hover { transform: rotate(0deg) scale(1.01); }
.o-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40% 60% 55% 45% / 50% 35% 65% 50%;
}

/* Section label (organic eyebrow) */
.o-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--secondary);
  font-size: 1.05rem;
}

/* Pricing highlight */
.o-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
}
.o-price-old { color: var(--muted-fg); text-decoration: line-through; }

/* Divider blobs / section accent */
.o-dot-divider {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.o-dot-divider::before,
.o-dot-divider::after {
  content: "";
  height: 2px;
  flex: 1;
  max-width: 60px;
  background: var(--border);
  border-radius: 999px;
}
.o-dot-divider span {
  width: 10px;
  height: 10px;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  background: var(--secondary);
}

/* ── 7. RESPONSIVE / REDUCED MOTION ────────────────────────────── */

/* Image safety — prevent CLS and overflow, keep natural aspect ratio */
img { max-width: 100%; height: auto; }
table { max-width: 100%; }
.o-img-frame img { aspect-ratio: auto; object-fit: cover; }
.o-logo-mark { flex-shrink: 0; }

/* Language switch (EN/BN policy pages) */
.lang-switch {
  display: inline-flex;
  gap: .35rem;
  background: #fff;
  border: 1px solid rgba(222,216,207,.7);
  border-radius: 999px;
  padding: .35rem;
  box-shadow: var(--shadow-soft);
}
.lang-switch .lang-btn {
  border: none;
  background: transparent;
  padding: .5rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: .9rem;
  color: var(--muted-fg);
  font-family: var(--font-body);
  transition: background .3s ease, color .3s ease, transform .2s ease;
  cursor: pointer;
}
.lang-switch .lang-btn:hover { color: var(--primary); }
.lang-switch .lang-btn.active {
  background: var(--primary);
  color: var(--primary-fg);
}
.bn {
  font-family: 'Noto Sans Bengali', 'Hind Siliguri', 'SolaimanLipi', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.9;
}
.policy-block { display: none; }
.policy-block.active { display: block; }
.policy-lang-hero .en-title,
.policy-lang-hero .bn-title { margin-bottom: 0; }

@media (max-width: 575.98px) {
  section { padding: 60px 0; }
  .o-page-hero { padding: 72px 0 48px; }
  .o-img-frame { transform: none; }
}
@media (max-width: 991.98px) {
  .nav-organic {
    top: 12px;
    margin-top: 12px;
    border-radius: 28px;
  }
  .nav-organic .navbar-collapse {
    background: rgba(255,255,255,.95);
    border-radius: 28px;
    padding: 1rem;
    margin-top: .75rem;
    border: 1px solid rgba(222,216,207,.7);
    box-shadow: var(--shadow-float);
  }
  .nav-organic .navbar-nav .nav-link { padding: .6rem 1rem !important; }
  .summary-card { position: static; }

  /* Shop categories: horizontal scrollable pills on tablet/mobile */
  .shop-cats {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: .5rem;
    padding-bottom: .25rem;
  }
  .shop-cats .list-group-item {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    border: 1px solid rgba(222,216,207,.6) !important;
    border-radius: 999px !important;
    padding: .45rem 1rem !important;
    background: rgba(255,255,255,.7) !important;
  }
  .shop-cats .list-group-item.text-primary,
  .shop-cats .list-group-item:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--primary-fg) !important;
  }
  .shop-cats::-webkit-scrollbar { height: 4px; }
  .shop-cats::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
}

@media (max-width: 767.98px) {
  /* Admin/panel tables scroll horizontally inside cards on phones */
  .card .table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .card .table > thead,
  .card .table > tbody {
    display: table;
    width: 100%;
    min-width: 560px;
  }
  /* Bigger touch targets for small screens */
  .btn { padding: .7rem 1.5rem; }
  .o-stat .o-num { font-size: 2.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .o-img-frame { transform: none; }
  .o-rotate-1, .o-rotate-2 { transform: none; }
}
