.image-dropzone.is-dragging {
  border-color: var(--red);
  background: #fff4ef;
  box-shadow: 0 0 0 4px rgb(159 33 53 / 10%)
}

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;0,700;1,600&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --wine: #760b19;
  --red: #b10d20;
  --red-dark: #650510;
  --gold: #c99a35;
  --gold-soft: #f3dfae;
  --ink: #241717;
  --muted: #746768;
  --cream: #fffaf3;
  --blush: #fff0eb;
  --line: #eaded5;
  --white: #fff;
  --green: #278457;
  --shadow: 0 18px 50px rgb(77 22 22 / 10%);
  --shadow-sm: 0 8px 25px rgb(77 22 22 / 8%);
  --radius: 18px;
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
}

html.is-loading {
  overflow: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  z-index: 200;
  background: white;
  padding: 10px 16px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 10px;
}

.topbar {
  background: linear-gradient(90deg, #79000e, #a70014, #79000e);
  color: white;
  font-size: 12px;
}

.topbar-inner {
  min-height: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.topbar p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 13px;
}

.top-links a:hover {
  color: var(--gold-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgb(255 250 243 / 92%);
  border-bottom: 1px solid rgb(118 11 25 / 10%);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 84px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 600;
}

.main-nav .mobile-account-link {
  display: none;
}

.main-nav a {
  position: relative;
  padding-block: 12px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  height: 2px;
  inset: auto 100% 6px 0;
  background: var(--red);
  transition: .25s;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  right: 0;
}

#main {
  transition: opacity .18s ease, transform .18s ease;
}

body.ajax-navigating {
  cursor: progress;
}

body.ajax-navigating::before {
  content: '';
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  height: 3px;
  width: 42%;
  background: linear-gradient(90deg, var(--wine), var(--red), #eeb780);
  box-shadow: 0 1px 8px rgba(121, 23, 45, .35);
  animation: ajax-progress 1s ease-in-out infinite;
}

body.ajax-navigating #main {
  opacity: .42;
  transform: translateY(4px);
  pointer-events: none;
}

@keyframes ajax-progress {
  0% {
    transform: translateX(-110%);
  }

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

@media (prefers-reduced-motion: reduce) {
  #main {
    transition: none;
  }

  body.ajax-navigating::before {
    animation: none;
    width: 100%;
  }
}

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 174px;
  color: #9b6716;
  line-height: 1;
}

.logo-image {
  display: inline-flex;
  width: 190px;
  min-width: 190px;
  height: 68px;
  justify-content: center;
}

.logo-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo strong {
  position: relative;
  font: italic 700 43px/.85 'Cormorant Garamond', serif;
  letter-spacing: -2px;
  text-shadow: 0 1px 0 #fff6d8;
}

.logo strong::after {
  content: '✦';
  font: 12px/1 serif;
  position: absolute;
  right: -12px;
  top: -1px;
  color: var(--gold);
}

.logo small {
  margin-top: 7px;
  font: italic 600 10px 'Cormorant Garamond', serif;
  letter-spacing: .06em;
  color: var(--wine);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: .2s;
  position: relative;
}

.icon-btn:hover {
  background: var(--blush);
  color: var(--red);
}

.cart-count {
  position: absolute;
  right: 1px;
  top: 0;
  background: var(--red);
  color: white;
  border-radius: 20px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  font-size: 10px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
}

.hero {
  min-height: 590px;
  display: grid;
  align-items: center;
  background: #f9dfd2 url('../images/skagic-hero.png') center/cover no-repeat;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: transparent;
}

.hero-copy {
  max-width: 550px;
  padding-block: 132px 22px;
}

.eyebrow {
  margin: 0 0 11px;
  color: var(--red);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
}

h1,
h2,
h3,
h4 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.04;
  margin-top: 0;
}

.hero h1 {
  margin-bottom: 18px;
  font-size: clamp(36px, 4.5vw, 56px);
  letter-spacing: -.04em;
  color: #4f0c12;
}

.hero h1 em {
  color: var(--red);
  font-weight: 600;
}

.hero-copy>p:not(.eyebrow) {
  color: #5f4d4d;
  max-width: 485px;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  border: 1px solid transparent;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--red), var(--wine));
  box-shadow: 0 10px 24px rgb(177 13 32 / 20%);
}

.btn-primary:hover {
  box-shadow: 0 14px 30px rgb(177 13 32 / 28%);
}

.btn-outline {
  border-color: rgb(118 11 25 / 25%);
  background: rgb(255 255 255 / 60%);
  color: var(--wine);
}

.btn-light {
  color: var(--wine);
  background: white;
}

.btn-sm {
  min-height: 39px;
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 8px;
}

.btn-block {
  width: 100%;
}

.trust-strip {
  background: white;
  border-block: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  min-height: 104px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 26px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-icon {
  width: 45px;
  height: 45px;
  border: 1px solid rgb(177 13 32 / 28%);
  border-radius: 50%;
  color: var(--red);
  display: grid;
  place-items: center;
  flex: none;
}

.trust-item strong {
  display: block;
  font-size: 13px;
}

.trust-item span {
  color: var(--muted);
  font-size: 11px;
}

.section {
  padding: 86px 0;
}

.section-blush {
  background: radial-gradient(circle at 8% 10%, #fff 0 2%, transparent 18%), linear-gradient(120deg, #fff5f1, #fde8e2);
}

.section-title {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 38px;
}

.section-title h2 {
  margin-bottom: 12px;
  font-size: clamp(38px, 5vw, 54px);
  color: #5d1519;
}

.section-title p {
  margin: 0;
  color: var(--muted);
}

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

.split-heading h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 4vw, 50px);
  color: #5d1519;
}

.text-link {
  color: var(--red);
  font-weight: 700;
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

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

.category-card {
  min-height: 350px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  padding: 40px;
  display: flex;
  align-items: end;
  box-shadow: var(--shadow-sm);
  background-color: #f4dcd1;
}

.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgb(63 4 10 / 77%) 100%);
}

.category-card.face {
  background-image: url('../images/skagic-products.png');
  background-size: 200% 200%;
  background-position: 0 0;
}

.category-card.hair {
  background-image: url('../images/skagic-products.png');
  background-size: 200% 200%;
  background-position: 0 100%;
}

.category-copy {
  position: relative;
  z-index: 1;
  color: white;
}

.category-copy h3 {
  font-size: 40px;
  margin-bottom: 7px;
}

.category-copy p {
  margin: 0 0 18px;
  max-width: 420px;
}

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

.product-card {
  background: white;
  border: 1px solid rgb(118 11 25 / 8%);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  box-shadow: 0 5px 22px rgb(83 35 35 / 5%);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.product-img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background-image: url('../images/skagic-products.png');
  background-size: 200% 200%;
  position: relative;
  overflow: hidden;
}

.product-img[style] {
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #fff;
}

.product-img.p1 {
  background-position: 0 0;
}

.product-img.p2 {
  background-position: 100% 0;
}

.product-img.p3 {
  background-position: 0 100%;
}

.product-img.p4 {
  background-position: 100% 100%;
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  border-radius: 30px;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 700;
  background: var(--red);
  color: white;
}

.badge.offer {
  background: #18794e;
  box-shadow: 0 5px 14px rgb(24 121 78 / 25%);
}

.wishlist {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 82%);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--wine);
}

.product-info {
  padding: 17px;
}

.product-info h3 {
  font: 700 19px/1.2 'DM Sans', sans-serif;
  min-height: 46px;
  margin-bottom: 8px;
}

.stars {
  color: #e59d00;
  font-size: 12px;
  letter-spacing: 1px;
}

.reviews {
  color: var(--muted);
  margin-left: 5px;
  letter-spacing: 0;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 10px 0 14px;
}

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

.offer-price {
  color: #18794e;
}

.old-price {
  text-decoration: line-through;
  color: #998c8d;
  font-size: 13px;
}

.save-label {
  margin-left: auto;
  padding: 3px 6px;
  border-radius: 5px;
  background: #e6f6ed;
  color: #18794e;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.product-info .btn {
  padding-inline: 12px;
}

.offers-section {
  background: linear-gradient(120deg, #fffaf2, #fff0e7);
  overflow: hidden;
}

.carousel-controls {
  display: flex;
  gap: 8px;
}

.carousel-controls button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--wine);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: .2s;
}

.carousel-controls button:hover {
  background: var(--wine);
  color: white;
  border-color: var(--wine);
}

.offer-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 54px) / 4);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 8px 2px 28px;
}

.offer-track::-webkit-scrollbar {
  display: none;
}

.offer-track>* {
  scroll-snap-align: start;
}

.offer-card {
  border-color: rgb(24 121 78 / 15%);
}

.product-skeleton {
  min-height: 380px;
  border-radius: 16px;
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  overflow: hidden;
}

