@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700&family=Cormorant+Garamond:wght@500;700&family=Noto+Serif+Devanagari:wght@600;700&display=swap");

:root {
  --bg: #f7f1e8;
  --surface: #fffdf8;
  --text: #1f1a17;
  --accent: #c96a1b;
  --accent-dark: #8a4410;
  --gold: #d79a45;
  --line: #e6d9c8;
  --success: #1d6d32;
}

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

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

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  background:
    linear-gradient(rgba(247, 241, 232, 0.78), rgba(247, 241, 232, 0.9)),
    url("Indian_instrument.jpeg"),
    radial-gradient(circle at 85% 20%, rgba(201, 106, 27, 0.14) 0%, transparent 32%),
    radial-gradient(circle at 10% 75%, rgba(215, 154, 69, 0.12) 0%, transparent 27%),
    var(--bg);
  background-size: cover, cover, auto, auto, auto;
  background-position: center, center, center, center, center;
  background-attachment: fixed;
  color: var(--text);
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  margin: 0;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 251, 244, 0.94);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 0.65rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--accent);
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: #000;
  padding: 4px;
}

.brand-text {
  font-family: "Noto Serif Devanagari", "Tiro Devanagari Hindi", serif;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
}

.main-nav {
  display: flex;
  gap: 1.2rem;
}

.main-nav a {
  text-decoration: none;
  color: #3a2a1a;
  font-weight: 600;
  transition: color 0.2s ease;
}

.main-nav a[data-i18n="navAdmin"] {
  display: none !important;
}

.main-nav a:hover {
  color: var(--accent-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 0;
}

.admin-header-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.admin-header-actions.is-visible {
  display: flex;
}

.auth-group {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-width: 0;
}

.lang-switcher {
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  padding: 0.45rem 0.95rem;
  height: 2.2rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.93rem;
  font-weight: 700;
  text-align: left;
  min-width: 0;
  line-height: 1.2;
  cursor: pointer;
  appearance: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.header-actions .auth-btn,
.header-actions .orders-btn,
.header-actions .cart-btn {
  padding: 0.48rem 0.88rem;
  min-height: 2.15rem;
}

.orders-btn {
  font-size: 0.92rem;
  font-weight: 700;
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
}

.cart-btn #cartCount {
  min-width: 1.6rem;
  min-height: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff7ec;
  color: #5a2d0f;
  font-weight: 800;
  padding: 0 0.3rem;
}

.customer-greeting {
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
  color: #3a2a1a;
  display: inline-block;
  font-size: 0.95rem;
  line-height: 1.2;
  flex-shrink: 1;
}

.profile-icon {
  width: 2.25rem;
  min-width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: #3a2a1a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.profile-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: currentColor;
  fill: none;
}

.profile-icon[aria-expanded="true"] {
  background: #fff6ea;
  border-color: var(--accent);
}

.profile-menu {
  position: relative;
  display: inline-flex;
}

.profile-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 160px;
  background: #fffaf3;
  border: 1px solid #e6d3bf;
  border-radius: 12px;
  box-shadow: 0 10px 32px rgba(52, 26, 12, 0.16);
  padding: 0.4rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 50;
}

.profile-dropdown button {
  border: none;
  background: #fff;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  text-align: left;
  font-weight: 700;
  color: #3a2a1a;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.profile-dropdown button:hover {
  background: #fff1dc;
  color: var(--accent-dark);
}

.profile-menu.open .profile-dropdown {
  display: flex;
}

.lang-switcher:focus-visible {
  outline: 2px solid rgba(201, 106, 27, 0.35);
  outline-offset: 2px;
}

.logout-hidden {
  display: none !important;
}

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

.cart-btn,
.orders-btn,
.auth-btn,
.cta,
.filter-btn,
.cart-item button,
.inquiry-form button,
#checkoutBtn,
.close-cart-btn,
.product-card button,
.product-modal-actions button,
.video-form button,
.video-delete {
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.68rem 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.product-card button,
.product-modal-actions button,
#productModalAddToCart {
  font-size: 1.02rem;
  padding: 0.78rem 1.25rem;
  min-width: 0;
  line-height: 1.2;
  letter-spacing: 0.01em;
  background: #c96a1b;
  border: 1px solid #c96a1b;
  box-shadow: 0 6px 14px rgba(201, 106, 27, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-item button {
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem;
  min-width: auto;
  box-shadow: none;
}

.filter-btn {
  padding: 0.45rem 0.9rem;
}

.product-card button:hover,
.product-modal-actions button:hover,
#productModalAddToCart:hover {
  background: #b35d17;
  border-color: #b35d17;
  box-shadow: 0 6px 14px rgba(179, 93, 23, 0.3);
}

.product-card button:active,
.product-modal-actions button:active,
#productModalAddToCart:active {
  background: #9d5314;
  border-color: #9d5314;
  box-shadow: 0 4px 10px rgba(157, 83, 20, 0.28);
}

