/* ==========================================================================
   Modern Furniture — Master Design System (main.css)
   Estd. 1965 · Kolkata, West Bengal
   Enhanced Typography & Navigation Legibility
   ========================================================================== */

:root {
  /* Color Palette - Warm, Elegant, Premium Wood & Natural Tones */
  --bg-page: #faf8f5;
  --bg-card: #ffffff;
  --bg-subtle: #f3ece3;
  --bg-elevated: #ffffff;
  --bg-dark: #1e2520;
  --bg-darker: #151a16;

  --primary: #65371a;
  /* Rich Warm Teak / Mahogany */
  --primary-hover: #4e2911;
  --primary-light: #87502c;
  --primary-subtle: #fbf3ec;

  --accent: #c48c37;
  /* Warm Brass / Gold */
  --accent-hover: #ad7827;
  --accent-light: #f9eedc;

  --forest: #2e4336;
  /* Deep Forest Green */
  --forest-dark: #203126;
  --forest-light: #446050;

  --rose: #b7554a;
  --ink: #231e1a;
  /* High-contrast readable body text */
  --ink-secondary: #423b35;
  --muted: #6e655c;
  /* Secondary text */
  --border: #e4ddd2;
  /* Soft clean border */
  --border-light: #eee7de;
  --border-dark: #37423a;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows & Radius */
  --shadow-xs: 0 1px 3px rgba(35, 30, 26, 0.05);
  --shadow-sm: 0 2px 8px rgba(35, 30, 26, 0.07);
  --shadow-md: 0 6px 18px rgba(35, 30, 26, 0.09);
  --shadow-lg: 0 16px 36px rgba(35, 30, 26, 0.12);
  --shadow-hover: 0 12px 28px rgba(101, 55, 26, 0.15);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 9999px;

  --transition: 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-page);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  /* Upgraded to 16px for optimal legibility */
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

/* ==========================================================================
   Container & Grid System (Row & Column architecture)
   ========================================================================== */

.wrap {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}

/* Flexbox Row-Col System */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-inline: -12px;
}

.row>* {
  box-sizing: border-box;
  padding-inline: 12px;
}

.col {
  flex: 1 0 0%;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

.col-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}

.col-7 {
  flex: 0 0 58.333333%;
  max-width: 58.333333%;
}

.col-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

.col-5 {
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
}

.col-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.col-3 {
  flex: 0 0 25%;
  max-width: 25%;
}

/* CSS Grid Row-Column System */
.grid {
  display: grid;
  gap: 24px;
}

.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

/* Responsive Grid Adjustments */
@media (max-width: 1100px) {
  .grid-cols-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .grid-cols-4,
  .grid-cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .col-8,
  .col-7,
  .col-6,
  .col-5,
  .col-4,
  .col-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 540px) {
  .wrap {
    width: calc(100% - 24px);
  }

  .grid-cols-4,
  .grid-cols-3,
  .grid-cols-2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   Typography & Common UI Elements
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
}

p {
  margin: 0 0 16px;
}

p:last-child {
  margin-bottom: 0;
}

.serif {
  font-family: var(--font-serif);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background-color: currentColor;
  border-radius: 1px;
}

.section-heading {
  margin-bottom: 38px;
}

.section-heading.text-center {
  text-align: center;
}

.section-heading.text-center .eyebrow {
  justify-content: center;
}

.section-heading.text-center .eyebrow::after {
  content: '';
  width: 24px;
  height: 2px;
  background-color: currentColor;
  border-radius: 1px;
}

.section-heading h2 {
  font-size: 40px;
  letter-spacing: -0.5px;
  margin-top: 12px;
}

.section-heading h2 em {
  color: var(--primary);
  font-style: italic;
  font-weight: 500;
}

.section-heading p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  max-width: 600px;
  margin-top: 12px;
}

.section-heading.text-center p {
  margin-inline: auto;
}

.section-heading-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 38px;
}