.product-skeleton span,
.product-skeleton i,
.product-skeleton b {
  display: block;
  border-radius: 9px;
  background: linear-gradient(90deg, #f3e9e3 25%, #fffaf6 45%, #f3e9e3 65%);
  background-size: 220% 100%;
  animation: skeleton-shine 1.2s linear infinite;
}

.product-skeleton span {
  aspect-ratio: 1;
}

.product-skeleton i {
  height: 12px;
  margin-top: 14px;
}

.product-skeleton i+i {
  width: 72%;
}

.product-skeleton b {
  width: 44%;
  height: 20px;
  margin-top: 16px;
}

@keyframes skeleton-shine {
  to {
    background-position: -220% 0;
  }
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #fffaf3;
  transition: opacity .45s, visibility .45s;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-mark {
  position: absolute;
  color: var(--wine);
  font: italic 700 44px 'Cormorant Garamond', serif;
}

.loader-ring {
  width: 92px;
  height: 92px;
  border: 2px solid #f0d8d1;
  border-top-color: var(--red);
  border-right-color: var(--gold);
  border-radius: 50%;
  animation: loader-spin .85s linear infinite;
}

@keyframes loader-spin {
  to {
    transform: rotate(360deg);
  }
}

.feature-banner {
  background-image: linear-gradient(90deg, rgb(87 0 9 / 98%) 0%, rgb(164 7 24 / 92%) 48%, rgb(73 0 7 / 78%) 100%), url('../images/skagic-hero.png');
  background-position: center, right center;
  background-size: cover, auto 135%;
  background-repeat: no-repeat;
  color: white;
  position: relative;
  overflow: hidden;
}

.feature-banner::after {
  content: '';
  position: absolute;
  width: 390px;
  height: 390px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 50%;
  top: -210px;
  right: 6%;
  box-shadow: 0 0 0 45px rgb(255 255 255 / 4%), 0 0 0 90px rgb(255 255 255 / 3%);
}

.feature-inner {
  min-height: 340px;
  display: grid;
  grid-template-columns: 1.05fr .85fr;
  align-items: center;
  gap: 110px;
  position: relative;
  z-index: 1;
}

.feature-copy h2 {
  font-size: 53px;
  margin-bottom: 10px;
}

.feature-copy p {
  color: #ffdce0;
}

.feature-list {
  display: grid;
  gap: 15px;
}

.feature-list {
  padding: 24px;
  border-radius: 18px;
  background: rgb(70 0 8 / 48%);
  border: 1px solid rgb(255 255 255 / 16%);
  backdrop-filter: blur(7px);
}

.feature-list div {
  display: flex;
  gap: 12px;
  align-items: center;
}

.feature-list i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 34%);
  border-radius: 50%;
}

.page-hero {
  background: linear-gradient(100deg, #fff5f0, #f7d8ce);
  padding: 54px 0;
  border-bottom: 1px solid var(--line);
}

.breadcrumbs {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 12px;
}

.breadcrumbs a {
  color: var(--red);
}

.page-hero h1 {
  font-size: clamp(44px, 6vw, 64px);
  margin: 0 0 9px;
  color: #5d1519;
}

.page-hero p {
  margin: 0;
  max-width: 650px;
  color: var(--muted);
}

.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 35px;
}

.filter-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  align-self: start;
  position: sticky;
  top: 105px;
}

.filter-panel h3 {
  font: 700 19px 'DM Sans', sans-serif;
  margin-bottom: 15px;
}

.filter-group+.filter-group {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 18px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 9px 0;
  font-size: 14px;
  color: #584b4b;
}

.check-row input {
  accent-color: var(--red);
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.select {
  border: 1px solid var(--line);
  background: white;
  border-radius: 9px;
  padding: 10px 34px 10px 12px;
  color: var(--ink);
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: start;
}

.product-gallery {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
}

.thumbs {
  display: grid;
  gap: 10px;
  align-content: start;
}

.thumb {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 10px;
  background-image: url('../images/skagic-products.png');
  background-size: 200% 200%;
  cursor: pointer;
}

.thumb.active {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.main-product-image {
  aspect-ratio: 1;
  border-radius: 22px;
  background-image: url('../images/skagic-products.png');
  background-size: 200% 200%;
  background-position: 0 0;
  box-shadow: var(--shadow-sm);
}

.main-product-image {
  transition: opacity .18s ease, transform .18s ease;
}

.main-product-image.is-switching {
  opacity: .45;
  transform: scale(.985);
}

.product-detail-copy h1 {
  font-size: 48px;
  margin-bottom: 12px;
  color: #511216;
}

.product-detail-copy .lead {
  color: var(--muted);
}

.detail-price {
  font-size: 32px;
  font-weight: 800;
  margin: 20px 0;
}

.detail-price del {
  font-size: 17px;
  color: #988;
  font-weight: 400;
  margin-left: 8px;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 24px 0;
}

.benefit-list div {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #514646;
  font-size: 14px;
}

.benefit-list i {
  color: var(--green);
}

.qty-line {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 22px 0;
}

.qty-control {
  display: flex;
  border: 1px solid var(--line);
  background: white;
  border-radius: 9px;
  overflow: hidden;
}

.qty-control button {
  width: 40px;
  border: 0;
  background: white;
  cursor: pointer;
}

.qty-control input {
  width: 45px;
  border: 0;
  text-align: center;
}

.info-note {
  background: #f2faF5;
  color: #2b694a;
  border: 1px solid #d8ecdf;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 25px;
  box-shadow: 0 4px 18px rgb(80 32 32 / 4%);
}

.panel h2 {
  font-size: 30px;
  margin-bottom: 20px;
}

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

.cart-item:first-of-type {
  padding-top: 0;
}

.cart-thumb {
  width: 92px;
  aspect-ratio: 1;
  background-image: url('../images/skagic-products.png');
  background-size: 200% 200%;
  border-radius: 12px;
}

.cart-info h3 {
  font: 700 16px 'DM Sans', sans-serif;
  margin: 0 0 3px;
}

.cart-info small {
  color: var(--muted);
}

.remove-link {
  color: var(--red);
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font-size: 12px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  color: var(--muted);
}

.summary-row.total {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 16px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
}

.coupon {
  display: flex;
  gap: 8px;
  margin: 15px 0;
}

.checkout-coupon .input {
  min-width: 0;
}

.coupon-message {
  margin: -8px 0 12px;
  font-size: 12px;
}

.coupon-message.success {
  color: var(--green);
}

.coupon-message.error {
  color: var(--red);
}

.table-note {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}

.input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fffcf9;
  min-height: 45px;
  padding: 10px 13px;
  color: var(--ink);
  outline: none;
}

.input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgb(177 13 32 / 10%);
}

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

.form-group {
  display: grid;
  gap: 7px;
}

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

.form-group label {
  font-size: 13px;
  font-weight: 700;
}

/* Step indicator styles */
.checkout-steps {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.checkout-step-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 30px;
  background: white;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  transition: .25s;
  cursor: default;
}

.checkout-step-pill.active {
  background: #fff0eb;
  border-color: var(--red);
  color: var(--wine);
  box-shadow: 0 4px 12px rgb(177 13 32 / 10%);
}

.checkout-step-pill.completed {
  background: #e8f7ee;
  border-color: #a3deb8;
  color: #17653c;
}

.checkout-step-pill .step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eee3de;
  color: #634f52;
  font-size: 11px;
  font-weight: 800;
}

.checkout-step-pill.active .step-num {
  background: var(--red);
  color: white;
}

.checkout-step-pill.completed .step-num {
  background: #198754;
  color: white;
}

.checkout-step-arrow {
  color: var(--muted);
  font-size: 15px;
}

/* Checkout panels & Step locking */
.checkout-panel {
  transition: opacity .25s ease, filter .25s ease;
}

.checkout-panel.is-locked {
  opacity: .45;
  pointer-events: none;
}

.checkout-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.checkout-panel-header h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  color: #4e0f14;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--wine);
  color: white;
  font-size: 13px;
  font-weight: 800;
}

.step-status-chip {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.step-status-chip.pending {
  background: #f0e6e4;
  color: var(--muted);
}

.step-status-chip.completed {
  background: #e6f6ee;
  color: #1b7346;
}

#step-panel-delivery #delivery-status-chip,
#step-panel-delivery .delivery-pref-badge {
  display: none;
}

/* Delivery Summary */
.delivery-summary-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(145deg, #fffaf8, #fdf4f0);
  border: 1px solid #edd5cb;
  box-shadow: 0 4px 14px rgb(118 11 25 / 4%);
}

.delivery-summary-content {
  display: grid;
  gap: 4px;
}

.delivery-pref-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  padding: 4px 10px;
  border-radius: 20px;
  background: #e8f7ee;
  color: #17653c;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 4px;
}

.delivery-pref-badge svg {
  width: 14px;
  height: 14px;
  color: #198754;
}

.delivery-summary-card strong {
  display: block;
  font-size: 15px;
  color: var(--wine);
  font-weight: 700;
}

.delivery-summary-card p {
  margin: 2px 0 0;
  font-size: 13px;
  color: #533f42;
  line-height: 1.5;
}

.delivery-edit-btn {
  border: 1px solid #dcbcbe;
  background: white;
  color: var(--wine);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .2s;
  box-shadow: 0 2px 6px rgb(0 0 0 / 4%);
  flex-shrink: 0;
}

.delivery-edit-btn:hover {
  background: #fff0eb;
  border-color: var(--red);
  transform: translateY(-1px);
}

.payment-option {
  display: flex;
  gap: 11px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 14px;
  margin: 10px 0;
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}

.payment-option:hover {
  border-color: #ebd3cc;
  background-color: #fffcfb;
}

.payment-option input {
  margin-top: 5px;
  accent-color: var(--red);
}

.saved-address {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  margin: -4px 0 20px;
  border: 1px solid #d7eadf;
  border-radius: 12px;
  background: #f2faf5;
  color: #245c40;
}

.saved-address[hidden] {
  display: none;
}

