/* =========================================================================
   Dose2Cure — Complete Stylesheet
   Theme: Premium Teal & Emerald Green (Matching New Logo)
   Layout: Two-Tier Header, Slick Carousel Banner, Auto-Search
   Type: 'sans-serif' (Headings) · 'Roboto / Verdana' (UI/Body)
   ========================================================================= */

/* Import Roboto Font from Google */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&display=swap');

:root {
  --ink: #1E293B;
  /* Dark Slate for better readability */
  --ink-soft: #64748B;
  /* Soft slate for descriptions */
  --paper: #F8FAFC;
  /* Very subtle cool background */
  --paper-raised: #FFFFFF;
  --sand: #E2E8F0;

  /* NEW LOGO COLORS */
  --sage-dark: #0D7A7F;
  /* Deep Teal (From "Dose" & "Cure") - Main Theme */
  --sage: #095C5F;
  /* Hover Teal */

  --clay: #10B981;
  /* Vibrant Emerald Green (From "2") - Action Buttons */
  --clay-dark: #059669;
  /* Hover Green */

  --gold: #F5A623;
  /* Flame Orange (From logo flame) - For stars & highlights */

  --line: rgba(13, 122, 127, 0.15);
  /* Borders tinted with brand color */
  --line-soft: rgba(13, 122, 127, 0.05);
  --white: #FFFFFF;
  --danger: #EF4444;

  /* Typography */
  /* Typography */
  --font-display: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-ui: 'Roboto', Verdana, sans-serif;

  /* Radii & Shadows */
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 22px;
  --shadow-card: 0 4px 12px rgba(13, 122, 127, 0.08), 0 2px 4px rgba(13, 122, 127, 0.04);
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  line-height: 1.12;
  font-weight: 700;
}

p {
  margin: 0;
}

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

:focus-visible {
  outline: 2px solid var(--sage-dark);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* -------------------------------------------------------------------------
   Brand & Logo
   ------------------------------------------------------------------------- */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
}

.brand-logo {
  max-width: 100%;
  max-height: 75px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--sage-dark);
  color: var(--paper-raised);
}

.btn-primary:hover {
  background: var(--sage);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--paper-raised);
}

.cart-button {
  padding: 12px 14px;
}

.btn-buy {
  width: 100%;
  background: var(--clay);
  color: var(--white);
  padding: 12px 16px;
}

.btn-buy:hover {
  background: var(--clay-dark) !important;
}

.btn-buy:disabled {
  background: var(--sage-dark);
  color: #fff;
  cursor: not-allowed;
  opacity: 0.7;
}

/* -------------------------------------------------------------------------
   Header (Two-Tier Layout)
   ------------------------------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: var(--paper-raised);
  font-size: 12.5px;
  letter-spacing: 0.5px;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
}

.topbar-note {
  opacity: 0.85;
}

.site-header {
  background: var(--paper-raised);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 24px;
  gap: 30px;
}

.header-search {
  flex-grow: 1;
  max-width: 600px;
  margin: 0 auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}

.header-cart-link:hover {
  color: var(--sage-dark);
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 2px 5px rgba(245, 166, 35, 0.4);
}

/* BOTTOM TIER: Category Nav */
.header-bottom {
  background: var(--sage-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.header-bottom .container {
  padding: 0 24px;
}

.main-nav {
  display: flex;
  justify-content: center;
  width: 100%;
}

.nav-center {
  display: flex;
  gap: 35px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-center li {
  display: inline-block;
  margin: 0 7px;
}

.nav-center a {
  position: relative;
  display: block;
  font-size: 17px;
  font-weight: 400;
  color: #FFFFFF;
  padding: 14px 0;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.nav-center a:hover {
  opacity: 1;
}

.nav-center a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 12px;
  width: 0;
  height: 1px;
  background: var(--clay);
  transition: width 0.3s ease;
}

.nav-center a:hover::after,
.nav-center a[aria-current="page"]::after {
  width: 100%;
}

.nav-center a[aria-current="page"] {
  opacity: 1;
}

.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--paper-raised);
  align-items: center;
  justify-content: center;
}

.hamburger span,
.hamburger::before,
.hamburger::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.hamburger::before {
  transform: translateY(-6px);
  position: absolute;
}

.hamburger::after {
  transform: translateY(6px);
  position: absolute;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper-raised);
  padding: 18px 24px 24px;
}