@media (max-width: 768px) {
  .section-heading h2 {
    font-size: 30px;
  }

  .section-heading p {
    font-size: 15.5px;
  }

  .section-heading-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 28px;
  border-radius: var(--radius-sm);
  background-color: var(--primary);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: #ffffff;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-outline {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.75);
  color: #ffffff;
}

.btn-outline:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-light {
  background-color: var(--bg-card);
  border-color: var(--border);
  color: var(--ink);
}

.btn-light:hover {
  border-color: var(--primary);
  background-color: var(--primary-subtle);
  color: var(--primary);
}

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  border-color: #25d366;
}

.btn-whatsapp:hover {
  background-color: #1ebc59;
  border-color: #1ebc59;
  color: #ffffff;
}

.btn-sm {
  min-height: 42px;
  padding: 0 20px;
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 15px;
  font-weight: 600;
  border-bottom: 2px solid currentColor;
  padding-bottom: 3px;
  transition: all var(--transition);
}

.text-link:hover {
  color: var(--primary-hover);
  gap: 12px;
}

.text-link svg {
  width: 17px;
  height: 17px;
  transition: transform var(--transition);
}

.text-link:hover svg {
  transform: translateX(4px);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

/* ==========================================================================
   Form System & Input Components (Global)
   ========================================================================== */

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

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

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

.form-field label {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-field label span.req {
  color: var(--rose);
  margin-left: 3px;
}

.form-field label span.opt {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  outline: none;
  transition: all var(--transition);
  box-shadow: 0 1px 3px rgba(35, 30, 26, 0.04);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #9c948a;
  font-size: 14.5px;
}

.form-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2365371a' stroke-width='2.2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.form-field textarea {
  min-height: 125px;
  resize: vertical;
  line-height: 1.6;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(101, 55, 26, 0.12);
}

.form-submit-row {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-submit-row .btn {
  width: 100%;
  min-height: 52px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 14px rgba(101, 55, 26, 0.22);
}

.form-submit-row .btn:hover {
  box-shadow: 0 8px 24px rgba(101, 55, 26, 0.3);
  transform: translateY(-2px);
}

.form-trust-notes {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
}

.form-trust-notes span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.form-trust-notes svg {
  width: 17px;
  height: 17px;
  color: var(--forest);
  stroke-width: 2.2;
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.badge-sale {
  background-color: #df4436;
  color: #ffffff;
}

.badge-new {
  background-color: var(--forest);
  color: #ffffff;
}

.badge-gold {
  background-color: var(--accent);
  color: #ffffff;
}

/* Stars */
.star-rating {
  color: #e59819;
  font-size: 14px;
  letter-spacing: 2px;
}

/* ==========================================================================
   Header & Utility Bar (Enhanced Typography)
   ========================================================================== */

.utility-bar {
  background-color: var(--bg-dark);
  color: #e2ded9;
  font-size: 13.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  gap: 16px;
}

.utility-contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.utility-contact a,
.utility-contact span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e5e0da;
  font-size: 13.5px;
  font-weight: 500;
}

.utility-contact a:hover {
  color: #ffffff;
}

.utility-contact svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
  stroke-width: 2;
  flex-shrink: 0;
}

.utility-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.utility-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: #e2ded9;
  border-radius: 50%;
  font-size: 12.5px;
  font-weight: 700;
  transition: all var(--transition);
}

.utility-social a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

/* Main Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: background-color var(--transition), box-shadow var(--transition);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  /* Comfortable header height */
  gap: 28px;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-logo {
  max-width: fit-content;
  height: auto;
  display: block;
}

.brand-logo {
  max-width: 175px;
  height: auto;
  display: block;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(101, 55, 26, 0.25);
}

.brand-mark svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 23px;
  /* Prominent brand title */
  font-weight: 700;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: 0.2px;
}

.brand-name small {
  display: block;
  margin-top: 4px;
  font-family: var(--font-sans);
  font-size: 10.5px;
  /* Legible uppercase sub-branding */
  font-weight: 700;
  letter-spacing: 2.2px;
  color: var(--primary);
  text-transform: uppercase;
}