.saved-address i {
  flex: none;
  margin-top: 3px;
}

.saved-address strong {
  display: block;
}

.saved-address span {
  display: block;
  color: #4e6d5d;
  font-size: 12px;
  line-height: 1.55;
}

/* UPI Mobile Payment & App Grid */
.upi-panel {
  margin-top: 16px;
  padding: 22px;
  text-align: center;
  border: 1px solid #d8e4f2;
  border-radius: 16px;
  background: linear-gradient(145deg, #f8fbff, #fff);
  box-shadow: inset 0 1px 0 white, 0 8px 24px rgb(40 85 162 / 6%);
}

.upi-panel[hidden] {
  display: none;
}

.upi-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 30px;
  background: white;
  box-shadow: 0 4px 15px rgb(37 74 124 / 10%);
  font-weight: 800;
  color: #2855a2;
  font-size: 13px;
}

.upi-brand i {
  color: #2c8c4b;
}

.upi-amount {
  font-size: 28px;
  font-weight: 800;
  color: var(--wine);
  margin: 10px 0 12px;
}

.upi-mobile-pay {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}

.btn-upi-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1f6fed 0%, #1150b3 100%);
  color: white !important;
  font-size: 15px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(31, 111, 237, 0.3);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}

.btn-upi-primary:hover,
.btn-upi-primary:active {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(31, 111, 237, 0.4);
}

.btn-upi-primary svg {
  width: 22px;
  height: 22px;
}

.upi-app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.upi-app-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 4px;
  border: 1px solid #dce5f0;
  border-radius: 12px;
  background: white;
  color: #2b394a;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
  text-decoration: none;
  box-shadow: 0 2px 8px rgb(0 0 0 / 4%);
}

.upi-app-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgb(31 111 237 / 15%);
  border-color: #2875e8;
}

.upi-app-btn.gpay {
  color: #1f6fed;
}

.upi-app-btn.phonepe {
  color: #5f259f;
}

.upi-app-btn.paytm {
  color: #0876bb;
}

.upi-app-btn.bhim {
  color: #d0532b;
}

.upi-app-btn svg,
.upi-app-btn i {
  width: 22px;
  height: 22px;
}

.upi-desktop-qr {
  margin: 16px auto 8px;
}

.upi-qrcode {
  width: 200px;
  min-height: 200px;
  margin: 10px auto 12px;
  padding: 10px;
  border-radius: 12px;
  background: white;
  border: 1px solid #e3e7eb;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgb(0 0 0 / 6%);
}

.upi-qrcode img,
.upi-qrcode canvas {
  width: 180px !important;
  height: 180px !important;
}

.upi-apps {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 14px;
}

.upi-apps span {
  display: inline-block;
  padding: 4px 8px;
  margin: 0 2px;
  border-radius: 20px;
  background: #eef3f9;
  color: #3f5874;
  font-weight: 700;
}

.order-success {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgb(31 16 18 / 64%);
  backdrop-filter: blur(8px);
}

.order-success[hidden] {
  display: none;
}

.success-card {
  width: min(440px, 100%);
  padding: 36px;
  border-radius: 24px;
  background: white;
  text-align: center;
  box-shadow: 0 26px 70px rgb(0 0 0 / 25%);
  animation: success-pop .35s ease-out;
}

.success-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e5f7ec;
  color: #198754;
}

.success-card h2 {
  font-size: 38px;
  margin-bottom: 8px;
  color: #28513b;
}

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

.success-card [data-order-id] {
  display: inline-block;
  margin: 8px 0;
  padding: 6px 11px;
  border-radius: 7px;
  background: var(--blush);
  color: var(--wine);
}

.success-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

@keyframes success-pop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.96);
  }
}

.auth-section {
  min-height: 720px;
  display: grid;
  align-items: center;
  background: linear-gradient(120deg, #fff8f2 55%, #f3d1c8 55%);
  padding: 55px 0;
}

.auth-card {
  width: min(470px, 100%);
  background: white;
  padding: 38px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.auth-card h1 {
  font-size: 43px;
  margin-bottom: 8px;
}

.auth-card>p {
  color: var(--muted);
  margin-top: 0;
}

.auth-card form {
  display: grid;
  gap: 15px;
  margin-top: 25px;
}

.form-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.demo-note {
  margin-top: 18px;
  background: #fff6dd;
  color: #745214;
  padding: 11px 13px;
  border-radius: 9px;
  font-size: 12px;
}

.portal-shell {
  display: grid;
  grid-template-columns: 245px 1fr;
  min-height: 100vh;
  background: #f8f5f2;
}

.portal-sidebar {
  background: #4f0710;
  color: white;
  padding: 28px 18px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.portal-sidebar .logo {
  color: #f2c860;
  min-width: 0;
  margin-bottom: 32px;
  width: 100%;
}

.portal-sidebar .logo strong {
  font-size: 36px;
}

.portal-sidebar .logo small {
  color: #f8dfe2;
}

.portal-nav {
  display: grid;
  gap: 6px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
  padding-right: 4px;
}

.portal-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 9px;
  color: #f2dadd;
  font-size: 14px;
}

.portal-nav a:hover,
.portal-nav a.active {
  background: rgb(255 255 255 / 12%);
  color: white;
}

.portal-main {
  min-width: 0;
}

.portal-topbar {
  height: 76px;
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
}

.portal-topbar h1 {
  font: 700 23px 'DM Sans', sans-serif;
  margin: 0;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--wine);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.portal-content {
  padding: 30px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 25px;
}

.stat-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 5px 20px rgb(50 20 20 / 4%);
}

.stat-card small {
  color: var(--muted);
}

.stat-card strong {
  display: block;
  font-size: 27px;
  margin-top: 6px;
}

.stat-icon {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: var(--blush);
  color: var(--red);
  display: grid;
  place-items: center;
}

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

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th {
  text-align: left;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 10px;
  border-bottom: 1px solid var(--line);
}

td {
  padding: 13px 10px;
  border-bottom: 1px solid #f1eae5;
  white-space: nowrap;
}

.status {
  display: inline-flex;
  border-radius: 30px;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 700;
}

.status.delivered,
.status.active {
  background: #e6f6ec;
  color: #267249;
}

.status.processing {
  background: #fff1d8;
  color: #9a6500;
}

.status.cancelled {
  background: #fde8ea;
  color: #a52334;
}

.chart {
  height: 230px;
  display: flex;
  align-items: end;
  gap: 11px;
  padding-top: 30px;
}

.bar {
  flex: 1;
  min-width: 18px;
  height: var(--h);
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(180deg, #db4153, var(--wine));
  position: relative;
}

.bar::after {
  content: attr(data-label);
  position: absolute;
  top: calc(100% + 6px);
  width: 100%;
  text-align: center;
  font-size: 10px;
  color: var(--muted);
}

.site-footer {
  background: linear-gradient(120deg, #4d0008, #76000d);
  color: white;
  padding: 62px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .9fr 1.3fr;
  gap: 48px;
  padding-bottom: 40px;
}

.site-footer .logo {
  color: #ecc05e;
  align-items: flex-start;
  min-width: 0;
  margin-bottom: 16px;
}

.site-footer .logo-image {
  width: 205px;
  min-width: 205px;
  height: 62px;
}

.site-footer .logo-image img {
  background: #fff;
}

.site-footer .logo small {
  color: #f6d9dc;
}

.footer-about {
  color: #e8cdd0;
  font-size: 13px;
  max-width: 275px;
}

.footer-title {
  font: 700 16px 'DM Sans', sans-serif;
  margin: 0 0 15px;
}

.footer-links {
  display: grid;
  gap: 8px;
  color: #ead5d7;
  font-size: 13px;
}

.footer-links a:hover {
  color: #f2c860;
}

.contact-line {
  display: flex;
  gap: 9px;
  align-items: start;
}

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

.newsletter input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 11px 13px;
  border-radius: 8px 0 0 8px;
}

.newsletter button {
  width: 46px;
  border: 0;
  color: white;
  background: var(--red);
  border-radius: 0 8px 8px 0;
  cursor: pointer;
}

.socials {
  display: flex;
  gap: 9px;
  margin-top: 18px;
}

.socials a {
  width: 36px;
  height: 36px;
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.play-store-btn {
  width: max-content;
  margin-top: 18px;
  padding: 8px 13px;
  border: 1px solid rgb(255 255 255 / 26%);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1d1113;
  color: white;
  transition: .2s;
}

.play-store-btn:hover {
  transform: translateY(-2px);
  background: #12090b;
  border-color: rgb(255 255 255 / 42%);
}

.play-store-btn span {
  display: grid;
  line-height: 1.05;
}

.play-store-btn small {
  font-size: 8px;
  letter-spacing: .12em;
}

.play-store-btn strong {
  font: 600 17px 'DM Sans', sans-serif;
}

.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / 14%);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #d9bfc2;
  font-size: 12px;
}

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 9px 25px rgb(0 0 0 / 20%);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  z-index: 120;
  transform: translate(-50%, 120px);
  background: #251719;
  color: white;
  border-radius: 10px;
  padding: 11px 17px;
  box-shadow: var(--shadow);
  transition: .3s;
  font-size: 13px;
}

.toast.show {
  transform: translate(-50%, 0);
}

.empty-state {
  padding: 60px 20px;
  text-align: center;
  color: var(--muted);
}

.empty-state i {
  color: var(--red);
}

.form-error {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
}