.mobile-panel.is-open {
  display: block;
}

.mobile-panel ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-panel a {
  display: block;
  padding: 10px 4px;
  font-size: 16px;
  border-bottom: 1px solid var(--line-soft);
}

.mobile-panel .btn {
  margin-top: 14px;
  width: 100%;
  text-align: center;
}

/* -------------------------------------------------------------------------
   Search Bar & Suggestions
   ------------------------------------------------------------------------- */
.search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.header-search .search-input {
  width: 100%;
  padding: 12px 45px 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 15px;
  color: var(--ink);
  transition: all 0.3s ease;
}

.header-search .search-input:focus {
  background: #fff;
  border-color: var(--sage-dark);
  box-shadow: 0 0 0 3px rgba(13, 122, 127, 0.1);
}

.mobile-search {
  width: 100%;
}

.mobile-search .search-input {
  width: 100%;
  padding: 10px 40px 10px 15px;
  border-radius: var(--radius-s);
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 15px;
  color: var(--ink);
}

.mobile-search .search-input:focus {
  border-color: var(--sage-dark);
}

.search-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-soft);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.search-btn:hover {
  color: var(--sage-dark);
}

.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  margin-top: 6px;
  max-height: 320px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(13, 122, 127, 0.12);
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
  transition: background 0.15s ease;
  text-align: left;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover {
  background: var(--paper);
}

.suggestion-item img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line-soft);
}

.suggestion-details {
  display: flex;
  flex-direction: column;
}

.suggestion-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 3px;
}

.suggestion-cat {
  font-size: 11px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* -------------------------------------------------------------------------
   Slick Carousel Hero Banner Section (Image-Only)
   ------------------------------------------------------------------------- */
.hero-banner-section {
  padding: 30px 0 15px 0;
  background-color: var(--paper);
}

.hero-slider {
  margin-bottom: 0;
}

.hero-slider .slick-slide {
  outline: none;
}

.banner-link {
  display: block;
  width: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: var(--radius-m);
}

.full-width-banner {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-m);
  object-fit: cover;
}

.hero-slider .slick-prev {
  left: 15px;
  z-index: 10;
}

.hero-slider .slick-next {
  right: 15px;
  z-index: 10;
}

.hero-slider .slick-prev:before,
.hero-slider .slick-next:before {
  color: var(--sage-dark);
  font-size: 30px;
  opacity: 0.8;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-slider .slick-prev:hover:before,
.hero-slider .slick-next:hover:before {
  color: var(--clay);
  opacity: 1;
}

.hero-slider .slick-dots {
  bottom: -35px;
}

.hero-slider .slick-dots li button:before {
  font-size: 14px;
  color: var(--sage-dark);
  opacity: 0.3;
}

.hero-slider .slick-dots li.slick-active button:before {
  color: var(--clay);
  opacity: 1;
}

/* -------------------------------------------------------------------------
   Section shell
   ------------------------------------------------------------------------- */
.section {
  padding: 30px 0;
}

.section-tight {
  padding: 44px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: clamp(26px, 3vw, 34px);
}

.section-head p {
  margin-top: 8px;
  color: var(--ink-soft);
  max-width: 52ch;
}

.section-link {
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  white-space: nowrap;
}

.payment-icons {
  padding-bottom: 1rem;
}

/* ==========================================================================
   Categories — Modern Featured Card Design
   ========================================================================== */
.categories-section {
  background: var(--paper);
  position: relative;
  overflow: hidden;
}

.category-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--sage-dark);
  text-transform: uppercase;
}

.categories-section .section-head {
  margin-bottom: 34px;
}

.categories-section .section-head h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  letter-spacing: -0.02em;
}

.categories-section .section-head p {
  margin-top: 10px;
  font-size: 15px;
}

.categories-section .section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 0;
  padding-bottom: 4px;
}

.categories-section .section-link span {
  font-size: 18px;
  transition: transform 0.25s ease;
}

