﻿:root {
  --bg1: #a74367;
  --bg2: #e7b7c5;
  --bg3: #6d8f75;
  --surface-bg: #fffaf6;
  --card: #fffdfb;
  --shadow: 0 24px 60px rgba(143, 48, 85, 0.12);
  --border-color: #ead7db;
  --btn-primary: #8f3055;
  --btn-primary-text: #fffaf8;
  --text: #24181d;
  --muted: #7b6670;
  --site-font-arabic: "Noto Naskh Arabic", serif;
  --site-font-latin: "Cormorant Garamond", serif;
  --site-font: "Cormorant Garamond", serif;
  --heading-font: "Playfair Display", "Cormorant Garamond", serif;
  --arabic-display: "Aref Ruqaa", "Noto Naskh Arabic", serif;
  --site-font-size: 17px;
  --site-font-weight: 500;
  --radius-surface: 30px;
  --radius-control: 18px;
  --radius-button: 999px;
  --shell-width: 1220px;
}

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

html, body { overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--site-font-latin), var(--site-font-arabic), sans-serif;
  font-size: var(--site-font-size);
  font-weight: var(--site-font-weight);
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(231, 183, 197, 0.3), transparent 26%),
    radial-gradient(circle at top left, rgba(109, 143, 117, 0.14), transparent 22%),
    linear-gradient(180deg, #fff8f4 0%, #fffefb 48%, #f8f1ef 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
input, select, textarea, button { font-family: var(--site-font-latin), var(--site-font-arabic), sans-serif; }
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: #24151b;
  font-family: var(--heading-font), var(--arabic-display), serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}
p { margin: 0; }
ul { margin: 0; padding: 0; }

.container, .container-fluid {
  width: min(100%, var(--shell-width));
}

.form-card,
.section-card,
.table-wrap,
.list-card,
.product-card,
.hero-panel,
.dashboard-mini-card,
.account-card,
.wallet-card,
.footer-box,
.admin-stat-card {
  background: rgba(255, 253, 251, 0.92);
  border: 1px solid rgba(234, 215, 219, 0.92);
  border-radius: var(--radius-surface);
  box-shadow: var(--shadow);
}

.form-card,
.section-card,
.list-card,
.table-wrap { padding: 1.75rem; }

.form-control,
.form-select,
textarea,
.input-group-text {
  min-height: 52px;
  background: rgba(255, 247, 248, 0.92) !important;
  color: var(--text) !important;
  border: 1px solid #ead7db !important;
  border-radius: var(--radius-control) !important;
  box-shadow: none !important;
}