.import-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px;
  margin: 14px 0;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: #fffaf7;
}

.admin-qr {
  width: 54px;
  height: 54px;
}

.admin-qr img,
.admin-qr canvas {
  width: 54px !important;
  height: 54px !important;
}

.button-spinner {
  width: 15px;
  height: 15px;
  margin-right: 8px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  display: inline-block;
  vertical-align: -3px;
  animation: button-spin .65s linear infinite;
}

[hidden] {
  display: none !important;
}

button[aria-busy="true"] {
  cursor: wait;
  opacity: .78;
}

@keyframes button-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Refined administration workspace */
.admin-page-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  background: radial-gradient(circle at 50% 35%, #fff 0, #fff7f3 46%, #f8e8e5 100%);
  transition: opacity .3s, visibility .3s;
}

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

.admin-page-loader .loader-mark {
  color: var(--wine);
  font: 700 38px 'Cormorant Garamond', serif;
}

.admin-page-loader .loader-ring {
  position: absolute;
  width: 72px;
  height: 72px;
  border: 2px solid #ecd5d2;
  border-top-color: var(--red);
  border-radius: 50%;
  animation: button-spin .9s linear infinite;
}

.admin-page-loader small {
  margin-top: 24px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.portal-sidebar {
  background: linear-gradient(180deg, #4b0710 0%, #730c19 55%, #3c050c 100%);
  color: #fff;
  box-shadow: 10px 0 35px rgb(71 8 16 / 12%);
}

.portal-sidebar .logo {
  color: #f5cb6c;
}

.portal-nav a {
  position: relative;
  color: #efd9dc;
  border: 1px solid transparent;
  border-radius: 11px;
}

.portal-nav a:hover {
  background: rgb(255 255 255 / 8%);
  color: #fff;
}

.portal-nav a.active {
  color: #5b0913;
  background: linear-gradient(135deg, #fff, #fff1e9);
  border-color: #fff;
  box-shadow: 0 8px 22px rgb(31 0 5 / 20%);
}

.portal-nav svg {
  width: 19px;
  height: 19px;
}

.nav-badge {
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: #fff;
  color: var(--wine);
  font-size: 10px;
}

.nav-badge.warning {
  background: #ffc85e;
  color: #582f00;
}

.portal-main {
  background: #fbf7f5;
}

.portal-topbar {
  background: rgb(255 255 255 / 88%);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #efe5e1;
}

.portal-topbar h1 {
  margin: 0;
  font: 700 25px 'DM Sans', sans-serif;
}

.admin-kicker {
  color: var(--red);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
}

.admin-top-actions,
.heading-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.notification-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  right: 7px;
  top: 7px;
  border-radius: 50%;
  background: #e82e46;
  border: 2px solid #fff;
}

.user-chip {
  align-items: center;
}

.user-chip .avatar {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #891727, #d85363);
  color: #fff;
}

.user-chip .avatar svg {
  width: 20px;
}

.admin-welcome {
  min-height: 170px;
  padding: 32px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 22px;
  color: #fff;
  overflow: hidden;
  position: relative;
  background: radial-gradient(circle at 82% 20%, rgb(255 216 151 / 38%), transparent 23%), linear-gradient(125deg, #68101c, #a9293b);
  box-shadow: 0 18px 50px rgb(111 13 26 / 20%);
}

.admin-welcome::after {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  right: -80px;
  bottom: -145px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgb(255 255 255 / 4%), 0 0 0 70px rgb(255 255 255 / 3%);
}

.admin-welcome h2 {
  color: #fff;
  font-size: 38px;
  margin: 2px 0 5px;
}

.admin-welcome p {
  margin: 0;
  color: #efdadd
}

.admin-welcome .eyebrow {
  color: #ffd47e
}

.welcome-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 22px;
  background: rgb(255 255 255 / 10%);
  z-index: 1
}

.welcome-icon svg {
  width: 34px;
  height: 34px;
  color: #ffd277
}

.admin-stats .stat-card {
  border: 1px solid #eee3df;
  border-radius: 17px;
  box-shadow: 0 8px 26px rgb(70 28 32 / 5%);
  justify-content: flex-start;
  gap: 14px;
}

.admin-stats .stat-icon {
  flex: 0 0 auto;
}

.stat-icon.rose {
  background: #fde8ec;
  color: #a51f35
}

.stat-icon.amber {
  background: #fff2d7;
  color: #a16300
}

.stat-icon.green {
  background: #e6f6ee;
  color: #1d7548
}

.stat-icon.blue {
  background: #e8f0ff;
  color: #285fa7
}

.metric-note {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px
}

.admin-section-heading {
  margin-bottom: 20px;
}

.admin-section-heading h2 {
  font-size: 36px;
  margin: 2px 0 4px
}

.admin-section-heading p:last-child {
  margin: 0;
  color: var(--muted)
}

.admin-panel {
  border: 1px solid #eee2de;
  border-radius: 17px;
  box-shadow: 0 8px 28px rgb(74 27 32 / 5%);
  overflow: hidden;
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line)
}

.catalog-toolbar h3 {
  margin: 0;
  font: 700 18px 'DM Sans', sans-serif
}

.btn-soft {
  background: #fff1ed;
  color: var(--wine);
  border: 1px solid #f2d9d3
}

.product-admin-table td {
  vertical-align: middle;
}

.product-thumb-admin {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  overflow: hidden;
  background: #f6ece7;
  border: 1px solid #eadbd6
}

.product-thumb-admin img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.product-cell {
  display: grid;
  gap: 3px;
  min-width: 200px
}

.product-cell small {
  color: var(--muted)
}

.catalog-badge {
  width: max-content;
  padding: 3px 7px;
  border-radius: 5px;
  background: #fff1ce;
  color: #895700;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em
}

.discount-chip {
  display: inline-block;
  padding: 3px 6px;
  border-radius: 5px;
  background: #e9f8ef;
  color: #197346;
  font-size: 9px;
  font-weight: 800
}

.product-admin-table del {
  color: var(--muted);
  font-size: 11px
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
  text-transform: capitalize
}

.status-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor
}

.status-pill.success {
  background: #e8f7ee;
  color: #237548
}

.status-pill.warning {
  background: #fff3d9;
  color: #976300
}

.status-pill.danger {
  background: #fde8eb;
  color: #a32639
}

.status-pill.neutral {
  background: #eee;
  color: #666
}

.payment-chip {
  padding: 3px 6px;
  background: #edf2ff;
  color: #335ea8;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 800
}

.row-actions {
  display: flex;
  gap: 6px
}

.table-action {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #e7dcda;
  border-radius: 9px;
  background: #fff;
  color: #61434a;
  cursor: pointer
}

.table-action svg {
  width: 15px
}

.table-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgb(55 18 23 / 10%)
}

.table-action.edit:hover {
  color: #854010;
  background: #fff7e9
}

.table-action.view:hover {
  color: #245f9c;
  background: #edf5ff
}

.table-action.delete:hover {
  color: #a32639;
  background: #fff0f2
}

.ajax-skeleton-row span {
  display: block;
  height: 55px;
  border-radius: 10px;
  background: linear-gradient(90deg, #f5efec 25%, #fff 45%, #f5efec 65%);
  background-size: 220% 100%;
  animation: admin-shimmer 1.1s infinite
}

@keyframes admin-shimmer {
  to {
    background-position: -220% 0
  }
}

.table-user {
  display: flex;
  align-items: center;
  gap: 9px
}

.mini-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f5e6e3;
  color: var(--wine)
}

.mini-avatar svg {
  width: 16px
}

.empty-illustration {
  width: 72px;
  height: 72px;
  margin: auto;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: #fff0ec;
  color: var(--red)
}

.empty-illustration svg {
  width: 31px
}

.settings-card {
  display: flex;
  align-items: center;
  gap: 20px
}

.settings-logo {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--wine), #bd3346);
  color: #ffd77e;
  font: 700 38px 'Cormorant Garamond', serif
}

.settings-card svg {
  width: 14px;
  vertical-align: -2px
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: grid;
  place-items: center;
  padding: 20px
}

.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(37 12 16 / 62%);
  backdrop-filter: blur(4px)
}

.admin-modal-card {
  position: relative;
  width: min(850px, 100%);
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 30px 90px rgb(30 6 10 / 35%);
  overflow: hidden
}

.admin-modal-card>header,
.admin-modal-card form>footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line)
}

.admin-modal-card h2 {
  margin: 0;
  font-size: 28px
}

.admin-modal-card form {
  min-height: 0;
  display: flex;
  flex-direction: column
}

.admin-modal-card form>footer {
  justify-content: flex-end;
  border: 0;
  border-top: 1px solid var(--line)
}

.modal-scroll {
  padding: 22px 24px;
  overflow: auto
}

.image-dropzone {
  min-height: 120px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  border: 2px dashed #e4cbc5;
  border-radius: 15px;
  background: #fff9f6;
  color: var(--muted);
  cursor: pointer
}

.image-dropzone:hover {
  border-color: var(--red);
  background: #fff4ef
}

.image-dropzone svg {
  color: var(--red)
}

.image-dropzone strong {
  color: #382429
}

.image-dropzone span {
  font-size: 11px
}

.image-dropzone input {
  position: absolute;
  opacity: 0;
  pointer-events: none
}

.existing-images {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 10px
}

.existing-image {
  position: relative;
  width: 78px;
  height: 78px
}