.categories-section .section-link:hover span {
  transform: translateX(5px);
}

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

.category-card {
  position: relative;
  min-height: 270px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 15px;
  background: var(--sage-dark);
  isolation: isolate;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(13, 122, 127, 0.05), 0 12px 30px rgba(13, 122, 127, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.category-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 4px 8px rgba(13, 122, 127, 0.08), 0 22px 45px rgba(13, 122, 127, 0.16);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  z-index: -2;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.35s ease;
}

.category-card:hover img {
  transform: scale(1.08);
  filter: saturate(1.08);
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(13, 122, 127, 0.02) 25%, rgba(13, 122, 127, 0.12) 45%, rgba(6, 58, 60, 0.82) 100%);
  transition: background 0.35s ease;
}

.category-card:hover::before {
  background: linear-gradient(180deg, rgba(13, 122, 127, 0.05) 20%, rgba(13, 122, 127, 0.18) 45%, rgba(6, 58, 60, 0.88) 100%);
}

.category-card span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: left;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.category-card span::after {
  content: "↗";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 400;
  opacity: 0;
  transform: translate(-5px, 5px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.category-card:hover span::after {
  opacity: 1;
  transform: translate(0, 0);
  background: rgba(255, 255, 255, 0.12);
}

.category-grid .category-card:nth-child(4) {
  display: none;
}



/* -------------------------------------------------------------------------
   Product grid & card
   ------------------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease;
}

.product-card:hover {
  box-shadow: var(--shadow-card);
}

.product-media {
  position: relative;
  aspect-ratio: 1;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--sage-dark);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
}

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

.product-category {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sage-dark);
  font-weight: 600;
}

.product-name {
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.3;
}



.price-row {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 2px;
}

.price-current {
  font-size: 19px;
  font-weight: 700;
}

.price-old {
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: line-through;
}

.attr-group {
  margin-top: 4px;
}

.attr-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
  display: block;
}

.attr-select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius-s);
  padding: 9px 12px;
  font-size: 13.5px;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.attr-select:hover {
  border-color: var(--sage-dark);
}

.attr-select:focus-visible {
  border-color: var(--sage-dark);
  outline: none;
}

.attr-select option:disabled {
  color: var(--ink-soft);
  opacity: 0.5;
}

.selected-summary {
  font-size: 12.5px;
  color: var(--ink-soft);
  min-height: 18px;
}

.selected-summary strong {
  color: var(--ink);
}

.selected-summary.is-warning {
  color: var(--danger);
  font-weight: 600;
}

.product-footer {
  margin-top: auto;
  padding-top: 0px;
  display: flex;
  gap: 10px;
}

/* =========== Detail Page ============ */
.product-detail-container {
  max-width: var(--max-width);
  margin: 60px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.product-detail-image img {
  width: 100%;
  border-radius: var(--radius-m);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
  object-fit: contain;
}

/* -------------------------------------------------------------------------
   Promotional Image Banner
   ------------------------------------------------------------------------- */
.promo-banner-section {
  padding: 40px 0 60px 0;
}

.promo-banner-link {
  display: block;
  width: 100%;
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(13, 122, 127, 0.08);
  /* Halka sa teal shadow */
  background-color: var(--paper-raised);
}



.promo-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-m);
}

/* Mobile Responsiveness for Promo Banner */
@media (max-width: 767px) {
  .promo-banner-section {
    padding: 20px 0 40px 0;
  }

  .promo-banner-link,
  .promo-banner-img {
    border-radius: var(--radius-s);
    /* Mobile par thode kam round corners */
  }
}

.product-detail-info h1 {
  font-size: 32px;
  color: var(--sage-dark);
  margin-bottom: 5px;
}

.product-detail-info .category {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--sage-dark);
  font-weight: bold;
  margin-bottom: 15px;
  display: inline-block;
}

.product-detail-info .price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 15px;
}

.product-detail-info .price-current {
  font-size: 26px;
  font-weight: bold;
  color: var(--ink);
}

.product-detail-info .price-old {
  font-size: 18px;
  color: var(--ink-soft);
  text-decoration: line-through;
}

.product-detail-info .desc {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 30px;
}