.product-savings-line {
  font-weight: 700;
  color: var(--accent-dark);
  margin: 0.2rem 0 0.35rem;
}

.cart-btn span {
  display: inline-block;
  min-width: 1.35rem;
  text-align: center;
  background: #fff2e2;
  color: #8a4410;
  border-radius: 999px;
  margin-left: 0.4rem;
  padding: 0.05rem 0.3rem;
}

.customer-greeting {
  font-size: 0.88rem;
  font-weight: 700;
  color: #5a3a21;
  max-width: 170px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero {
  padding: 4rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: stretch;
}

.eyebrow {
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.hero h1 {
  font-size: 2.6rem;
  line-height: 1.05;
}

.hero p {
  max-width: 58ch;
  margin: 1rem 0 1.5rem;
}

.cta {
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(130deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: white;
  padding: 0.78rem 1.2rem;
}

.hero-card {
  background: linear-gradient(135deg, #fffaf2, #f6e6cf);
  border: 1px solid #e4cfb3;
  border-radius: 22px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(68, 41, 20, 0.08);
}

.customer-profile {
  padding: 3rem 0 1rem;
}

.profile-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fffdf9;
  box-shadow: 0 18px 35px rgba(68, 41, 20, 0.09);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}

.profile-text h2 {
  margin: 0;
  font-size: 1.8rem;
}

.profile-text p {
  margin: 0.35rem 0 0;
  color: #6d5140;
}

.profile-details {
  display: grid;
  gap: 0.4rem;
}

.profile-field {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
}

.profile-field span {
  color: #6d5140;
  font-weight: 600;
}

.profile-field strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.profile-edit-btn {
  align-self: flex-end;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-weight: 700;
}

.offers-section {
  padding: 3rem 0;
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.9), rgba(255, 250, 243, 0.6));
}

.offers-section .section-head {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.offers-section .section-head p {
  margin: 0;
  max-width: 640px;
  color: #5f3313;
}

.offer-grid {
  margin-top: 1.5rem;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.offer-card {
  display: flex;
  gap: 0.9rem;
  padding: 1.2rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fffdf8;
  box-shadow: 0 8px 20px rgba(68, 41, 20, 0.06);
}

.offer-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.offer-card h3 {
  margin: 0;
  font-size: 1rem;
}

.offer-card p {
  margin: 0.35rem 0 0;
  color: #5f3313;
  font-size: 0.95rem;
}

.products-section,
.about-section,
.contact-section {
  padding: 3.2rem 0;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn.active,
.filter-btn:hover,
.lang-switcher:hover,
.orders-btn:hover,
.auth-btn:hover,
.cart-btn:hover,
#checkoutBtn:hover,
.inquiry-form button:hover,
.close-cart-btn:hover,
.product-card button:hover,
.product-modal-actions button:hover,
.video-form button:hover,
.video-delete:hover,
.cta:hover {
  transform: translateY(-1px);
  background: var(--accent-dark);
  color: white;
}

.customer-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(23, 15, 9, 0.52);
  z-index: 80;
}

.customer-modal.open {
  display: flex;
}

.customer-modal-card {
  width: min(640px, 96%);
  background: linear-gradient(135deg, #fffaf3 0%, #fff5e3 50%, #fffaf8 100%);
  border: 1px solid rgba(140, 96, 52, 0.18);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 18px 50px rgba(52, 26, 12, 0.18);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.customer-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.customer-modal-head h3 {
  font-size: 1.6rem;
}
.customer-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
  margin-top: 0.5rem;
}

.customer-modal-card .customer-form {
  width: 100%;
}

.hidden {
  display: none !important;
}

.text-link {
  display: inline-block;
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.45rem 0;
}

.text-link:hover {
  color: var(--accent-dark);
}

.register-wrap {
  width: 100%;
}

.customer-hero {
  display: none !important;
}

.mobile-hidden {
  display: none !important;
}

.customer-hero {
  position: relative;
  padding: 1rem;
  border-radius: 14px;
  background: radial-gradient(circle at 20% 20%, rgba(227, 176, 118, 0.18), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(140, 96, 52, 0.2), transparent 35%),
    linear-gradient(145deg, #2f170a, #4a2711 55%, #2f170a);
  color: #fff7eb;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.customer-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  letter-spacing: 0.01em;
}

.customer-hero-title {
  margin: 0.5rem 0 0.7rem;
  font-size: 1.35rem;
  line-height: 1.35;
}

.customer-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.customer-perks li {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.4;
}

.customer-perks li::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #f6d59f;
  box-shadow: 0 0 0 5px rgba(246, 213, 159, 0.15);
}

.customer-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.45rem;
  margin: 0.8rem 0 0.5rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 0.55rem 0.6rem;
}

.stat-value {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 247, 235, 0.8);
}

.customer-quote {
  margin: 0.2rem 0 0;
  font-size: 0.95rem;
  color: rgba(255, 247, 235, 0.9);
  font-style: italic;
}

.customer-auth-grid {
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.customer-form {
  background: #fff;
  border: 1px solid #ecd9c4;
  border-radius: 12px;
  padding: 0.9rem;
  box-shadow: 0 10px 28px rgba(52, 26, 12, 0.08);
}

.customer-form h4 {
  margin: 0 0 0.35rem;
}

.form-footnote {
  margin: 0.35rem 0 0;
  color: #7f6248;
  font-size: 0.88rem;
}

.orders-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(23, 15, 9, 0.52);
  z-index: 85;
}

.orders-modal.open {
  display: flex;
}

.orders-modal-card {
  width: min(520px, 95%);
  background: #fffaf3;
  border: 1px solid rgba(140, 96, 52, 0.18);
  border-radius: 18px;
  padding: 1.1rem;
  box-shadow: 0 16px 40px rgba(52, 26, 12, 0.16);
  max-height: 75vh;
  overflow: hidden;
}

.orders-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.orders-head h3 {
  margin: 0;
}

.orders-empty {
  color: #7f6248;
  margin: 0.3rem 0 0.5rem;
}

.orders-list {
  display: grid;
  gap: 0.75rem;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 0.3rem;
}

.order-card {
  border: 1px solid #ecd9c4;
  border-radius: 14px;
  padding: 0.85rem;
  background: #fff;
  box-shadow: 0 10px 24px rgba(52, 26, 12, 0.08);
}

.order-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.order-id {
  font-weight: 700;
  margin: 0;
}

.order-date {
  margin: 0;
  color: #7f6248;
}

.order-status {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #d9c7b4;
  background: #fff6ea;
  font-size: 0.9rem;
}

.order-items {
  margin: 0.35rem 0;
}

.order-total {
  margin: 0.1rem 0;
  font-weight: 700;
}

.order-ref {
  margin: 0;
  color: #7f6248;
}

.product-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  box-shadow: 0 8px 20px rgba(68, 41, 20, 0.06);
  min-width: 0;
}

.product-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #d8c4a1;
}