.form-control::placeholder,
textarea::placeholder { color: #ad949d; }

.form-control:focus,
.form-select:focus,
textarea:focus {
  border-color: rgba(143, 48, 85, 0.5) !important;
  box-shadow: 0 0 0 0.2rem rgba(143, 48, 85, 0.12) !important;
}

.form-label {
  margin-bottom: 0.45rem;
  color: #4c3941;
  font-weight: 700;
}

.btn {
  border-radius: var(--radius-button) !important;
  padding: 0.78rem 1.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.btn-primary,
.btn-preview-primary {
  background: linear-gradient(135deg, var(--btn-primary), #c96f8b) !important;
  border-color: transparent !important;
  color: var(--btn-primary-text) !important;
  box-shadow: 0 18px 30px rgba(143, 48, 85, 0.22);
}

.btn-outline-secondary,
.btn-outline-primary,
.btn-outline-light,
.btn-outline-dark,
.btn-outline-danger {
  background: rgba(255, 255, 255, 0.76) !important;
  color: #55313f !important;
  border-color: rgba(143, 48, 85, 0.18) !important;
}

.btn-outline-danger { color: #9b314d !important; }

.soft-badge,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-button);
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(231, 183, 197, 0.26);
  color: #8f3055;
  border: 1px solid rgba(143, 48, 85, 0.14);
}

.section-eyebrow {
  margin-bottom: 0.8rem;
  font-family: var(--site-font-latin), sans-serif;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.section-heading h2,
.section-heading h1,
.admin-page-head h1,
.product-summary-card h1,
.home-hero h1 { font-size: clamp(2rem, 4vw, 4rem); }

.section-link {
  font-family: var(--site-font-latin), sans-serif;
  font-size: 0.9rem;
  color: #8f3055;
}

.price-text {
  font-family: var(--site-font-latin), sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #8f3055;
}

.text-secondary,
.small.text-secondary,
small,
.method-copy .small,
.table thead th,
.site-footer p,
.site-footer a { color: var(--muted) !important; }

.table {
  margin: 0;
  color: var(--text);
}

.table thead th {
  font-family: var(--site-font-latin), sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom-color: rgba(143, 48, 85, 0.08);
}

.table td,
.table th {
  padding: 1rem 0.9rem;
  border-color: rgba(143, 48, 85, 0.08);
  background: transparent !important;
  vertical-align: middle;
}

.floral-alert {
  border: 0;
  border-radius: 20px !important;
  box-shadow: var(--shadow);
}

.site-announcement {
  padding: 0.8rem 0;
  background: rgba(143, 48, 85, 0.94);
  color: #fff7fa;
  font-family: var(--site-font-latin), sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  backdrop-filter: blur(16px);
  background: rgba(255, 250, 246, 0.82);
  border-bottom: 1px solid rgba(143, 48, 85, 0.08);
}

.site-header-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0 1.2rem;
}

.site-header-nav,
.site-header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.site-header-actions { justify-content: flex-end; }

.site-nav-link,
.site-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.72rem 1rem;
  border-radius: var(--radius-button);
  color: #5d424f;
  font-family: var(--site-font-latin), sans-serif;
  font-size: 0.86rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav-link.active,
.site-nav-link:hover,
.site-action-link:hover {
  background: rgba(143, 48, 85, 0.08);
  color: #8f3055;
}

.site-action-link strong {
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #8f3055;
  color: #fff;
  font-size: 0.72rem;
}

.site-action-button {
  background: rgba(143, 48, 85, 0.08);
}

.site-brand-center,
.mobile-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-brand-logo {
  width: auto;
  height: 88px;
  object-fit: contain;
}

.mobile-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  padding: 0.8rem 0;
  background: rgba(255, 250, 246, 0.95);
  border-bottom: 1px solid rgba(143, 48, 85, 0.08);
  backdrop-filter: blur(14px);
}

.mobile-header-row {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-btn,
.mobile-cart-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(143, 48, 85, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #8f3055;
}

.mobile-cart-btn { position: relative; }

.mobile-cart-btn span {
  position: absolute;
  top: -4px;
  left: -4px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #8f3055;
  color: #fff;
  font-size: 0.7rem;
  font-family: var(--site-font-latin), sans-serif;
}

.mobile-brand-logo {
  width: auto;
  height: 72px;
  object-fit: contain;
  margin-inline: auto;
}

.mobile-drawer {
  width: min(86vw, 360px) !important;
  background: #fffaf6;
  color: var(--text);
}

.mobile-drawer-logo {
  width: auto;
  height: 56px;
}

.mobile-drawer-user {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 1.25rem;
}

.mobile-drawer-user strong {
  font-family: var(--heading-font), var(--arabic-display), serif;
  font-size: 1.55rem;
}

.mobile-drawer-links {
  display: grid;
  gap: 0.8rem;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(143, 48, 85, 0.1);
  font-family: var(--site-font-latin), sans-serif;
}

.mobile-drawer-link.active { color: #8f3055; }

.mobile-bottom-nav {
  position: fixed;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 1050;
  display: flex;
  justify-content: space-around;
  padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom, 0));
  background: rgba(255, 250, 246, 0.96);
  border-top: 1px solid rgba(143, 48, 85, 0.08);
  backdrop-filter: blur(16px);
}

.mobile-bottom-nav a {
  position: relative;
  display: grid;
  place-items: center;
  gap: 0.28rem;
  color: #7b6670;
  font-size: 0.72rem;
  font-family: var(--site-font-latin), sans-serif;
}

.mobile-bottom-nav a.active { color: #8f3055; }
.mobile-bottom-nav i { font-size: 1.15rem; }

.home-page,
.catalog-page,
.product-page,
.cart-page,
.checkout-page,
.account-page { position: relative; z-index: 1; }

.home-hero .hero-panel {
  height: 100%;
  padding: 2rem;
}

.hero-panel-copy h1 {
  margin-top: 1rem;
  margin-bottom: 1rem;
  line-height: 1.02;
}

.hero-panel-copy p {
  max-width: 34rem;
  font-size: 1.08rem;
  color: #6e5a63;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.hero-points {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.hero-points div {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #6c5760;
}

.hero-points i,
.soft-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(231, 183, 197, 0.22);
  color: #8f3055;
}

.hero-panel-media {
  display: grid;
  gap: 1.4rem;
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}

.hero-logo-image {
  width: auto;
  height: 140px;
  object-fit: contain;
}

.hero-mosaic {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 0.9rem;
  min-height: 420px;
}

.hero-mosaic-card {
  overflow: hidden;
  border-radius: 28px;
  min-height: 170px;
}

.hero-mosaic-card:first-child { min-height: 100%; }

.hero-mosaic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hero-mosaic-card:hover img { transform: scale(1.04); }

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

.collection-card {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 24, 29, 0.02), rgba(36, 24, 29, 0.62));
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-card-copy {
  position: absolute;
  inset: auto 1.25rem 1.25rem 1.25rem;
  z-index: 2;
  display: grid;
  gap: 0.35rem;
  color: #fff8fb;
}