.detail-attr-group {
  margin-bottom: 20px;
}

.detail-attr-group label {
  display: block;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--ink);
}

.detail-attr-group select {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-s);
  border: 1px solid var(--line);
  font-size: 15px;
  background: var(--paper);
}

.detail-attr-group select:focus {
  border-color: var(--sage-dark);
  outline: none;
}

.detail-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.detail-actions button {
  flex: 1;
  padding: 15px;
  font-size: 16px;
  border-radius: 999px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
  border: none;
}

.detail-actions .btn-add-cart {
  background: transparent;
  border: 2px solid var(--sage-dark);
  color: var(--sage-dark);
}

.detail-actions .btn-add-cart:hover {
  background: var(--sage-dark);
  color: #fff;
}

.detail-actions .btn-buy-now {
  background: var(--clay);
  color: #fff;
}

.detail-actions .btn-buy-now:hover {
  background: var(--clay-dark);
}

.detail-actions button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* -------------------------------------------------------------------------
   Benefits & Promo
   ------------------------------------------------------------------------- */
.benefits {
  background: var(--sand);
}

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

.benefit-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.benefit-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--sage-dark);
  color: var(--paper-raised);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.benefit-card h3 {
  font-size: 15.5px;
  font-weight: 700;
}

.benefit-card p {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 4px;
}


/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding: 56px 0 32px;
}

.footer-brand .brand {
  color: var(--paper-raised);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13.5px;
  max-width: 32ch;
}

.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--paper-raised);
  margin-bottom: 14px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a {
  font-size: 13.5px;
}

.footer-col a:hover {
  color: var(--paper-raised);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
}

/* -------------------------------------------------------------------------
   Listing page header
   ------------------------------------------------------------------------- */
.page-head {
  background: var(--sand);
  padding: 40px 0;
}

.page-head h1 {
  font-size: clamp(28px, 3.4vw, 38px);
}

.page-head p {
  margin-top: 8px;
  color: var(--ink-soft);
  max-width: 54ch;
}

/* -------------------------------------------------------------------------
   Cart & Checkout Pages
   ------------------------------------------------------------------------- */
.cart-container {
  max-width: 800px;
  margin: 50px auto;
  padding: 0 20px;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-soft);
  padding: 15px 0;
}

.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
  margin-right: 20px;
}

.cart-details {
  flex-grow: 1;
}

.cart-details h3 {
  margin: 0;
  font-size: 18px;
  color: var(--ink);
}

.cart-details p {
  margin: 5px 0 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.cart-price {
  font-weight: bold;
  font-size: 18px;
  color: var(--ink);
  margin-left: 20px;
}

.remove-btn {
  color: var(--danger);
  cursor: pointer;
  font-size: 14px;
  margin-top: 5px;
  border: none;
  background: none;
  text-decoration: underline;
  padding: 0;
}

.cart-totals {
  margin-top: 30px;
  text-align: right;
  font-size: 18px;
}

.checkout-btn {
  display: inline-block;
  margin-top: 20px;
  background: var(--clay);
  color: #fff;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 999px;
  font-weight: bold;
}

.checkout-btn:hover {
  background: var(--clay-dark);
}

.checkout-head {
  padding: 36px 0 8px;
}

.checkout-head h1 {
  font-size: clamp(26px, 3vw, 32px);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
  padding: 24px 0 80px;
}

.checkout-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px;
}

.checkout-card+.checkout-card {
  margin-top: 22px;
}

.checkout-card h2 {
  font-size: 18px;
  margin-bottom: 18px;
}

.checkout-section-note {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: -10px;
  margin-bottom: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 13px;
  font-weight: 600;
}

.form-field input {
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 11px 13px;
  font-size: 14.5px;
  background: var(--paper);
  color: var(--ink);
}

.form-field input:focus {
  border-color: var(--sage-dark);
}

.form-field input.has-error {
  border-color: var(--danger);
}

.field-error {
  font-size: 12px;
  color: var(--danger);
  min-height: 15px;
}

.card-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

.place-order-btn {
  margin-top: 6px;
}

.checkout-aside {
  position: sticky;
  top: 96px;
  align-self: start;
}