.product-card h3 {
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 0.25rem 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  text-align: center;
}

.product-meta {
  color: #7f6248;
  font-size: 0.95rem;
}

.product-bottom {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.price-stack {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.price-row,
.price-subrow {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.price-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7a6047;
}

  .price-label.muted {
  letter-spacing: 0.08em;
  text-transform: none;
}

.price {
  font-weight: 700;
  color: var(--accent);
}

.price.deal {
  color: var(--success);
}

.price-original {
  color: #6d4c2d;
  text-decoration: line-through;
  text-decoration-style: dashed;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1.6px;
}

.price-pct {
  color: var(--success);
  font-weight: 700;
}

.price-savings {
  font-size: 0.95rem;
  color: var(--success);
  font-weight: 600;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.videos-section {
  padding: 3.2rem 0;
}

.videos-intro {
  margin: 0.6rem 0 1rem;
  color: #6d5140;
}

.video-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.7rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem;
  margin-bottom: 0.7rem;
}

.video-form label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-weight: 600;
}

.video-form input {
  border: 1px solid #d8c2a6;
  background: #fff9f1;
  color: #2a1e16;
  border-radius: 10px;
  padding: 0.55rem;
  font: inherit;
}

.video-form button {
  align-self: end;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.video-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.7rem;
  box-shadow: 0 8px 20px rgba(68, 41, 20, 0.06);
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #20170f;
  display: block;
}

.video-card p {
  margin: 0.6rem 0 0.2rem;
  font-weight: 700;
  color: #5f3313;
}

.product-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(23, 15, 9, 0.55);
  z-index: 90;
}

.product-modal.open {
  display: flex;
}

.product-modal-card {
  width: min(860px, 100%);
  max-height: 86vh;
  background: #fffaf3;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.product-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.product-modal-head h3 {
  font-size: 1.6rem;
}

.product-modal-meta {
  margin: 0.3rem 0 0.8rem;
  color: #6d5140;
  font-weight: 600;
}

.product-media-list {
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.6rem;
  background: #fffdf9;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.product-media-list img,
.product-media-list video {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #dac4a8;
  background: #20170f;
}

.modal-product-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(260px, 0.9fr);
  gap: 1rem;
  align-items: start;
}

.modal-gallery {
  display: grid;
  gap: 0.6rem;
}

.modal-main img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #e4d6c6;
  background: #fff;
}