.collection-card-copy span,
.product-card-category,
.admin-topbar-eyebrow {
  font-family: var(--site-font-latin), sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.collection-card-copy strong {
  font-size: 2rem;
  font-family: var(--heading-font), var(--arabic-display), serif;
}

.collection-card-copy small {
  color: rgba(255, 248, 251, 0.82) !important;
}

.category-showcase {
  position: relative;
}

.floral-product-card {
  overflow: hidden;
  border-radius: 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.floral-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 54px rgba(143, 48, 85, 0.18);
}

.product-media {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: #f5ecea;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.product-card .card-body {
  display: grid;
  gap: 0.55rem;
  padding: 1.2rem;
}

.product-card .card-body h3 {
  font-size: 1.45rem;
  line-height: 1.1;
}

.product-card .card-body p {
  min-height: 3.6em;
  color: #7b6670;
  line-height: 1.6;
  font-size: 0.95rem;
}

.product-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  font-family: var(--site-font-latin), sans-serif;
  font-size: 0.84rem;
}

.catalog-hero,
.admin-page-head,
.account-hero {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.catalog-hero p,
.admin-page-head p,
.account-hero p {
  max-width: 40rem;
  color: #73616a;
  line-height: 1.8;
}

.catalog-search {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: min(100%, 420px);
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(143, 48, 85, 0.1);
  border-radius: 999px;
}

.catalog-search i { color: #8f3055; padding-inline-start: 0.9rem; }

.catalog-search input {
  flex: 1;
  min-height: 44px;
  border: 0;
  outline: 0;
  background: transparent;
}

.catalog-filter-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.catalog-filter-pill {
  padding: 0.68rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(143, 48, 85, 0.1);
  color: #654751;
  font-family: var(--site-font-latin), sans-serif;
  font-size: 0.84rem;
}

.catalog-filter-pill.active {
  background: rgba(143, 48, 85, 0.08);
  color: #8f3055;
}

.product-layout,
.product-story-grid {
  align-items: start;
}

.product-gallery-shell,
.product-summary-card,
.product-story-card,
.checkout-card,
.cart-summary-card,
.checkout-summary-card,
.account-identity-card,
.account-order-card,
.checkout-note-card {
  background: rgba(255, 253, 251, 0.94);
  border: 1px solid rgba(234, 215, 219, 0.92);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.product-gallery-shell {
  padding: 1rem;
}

.product-gallery-main {
  overflow: hidden;
  border-radius: 24px;
  background: #f7eeec;
}

.product-gallery-main img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
}

.product-gallery-thumbs {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.product-thumb {
  width: 96px;
  min-width: 96px;
  border: 1px solid rgba(143, 48, 85, 0.1);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  padding: 0;
}

.product-thumb.active {
  border-color: rgba(143, 48, 85, 0.45);
  box-shadow: 0 0 0 2px rgba(143, 48, 85, 0.08);
}

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

.product-summary-card {
  padding: 1.7rem;
}

.product-summary-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.product-summary-card h1 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.product-summary-text {
  color: #6f5b64;
  line-height: 1.8;
}

.product-feature-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.4rem 0;
}

.product-feature-list div,
.product-detail-list li {
  display: flex;
  gap: 0.7rem;
  align-items: start;
  color: #67545d;
}

.product-feature-list i { color: #8f3055; }

.product-order-form .product-action-row {
  display: flex;
  gap: 0.75rem;
}

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

.product-story-card {
  padding: 1.6rem;
  line-height: 1.9;
}

.product-detail-list {
  display: grid;
  gap: 0.85rem;
  list-style: none;
  margin-top: 1rem;
}

.cart-items-list,
.account-order-list,
.admin-mini-products {
  display: grid;
  gap: 1rem;
}

.cart-item-card,
.account-order-card,
.admin-mini-product {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255, 247, 248, 0.72);
  border: 1px solid rgba(143, 48, 85, 0.08);
}

.cart-item-image,
.account-avatar,
.qr-preview,
.admin-mini-product img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 20px;
}

.qr-preview {
  width: 58px;
  height: 58px;
}

.cart-item-copy,
.cart-item-actions {
  display: grid;
  gap: 0.35rem;
}

.cart-item-copy strong,
.account-order-card strong,
.admin-mini-product strong {
  font-family: var(--heading-font), var(--arabic-display), serif;
  font-size: 1.2rem;
}

.cart-item-actions {
  min-width: 150px;
  justify-items: end;
}

.cart-item-actions .form-control {
  width: 88px;
  min-height: 44px;
}

.cart-summary-card,
.checkout-summary-card {
  display: grid;
  gap: 1rem;
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--site-font-latin), sans-serif;
}