.existing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 11px;
  border: 1px solid var(--line)
}

.existing-image button {
  position: absolute;
  right: -5px;
  top: -5px;
  width: 23px;
  height: 23px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #9f2135;
  color: #fff;
  cursor: pointer
}

.existing-image button svg {
  width: 12px
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer
}

.toggle-row input {
  position: absolute;
  opacity: 0
}

.toggle {
  width: 42px;
  height: 23px;
  padding: 3px;
  border-radius: 20px;
  background: #c8c1bf;
  transition: .2s
}

.toggle::after {
  content: '';
  display: block;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  transition: .2s
}

.toggle-row input:checked+.toggle {
  background: #2f8a5a
}

.toggle-row input:checked+.toggle::after {
  transform: translateX(19px)
}

body.modal-open {
  overflow: hidden
}

@media(max-width:680px) {
  .admin-welcome {
    padding: 24px
  }

  .welcome-icon {
    display: none
  }

  .admin-welcome h2 {
    font-size: 30px
  }

  .admin-section-heading.split-heading {
    align-items: flex-start
  }

  .heading-actions {
    width: 100%;
    flex-wrap: wrap
  }

  .admin-modal {
    padding: 0
  }

  .admin-modal-card {
    max-height: 100vh;
    height: 100vh;
    border-radius: 0
  }

  .product-admin-table th:nth-child(3),
  .product-admin-table td:nth-child(3),
  .product-admin-table th:nth-child(4),
  .product-admin-table td:nth-child(4) {
    display: none
  }
}

.product-thumb-admin.sprite {
  background-image: url('/assets/images/skagic-products.png');
  background-size: 200% 200%
}

.product-thumb-admin.sprite.p1 {
  background-position: 0 0
}

.product-thumb-admin.sprite.p2 {
  background-position: 100% 0
}

.product-thumb-admin.sprite.p3 {
  background-position: 0 100%
}

.product-thumb-admin.sprite.p4 {
  background-position: 100% 100%
}

.admin-notice {
  position: fixed;
  z-index: 800;
  right: 24px;
  bottom: 24px;
  max-width: 360px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 12px;
  color: #fff;
  background: #24764a;
  box-shadow: 0 14px 35px rgb(25 8 12 / 24%);
  opacity: 0;
  transform: translateY(20px);
  visibility: hidden;
  transition: .25s
}

.admin-notice.error {
  background: #a5283a
}

.admin-notice.show {
  opacity: 1;
  transform: none;
  visibility: visible
}

.admin-notice svg {
  width: 19px
}

/* Storefront cart drawer, product actions and trust marks */
body.cart-drawer-open {
  overflow: hidden
}

.visitor-counter {
  display: inline-flex;
  align-items: center;
  gap: 6px
}

.visitor-counter svg {
  width: 15px;
  color: #edc56d
}

.detail-offer-badge {
  display: inline-block;
  margin: -4px 0 8px;
  padding: 5px 9px;
  border-radius: 6px;
  background: #e9f8ef;
  color: #197346;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em
}

.product-share {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid #ebdcd7;
  border-radius: 16px;
  background: linear-gradient(135deg, #fffaf7 0%, #fbf3ef 100%);
  box-shadow: inset 0 1px 0 #ffffff, 0 4px 18px rgba(118, 11, 25, .04)
}

.product-share>div:first-child,
.product-share-head {
  display: grid;
  gap: 2px;
  margin-bottom: 12px
}

.product-share small {
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em
}

.product-share strong {
  font-size: 13px;
  color: #3b2024;
  font-weight: 700
}

.share-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap
}

.share-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #ffffff, #f5e9e5);
  color: #53383e;
  cursor: pointer;
  box-shadow: 3px 3px 8px rgba(118, 11, 25, .09), -3px -3px 8px #ffffff, inset 1px 1px 1px rgba(255, 255, 255, .95), inset -1px -1px 2px rgba(118, 11, 25, .04);
  transition: all .22s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative
}

.share-btn span {
  display: none !important
}

.share-btn svg,
.share-btn i {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .95)) drop-shadow(0 2px 3px rgba(0, 0, 0, .06));
  transition: transform .2s ease
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 4px 6px 14px rgba(118, 11, 25, .14), -4px -4px 10px #ffffff, inset 1px 1px 2px #ffffff
}

.share-btn:hover svg,
.share-btn:hover i {
  transform: scale(1.08)
}

.share-btn:active {
  transform: translateY(1px) scale(0.97);
  box-shadow: inset 2px 2px 5px rgba(118, 11, 25, .16), inset -2px -2px 5px rgba(255, 255, 255, .9), 0 1px 2px rgba(118, 11, 25, .05)
}

.whatsapp-share {
  color: #128c4e
}