.summary-product {
  display: flex;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 16px;
}

.summary-product img {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-s);
  object-fit: cover;
  flex-shrink: 0;
}

.summary-product-name {
  font-size: 15.5px;
  font-weight: 600;
}

.summary-attrs {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 4px;
}

.summary-qty {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 6px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 17px;
  font-weight: 700;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
}

.empty-checkout {
  text-align: center;
  padding: 90px 20px;
}

.empty-checkout h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.empty-checkout p {
  color: var(--ink-soft);
  margin-bottom: 22px;
}

/* Order success */
.order-success {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 70px 24px 90px;
}

.success-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--clay);
  color: var(--paper-raised);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 22px;
}

.order-success h1 {
  font-size: 27px;
}

.order-success p {
  color: var(--ink-soft);
  margin-top: 10px;
}

.order-id {
  display: inline-block;
  margin-top: 16px;
  background: var(--sand);
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.success-summary {
  margin-top: 28px;
  text-align: left;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 20px;
}

.success-summary .summary-product {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.success-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.order-success .btn {
  margin-top: 30px;
}

[hidden] {
  display: none !important;
}

/* -------------------------------------------------------------------------
   Responsive Media Queries
   ------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }


  .category-card {
    min-height: 250px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-aside {
    position: static;
  }
}

@media (max-width: 994px) {
  .hamburger {
    display: flex;
  }

  .main-nav,
  .header-bottom {
    display: none !important;
  }

  .header-search.hide-mobile {
    display: none !important;
  }

  .header-main {
    padding: 12px 20px;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 10px 18px;
  }

  .header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 24px !important;
  }

  .topbar-note.hide-mobile {
    display: none;
  }

  .header-actions .btn.btn-outline {
    display: none;
  }

  .cart-button {
    display: inline-flex !important;
  }

  .product-detail-container {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 30px auto;
  }

  .detail-actions {
    flex-direction: column;
  }

  .product-footer {
    flex-direction: column !important;
    gap: 8px !important;
  }

  .product-footer .btn {
    width: 100% !important;
  }

  .hero-banner-section {
    padding: 30px 0 15px 0;
  }

  .full-width-banner {
    border-radius: var(--radius-s);
  }

  .section {
    padding: 44px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .categories-section .section-head {
    margin-bottom: 25px;
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .category-card {
    grid-column: auto;
    min-height: 190px;
    border-radius: 15px;
  }



  .category-card span {
    padding: 16px;
    font-size: 16px;
  }

  .category-card span::after {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .product-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 14px;
  }

  .product-name {
    font-size: 15.5px;
  }

  .price-current {
    font-size: 17px;
  }

  .benefit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .promo {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 24px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .card-row {
    grid-template-columns: 1fr;
  }

  .checkout-card {
    padding: 20px;
  }
}

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

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    grid-column: auto;
    min-height: 220px;
  }

}

/* ==========================================================================
   Premium Cart Page Styles
   ========================================================================== */

/* Two-column Layout */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  /* 1fr for items, 380px for summary */
  gap: 32px;
  align-items: start;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Individual Cart Item Card */
.cart-item-card {
  display: flex;
  gap: 24px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 24px;
  box-shadow: 0 2px 10px rgba(13, 122, 127, 0.03);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.cart-item-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.cart-item-image {
  flex-shrink: 0;
}

.cart-item-image img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: var(--radius-s);
  background: var(--paper);
  padding: 8px;
  border: 1px solid var(--line-soft);
}

.cart-item-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 8px;
}

.cart-item-title {
  font-size: 19px;
  color: var(--sage-dark);
  /* Using theme primary color */
  margin: 0;
  line-height: 1.3;
}

.cart-item-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.cart-item-attrs {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 16px;
  background: var(--sand);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
}

.cart-remove-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: var(--danger);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  margin-left: -12px;
}

.cart-remove-btn:hover {
  background: rgba(239, 68, 68, 0.1);
}

/* Make summary sticky */
.sticky-summary {
  position: sticky;
  top: 100px;
}

/* Responsive Cart */
@media (max-width: 991px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .sticky-summary {
    position: static;
  }
}