.checkout-card,
.checkout-summary-card { padding: 1.7rem; }

.checkout-block {
  padding: 1.2rem;
  border-radius: 24px;
  background: rgba(255, 247, 248, 0.72);
  border: 1px solid rgba(143, 48, 85, 0.08);
}

.checkout-note-card {
  padding: 1rem 1.1rem;
  margin-bottom: 0.8rem;
}

.checkout-note-card p { margin-top: 0.4rem; color: #78636d; line-height: 1.7; }

.payment-method-card,
.delivery-choice {
  display: block;
  padding: 1rem 1.1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(143, 48, 85, 0.1);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.payment-method-card.active,
.payment-method-card:hover { border-color: rgba(143, 48, 85, 0.3); transform: translateY(-1px); }

.method-leading {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.payment-method-radio {
  transform: translateY(1px);
}

.instructions-box {
  min-height: 120px;
}

.order-summary-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(143, 48, 85, 0.08);
}

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

.account-identity-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.4rem;
}

.account-avatar-wrap { flex: 0 0 auto; }

.account-avatar {
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(143, 48, 85, 0.18), rgba(109, 143, 117, 0.16));
  color: #8f3055;
  font-size: 2rem;
}

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

.dashboard-mini-card,
.admin-stat-card {
  display: grid;
  gap: 0.45rem;
  padding: 1.2rem;
}

.dashboard-mini-card i,
.admin-stat-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(231, 183, 197, 0.18);
  color: #8f3055;
  font-size: 1.25rem;
}

.dashboard-mini-card span,
.admin-stat-card span {
  color: #6c5760;
  font-family: var(--site-font-latin), sans-serif;
  font-size: 0.85rem;
}

.dashboard-mini-card strong,
.admin-stat-card strong {
  font-size: 1.55rem;
  font-family: var(--heading-font), var(--arabic-display), serif;
}

.account-order-card,
.admin-mini-product {
  grid-template-columns: 1fr auto;
  color: inherit;
}

.account-order-card span,
.admin-mini-product span {
  color: #806b74;
  font-family: var(--site-font-latin), sans-serif;
  font-size: 0.84rem;
}

.admin-shell {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 320px;
  padding: 1.4rem 1rem;
  background:
    radial-gradient(circle at top right, rgba(231, 183, 197, 0.22), transparent 30%),
    linear-gradient(180deg, #fff7f6 0%, #fffaf7 100%);
  border-left: 1px solid rgba(143, 48, 85, 0.08);
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1.2rem;
}

.admin-sidebar-brand,
.admin-sidebar-foot {
  padding: 0.5rem;
}

.admin-brand-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(143, 48, 85, 0.08);
}

.admin-brand-logo {
  width: auto;
  height: 88px;
  object-fit: contain;
}

.admin-brand-link strong {
  display: block;
  font-family: var(--heading-font), var(--arabic-display), serif;
  font-size: 1.5rem;
}

.admin-brand-link span {
  color: #806b74;
  font-family: var(--site-font-latin), sans-serif;
  font-size: 0.82rem;
}