/* Nav Links - Upgraded Font Size and Spacing */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  position: relative;
  display: inline-block;
  padding: 10px 0;
  color: var(--ink-secondary);
  font-size: 16.5px;
  /* Clear, bold, highly legible navigation font */
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background-color: var(--primary);
  transition: width var(--transition);
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--primary);
}

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

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  color: var(--ink);
  transition: all var(--transition);
}

.icon-button:hover {
  background-color: var(--bg-subtle);
  color: var(--primary);
  border-color: var(--border);
}

.icon-button svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}

.icon-button .count {
  position: absolute;
  top: 3px;
  right: 3px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border-radius: var(--radius-full);
  background-color: var(--primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}

.mobile-toggle {
  display: none;
}

@media (max-width: 1024px) {
  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 15px;
  }
}

@media (max-width: 980px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background-color: #ffffff;
    border-bottom: 3px solid var(--primary);
    box-shadow: var(--shadow-lg);
    padding: 16px 24px 24px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid var(--border-light);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: 16px 0;
    font-size: 17px;
    font-weight: 600;
  }

  .mobile-toggle {
    display: grid;
  }

  .utility-inner {
    justify-content: center;
  }

  .utility-social {
    display: none;
  }
}

@media (max-width: 600px) {
  .utility-contact span:not(:first-child) {
    display: none;
  }

  .brand-name {
    font-size: 19px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }
}

/* ==========================================================================
   Product Card Component (Rows & Columns)
   ========================================================================== */

.product-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #d1c5b8;
}

.product-media {
  position: relative;
  background-color: #eae5de;
  overflow: hidden;
  aspect-ratio: 1 / 1.1;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover .product-media img {
  transform: scale(1.05);
}

.product-badge-wrap {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-actions-bar {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-action-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.product-action-btn:hover {
  background-color: var(--primary);
  color: #ffffff;
  transform: scale(1.08);
}

.product-action-btn.active {
  color: var(--rose);
}

.product-action-btn.active svg {
  fill: currentColor;
}

.product-action-btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.product-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 20px 22px 22px;
}

.product-category {
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 19px;
  /* Clean, readable product name */
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 8px;
  color: var(--ink);
}

.product-desc {
  color: var(--muted);
  font-size: 14.5px;
  /* Legible product description */
  line-height: 1.55;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.product-price {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.product-price del {
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  text-decoration: line-through;
}

.product-card-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.btn-add-cart {
  width: 100%;
  min-height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-subtle);
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.btn-add-cart:hover {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.btn-add-cart svg {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}

/* ==========================================================================
   Category Card Component
   ========================================================================== */

.category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1.15;
  background-color: #dfd7cc;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: block;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.category-card:hover img {
  transform: scale(1.06);
}

.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 12, 0.05) 0%, rgba(20, 16, 12, 0.25) 50%, rgba(20, 16, 12, 0.85) 100%);
  transition: opacity var(--transition);
}

.category-copy {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  color: #ffffff;
}

.category-copy h3 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 5px;
}

.category-copy span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13.5px;
  font-weight: 500;
}

.circle-arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
  transition: all var(--transition);
}

.category-card:hover .circle-arrow {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateX(4px);
}

.circle-arrow svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* ==========================================================================
   Cart Drawer & Overlay
   ========================================================================== */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(22, 18, 14, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.overlay.open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 210;
  display: flex;
  flex-direction: column;
  width: min(460px, 100%);
  height: 100dvh;
  background-color: #ffffff;
  box-shadow: -12px 0 36px rgba(0, 0, 0, 0.16);
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding: 26px;
}

.drawer.open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.drawer-head h2 {
  font-size: 24px;
  margin: 0;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  align-items: center;
}

.cart-item img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background-color: var(--bg-subtle);
}

.cart-item h3 {
  font-size: 16.5px;
  margin: 0 0 4px;
}

.cart-item p {
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 8px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--bg-page);
}

.qty-control button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  transition: background-color var(--transition);
}

.qty-control button:hover {
  background-color: var(--border);
}