.modal-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.modal-thumbs .modal-thumb {
  flex: 0 0 auto;
  border: 1px solid #dcd1c5;
  border-radius: 8px;
  padding: 0;
  background: #fff;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.modal-thumbs .modal-thumb.active {
  border-color: #8a6a39;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.modal-thumbs .modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.modal-thumbs .modal-thumb:hover {
  border-color: #b77f3d;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.modal-main {
  position: relative;
  background: #fffdf9;
  border-radius: 12px;
  border: 1px solid #e2d3c2;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-maker-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0.5rem;
  background: linear-gradient(180deg, rgba(19, 11, 6, 0) 35%, rgba(19, 11, 6, 0.8));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-main:hover .modal-maker-overlay,
.modal-main:focus-within .modal-maker-overlay {
  opacity: 1;
}

.modal-maker-cta {
  pointer-events: auto;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: #2b1a12;
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.modal-maker-cta:focus-visible {
  outline: 2px solid #b47b35;
  outline-offset: 2px;
}

.modal-maker-icon {
  font-size: 0.95rem;
}

.modal-main img {
  width: 100%;
  height: auto;
  transition: transform 0.15s ease;
  transform-origin: center center;
  cursor: grab;
}

.modal-main img:active {
  cursor: grabbing;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: #2b1a12;
  font-size: 1.8rem;
  line-height: 1;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.modal-nav:hover {
  background: #fff;
}

.modal-nav-prev {
  left: 0.75rem;
}

.modal-nav-next {
  right: 0.75rem;
}

.modal-zoom-controls {
  position: absolute;
  bottom: 0.65rem;
  right: 0.65rem;
  display: flex;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 0.25rem 0.4rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.modal-zoom-btn {
  border: none;
  background: transparent;
  font-weight: 700;
  color: #372714;
  cursor: pointer;
  padding: 0 0.45rem;
  font-size: 1rem;
  border-radius: 999px;
}

.modal-zoom-btn:focus-visible {
  outline: 2px solid #7b5a33;
}

.modal-zoom-btn:hover {
  color: #8a6a39;
}

.modal-gallery .modal-thumbs::-webkit-scrollbar {
  height: 6px;
}

.modal-gallery .modal-thumbs::-webkit-scrollbar-thumb {
  background: #a98e73;
  border-radius: 999px;
}

.modal-thumb {
  border: 1px solid #e4d6c6;
  border-radius: 10px;
  padding: 0.15rem;
  background: #fff;
  cursor: pointer;
  min-width: 64px;
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-thumb.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(201, 106, 27, 0.15);
}

.modal-thumb img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

.modal-details {
  display: grid;
  gap: 0.5rem;
  background: radial-gradient(circle at top right, rgba(255, 204, 153, 0.25), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(255, 204, 153, 0.6);
  border-radius: 14px;
  padding: 0.9rem 1rem 1rem;
  box-shadow: 0 15px 40px rgba(15, 8, 4, 0.2);
  position: relative;
  overflow: hidden;
}

.modal-details::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.55), transparent 55%);
  pointer-events: none;
  opacity: 0.9;
}

.modal-details > * {
  position: relative;
}

.modal-price {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
}

.modal-savings {
  margin: 0;
  color: var(--success);
  font-weight: 700;
}

.modal-category {
  margin: 0;
  color: #7f6248;
  font-weight: 600;
}

.modal-desc {
  margin: 0;
  color: #5a3a21;
  line-height: 1.6;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  font-style: italic;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.6);
  display: block;
}

.modal-desc::before {
  content: "Crafting note";
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #b07b36;
  margin-bottom: 0.25rem;
}

.product-modal-actions {
  margin-top: 0.8rem;
  display: flex;
  justify-content: flex-end;
}

.video-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.video-delete {
  padding: 0.3rem 0.7rem;
  font-size: 0.86rem;
}

.about-section {
  position: relative;
  overflow: hidden;
  background: url("Indian_instrument.jpeg") center/cover no-repeat;
}

.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(247, 241, 232, 0.8), rgba(247, 241, 232, 0.86));
}

.about-section .container {
  position: relative;
  z-index: 1;
}

.about-note {
  border: 1px solid var(--line);
  border-left: 6px solid var(--gold);
  background: var(--surface);
  padding: 1.2rem;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(68, 41, 20, 0.06);
}

.inquiry-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  box-shadow: 0 8px 20px rgba(68, 41, 20, 0.06);
}

.inquiry-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-weight: 600;
}

.inquiry-form input,
.inquiry-form textarea {
  border: 1px solid #d8c2a6;
  background: #fff9f1;
  color: #2a1e16;
  border-radius: 10px;
  padding: 0.6rem;
  font: inherit;
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: #8b7058;
  opacity: 1;
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  width: 100%;
  padding-right: 2.6rem;
}

.inquiry-form .password-toggle {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #7b522f;
  width: 1.8rem;
  height: 1.8rem;
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 999px;
  z-index: 2;
}

.inquiry-form .password-toggle:hover {
  background: rgba(201, 106, 27, 0.08);
  color: #8a4410;
  transform: translateY(-50%);
}

.password-eye {
  width: 1.2rem;
  height: 1.2rem;
  pointer-events: none;
}

.password-eye-slash {
  display: none;
}

.inquiry-form .password-toggle.is-visible .password-eye-slash {
  display: block;
}

