/* SHAHI GHOR premium ecommerce frontend */
:root {
  --sg-black: #121212;
  --sg-gold: #c8a96b;
  --sg-cream: #f5f1e8;
  --sg-brown: #5c4033;
  --sg-red: #8f1f1b;
  --sg-red-dark: #5f1412;
  --sg-ink: #25211d;
  --sg-muted: #766d63;
  --sg-white: #fffaf1;
  --sg-border: rgba(18, 18, 18, 0.1);
  --sg-shadow: 0 24px 70px rgba(18, 18, 18, 0.12);
  --sg-radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--sg-cream);
  color: var(--sg-ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body.loading {
  overflow: hidden;
}

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

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

.font-display,
h1,
h2,
h3,
h4,
h5,
.navbar-brand {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  background: var(--sg-black);
  color: var(--sg-gold);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  border: 1px solid rgba(200, 169, 107, 0.35);
  padding: 22px 28px;
  text-align: center;
}

.loader-mark span {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
}

.loader-mark small {
  color: rgba(245, 241, 232, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.navbar {
  background: rgba(18, 18, 18, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200, 169, 107, 0.18);
  min-height: 78px;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  color: var(--sg-gold) !important;
  font-size: 1.45rem;
  font-weight: 700;
}

.brand-logo-img {
  width: auto;
  height: 58px;
  max-width: 230px;
  object-fit: contain;
}

.footer-logo-img {
  width: auto;
  height: 130px;
  max-width: 260px;
  object-fit: contain;
}

.brand-tagline {
  display: block;
  color: rgba(245, 241, 232, 0.72);
  font-family: "Inter", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.navbar .nav-link {
  color: rgba(245, 241, 232, 0.86) !important;
  font-size: 0.93rem;
  font-weight: 600;
  padding-inline: 0.75rem !important;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--sg-gold) !important;
}

.mega-menu {
  min-width: min(780px, calc(100vw - 32px));
  padding: 22px;
  margin-top: 14px;
  background: rgba(16, 16, 16, 0.98);
  border: 1px solid rgba(200, 169, 107, 0.3);
  border-radius: var(--sg-radius);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
}

.mega-card {
  min-height: 126px;
  padding: 18px;
  color: var(--sg-white);
  background: linear-gradient(135deg, rgba(200, 169, 107, 0.18), rgba(245, 241, 232, 0.055));
  border: 1px solid rgba(200, 169, 107, 0.3);
  border-radius: var(--sg-radius);
}

.mega-card strong {
  color: var(--sg-gold);
}

.nav-icon-btn {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: var(--sg-white);
  border: 1px solid rgba(245, 241, 232, 0.18);
  border-radius: 999px;
  transition: all 0.25s ease;
}

.nav-icon-btn i {
  font-size: 1rem;
  line-height: 1;
}

.nav-icon-btn:hover {
  color: var(--sg-black);
  background: var(--sg-gold);
}

.btn-premium {
  --bs-btn-padding-x: 1.35rem;
  --bs-btn-padding-y: 0.78rem;
  --bs-btn-border-radius: 999px;
  --bs-btn-font-weight: 700;
  color: var(--sg-black);
  background: var(--sg-gold);
  border: 1px solid var(--sg-gold);
  box-shadow: 0 12px 30px rgba(200, 169, 107, 0.22);
}

.btn-premium:hover {
  color: var(--sg-gold);
  background: var(--sg-black);
  border-color: var(--sg-black);
}

.btn-outline-premium {
  --bs-btn-padding-x: 1.35rem;
  --bs-btn-padding-y: 0.78rem;
  --bs-btn-border-radius: 999px;
  --bs-btn-font-weight: 700;
  color: var(--sg-white);
  border: 1px solid rgba(245, 241, 232, 0.42);
}

.btn-outline-premium:hover {
  color: var(--sg-black);
  background: var(--sg-white);
  border-color: var(--sg-white);
}

.section-padding {
  padding: 72px 0;
}

.section-kicker {
  color: var(--sg-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-title {
  max-width: 760px;
  margin: 8px 0 18px;
  color: var(--sg-black);
  font-size: clamp(2rem, 4.2vw, 3.45rem);
  line-height: 1.06;
}

.section-copy {
  max-width: 680px;
  color: var(--sg-muted);
}

.dark-section {
  background: var(--sg-black);
  color: var(--sg-white);
}

.dark-section .section-title,
.dark-section h1,
.dark-section h2,
.dark-section h3 {
  color: var(--sg-white);
}

.dark-section .section-copy,
.dark-section p {
  color: rgba(245, 241, 232, 0.76);
}

.hero {
  position: relative;
  min-height: 84vh;
  padding: 122px 0 58px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--sg-black);
  color: var(--sg-white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 18, 18, 0.94), rgba(18, 18, 18, 0.62), rgba(18, 18, 18, 0.34)),
    url("../images/banners/hero-banner.png") center/cover;
  transform: scale(1.02);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  max-width: 720px;
  font-size: clamp(2.7rem, 6.8vw, 5.8rem);
  line-height: 0.98;
}

.hero-copy {
  max-width: 590px;
  color: rgba(245, 241, 232, 0.78);
  font-size: 1.05rem;
}

.hero-panel {
  max-width: 420px;
  margin-left: auto;
  padding: 22px;
  background: rgba(18, 18, 18, 0.54);
  border: 1px solid rgba(200, 169, 107, 0.26);
  border-radius: var(--sg-radius);
  backdrop-filter: blur(14px);
}

.hero-stat {
  border-top: 1px solid rgba(245, 241, 232, 0.16);
  padding-top: 18px;
}

.page-hero {
  padding: 118px 0 52px;
  background:
    linear-gradient(90deg, rgba(18, 18, 18, 0.92), rgba(18, 18, 18, 0.64)),
    url("../images/banners/breadcrumbs-bg.png") center/cover;
  color: var(--sg-white);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5.6vw, 4.7rem);
  line-height: 1;
}

.page-hero.compact-hero {
  padding: 112px 0 38px;
}

.category-card,
.product-card,
.info-card,
.policy-card,
.testimonial-card,
.cart-line,
.checkout-panel {
  background: rgba(255, 250, 241, 0.82);
  border: 1px solid var(--sg-border);
  border-radius: var(--sg-radius);
  box-shadow: 0 16px 50px rgba(18, 18, 18, 0.07);
}

.product-card {
  background: var(--sg-white);
  color: var(--sg-ink);
}

.product-card h3,
.product-card p,
.product-card .section-kicker {
  color: inherit;
}

.product-card .section-kicker {
  color: var(--sg-brown);
}

.category-card,
.product-card,
.testimonial-card {
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.testimonial-card {
  min-height: 220px;
}

.testimonial-card.h-100 {
  height: auto !important;
}

.testimonial-card p {
  font-size: 1.02rem;
}

.product-card .btn {
  min-height: 42px;
}

.wishlist-toggle {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  color: var(--sg-black);
}

.wishlist-toggle.active {
  color: #a82222;
}

.category-card {
  background: var(--sg-white);
}

.category-card p {
  color: var(--sg-muted);
}

.category-card h3 {
  color: var(--sg-black);
}

.dark-section .product-card h3,
.dark-section .product-card p,
.dark-section .product-card .price {
  color: inherit;
}

.dark-section .product-card .price {
  color: var(--sg-brown);
}

.dark-section .product-card .section-kicker {
  color: var(--sg-brown);
}

.dark-section .testimonial-card {
  color: var(--sg-ink);
}

.dark-section .testimonial-card p {
  color: var(--sg-ink);
}

.dark-section .testimonial-card strong {
  color: var(--sg-black);
}

.dark-section .info-card {
  background: var(--sg-white);
  color: var(--sg-ink);
}

.dark-section .info-card h3,
.dark-section .info-card p {
  color: var(--sg-ink);
}

.page-hero + .section-padding {
  padding-top: 54px;
}

.compact-hero + .section-padding {
  padding-top: 42px;
}

.site-footer .form-control {
  background: rgba(245, 241, 232, 0.08);
  border-color: rgba(245, 241, 232, 0.16);
  color: var(--sg-white);
}

.site-footer .form-control::placeholder {
  color: rgba(245, 241, 232, 0.48);
}

.site-footer hr {
  opacity: 0.16;
}

.site-footer .nav-icon-btn {
  color: rgba(245, 241, 232, 0.86);
}

.site-footer .nav-icon-btn:hover {
  color: var(--sg-black);
}

.dropdown-menu {
  --bs-dropdown-link-hover-bg: transparent;
  --bs-dropdown-link-hover-color: var(--sg-gold);
}

@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
  }

  .navbar .dropdown-menu {
    left: 50%;
    transform: translateX(-50%);
  }
}

.category-card:hover,
.product-card:hover,
.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 169, 107, 0.55);
  box-shadow: var(--sg-shadow);
}