.admin-sidebar-nav {
  display: grid;
  gap: 0.6rem;
  align-content: start;
  overflow-y: auto;
  padding-inline: 0.5rem;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  color: #684d58;
  border: 1px solid transparent;
  font-family: var(--site-font-latin), sans-serif;
  font-size: 0.9rem;
}

.admin-nav-link span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.admin-nav-link.active,
.admin-nav-link:hover {
  background: rgba(143, 48, 85, 0.08);
  color: #8f3055;
  border-color: rgba(143, 48, 85, 0.12);
}

.admin-nav-count {
  min-width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #8f3055;
  color: #fff;
  font-size: 0.76rem;
}

.admin-main {
  flex: 1;
  min-width: 0;
  padding: 1.4rem;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  margin-bottom: 1.4rem;
  background: rgba(255, 253, 251, 0.8);
  border: 1px solid rgba(143, 48, 85, 0.08);
  border-radius: 26px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.admin-topbar-title {
  font-size: 1.45rem;
  font-family: var(--heading-font), var(--arabic-display), serif;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-page-head { align-items: center; }

.admin-page-head h1 {
  margin-top: 0.35rem;
  margin-bottom: 0.55rem;
}

.admin-stat-card {
  min-height: 100%;
}

.admin-mini-product {
  grid-template-columns: 68px 1fr;
}

.admin-mini-product img {
  width: 68px;
  height: 68px;
  border-radius: 18px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 0.7rem;
}

.gallery-card {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(143, 48, 85, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.35rem;
}

.gallery-card img {
  width: 100%;
  height: 76px;
  object-fit: cover;
  border-radius: 14px;
}

.slide-thumb {
  height: 168px;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 247, 248, 0.9);
  border: 1px solid rgba(143, 48, 85, 0.08);
}

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

.slide-thumb-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #ab9099;
}

.slide-row.active-slide-picker {
  border-color: rgba(143, 48, 85, 0.26) !important;
  box-shadow: 0 0 0 0.2rem rgba(143, 48, 85, 0.08);
}

.sortable-list,
.category-sort-list {
  display: grid;
  gap: 0.8rem;
}

.sortable-item,
.category-sort-item {
  display: grid;
  grid-template-columns: auto 64px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255, 247, 248, 0.76);
  border: 1px solid rgba(143, 48, 85, 0.08);
}

.sortable-item.dragging,
.category-sort-item.dragging { opacity: 0.55; }

.sort-handle,
.category-sort-handle {
  font-size: 1.2rem;
  color: #8f3055;
  cursor: grab;
}

.menu-row { background: rgba(255, 247, 248, 0.76) !important; }

.theme-preview-shell {
  padding: 1.5rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 248, 249, 0.92));
  border: 1px solid rgba(143, 48, 85, 0.08);
  box-shadow: var(--shadow);
}

.floral-preview-hero {
  padding: 1.6rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(143, 48, 85, 0.1);
}

.theme-preview-card {
  height: 100%;
  padding: 1.3rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(143, 48, 85, 0.08);
}

.dropdown-menu {
  border: 1px solid rgba(143, 48, 85, 0.1);
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: rgba(255, 253, 251, 0.98);
}

.dropdown-item {
  font-family: var(--site-font-latin), sans-serif;
  font-size: 0.88rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(143, 48, 85, 0.06);
}

.empty-state-box {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 2rem;
  text-align: center;
  color: #8b737d;
  background: rgba(255, 253, 251, 0.82);
  border: 1px dashed rgba(143, 48, 85, 0.18);
  border-radius: 28px;
}

.site-footer {
  margin-top: 4rem;
  padding: 3rem 0 2rem;
  background: #163038;
  color: #edf1ef;
}

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

.site-footer-brand {
  display: grid;
  gap: 1rem;
}

.site-footer-logo {
  width: auto;
  height: 90px;
  object-fit: contain;
  filter: brightness(1.15);
}

.site-footer h6 {
  margin-bottom: 0.9rem;
  color: #fff5fa;
  font-size: 1.25rem;
}

.site-footer a {
  display: block;
  margin-bottom: 0.65rem;
}

.site-footer-socials {
  display: flex;
  gap: 0.65rem;
}

.site-footer-socials span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.site-footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(237, 241, 239, 0.7);
  font-family: var(--site-font-latin), sans-serif;
  font-size: 0.84rem;
}