.form-status {
  min-height: 1.1rem;
}
.customer-auth-status {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  color: #a22300;
  font-weight: 600;
  text-align: left;
}

.cart-panel {
  position: fixed;
  right: -640px;
  top: 72px;
  height: calc(100% - 72px);
  width: min(620px, 98%);
  background: #ffffff;
  border-left: 1px solid #e4d6c6;
  box-shadow: -14px 0 32px rgba(34, 20, 12, 0.14);
  display: flex;
  flex-direction: column;
  transition: right 0.25s ease;
  z-index: 20; /* keep below sticky header (header z-index:30) */
}

.cart-alert {
  color: #c26911;
  font-weight: 700;
  margin: 0;
  padding: 0 1.1rem 0.35rem;
  font-size: 0.95rem;
}

.cart-panel.open {
  right: 0;
}

.cart-header,
.cart-footer {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid #e8d8c6;
  background: #fff8ef;
}

.cart-footer p {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.cart-savings {
  margin-top: 0.4rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(29, 109, 50, 0.25);
  background: rgba(29, 109, 50, 0.08);
  color: var(--success);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  line-height: 1.4;
}

.cart-savings-label {
  font-weight: 700;
}

.cart-savings-dot {
  color: rgba(29, 109, 50, 0.6);
}

.cart-savings-amount {
  font-weight: 700;
}

.cart-savings-note {
  color: rgba(29, 109, 50, 0.8);
  font-weight: 600;
}

#cartSavings {
  display: none;
}

.coupon-box {
  border: 1px dashed #e0c9aa;
  border-radius: 12px;
  padding: 0.75rem;
  margin-bottom: 0.8rem;
  background: #fffaf3;
}

.ship-box {
  border: 1px dashed #e0c9aa;
  border-radius: 12px;
  padding: 0.75rem;
  margin-bottom: 0.8rem;
  background: #fffaf3;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ship-box input,
.ship-box textarea {
  border: 1px solid #d8c2a6;
  background: #fff9f1;
  color: #2a1e16;
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  font: inherit;
}

#couponStatus.error {
  color: #b3261e;
  font-weight: 600;
  margin-top: 0.35rem;
}

.coupon-box label {
  font-weight: 700;
  display: block;
  margin-bottom: 0.35rem;
}

.coupon-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.coupon-row input {
  flex: 1;
  border-radius: 999px;
  border: 1px solid #d9c7b4;
  padding: 0.6rem 0.9rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
}

.coupon-row .filter-btn {
  white-space: nowrap;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.65rem;
}

.coupon-fieldset {
  border: 1px solid #e6d4c4;
  border-radius: 12px;
  padding: 0.75rem 0.85rem 0.6rem;
  background: #fffdf9;
}

.coupon-fieldset legend {
  font-weight: 700;
  padding: 0 0.35rem;
}

.form-hint {
  margin: 0.3rem 0 0;
  font-size: 0.9rem;
  color: #6f5442;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding-right: 3.2rem;
}

.cart-header button {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
}

.close-cart-icon {
  position: absolute;
  right: 0.9rem;
  top: 0.75rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f3e7d9;
  color: #734523;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.cart-items {
  background: #fff;
  border: 1px solid #ead6c3;
  border-radius: 12px;
  padding: 0.9rem;
  gap: 0.8rem;
  flex: 1;
  min-height: 240px;
  overflow: auto;
}

.cart-item {
  border: 1px solid #ecd9c4;
  border-radius: 12px;
  padding: 0.75rem;
  background: #fffdf9;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  box-shadow: 0 10px 22px rgba(34, 20, 12, 0.08);
}

.cart-item img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #d8c4a1;
  background: #f3e7d9;
  flex-shrink: 0;
}

.cart-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 0 1rem 1rem;
  align-items: start;
  height: calc(100% - 68px);
  grid-auto-rows: minmax(0, 1fr);
}

.cart-body-grid > * {
  min-height: 0;
}

.cart-footer {
  border: 1px solid #ead6c3;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: #fffdf9;
}

.cart-actions {
  justify-content: space-between;
}

.cart-actions button {
  min-width: 150px;
}

@media (max-width: 900px) {
  .cart-body-grid {
    grid-template-columns: 1fr;
    padding: 0 0.8rem 0.8rem;
    height: auto;
  }
  .cart-panel {
    right: -100%;
    width: 100%;
  }
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cart-item-details strong {
  font-size: 1rem;
}

.cart-item-description {
  margin: 0;
  color: #6d5140;
  font-size: 0.92rem;
}

.cart-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #e0c9aa;
  border-radius: 10px;
  padding: 0.35rem 0.55rem;
  background: #fff8ef;
}

.qty-btn {
  border: none;
  background: transparent;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  color: #8a4410;
  width: 1.6rem;
  height: 1.6rem;
  line-height: 1;
}

.qty-value {
  min-width: 1.4rem;
  text-align: center;
  font-weight: 700;
}