.card-image {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: fill;
}

.product-card .card-image {
  aspect-ratio: 1 / 1;
  background: #efe8dc;
}

.product-card .badge {
  background: var(--sg-black);
  color: var(--sg-gold);
}

.price {
  color: var(--sg-brown);
  font-weight: 800;
}

.weight-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.25rem 0.65rem;
  color: var(--sg-muted);
  border: 1px solid var(--sg-border);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.story-image,
.showcase-image,
.detail-main-image {
  min-height: 420px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--sg-radius);
}

.showcase-banner {
  position: relative;
  overflow: hidden;
  padding: 70px 32px;
  border-radius: var(--sg-radius);
  background:
    linear-gradient(90deg, rgba(18, 18, 18, 0.92), rgba(18, 18, 18, 0.5)),
    url("../images/banners/signature-showcase-bg.png") center/cover;
  color: var(--sg-white);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: inline-grid;
  place-items: center;
  background: var(--sg-black);
  color: var(--sg-gold);
  border-radius: 999px;
  font-weight: 900;
}

.reel-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 14;
  border-radius: var(--sg-radius);
  background: var(--sg-black);
}

.reel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.84;
  transition: transform 0.28s ease;
}

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

.reel-card span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  color: var(--sg-white);
  font-size: 0.82rem;
  font-weight: 800;
}