.currency-switcher::after { display: none !important; }

.home-slider-frame {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: calc(var(--radius-surface) + 4px);
  box-shadow: var(--shadow);
}

.home-slider-image {
  width: 100%;
  min-height: 620px;
  object-fit: cover;
}

.home-slider-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(32, 18, 23, 0.7) 0%, rgba(32, 18, 23, 0.22) 52%, rgba(32, 18, 23, 0.08) 100%),
    linear-gradient(180deg, rgba(255, 250, 246, 0.02), rgba(255, 250, 246, 0.08));
}

.home-slider-copy {
  position: absolute;
  inset: auto auto 3rem 3rem;
  z-index: 2;
  width: min(560px, calc(100% - 3rem));
  display: grid;
  gap: 1rem;
  color: #fff9fb;
}

.home-slider-copy h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.96;
  color: #fffafb;
}

.home-slider-copy p {
  color: rgba(255, 248, 251, 0.9);
  font-size: 1.05rem;
  line-height: 1.9;
}

.home-slider-copy .soft-badge {
  background: rgba(255, 245, 248, 0.14);
  color: #fff7fa;
  border-color: rgba(255, 255, 255, 0.2);
}

.home-slider-arrow {
  width: 60px;
  opacity: 1;
}

.home-slider-arrow .carousel-control-prev-icon,
.home-slider-arrow .carousel-control-next-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.22);
  background-size: 48% 48%;
}

.home-slider-indicators {
  bottom: 1.35rem;
  margin-bottom: 0;
}

.home-slider-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
}

.catalog-editorial,
.catalog-feature-card,
.order-luxe-card,
.orders-summary-card {
  background: rgba(255, 253, 251, 0.94);
  border: 1px solid rgba(234, 215, 219, 0.92);
  border-radius: var(--radius-surface);
  box-shadow: var(--shadow);
}

.catalog-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 1.5rem;
  padding: 1.4rem;
}

.catalog-editorial-copy {
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: 1rem;
}

.catalog-editorial-copy h1 {
  font-size: clamp(2.3rem, 4vw, 4.2rem);
}

.catalog-editorial-copy p {
  color: #73616a;
  line-height: 1.9;
  max-width: 40rem;
}

.catalog-editorial-media {
  overflow: hidden;
  border-radius: calc(var(--radius-surface) - 4px);
  min-height: 420px;
  background: #f5ecea;
}

.catalog-editorial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-feature-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.05fr);
  gap: 1.2rem;
  padding: 1.2rem;
}

.catalog-feature-media {
  overflow: hidden;
  border-radius: calc(var(--radius-surface) - 6px);
  min-height: 360px;
  background: #f5ecea;
}

.catalog-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-feature-copy {
  display: grid;
  align-content: center;
  gap: 0.9rem;
  padding: 0.5rem;
}

.catalog-feature-copy h2 {
  font-size: clamp(2rem, 3.2vw, 3.4rem);
}

.catalog-feature-copy p {
  color: #705b64;
  line-height: 1.9;
}

.catalog-feature-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.catalog-luxe-card .product-media {
  height: 320px;
}

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

.orders-summary-card {
  padding: 1.35rem 1.4rem;
  display: grid;
  gap: 0.35rem;
}

.orders-summary-card small {
  color: #7b6670 !important;
  font-family: var(--site-font-latin), sans-serif;
}

.orders-summary-card strong {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  color: #8f3055;
  font-family: var(--heading-font), var(--arabic-display), serif;
}

.orders-luxe-list {
  display: grid;
  gap: 1rem;
}

.order-luxe-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 1.35rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.order-luxe-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 56px rgba(143, 48, 85, 0.16);
}

.order-luxe-main {
  display: grid;
  gap: 0.75rem;
}

.order-luxe-main h3 {
  font-size: 1.8rem;
}

.order-luxe-main p {
  color: #705b64;
}

.order-luxe-meta,
.order-luxe-badges {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  align-items: center;
}

.order-luxe-badges span,
.order-luxe-number {
  padding: 0.42rem 0.8rem;
  border-radius: var(--radius-button);
  background: rgba(143, 48, 85, 0.08);
  color: #8f3055;
  font-size: 0.84rem;
  font-family: var(--site-font-latin), sans-serif;
}

.order-luxe-side {
  min-width: 150px;
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 0.45rem;
}