.cart-item-price {
  font-weight: 700;
  color: var(--success);
  font-family: "Manrope", sans-serif;
}

.cart-item-price-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: flex-start;
  min-width: 170px;
  padding: 0.55rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(29, 109, 50, 0.25);
  background: rgba(29, 109, 50, 0.08);
  box-shadow: 0 2px 8px rgba(29, 109, 50, 0.15);
  align-self: flex-start;
}

.cart-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.cart-price-subrow {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.cart-item-price-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(29, 109, 50, 0.9);
}

.cart-item-price-label.muted {
  letter-spacing: 0.08em;
  color: #7a6047;
  text-transform: none;
}

.cart-item-price-original {
  font-size: 0.95rem;
  color: #6d4c2d;
  text-decoration: line-through;
  font-family: "Manrope", sans-serif;
  margin-top: -0.05rem;
  display: block;
  position: relative;
  text-decoration-color: var(--success);
  text-decoration-style: dashed;
  text-decoration-thickness: 2px;
  padding-left: 0.4rem;
  margin-left: 0.2rem;
}

.cart-item-discount-pct {
  font-size: 0.9rem;
  color: var(--success);
  font-weight: 700;
}

.cart-item-discount {
  font-size: 0.9rem;
  color: var(--success);
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: block;
  line-height: 1.35;
  margin-top: -0.05rem;
  padding: 0.18rem 0.4rem;
  background: rgba(29, 109, 50, 0.15);
  border-radius: 8px;
  width: 100%;
}

.cart-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  justify-content: space-between;
}

/* Cart summary redesign */
.cart-body-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 1rem;
}

.cart-summary {
  position: sticky;
  top: 88px;
  align-self: start;
}

.summary-card {
  border: 1px solid #ead6c3;
  border-radius: 12px;
  background: #fffdf9;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-shadow: 0 8px 22px rgba(34, 20, 12, 0.08);
  height: calc(100vh - 160px);
}

.summary-title {
  margin: 0;
  font-size: 1.1rem;
}

.summary-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: 0.25rem;
}

.summary-row,
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: #3a2a1a;
}

.summary-total {
  font-size: 1.1rem;
  padding-top: 0.25rem;
  border-top: 1px solid #f0e2d2;
}

.cart-footer {
  display: none;
}

/* Cart layout refresh (overrides) */
.cart-panel {
  top: 72px;
  height: calc(100% - 72px);
  right: -950px;
  width: min(950px, 98%);
  background: #ffffff;
  border-left: 1px solid #e4d6c6;
  box-shadow: -14px 0 32px rgba(34, 20, 12, 0.14);
}

.cart-header,
.cart-footer {
  background: #fff8ef;
}

.cart-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.9rem;
  padding: 0 1rem 1rem;
  align-items: start;
  height: calc(100% - 68px);
  grid-auto-rows: minmax(0, 1fr);
}

.cart-body-grid > * {
  min-height: 0;
}

.cart-items {
  background: #fff;
  border: 1px solid #ead6c3;
  border-radius: 12px;
  padding: 0.9rem;
  gap: 0.8rem;
  flex: 1;
  min-height: 260px;
  max-height: 60vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.cart-item {
  border: 1px solid #e4d6c6;
  border-radius: 12px;
  padding: 0.75rem;
  gap: 0.9rem;
  box-shadow: 0 10px 22px rgba(34, 20, 12, 0.08);
}

.cart-item img {
  width: 84px;
  height: 84px;
}

.cart-footer {
  border: 1px solid #ead6c3;
  border-radius: 12px;
  display: none;
}

.cart-actions button {
  min-width: 150px;
}

@media (max-width: 900px) {
  .cart-body-grid {
    grid-template-columns: 1fr;
    padding: 0 0.8rem 0.8rem;
    height: auto;
  }
  .cart-summary {
    position: static;
    width: 100%;
  }
  .cart-actions {
    flex-direction: column;
  }
  .cart-actions button {
    width: 100%;
  }
  .summary-card {
    height: auto;
  }
}

@media (max-width: 720px) {
  .cart-panel {
    top: 72px;
    height: calc(100vh - 72px);
    overflow: auto;
  }
  .cart-body-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: auto;
    padding: 0.6rem;
  }
  .cart-summary {
    order: -1;
    position: static;
    width: 100%;
  }
  #cartItems {
    order: 0;
  }
  .summary-card {
    height: auto;
    gap: 0.5rem;
  }
  .summary-body {
    max-height: none;
  }
  .cart-actions {
    position: static;
    padding: 0.5rem 0 0;
    border-top: none;
  }
  .cart-actions button {
    width: 100%;
  }
  /* Amazon/Flipkart-like product list */
  .product-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .product-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem;
  }
  .product-image {
    width: 120px;
    height: 120px;
    border-radius: 10px;
  }
  .product-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
  }
  .product-meta {
    font-size: 0.92rem;
    color: #5a3a21;
  }
  .product-bottom {
    margin-top: 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
  }
  .product-card button {
    width: 100%;
    justify-content: center;
  }
}