.newsletter-box {
  padding: clamp(28px, 6vw, 58px);
  background: var(--sg-black);
  color: var(--sg-white);
  border-radius: var(--sg-radius);
}

.form-control,
.form-select {
  min-height: 48px;
  background-color: rgba(255, 250, 241, 0.86);
  border: 1px solid rgba(18, 18, 18, 0.13);
  border-radius: 8px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--sg-gold);
  box-shadow: 0 0 0 0.2rem rgba(200, 169, 107, 0.18);
}

.filter-sidebar {
  position: sticky;
  top: 98px;
}

.pagination .page-link {
  color: var(--sg-black);
  background: var(--sg-white);
  border-color: rgba(18, 18, 18, 0.12);
}

.pagination .active .page-link,
.pagination .page-link:hover {
  color: var(--sg-black);
  background: var(--sg-gold);
  border-color: var(--sg-gold);
}

.thumbnail-btn {
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--sg-radius);
  overflow: hidden;
}

.thumbnail-btn.active,
.thumbnail-btn:hover {
  border-color: var(--sg-gold);
}

.thumbnail-btn img {
  width: 92px;
  height: 92px;
  object-fit: cover;
}

.sticky-cart {
  position: sticky;
  bottom: 0;
  z-index: 1020;
  background: rgba(18, 18, 18, 0.96);
  color: var(--sg-white);
  border-top: 1px solid rgba(200, 169, 107, 0.28);
}

.quantity-control {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--sg-border);
  border-radius: 999px;
}

.quantity-control button,
.quantity-control input {
  width: 42px;
  height: 42px;
  border: 0;
  text-align: center;
  background: var(--sg-white);
}

.empty-state {
  padding: 70px 22px;
  text-align: center;
  background: rgba(255, 250, 241, 0.76);
  border: 1px dashed rgba(92, 64, 51, 0.32);
  border-radius: var(--sg-radius);
}

.toast-container .toast {
  background: var(--sg-black);
  color: var(--sg-white);
  border: 1px solid rgba(200, 169, 107, 0.35);
}

.site-footer {
  background: #0d0d0d;
  color: rgba(245, 241, 232, 0.76);
  padding: 78px 0 28px;
}

.site-footer h5,
.site-footer .footer-brand {
  color: var(--sg-gold);
}

.site-footer a {
  display: block;
  color: rgba(245, 241, 232, 0.76);
  margin-bottom: 0.55rem;
}

.site-footer a:hover {
  color: var(--sg-gold);
}

.site-footer .footer-social a {
  display: inline-grid;
  margin-bottom: 0;
}

.footer-brand-mark {
  max-width: 520px;
}

.footer-mini {
  color: rgba(245, 241, 232, 0.54);
}

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1100;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--sg-gold);
  color: var(--sg-black);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(18, 18, 18, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.launch-page,
.error-page {
  min-height: 100vh;
  background: var(--sg-black);
  color: var(--sg-white);
}

.launch-hero,
.error-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 56px 0;
  background:
    linear-gradient(180deg, rgba(18, 18, 18, 0.68), rgba(18, 18, 18, 0.96)),
    url("../images/banners/hero-banner.png") center/cover;
}

.launch-hero::before,
.error-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 18%, rgba(200, 169, 107, 0.16), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(92, 64, 51, 0.42), transparent 28%);
  pointer-events: none;
}

.launch-hero::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(200, 169, 107, 0.22);
  pointer-events: none;
}