.whatsapp-share:hover {
  background: linear-gradient(145deg, #ffffff, #eaf6ee);
  color: #0b733d
}

.facebook-share {
  color: #1877f2
}

.facebook-share:hover {
  background: linear-gradient(145deg, #ffffff, #ebf2fc);
  color: #125fca
}

.instagram-share {
  color: #d62976
}

.instagram-share:hover {
  background: linear-gradient(145deg, #ffffff, #faebf2);
  color: #b81d60
}

.native-share {
  color: var(--red)
}

.native-share:hover {
  background: linear-gradient(145deg, #ffffff, #fbeeee);
  color: var(--wine)
}

.copy-share {
  color: #784812
}

.copy-share:hover {
  background: linear-gradient(145deg, #ffffff, #f8efe5);
  color: #5a340a
}

.card-actions {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 8px;
  margin-top: 12px
}

.icon-cart-btn {
  width: 42px;
  padding: 0;
  display: grid;
  place-items: center
}

.icon-cart-btn svg {
  width: 17px
}

.btn-buy {
  background: #fff;
  color: var(--wine);
  border: 1px solid var(--wine)
}

.btn-buy:hover {
  background: #fff3ef
}

.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 299;
  background: rgb(34 12 16 / 48%);
  opacity: 0;
  visibility: hidden;
  transition: .28s;
  backdrop-filter: blur(2px)
}

.cart-drawer {
  position: fixed;
  z-index: 300;
  right: 0;
  top: 0;
  width: min(430px, 100%);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: -18px 0 55px rgb(34 10 15 / 20%);
  transform: translateX(105%);
  transition: transform .32s cubic-bezier(.22, .8, .25, 1)
}

.cart-drawer-open .cart-drawer-overlay {
  opacity: 1;
  visibility: visible
}

.cart-drawer-open .cart-drawer {
  transform: none
}

.cart-drawer>header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px;
  border-bottom: 1px solid var(--line)
}

.cart-drawer>header h2 {
  font-size: 28px;
  margin: 0
}

.cart-drawer>header small {
  color: var(--red);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em
}

.cart-drawer-items {
  flex: 1;
  overflow: auto;
  padding: 10px 22px
}

.cart-drawer>footer {
  padding: 18px 22px 22px;
  border-top: 1px solid var(--line);
  background: #fffaf8
}

.cart-drawer>footer>div:first-child {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px
}

.cart-drawer>footer strong {
  font-size: 20px
}

.drawer-cart-link {
  display: block;
  text-align: center;
  margin-top: 10px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 700
}

.drawer-item {
  position: relative;
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid #f0e7e4
}

.drawer-thumb {
  width: 74px;
  height: 82px;
  border-radius: 12px;
  background-color: #f6ece8;
  background-size: cover;
  background-position: center
}

.drawer-item h3 {
  margin: 3px 20px 2px 0;
  font: 700 14px 'DM Sans', sans-serif
}

.drawer-item small {
  color: var(--muted)
}

.drawer-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px
}

.drawer-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden
}

.drawer-qty button {
  width: 27px;
  height: 26px;
  border: 0;
  background: #fff;
  cursor: pointer
}

.drawer-qty span {
  min-width: 24px;
  text-align: center;
  font-size: 11px
}

.drawer-remove {
  position: absolute;
  right: 0;
  top: 16px;
  border: 0;
  background: none;
  color: #a2888d;
  cursor: pointer
}

.drawer-remove svg {
  width: 15px
}

.drawer-empty {
  height: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  color: var(--muted)
}

.drawer-empty>span {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff0ec;
  color: var(--red)
}

.drawer-empty h3 {
  margin: 14px 0 0;
  color: #352226
}

.drawer-empty p {
  font-size: 12px
}

.secure-badge {
  width: max-content;
  margin-top: 18px;
  padding: 8px 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 9px;
  background: rgb(255 255 255 / 7%)
}

.secure-badge svg {
  width: 20px;
  color: #75d99d
}

.secure-badge span {
  display: grid
}

.secure-badge strong {
  font-size: 11px
}

.secure-badge small {
  font-size: 8px;
  color: #dcbfc4;
  text-transform: uppercase;
  letter-spacing: .08em
}

.payment-strip {
  padding: 15px 0;
  border-top: 1px solid rgb(255 255 255 / 14%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #ddc3c7;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em
}

.payment-marks {
  display: flex;
  flex-wrap: wrap;
  gap: 7px
}

.payment-marks b {
  padding: 5px 8px;
  border-radius: 5px;
  background: #fff;
  color: #282028;
  font: 800 9px 'DM Sans', sans-serif;
  letter-spacing: 0;
  text-transform: none
}

.payment-marks .gpay {
  color: #2875e8
}

.payment-marks .phonepe {
  color: #5f259f
}

.payment-marks .paytm {
  color: #0876bb
}

.payment-marks .bhim {
  color: #c14b26
}

.payment-marks .rupay {
  color: #245999
}

@media(max-width:680px) {
  .payment-strip {
    align-items: flex-start;
    flex-direction: column
  }

  .card-actions {
    grid-template-columns: 40px 1fr
  }

  .product-info .card-actions .btn {
    font-size: 12px
  }

  .product-info .card-actions .btn::after {
    content: none
  }

  .cart-drawer-items {
    padding-inline: 15px
  }
}

.legal-hero {
  min-height: 270px
}

.legal-content {
  max-width: 900px;
  padding-top: 46px;
  padding-bottom: 72px
}

.legal-updated {
  width: max-content;
  padding: 7px 11px;
  border-radius: 20px;
  background: #fff0eb;
  color: var(--wine);
  font-size: 11px;
  font-weight: 700
}

.legal-content section {
  padding: 22px 0;
  border-bottom: 1px solid var(--line)
}

.legal-content h2 {
  font: 700 22px 'DM Sans', sans-serif;
  margin: 0 0 9px
}

.legal-content p {
  color: #604e52;
  line-height: 1.75;
  margin: 0 0 9px
}

.legal-content a {
  color: var(--red);
  text-decoration: underline
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .main-nav {
    position: fixed;
    inset: 120px 18px auto;
    padding: 18px;
    border-radius: 16px;
    background: white;
    box-shadow: var(--shadow);
    display: grid;
    gap: 2px;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: .2s;
  }

  body.menu-open .main-nav {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .logo {
    justify-self: center;
  }

  .hero {
    min-height: 520px;
    background-position: 58% center;
  }

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

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

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

  .offer-track {
    grid-auto-columns: calc((100% - 18px) / 2);
  }

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

  .filter-panel {
    position: static;
  }

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

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

@media (max-width: 680px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .top-links {
    display: none;
  }

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

  .header-inner {
    min-height: 72px;
    gap: 4px;
  }

  .logo {
    min-width: 120px;
  }

  .logo-image {
    width: 132px;
    min-width: 132px;
    height: 48px;
  }

  .logo strong {
    font-size: 32px;
  }

  .logo small {
    display: none;
  }

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

  .header-actions .account-btn {
    display: inline-grid;
  }

  .main-nav .mobile-account-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding-top: 11px;
    border-top: 1px solid var(--line);
    color: var(--wine);
    font-weight: 800;
  }

  .main-nav {
    inset: 108px 12px auto;
  }

  .hero {
    min-height: 720px;
    align-items: start;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #fff3ea;
  }

  .hero .container {
    height: 100%;
  }

  .hero::before {
    background: transparent;
  }

  .hero-copy {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 36px 0 24px;
    text-align: center;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-copy>p:not(.eyebrow) {
    font-size: 14px;
  }

  .hero-actions {
    margin-top: auto;
    justify-content: center;
  }

  .trust-item {
    padding: 15px 8px;
    gap: 8px;
  }

  .trust-icon {
    width: 37px;
    height: 37px;
  }

  .section {
    padding: 58px 0;
  }

  .category-grid,
  .product-detail,
  .feature-inner {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 300px;
    padding: 24px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .offer-track {
    grid-auto-columns: 78%;
    gap: 12px;
  }

  .carousel-controls {
    display: none;
  }

  .product-skeleton {
    min-height: 305px;
  }

  .product-info {
    padding: 12px;
  }

  .product-info h3 {
    font-size: 14px;
    min-height: 42px;
  }

  .product-info .btn {
    font-size: 0;
  }

  .product-info .btn::after {
    content: 'Add';
    font-size: 12px;
  }

  .feature-inner {
    padding: 52px 0;
    gap: 25px;
  }

  .feature-banner {
    background-position: center, 72% bottom;
    background-size: cover, auto 70%;
  }

  .feature-copy h2 {
    font-size: 42px;
  }

  .shop-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-gallery {
    grid-template-columns: 1fr;
  }

  .thumbs {
    display: flex;
    order: 2;
  }

  .thumb {
    width: 62px;
  }

  .product-detail-copy h1 {
    font-size: 34px;
  }

  .detail-price {
    margin: 14px 0 16px;
    font-size: 26px;
  }

  .qty-line {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
    margin: 18px 0;
  }

  .qty-control {
    height: 48px;
    flex: 0 0 auto;
  }

  .qty-control button {
    width: 38px;
    height: 100%;
    font-size: 18px;
  }

  .qty-control input {
    width: 38px;
    height: 100%;
    font-size: 15px;
    font-weight: 700;
  }

  #detail-add {
    width: 48px;
    min-width: 48px;
    height: 48px;
    padding: 0;
    flex: 0 0 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    border-radius: 12px;
  }

  #detail-add span,
  #detail-add .btn-text {
    display: none !important;
  }

  #detail-add svg,
  #detail-add i {
    width: 20px;
    height: 20px;
    display: block;
    margin: 0;
  }

  #detail-buy {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding-inline: 14px;
    justify-content: center;
    border-radius: 12px;
    white-space: nowrap;
  }

  #detail-buy svg {
    width: 18px;
    height: 18px;
  }

  .product-share {
    padding: 14px 16px;
    margin-top: 18px;
  }

  .share-actions {
    gap: 10px;
    justify-content: flex-start;
  }

  .share-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    flex: 0 0 44px;
    border-radius: 12px;
  }

  .share-btn span {
    display: none !important;
  }

  .share-btn svg,
  .share-btn i {
    width: 20px;
    height: 20px;
  }

  .checkout-steps {
    gap: 6px;
  }

  .checkout-step-pill {
    font-size: 11px;
    padding: 6px 11px;
  }

  .checkout-panel-header h2 {
    font-size: 20px;
  }

  .upi-panel {
    padding: 18px 14px;
  }

  .upi-app-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .upi-app-btn {
    font-size: 10px;
    padding: 8px 2px;
  }

  .upi-desktop-qr {
    display: none;
  }

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

  .form-group.full {
    grid-column: auto;
  }

  .cart-item {
    grid-template-columns: 70px 1fr;
  }

  .cart-thumb {
    width: 70px;
  }

  .cart-item>strong {
    grid-column: 2;
  }

  .success-actions {
    grid-template-columns: 1fr;
  }

  .auth-card {
    padding: 25px;
  }

  .stat-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}

@media (min-width: 681px) and (max-width: 767px) {
  .hero {
    background-position: center;
    background-size: cover;
  }
}

[hidden] {
  display: none !important;
}

.status-pill.blue {
  background: #e8f1ff;
  color: #2c61a1
}

.order-modal-card {
  width: min(940px, 100%)
}

.order-modal-card form>footer {
  justify-content: space-between
}

.order-print-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.order-detail-loading {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted)
}

.section-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #eadbd7;
  border-top-color: var(--red);
  border-radius: 50%;
  animation: button-spin .7s linear infinite
}

.order-detail-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 17px;
  border-radius: 14px;
  background: linear-gradient(120deg, #fff3ee, #fffaf8);
  border: 1px solid #eedbd5
}

.order-detail-hero>div {
  display: grid;
  gap: 3px
}

.order-detail-hero small {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: .08em
}

.order-detail-hero strong {
  font-size: 20px
}

.order-detail-hero span:not(.status-pill) {
  color: var(--muted);
  font-size: 11px
}

.order-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin: 14px 0
}

.order-info-card,
.order-items-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px
}

.order-info-card h3,
.order-items-card h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 10px;
  font: 700 14px 'DM Sans', sans-serif
}

.order-info-card h3 svg {
  width: 17px;
  color: var(--red)
}

.order-info-card div {
  color: #665359;
  line-height: 1.65
}

.order-totals {
  width: min(330px, 100%);
  margin: 12px 0 0 auto
}

.order-totals>div {
  display: flex;
  justify-content: space-between;
  padding: 6px
}

.order-totals .grand {
  margin-top: 3px;
  padding-top: 10px;
  border-top: 2px solid var(--wine);
  font-size: 15px
}

.order-status-editor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-top: 15px;
  padding: 15px;
  border-radius: 14px;
  background: #f9f5f3
}

.order-status-editor .form-group {
  margin: 0
}

/* Strict Portal & Admin Section Visibility */
[data-account-section],
[data-admin-section] {
  display: none !important;
}

[data-account-section].is-active,
[data-admin-section].is-active {
  display: block !important;
}

/* Portal Shell & Sidebar Navigation */
.portal-sidebar-overlay,
.admin-sidebar-overlay {
  position: fixed;
  inset: 0;
  z-index: 990;
  background: rgba(26, 4, 8, 0.65);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s, visibility .3s;
}

.portal-menu-toggle,
.admin-menu-toggle,
.portal-sidebar-close,
.admin-sidebar-close {
  display: none;
}

.portal-sidebar-head,
.admin-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  width: 100%;
}

.portal-sidebar-head .logo,
.admin-sidebar-head .logo {
  margin: 0;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.portal-sidebar-head .logo strong,
.admin-sidebar-head .logo strong {
  font-size: 26px;
  line-height: 1;
  letter-spacing: .08em;
  color: #ffffff !important;
}

.portal-sidebar-head .logo small,
.admin-sidebar-head .logo small {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold) !important;
  margin-top: 4px;
}

.portal-sidebar-close,
.admin-sidebar-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  display: none;
  place-items: center;
  flex-shrink: 0;
  transition: all .2s;
}