@media (max-width: 576px) {
  .cart-item-card {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }

  .cart-item-image {
    text-align: center;
  }

  .cart-item-image img {
    width: 100%;
    max-width: 200px;
    height: auto;
    aspect-ratio: 1;
  }

  .cart-item-header {
    flex-direction: column;
  }

  .cart-item-price {
    margin-top: 8px;
  }

  .cart-remove-btn {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
  }
}

.contact-container {
  max-width: 600px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

.contact-container h1 {
  font-size: 36px;
  color: var(--sage-dark);
  margin-bottom: 10px;
}

.contact-container p {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 40px;
}

.contact-card {
  background: var(--paper-raised);
  padding: 40px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  padding: 15px;
  border-radius: var(--radius-s);
  background: var(--paper);
  border: 1px solid var(--line-soft);
}

.contact-item h3 {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--ink);
}

.contact-item a,
.contact-item span {
  font-size: 15px;
  color: var(--clay);
  font-weight: 600;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.about-simple-container {

  padding: 40px 20px;
  background: var(--paper-raised);
  border-radius: var(--radius-m);
  box-shadow: 0 2px 10px rgba(13, 122, 127, 0.05);
  border: 1px solid var(--line-soft);
}

.about-simple-container p {
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-simple-container p:last-child {
  margin-bottom: 0;
}


.about-simple-container h1 {
  font-size: 32px;
  color: var(--sage-dark);
  margin-bottom: 20px;
  text-align: center;
  border-bottom: 2px solid var(--sand);
  padding-bottom: 10px;
}

.about-simple-container h3 {
  font-size: 20px;
  color: var(--ink);
  margin-top: 30px;
  margin-bottom: 10px;
}

.about-simple-container p,
.about-simple-container li {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 15px;
}

.about-simple-container ul {
  padding-left: 20px;
  list-style-type: disc;
  margin-bottom: 20px;
}

.about-simple-container a {
  color: var(--clay);
  font-weight: 600;
  text-decoration: underline;
}

/* Topbar Ticker with Dividers */
.topbar-ticker-wrap {
  overflow: hidden;
  white-space: nowrap;
  background: var(--ink);
  color: var(--paper-raised);
  font-size: 12.5px;
  letter-spacing: 0.5px;
}

.topbar-ticker-wrap .container {
  display: flex;
  align-items: center;
  height: 36px;
}

.topbar-ticker-track {
  display: inline-block;
  animation: tickerScroll 24s linear infinite;
  font-weight: 500;
}

.topbar-ticker-track span {
  display: inline-block;
  padding-right: 40px;
  /* Dono items ke beech mein gap */
  margin-right: 40px;
  position: relative;
}

/* Divider bar (|) add karne ke liye */
.topbar-ticker-track span:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: 0;
  color: rgba(255, 255, 255, 0.4);
  /* Halka divider color */
}

@keyframes tickerScroll {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.topbar-ticker-wrap:hover .topbar-ticker-track {
  animation-play-state: paused;
}

/* Slick Slider Fixes for #featuredGrid */
#featuredGrid.product-grid {
  display: block !important;
  /* Grid ko block karna taki slick work kare */
}

#featuredGrid .slick-track {
  display: flex !important;

}

#featuredGrid .slick-slide {
  display: flex !important;
  height: inherit !important;
}

#featuredGrid .slick-slide>div {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

#featuredGrid .product-card {
  width: 100% !important;
  flex: 1;
}

/* Featured Slider Arrows Custom Styling (Hero banner jaisi) */
#featuredGrid .slick-prev,
#featuredGrid .slick-next {
  z-index: 10;
}

#featuredGrid .slick-prev:before,
#featuredGrid .slick-next:before {
  color: var(--sage-dark);
  /* Primary Teal Color */
  font-size: 30px;
  opacity: 0.8;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#featuredGrid .slick-prev:hover:before,
#featuredGrid .slick-next:hover:before {
  color: var(--clay);
  opacity: 1;
}

#featuredGrid .slick-list {
  margin: 0 -12px;
  overflow: hidden;
}

#featuredGrid .slick-slide {
  display: flex !important;
  height: inherit !important;
  margin: 0 12px;
}