/* Amazon/Flipkart-style cards on desktop */
@media (min-width: 901px) {
  .product-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
  }
  .product-image {
    width: 100%;
    height: 200px;
  }
  .product-bottom {
    margin-top: 0.35rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }
  .product-card button {
    width: 100%;
  }
}

.customer-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

/* Admin: make product list scrollable */
#adminProducts {
  max-height: 420px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.customer-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  background: #fffdf9;
  box-shadow: 0 6px 18px rgba(68, 41, 20, 0.06);
}

.customer-card strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.customer-card p {
  margin: 0;
  color: #5f3313;
  font-size: 0.9rem;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.92), rgba(244, 231, 214, 0.92));
  padding: 1.3rem 0 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 1rem;
}

.footer-brand {
  margin: 0 0 0.35rem;
  font-family: "Noto Serif Devanagari", "Tiro Devanagari Hindi", serif;
  font-size: 1.55rem;
  color: var(--accent-dark);
  font-weight: 700;
}

.footer-title {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: #5f3313;
}

.footer-copy,
.site-footer p {
  margin: 0.2rem 0;
  color: #5d4330;
}

.site-footer a {
  color: #6e3b1b;
  text-decoration: none;
  border-bottom: 1px dotted #b57a44;
}

.site-footer a:hover {
  color: #8a4410;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #6e3b1b;
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1;
}

.social-link .social-icon {
  width: 0.8em;
  height: 0.8em;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  vertical-align: middle;
}

.social-link svg * {
  stroke-width: 1;
}

.social-link:hover {
  color: #8a4410;
}

.social-link:hover .social-icon {
  stroke: currentColor;
}

.footer-bottom {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e8d6c0;
  color: #6d5140;
  font-size: 0.9rem;
}

.admin-action-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.admin-modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(12, 8, 3, 0.55);
  z-index: 60;
}

.admin-modal-overlay.is-visible {
  display: flex;
}

.modal-open {
  overflow: hidden;
}

.admin-modal {
  width: min(900px, 100%);
  background: var(--surface);
  border-radius: 1rem;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 14px 35px rgba(30, 24, 17, 0.35);
  border: 1px solid #ecd8c5;
  max-height: min(90vh, 600px);
  overflow: hidden;
}

.admin-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.admin-modal-head h3 {
  margin: 0;
  font-size: 1.25rem;
}

.admin-modal-close {
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 2rem;
  height: 2rem;
}

.admin-modal-body {
  overflow: hidden;
}