.portal-sidebar-close:hover,
.admin-sidebar-close:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
}

.sidebar-user-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: white;
}

.sidebar-user-card .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #d97706);
  color: var(--wine);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.sidebar-user-card strong {
  display: block;
  font-size: 13px;
  line-height: 1.25;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-card small {
  display: block;
  font-size: 11px;
  color: #f0d5da;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.portal-topbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #ffffff !important;
  border-bottom: 1px solid var(--line) !important;
  padding: 12px 28px !important;
  min-height: 68px !important;
  height: auto !important;
  gap: 14px !important;
}

.admin-title-group {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  min-width: 0 !important;
  flex: 1 !important;
}

.admin-title-group>div {
  min-width: 0;
}

.admin-title-group h1,
.portal-topbar h1 {
  font: 800 22px 'DM Sans', sans-serif !important;
  margin: 0 !important;
  color: #1a0408 !important;
  line-height: 1.15 !important;
}

.portal-kicker,
.admin-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--wine);
}

.admin-top-actions {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-shrink: 0 !important;
}

/* Luxury Customer Welcome Banner */
.account-welcome-banner {
  background: linear-gradient(135deg, #3d070f 0%, #1c0307 100%);
  border-radius: 18px;
  padding: 24px 28px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(61, 7, 15, 0.2);
  border: 1px solid rgba(232, 191, 123, 0.25);
  position: relative;
  overflow: hidden;
}

.account-welcome-banner::after {
  content: '';
  position: absolute;
  right: -25px;
  bottom: -25px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(232, 191, 123, 0.22), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.welcome-vip-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(232, 191, 123, 0.2);
  border: 1px solid rgba(232, 191, 123, 0.45);
  color: #faeed6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.welcome-text-wrap h2 {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin: 10px 0 6px;
  font-family: var(--font-title);
}

.welcome-text-wrap p {
  margin: 0;
  color: #f2d5da;
  font-size: 13px;
  line-height: 1.45;
  max-width: 540px;
}

.welcome-avatar-badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(232, 191, 123, 0.18);
  border: 1px solid rgba(232, 191, 123, 0.35);
  color: #faeed6;
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}

/* Compact Table Action Buttons */
.table-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 28px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 8px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.table-btn svg {
  width: 13px;
  height: 13px;
}

.table-btn.btn-soft {
  background: #fff0eb;
  color: var(--wine);
  border-color: #f7d5cb;
}

.table-btn.btn-soft:hover {
  background: #fae0d7;
  border-color: var(--red);
  transform: translateY(-1px);
}

.table-btn.btn-outline {
  background: white;
  color: var(--text);
  border-color: var(--line);
}

.table-btn.btn-outline:hover {
  background: #faf4f3;
  border-color: #d1b8b2;
  color: var(--wine);
  transform: translateY(-1px);
}

/* Stat Cards with Light Backgrounds */
.stat-card.card-rose {
  background: linear-gradient(135deg, #fff2f4, #fff8f9);
  border: 1px solid #fcd3d8;
  box-shadow: 0 4px 16px rgba(118, 11, 25, 0.05);
}

.stat-card.card-amber {
  background: linear-gradient(135deg, #fff8ec, #fffcf6);
  border: 1px solid #fae1be;
  box-shadow: 0 4px 16px rgba(180, 83, 9, 0.05);
}

.stat-card.card-green {
  background: linear-gradient(135deg, #f0fbf3, #f7fdf9);
  border: 1px solid #c3edd0;
  box-shadow: 0 4px 16px rgba(22, 101, 52, 0.05);
}

.stat-card.card-blue {
  background: linear-gradient(135deg, #f0f6ff, #f8faff);
  border: 1px solid #cde0fe;
  box-shadow: 0 4px 16px rgba(30, 64, 175, 0.05);
}

.stat-card .stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.stat-card .stat-icon.rose {
  background: #fee2e5;
  color: var(--wine);
}

.stat-card .stat-icon.amber {
  background: #fef3c7;
  color: #b45309;
}

.stat-card .stat-icon.green {
  background: #dcfce7;
  color: #166534;
}

.stat-card .stat-icon.blue {
  background: #dbeafe;
  color: #1e40af;
}

.vip-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  background: linear-gradient(135deg, #fff1eb, #ffe4dc);
  color: var(--wine);
  border: 1px solid #eecbc1;
}

.status-pill.purple {
  background: #f3e8ff;
  color: #7e22ce;
}

/* Order Tracking Component */
.order-tracker-card {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 22px;
  margin-top: 14px;
  box-shadow: var(--shadow-sm);
}

.tracker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.tracker-header h3 {
  font-size: 18px;
  margin: 2px 0 4px;
  color: var(--wine);
}

.tracker-header p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.track-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 24px 0;
  position: relative;
}

.track-timeline::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 30px;
  right: 30px;
  height: 3px;
  background: #eeded8;
  z-index: 1;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-marker {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: white;
  border: 2px solid #eeded8;
  color: #9a8086;
  display: grid;
  place-items: center;
  font-size: 14px;
  transition: all .25s;
}

.timeline-step.step-done .step-marker {
  background: var(--green);
  border-color: var(--green);
  color: white;
}

.timeline-step.step-active .step-marker {
  background: var(--wine);
  border-color: var(--wine);
  color: white;
  box-shadow: 0 0 0 5px rgba(118, 11, 25, 0.15);
  animation: pulseMarker 1.8s infinite;
}

.step-info {
  margin-top: 10px;
}

.step-info strong {
  display: block;
  font-size: 12px;
  color: #2e171b;
  line-height: 1.25;
}

.step-info small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}

.track-destination-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.dest-card {
  padding: 14px;
  border-radius: 12px;
  background: #faf5f3;
  border: 1px solid #eddcd5;
}

.dest-card small {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 5px;
}

.dest-card p {
  margin: 0;
  font-size: 13px;
  color: #432b30;
  line-height: 1.4;
}

@keyframes pulseMarker {
  0% {
    box-shadow: 0 0 0 0 rgba(118, 11, 25, 0.35);
  }

  70% {
    box-shadow: 0 0 0 9px rgba(118, 11, 25, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(118, 11, 25, 0);
  }
}

/* Mobile & Tablet Drawer Responsive Breakpoint */
@media (max-width: 900px) {
  .portal-shell {
    display: block !important;
    width: 100% !important;
    min-height: 100vh;
  }

  .portal-sidebar {
    position: fixed !important;
    inset: 0 auto 0 0 !important;
    z-index: 1000 !important;
    width: min(296px, 86vw) !important;
    height: 100dvh !important;
    padding: 20px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    transform: translateX(-105%) !important;
    transition: transform .32s cubic-bezier(.16, 1, .3, 1) !important;
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.45) !important;
    overflow: hidden !important;
    background: #1a0408 !important;
  }

  body.admin-menu-open,
  body.portal-menu-open {
    overflow: hidden !important;
  }

  body.admin-menu-open .portal-sidebar,
  body.portal-menu-open .portal-sidebar {
    transform: translateX(0) !important;
  }

  body.admin-menu-open .admin-sidebar-overlay,
  body.portal-menu-open .portal-sidebar-overlay,
  body.admin-menu-open .portal-sidebar-overlay,
  body.portal-menu-open .admin-sidebar-overlay {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .portal-topbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 90 !important;
    padding: 10px 14px !important;
    min-height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
  }

  .admin-title-group {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
    flex: 1 !important;
  }

  .portal-menu-toggle,
  .admin-menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 12px !important;
    background: #fff4ef !important;
    color: var(--wine) !important;
    border: 1px solid #efd9d3 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    box-shadow: 0 2px 6px rgba(118, 11, 25, 0.08) !important;
  }

  .portal-menu-toggle svg,
  .admin-menu-toggle svg,
  .portal-menu-toggle i,
  .admin-menu-toggle i {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    margin: auto !important;
    pointer-events: none !important;
  }

  .portal-sidebar-close,
  .admin-sidebar-close {
    display: inline-grid !important;
  }

  .portal-nav {
    display: grid !important;
    gap: 6px !important;
    width: 100% !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    padding-right: 4px !important;
  }

  .portal-nav a {
    justify-content: flex-start !important;
    padding: 12px 14px !important;
    min-width: 0 !important;
    color: #f4dada !important;
    border-radius: 10px !important;
  }

  .portal-nav a:hover,
  .portal-nav a.active {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
  }

  .portal-nav a svg {
    width: 19px !important;
    height: 19px !important;
    opacity: 0.95 !important;
  }

  .portal-nav span {
    display: inline !important;
  }

  .portal-nav .nav-badge {
    display: grid !important;
  }

  .portal-topbar h1 {
    font-size: 17px !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.2 !important;
  }

  .portal-kicker {
    display: block !important;
    font-size: 9px !important;
    margin-bottom: 2px !important;
  }

  .portal-content {
    padding: 16px !important;
  }

  .admin-top-actions {
    gap: 8px !important;
  }

  .admin-top-actions .user-chip small {
    display: none !important;
  }

  .track-timeline {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: left;
  }

  .track-timeline::before {
    top: 15px;
    bottom: 15px;
    left: 18px;
    right: auto;
    width: 3px;
    height: auto;
  }

  .timeline-step {
    flex-direction: row;
    gap: 14px;
    align-items: flex-start;
  }

  .step-info {
    margin-top: 0;
    text-align: left;
  }

  .track-destination-grid {
    grid-template-columns: 1fr;
  }

  .account-welcome-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .account-welcome-banner .welcome-avatar-badge {
    display: none;
  }
}

@media (max-width: 600px) {
  .admin-top-actions a.btn {
    display: none !important;
  }

  .admin-top-actions .user-chip>div {
    display: none !important;
  }
}

@media (max-width: 680px) {

  /* Stat Cards 2x2 Grid for Mobile */
  .stat-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .stat-card {
    padding: 12px 14px !important;
    border-radius: 14px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .stat-card .stat-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
  }

  .stat-card .stat-icon svg {
    width: 18px !important;
    height: 18px !important;
  }

  .stat-card small {
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #5a3c42 !important;
  }

  .stat-card strong {
    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    margin: 2px 0 !important;
    color: #2b1217 !important;
  }

  .stat-card .metric-note {
    font-size: 10px !important;
    color: var(--muted) !important;
  }

  /* Mobile Responsive Order Cards (No Horizontal Overflow) */
  .responsive-order-table thead {
    display: none !important;
  }

  .responsive-order-table tbody,
  .responsive-order-table tr,
  .responsive-order-table td {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    border: none !important;
  }

  .responsive-order-table tr {
    background: #ffffff !important;
    border: 1px solid #eedcd6 !important;
    border-radius: 14px !important;
    padding: 14px 16px !important;
    margin-bottom: 12px !important;
    box-shadow: 0 2px 8px rgba(118, 11, 25, 0.04) !important;
  }

  .responsive-order-table tr td {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 5px 0 !important;
  }

  .responsive-order-table tr td:first-child {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: var(--wine) !important;
    padding-bottom: 8px !important;
    border-bottom: 1px dashed #f2e3df !important;
    margin-bottom: 4px !important;
  }

  .responsive-order-table tr td:last-child {
    padding-top: 10px !important;
    border-top: 1px solid #f6eae7 !important;
    margin-top: 6px !important;
    justify-content: flex-end !important;
    gap: 8px !important;
  }

  .responsive-order-table tr td::before {
    content: attr(data-label);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted);
  }

  .responsive-order-table tr td:first-child::before,
  .responsive-order-table tr td:last-child::before {
    display: none !important;
  }
}