.launch-shell,
.error-shell {
  position: relative;
  z-index: 2;
  width: min(100%, 980px);
  margin-inline: auto;
  text-align: center;
}

.launch-logo {
  width: 180px;
  height: auto;
  display: inline-block;
  margin-bottom: 22px;
  filter: drop-shadow(0 20px 42px rgba(0, 0, 0, 0.38));
}

.launch-title,
.error-code {
  color: var(--sg-white);
  font-size: clamp(3rem, 10vw, 7rem);
  line-height: 0.95;
}

.launch-tagline {
  color: var(--sg-gold);
  font-size: clamp(1.05rem, 2.5vw, 1.45rem);
  font-weight: 700;
}

.bangla-tagline,
.launch-copy,
.error-copy {
  color: rgba(245, 241, 232, 0.8);
}

.product-line {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 22px 0;
}

.product-line span,
.launch-badge,
.error-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(200, 169, 107, 0.32);
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.42);
  color: rgba(245, 241, 232, 0.88);
  font-weight: 700;
}

.launch-badge {
  position: relative;
  gap: 9px;
  margin: 18px 0 26px;
  color: var(--sg-gold);
  animation: launchPulse 2.8s ease-in-out infinite;
}

.launch-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sg-gold);
  box-shadow: 0 0 0 7px rgba(200, 169, 107, 0.12);
}

.launch-actions .btn,
.error-actions .btn {
  min-width: 190px;
}

.launch-social a {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  color: var(--sg-white);
  border: 1px solid rgba(245, 241, 232, 0.18);
  border-radius: 50%;
  transition: all 0.25s ease;
}

.launch-social a:hover {
  color: var(--sg-black);
  background: var(--sg-gold);
  border-color: var(--sg-gold);
}

.launch-footer {
  position: relative;
  z-index: 2;
  margin-top: 38px;
  color: rgba(245, 241, 232, 0.58);
  font-size: 0.9rem;
}

.error-panel,
.search-panel {
  background: rgba(255, 250, 241, 0.92);
  border: 1px solid rgba(200, 169, 107, 0.28);
  border-radius: var(--sg-radius);
  box-shadow: var(--sg-shadow);
}

.error-panel {
  color: var(--sg-ink);
  padding: clamp(28px, 5vw, 54px);
}

.error-pill {
  min-height: 42px;
  padding: 0.48rem 1.15rem;
  color: #fff6ed;
  background: linear-gradient(135deg, var(--sg-red), var(--sg-red-dark));
  border-color: rgba(143, 31, 27, 0.42);
  box-shadow: 0 14px 30px rgba(143, 31, 27, 0.24);
}

.error-pill i {
  font-size: 0.95rem;
}

.error-code {
  color: var(--sg-gold);
  font-size: clamp(4.5rem, 14vw, 9rem);
}

.error-title {
  color: var(--sg-black);
}

.error-actions {
  align-items: center;
}

.error-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  line-height: 1;
  min-height: 58px;
  padding-inline: 1.45rem;
}

.error-actions .btn i {
  margin-right: 0 !important;
  font-size: 1.05rem;
  line-height: 1;
}

.error-actions .btn-outline-dark {
  border-color: rgba(18, 18, 18, 0.72);
  color: var(--sg-black);
}

.error-actions .btn-outline-dark:hover {
  color: var(--sg-white);
  background: var(--sg-red);
  border-color: var(--sg-red);
}

.search-toolbar {
  margin-top: -42px;
  position: relative;
  z-index: 3;
}

.search-panel {
  padding: clamp(18px, 3vw, 28px);
}

.search-meta {
  color: var(--sg-muted);
  font-weight: 700;
}

@keyframes launchPulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 0 0 rgba(200, 169, 107, 0);
  }

  50% {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(200, 169, 107, 0.14);
  }
}

@media (max-width: 991.98px) {
  .hero {
    min-height: auto;
    padding: 116px 0 54px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.64)),
      url("../images/banners/hero-banner.png") center/cover;
  }

  .hero-panel {
    margin: 34px 0 0;
  }

  .section-padding {
    padding: 48px 0;
  }

  .filter-sidebar {
    position: static;
  }

  .launch-hero,
  .error-hero {
    padding: 34px 0;
  }

  .launch-hero::after {
    inset: 10px;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2.85rem;
  }

  .btn-premium,
  .btn-outline-premium {
    width: 100%;
  }

  .showcase-banner {
    padding: 46px 20px;
  }

  .launch-actions .btn,
  .error-actions .btn {
    width: 100%;
  }

  .launch-logo {
    width: 140px;
  }
}