.orders-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.orders-filter-row label {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.orders-filter-row select {
  min-width: 150px;
  border-radius: 0.65rem;
  border: 1px solid #d9c7b4;
  padding: 0.35rem 0.55rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  background: #fff;
}

.orders-filter-row .form-hint {
  margin: 0;
  font-size: 0.9rem;
  color: #5a4031;
}

.admin-modal-orders #ordersListContainer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.order-admin-card {
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid #d1bda9;
  background: linear-gradient(135deg, #fffdf8 0%, #fff4eb 60%);
  box-shadow: 0 8px 20px rgba(15, 10, 6, 0.15);
  font-family: "Manrope", sans-serif;
}

.order-admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.order-admin-head strong {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.order-admin-head p {
  margin: 0.2rem 0;
  font-size: 0.9rem;
  color: #3f2a1f;
}

.order-admin-head .form-hint {
  color: #5c4231;
  font-size: 0.85rem;
}

.order-status-select {
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4a3322;
}

.order-status-select select {
  border-radius: 0.65rem;
  border: 1px solid #b79a88;
  padding: 0.35rem 0.55rem;
  font-family: "Manrope", sans-serif;
}

.order-admin-card p {
  margin: 0.35rem 0;
}

.order-admin-card .filter-btn {
  margin-top: 0.6rem;
  width: 100%;
  justify-content: center;
}

.order-admin-card strong {
  font-weight: 600;
  color: #1f1a17;
}

.order-admin-card .form-hint:last-child {
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: #6b4e3b;
}

.admin-modal-scroll {
  max-height: 60vh;
  overflow: auto;
  padding-right: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-modal-list .cart-item {
  border-radius: 0.8rem;
  padding: 0.8rem 1rem;
  background: #fffaf3;
  border: 1px solid #edd6c3;
  box-shadow: inset 0 0 0 1px rgba(31, 26, 23, 0.04);
}

.admin-modal-list p {
  font-size: 0.95rem;
  margin: 0.2rem 0;
}

.admin-modal-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.admin-modal-form label {
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.admin-modal-form input,
.admin-modal-form textarea,
.admin-modal-form select {
  border-radius: 0.65rem;
  border: 1px solid #d9c7b4;
  padding: 0.5rem 0.75rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  background: #fff;
}

.admin-modal-form textarea {
  min-height: 3.2rem;
  resize: vertical;
}

.admin-modal-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 0.2rem;
}

@media (max-width: 860px) {
  .site-header {
    border-bottom: none;
  }

  body {
    background-attachment: scroll;
  }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .customer-auth-grid,
  .video-form,
  .video-grid {
    grid-template-columns: 1fr;
  }

  /* Cart refresh overrides */
  .cart-panel {
    right: -640px;
    width: min(620px, 98%);
    background: #ffffff;
    border-left: 1px solid #e4d6c6;
    box-shadow: -14px 0 32px rgba(34, 20, 12, 0.14);
    top: 72px;
    height: calc(100vh - 72px);
  }

  .cart-header,
  .cart-footer {
    background: #fff8ef;
  }

  .cart-items {
    background: #fff;
  }

  .cart-item {
    border: 1px solid #ead6c3;
    border-radius: 12px;
    padding: 0.75rem;
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    box-shadow: 0 10px 22px rgba(34, 20, 12, 0.08);
    background: #fffdf9;
  }

  .cart-item img {
    width: 84px;
    height: 84px;
  }

  .cart-price-row {
    justify-content: space-between;
    width: 100%;
  }

  .cart-actions {
    margin-top: 1rem;
  }

  .cart-actions button {
    min-width: 160px;
  }

  .nav-wrap {
    flex-wrap: wrap;
    gap: 0.7rem;
    padding: 0.55rem 0;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-text {
    font-size: 1.6rem;
  }

  .main-nav {
    display: flex;
    order: 4;
    width: 100%;
    gap: 0.45rem;
    flex-wrap: wrap;
    margin-top: 0.2rem;
  }

  .main-nav a {
    background: #fff6ea;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    flex: 1 1 auto;
    text-align: center;
  }

  .customer-greeting {
    display: block;
    max-width: 80px;
  }

  .header-actions {
    margin-left: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.35rem;
  }

  .lang-switcher,
  .auth-btn,
  .orders-btn,
  .cart-btn {
    padding: 0.45rem 0.8rem;
    height: 2.15rem;
    font-size: 0.93rem;
  }

  .hero {
    padding: 2.8rem 0;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .products-section,
  .about-section,
  .contact-section,
  .videos-section {
    padding: 2.4rem 0;
  }

  .profile-text h2 {
    font-size: 1.55rem;
  }

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

@media (max-width: 560px) {
  .container {
    width: min(1120px, 94%);
  }

  .header-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 0.45rem;
    flex-wrap: wrap;
  }

  .lang-switcher,
  .auth-btn,
  .cart-btn {
    font-size: 0.9rem;
    padding: 0.35rem 0.85rem;
    height: 2rem;
  }

  .lang-switcher {
    font-size: 0.84rem;
    line-height: 1.2;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .profile-text h2 {
    font-size: 1.4rem;
  }

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

  .filters {
    overflow-x: auto;
    white-space: nowrap;
    flex-wrap: nowrap;
    width: 100%;
    padding-bottom: 0.15rem;
  }

  .filter-btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .cta {
    width: 100%;
    text-align: center;
  }

  .product-modal-card,
  .customer-modal-card {
    padding: 0.8rem;
  }

  .product-modal-actions button {
    width: 100%;
  }

  .cart-panel {
    width: 100%;
    right: -100%;
  }

  .main-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.4rem;
    width: 100%;
    padding: 0.1rem 0 0.35rem;
  }

  .main-nav a {
    flex: 0 0 auto;
    padding: 0.35rem 0.9rem;
    font-size: 0.98rem;
    background: #fff6ea;
    border: 1px solid var(--line);
    border-radius: 999px;
  }

  .cart-btn {
    gap: 0.2rem;
  }

  .cart-btn #cartCount {
    min-width: 1.4rem;
    min-height: 1.4rem;
    padding: 0 0.25rem;
  }
}

@media (max-width: 720px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .product-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    grid-template-areas:
      "image title"
      "image price"
      "image cta";
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem;
  }
  .product-image {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    grid-area: image;
  }
  .product-card h3 {
    grid-area: title;
    font-size: 1.1rem;
    margin: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: left;
  }
  .product-bottom {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    grid-area: price;
  }
  .product-card button {
    width: 100%;
    justify-content: center;
    grid-area: cta;
  }
  .modal-product-grid {
    grid-template-columns: 1fr;
  }
  .modal-thumbs {
    gap: 0.35rem;
  }
}

@media (max-width: 640px) {
  .customer-modal {
    padding: 0.4rem;
    align-items: flex-start;
    overflow-y: auto;
  }

  .customer-modal-card {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }
}
.secondary-cta {
  background: #fff;
  color: #8a4410;
  border: 1px solid #d8c2a6;
}

.secondary-cta:hover {
  background: #fff6ea;
  color: #8a4410;
}

.view-details {
  text-decoration: underline;
  font-weight: 700;
  padding: 0.55rem 0.9rem;
}

.view-details:hover {
  background: #fff;
}