.qty-control span {
  min-width: 26px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

.cart-remove {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  align-self: flex-start;
  transition: color var(--transition);
}

.cart-remove:hover {
  color: var(--rose);
}

.drawer-foot {
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.subtotal span:last-child {
  color: var(--primary);
  font-size: 21px;
}

.drawer-foot .btn {
  width: 100%;
}

.drawer-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--muted);
  padding: 40px 20px;
}

.drawer-empty svg {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: var(--primary);
  stroke-width: 1.5;
}

.drawer-empty strong {
  font-family: var(--font-serif);
  font-size: 21px;
  color: var(--ink);
  margin-bottom: 8px;
}

.drawer-empty p {
  font-size: 15px;
  margin-bottom: 22px;
}

/* ==========================================================================
   Quick View Modal
   ========================================================================== */

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 220;
  width: min(840px, calc(100% - 32px));
  max-height: min(88dvh, 720px);
  overflow-y: auto;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  transform: translate(-50%, -46%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal.open {
  transform: translate(-50%, -50%);
  opacity: 1;
  visibility: visible;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
}

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

.quick-layout img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.quick-copy {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quick-copy h2 {
  font-size: 28px;
  margin: 10px 0 12px;
}

.quick-copy p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
}

.quick-copy .price {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin: 16px 0;
}

@media (max-width: 768px) {
  .quick-layout {
    grid-template-columns: 1fr;
  }

  .quick-layout img {
    height: 260px;
    min-height: 260px;
  }

  .quick-copy {
    padding: 24px;
  }
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  max-width: calc(100% - 48px);
  padding: 14px 22px;
  background-color: var(--bg-dark);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  border-left: 4px solid var(--accent);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all var(--transition);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Footer Component
   ========================================================================== */

.footer {
  background-color: var(--bg-dark);
  color: #d1cbc4;
  padding: 76px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 54px;
}

.footer .brand-mark {
  background: var(--primary);
  color: #ffffff;
}

.footer .brand-name {
  color: #ffffff;
}

.footer .brand-name small {
  color: var(--accent);
}

.footer-brand p {
  color: #b5ada4;
  font-size: 15px;
  line-height: 1.65;
  margin: 18px 0 22px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2ded9;
  font-size: 13.5px;
  font-weight: 700;
  transition: all var(--transition);
}

.footer-socials a:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--bg-dark);
}

.footer-col h3 {
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin: 0 0 20px;
}

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

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: #b3aba2;
  font-size: 15px;
  transition: color var(--transition), transform var(--transition);
  display: inline-block;
}

.footer-col a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-contact-info p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #b3aba2;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.footer-contact-info svg {
  width: 17px;
  height: 17px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-newsletter {
  display: flex;
  margin-top: 20px;
}

.footer-newsletter input {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 14px;
  outline: none;
}

.footer-newsletter input:focus {
  border-color: var(--accent);
}

.footer-newsletter button {
  width: 50px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background-color: var(--accent);
  color: var(--bg-dark);
  display: grid;
  place-items: center;
  transition: background-color var(--transition);
}

.footer-newsletter button:hover {
  background-color: var(--accent-hover);
}

.footer-newsletter button svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.2;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #989189;
  font-size: 14px;
  gap: 16px;
}

@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .25);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .3);
}

.whatsapp-float svg {
  width: 33px;
  height: 33px;
  fill: currentColor;
}

.whatsapp-float-label {
  position: absolute;
  right: 70px;
  white-space: nowrap;
  padding: 9px 13px;
  border-radius: 7px;
  background: #fff;
  color: #252525;
  font: 600 13px/1.2 'DM Sans', sans-serif;
  box-shadow: 0 3px 14px rgba(0, 0, 0, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateX(6px);
  transition: .2s ease;
}

.whatsapp-float:hover .whatsapp-float-label,
.whatsapp-float:focus-visible .whatsapp-float-label {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

@media (max-width: 600px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 30px;
    height: 30px;
  }

  .whatsapp-float-label {
    display: none;
  }
}

.d-none {
  display: none !important;
}