.order-luxe-link {
  color: #8f3055;
  font-family: var(--site-font-latin), sans-serif;
  font-weight: 700;
}

.admin-modal-shell {
  border: 1px solid rgba(234, 215, 219, 0.92);
  border-radius: calc(var(--radius-surface) + 2px);
  background: rgba(255, 253, 251, 0.98);
  box-shadow: var(--shadow);
}

.admin-modal-shell .modal-header,
.admin-modal-shell .modal-footer {
  border-color: rgba(143, 48, 85, 0.08);
  padding: 1.25rem 1.5rem;
}

.admin-modal-shell .modal-body {
  padding: 1.5rem;
}

.admin-modal-shell .gallery-card,
.gallery-card {
  border-radius: calc(var(--radius-control) + 2px);
}

.collection-card,
.floral-product-card,
.hero-mosaic-card,
.product-gallery-shell,
.product-summary-card,
.product-story-card,
.checkout-card,
.cart-summary-card,
.checkout-summary-card,
.account-identity-card,
.account-order-card,
.checkout-note-card,
.cart-item-card,
.account-order-card,
.admin-mini-product,
.category-sort-item,
.theme-preview-shell,
.floral-preview-hero,
.theme-preview-card {
  border-radius: var(--radius-surface);
}

.product-gallery-main,
.product-thumb,
.mobile-drawer-link,
.catalog-search {
  border-radius: var(--radius-control);
}

.admin-brand-link {
  border-radius: var(--radius-surface);
}

.admin-topbar-title {
  font-size: 1.1rem;
  color: #5d424f;
}

.theme-preview-shell,
.floral-preview-hero,
.theme-preview-card {
  border-radius: var(--radius-surface);
}

@media (min-width: 992px) {
  .mobile-header,
  .mobile-drawer,
  .mobile-bottom-nav { display: none !important; }
}

@media (max-width: 1199px) {
  .site-header-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .site-header-nav,
  .site-header-actions { justify-content: center; }

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

@media (max-width: 991px) {
  body { padding-bottom: 88px; }
  .admin-shell { display: block; }
  .admin-sidebar {
    position: relative;
    width: auto;
    height: auto;
  }
  .admin-main { padding: 1rem; }
  .hero-mosaic {
    grid-template-columns: 1fr 1fr;
    min-height: auto;
  }
  .hero-mosaic-card:first-child { grid-column: 1 / -1; }
  .collection-grid,
  .product-story-grid,
  .account-hero,
  .site-footer-grid {
    grid-template-columns: 1fr;
  }
  .account-stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-editorial,
  .catalog-feature-card,
  .order-luxe-card {
    grid-template-columns: 1fr;
  }
  .admin-brand-link {
    padding: 0.9rem;
    gap: 0.75rem;
  }
  .admin-brand-logo { height: 64px; }
  .admin-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
  .orders-summary-grid { grid-template-columns: 1fr; }
  .home-slider-frame,
  .home-slider-image { min-height: 520px; }
  .home-slider-copy {
    inset: auto 1.35rem 1.35rem 1.35rem;
    width: auto;
  }
  .order-luxe-side { justify-items: start; min-width: 0; }
}

@media (max-width: 767px) {
  .container, .container-fluid { padding-inline: 16px; }
  .site-announcement { font-size: 0.82rem; }
  .home-slider-copy h1,
  .product-summary-card h1,
  .account-identity-card h1,
  .admin-page-head h1 { font-size: 2.4rem; }
  .hero-logo-image { height: 110px; }
  .product-media { height: 210px; }
  .collection-card { min-height: 300px; }
  .product-order-form .product-action-row,
  .hero-actions,
  .catalog-editorial,
  .catalog-feature-meta,
  .admin-page-head,
  .section-heading { flex-direction: column; align-items: flex-start; }
  .cart-item-card,
  .sortable-item,
  .category-sort-item {
    grid-template-columns: 1fr;
  }
  .cart-item-image,
  .qr-preview { width: 100%; height: 180px; }
  .cart-item-actions { justify-items: stretch; min-width: 0; }
  .account-stats-grid { grid-template-columns: 1fr; }
  .catalog-search { min-width: 100%; }
  .catalog-luxe-card .product-media { height: 260px; }
  .home-slider-frame,
  .home-slider-image { min-height: 440px; }
  .home-slider-copy p { font-size: 0.95rem; }
}