/* PWA Install Banner & Prompt */
.pwa-install-banner {
  position: fixed;
  z-index: 9999;
  bottom: 24px;
  right: 24px;
  width: min(390px, calc(100vw - 32px));
  background: white;
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 16px 48px rgba(38, 10, 15, 0.22), 0 2px 10px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(227, 146, 125, 0.35);
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: pwaSlideUp .4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
}

.pwa-install-banner[hidden] {
  display: none !important;
}

.pwa-banner-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pwa-app-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #8d1223, #4d0610);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(118, 11, 25, 0.25);
  flex-shrink: 0;
  overflow: hidden;
}

.pwa-app-icon img,
.pwa-app-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.pwa-banner-text {
  flex: 1;
  min-width: 0;
}

.pwa-banner-text strong {
  display: block;
  font-size: 15px;
  color: #2b1417;
  font-weight: 800;
  line-height: 1.2;
}

.pwa-banner-text small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.35;
}

.pwa-banner-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: 0;
  background: #f7ede9;
  color: #6a4f54;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: .2s;
}

.pwa-banner-close:hover {
  background: #eed5ce;
  color: var(--wine);
}

.pwa-banner-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.btn-pwa-install {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--wine), var(--red));
  color: white !important;
  font-size: 14px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(118, 11, 25, 0.25);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}

.btn-pwa-install:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(118, 11, 25, 0.35);
}

.btn-pwa-install svg {
  width: 18px;
  height: 18px;
}

.pwa-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  background: #fff2ed;
  border: 1px solid #ebd3cc;
  color: var(--wine);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all .2s;
}

.pwa-header-btn:hover {
  background: #fae4dc;
  border-color: var(--red);
  transform: translateY(-1px);
}

.pwa-header-btn[hidden] {
  display: none !important;
}

/* iOS Guidance Modal */
.pwa-ios-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(31, 16, 18, 0.65);
  backdrop-filter: blur(8px);
  animation: pwaFadeIn .25s ease;
}

.pwa-ios-modal[hidden] {
  display: none !important;
}

.pwa-ios-card {
  width: min(380px, 100%);
  background: white;
  border-radius: 24px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  position: relative;
}

.pwa-ios-card h3 {
  font-size: 20px;
  margin: 0 0 6px;
  color: var(--wine);
}

.pwa-ios-steps {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  text-align: left;
}

.pwa-ios-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fcf5f2;
  border: 1px solid #eddcd5;
  font-size: 13px;
  color: #3f282c;
  font-weight: 600;
}

.pwa-ios-step .step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--wine);
  color: white;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

@keyframes pwaSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pwaFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 680px) {
  .pwa-install-banner {
    bottom: 16px;
    right: 16px;
    left: 16px;
    width: auto;
    padding: 16px;
    border-radius: 18px;
  }

  .pwa-header-btn span {
    display: none;
  }

  .pwa-header-btn {
    padding: 6px 8px;
  }
}

/* Admin Analytics, Graphs & P&L Reporting */
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.chart-card {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.chart-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.chart-card-header h3 {
  margin: 2px 0 0;
  font-size: 16px;
  color: var(--wine);
  display: flex;
  align-items: center;
  gap: 8px;
}

.chart-card-header small {
  color: var(--muted);
  font-size: 12px;
}

.chart-wrapper {
  position: relative;
  width: 100%;
  height: 290px;
}

.chart-card.full-width {
  grid-column: 1 / -1;
}

.rank-badge {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.rank-badge.rank-1 {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
}

.rank-badge.rank-2 {
  background: linear-gradient(135deg, #94a3b8, #64748b);
  color: white;
}

.rank-badge.rank-3 {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: white;
}

.rank-badge.rank-normal {
  background: #f1e6e3;
  color: var(--wine);
}

.pnl-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.pnl-box {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: white;
}

.pnl-box small {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
}

.pnl-box strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: #2b1417;
  margin: 6px 0 2px;
}

.pnl-box span {
  font-size: 11px;
  color: var(--muted);
}

.pnl-box.highlight {
  background: linear-gradient(135deg, #f0fbf3, #fdfefe);
  border-color: #c7f3d6;
}

.pnl-box.highlight strong {
  color: #166534;
}

.pnl-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.pnl-table th {
  text-align: left;
  padding: 10px 14px;
  background: #faf5f3;
  color: var(--wine);
  font-weight: 800;
  border-bottom: 1px solid var(--line);
}

.pnl-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f4e9e6;
  color: #432b30;
}

.pnl-table tr.subtotal td {
  background: #fff8f5;
  font-weight: 800;
  color: var(--wine);
  border-top: 1px solid #eecbc1;
  border-bottom: 1px solid #eecbc1;
}

.pnl-table tr.grand td {
  background: #fdf5f2;
  font-size: 15px;
  font-weight: 900;
  color: #166534;
  border-top: 2px solid var(--wine);
  border-bottom: 2px solid var(--wine);
}

.pnl-table .indent {
  padding-left: 28px;
  color: var(--muted);
}

.pnl-table .deduct {
  color: #b91c1c;
}

.forecast-banner {
  background: linear-gradient(135deg, #760b19, #3f040c);
  color: white;
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 10px 30px rgba(118, 11, 25, 0.25);
  position: relative;
  overflow: hidden;
}

.forecast-banner::before {
  content: '';
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(232, 191, 123, 0.25), transparent 70%);
  border-radius: 50%;
}

.forecast-metrics {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.forecast-item small {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #f2d4d8;
}

.forecast-item strong {
  display: block;
  font-size: 24px;
  font-weight: 900;
  color: #faeed6;
  margin-top: 2px;
}

.forecast-item span {
  font-size: 11px;
  color: #e9cdd1;
}

.progress-bar-bg {
  width: 100%;
  height: 6px;
  background: #eeded8;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 5px;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 6px;
}

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

  .pnl-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .pnl-summary-grid {
    grid-template-columns: 1fr;
  }

  .forecast-metrics {
    width: 100%;
    justify-content: space-between;
  }

  .chart-wrapper {
    height: 240px;
  }
}

@media(max-width:390px) {
  .admin-notification-button {
    display: none
  }

  .portal-topbar {
    gap: 7px
  }

  .admin-title-group {
    gap: 8px
  }
}

@media(max-width:680px) {

  .order-detail-grid,
  .order-status-editor {
    grid-template-columns: 1fr
  }

  .order-modal-card form>footer {
    align-items: stretch;
    flex-direction: column
  }

  .order-print-actions {
    display: grid;
    grid-template-columns: 1fr 1fr
  }

  .order-print-actions .btn {
    justify-content: center
  }
}

@media print {

  body.inventory-printing .portal-sidebar,
  body.inventory-printing .portal-topbar {
    display: none !important
  }

  body.inventory-printing .portal-main {
    margin: 0 !important;
    width: 100% !important
  }

  body.inventory-printing [data-admin-section]:not([data-admin-section="inventory"]) {
    display: none !important
  }

  body.inventory-printing [data-admin-section="inventory"] {
    display: block !important;
    padding: 0 !important
  }

  body.inventory-printing [data-print-inventory] {
    display: none !important
  }

  body.inventory-printing .admin-panel {
    border: 0;
    box-shadow: none
  }
}