/* ==========================================================================
   AJMAN LUXURY — Exact 3saf.com Replica Stylesheet
   ========================================================================== */

:root {
  --bg-page: #ffffff;
  --bg-light: #f7f7f7;
  --text-main: #111111;
  --text-muted: #555555;
  --text-light: #888888;
  --gold-primary: #c8a45d;
  --gold-dark: #9f7b32;
  --brush-maroon: #6b0f1a;
  --border-subtle: #eeeeee;
  --red-badge: #d90429;
  --tabby-green: #3efebe;
  --tamara-orange: #ff6e40;
  --font-family: 'Tajawal', sans-serif;
  --transition: 0.25s ease;
  --container-max: 1260px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.theme-3saf {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-main);
  direction: rtl;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body[dir="ltr"] {
  direction: ltr;
}

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container-fluid {
  width: 100%;
  padding: 0 2rem;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   1. Top Email & Lang Bar (Exact 3saf Top Strip)
   ========================================================================== */
.top-support-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1002;
  padding: 0.6rem 0;
  font-size: 0.85rem;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.support-email {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.support-email a:hover {
  text-decoration: underline;
}

.top-lang-link a {
  font-weight: 600;
}

/* ==========================================================================
   2. Transparent Floating Header (Exact 3saf Floating Navigation)
   ========================================================================== */
.site-header-3saf {
  position: absolute;
  top: 32px;
  left: 0;
  width: 100%;
  z-index: 1001;
  background: transparent;
  transition: all 0.35s ease;
  padding: 0.8rem 0;
}

.site-header-3saf.scrolled {
  position: fixed;
  top: 0;
  background: rgba(18, 14, 12, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  padding: 0.5rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Right: Brand Logo */
.header-right-col {
  display: flex;
  align-items: center;
}

.brand-logo-img {
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
}

/* Center: Nav Menu */
.header-center-nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-center-nav .nav-links-list {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links-list li {
  position: relative;
}

.nav-links-list li a {
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
  padding: 0.4rem 0.2rem;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.25s ease;
}

.nav-links-list li a:hover {
  color: var(--gold-primary);
}

/* Dropdown styling */
.has-dropdown {
  position: relative;
}

.has-dropdown .dropdown-trigger {
  cursor: pointer;
}

.has-dropdown .dropdown-trigger i {
  font-size: 0.65rem;
  transition: transform 0.25s ease;
  opacity: 0.85;
}

.has-dropdown:hover .dropdown-trigger i {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 270px;
  background: rgba(18, 18, 18, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  padding: 0.75rem 0.6rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 1000;
  animation: navDropdownFade 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

[dir="ltr"] .nav-dropdown-menu {
  right: auto;
  left: 0;
}

.has-dropdown:hover .nav-dropdown-menu {
  display: flex;
}

@keyframes navDropdownFade {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(4px) scale(1);
  }
}

.dropdown-item {
  display: flex !important;
  align-items: center;
  gap: 0.8rem;
  padding: 0.55rem 0.85rem !important;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(-4px);
}

[dir="ltr"] .dropdown-item:hover {
  transform: translateX(4px);
}

.dropdown-thumb {
  width: 32px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.dropdown-item-info {
  display: flex;
  flex-direction: column;
}

.dropdown-item-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
}

.dropdown-item-sub {
  font-size: 0.72rem;
  color: #a8a8a8;
  margin-top: 2px;
}

.dropdown-all-link {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 0.4rem;
  padding-top: 0.5rem;
  text-align: center;
}

.dropdown-all-link a {
  justify-content: center !important;
  font-size: 0.82rem !important;
  color: var(--gold-primary) !important;
  font-weight: 700;
}

/* Nav Pills for Special Bundles */
.nav-pill-link.trio-pill {
  background: rgba(144, 12, 63, 0.25);
  border: 1px solid rgba(255, 180, 200, 0.35);
  border-radius: 20px;
  padding: 0.32rem 0.85rem !important;
  color: #ffffff !important;
}

.nav-pill-link.trio-pill:hover {
  background: rgba(144, 12, 63, 0.5);
  border-color: rgba(255, 180, 200, 0.6);
}

.nav-pill-link.royal-pill {
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 20px;
  padding: 0.32rem 0.85rem !important;
  color: #ffe8b3 !important;
}

.nav-pill-link.royal-pill i {
  color: #d4af37;
}

.nav-pill-link.royal-pill:hover {
  background: rgba(212, 175, 55, 0.35);
  border-color: rgba(212, 175, 55, 0.7);
}

/* Left: Icons */
.header-left-col {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.tool-icon-btn {
  color: #ffffff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  position: relative;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  transition: transform var(--transition), color var(--transition);
}

.tool-icon-btn:hover {
  transform: scale(1.1);
  color: var(--gold-primary);
}

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

.red-cart-badge {
  position: absolute;
  top: -2px;
  right: -6px;
  background-color: var(--red-badge);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 900;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

body[dir="ltr"] .red-cart-badge {
  right: auto;
  left: -6px;
}

.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.mobile-nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #ffffff;
  border-radius: 2px;
}

/* Search Drop Bar */
.search-drop-bar {
  display: none;
  background: #ffffff;
  padding: 1rem 0;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.search-drop-bar.active {
  display: block;
}

.search-bar-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-bar-inner input {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 30px;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
}

.close-search-btn {
  font-size: 1.25rem;
  color: #444;
}

/* ==========================================================================
   3. Full-Screen Cinematic Edge-to-Edge Hero Video (Exact 3saf Video Banner)
   ========================================================================== */
.hero-video-fullwidth {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 580px;
  max-height: 940px;
  overflow: hidden;
  background-color: #000000;
}

.video-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.bg-cinematic-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}

/* ==========================================================================
   4. Iconic 3saf Brush Circles Categories (دوائر التصنيفات بفرشاة الرسم)
   ========================================================================== */
.brush-categories-section {
  padding: 3.5rem 0 2rem 0;
  background: #ffffff;
}

.brush-categories-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.brush-circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  group: pointer;
}

.brush-ring-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}

.brush-circle-item:hover .brush-ring-wrap {
  transform: scale(1.06);
}

.brush-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.brush-path {
  fill: none;
  stroke: var(--brush-maroon);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 5px rgba(107, 15, 26, 0.35));
}

.circle-inner-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  background: #fdfaf6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.08);
}

.circle-inner-photo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform var(--transition);
}

.brush-circle-item:hover .circle-inner-photo img {
  transform: scale(1.12);
}

.brush-cat-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 1rem;
}

/* ==========================================================================
   5. Products Grid & Cards (3saf Style)
   ========================================================================== */
.collection-section {
  padding: 4.5rem 0;
  background-color: #ffffff;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-sub {
  font-size: 0.9rem;
  color: var(--burgundy-primary);
  font-weight: 700;
  letter-spacing: 1px;
}

.section-main-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #1a1a1a;
  margin: 0.4rem 0 0.8rem 0;
}

.section-desc {
  color: #666666;
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.products-grid-3saf {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.product-card-3saf {
  background: transparent;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition);
}

.product-card-3saf:hover {
  transform: translateY(-4px);
}

.card-image-link {
  display: block;
  text-decoration: none;
  position: relative;
}

/* 3saf Signature Arched Alcove Container */
.card-arch-alcove {
  position: relative;
  width: 100%;
  height: 380px;
  background: linear-gradient(180deg, #edf0f2 0%, #f7f9fa 100%);
  border-radius: 140px 140px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  overflow: hidden;
  transition: background 0.3s ease;
}

.product-card-3saf:hover .card-arch-alcove {
  background: linear-gradient(180deg, #e5e8eb 0%, #f2f4f6 100%);
}

.card-arch-alcove .product-image {
  max-width: 82%;
  max-height: 88%;
  object-fit: contain;
  filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.16));
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), filter 0.45s ease;
}

.product-card-3saf:hover .card-arch-alcove .product-image {
  transform: translateY(-6px) scale(1.04);
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.22));
}

/* Pill badge at bottom of arch */
.card-bottom-pill {
  position: absolute;
  bottom: 12px;
  display: flex;
  justify-content: center;
  width: 100%;
  pointer-events: none;
}

.pill-badge-black {
  background-color: #000000;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.8rem;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

/* Card Content Under Arch (Exact 3saf Styling) */
.card-content {
  padding: 1.2rem 0.5rem 0 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-grow: 1;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 0.25rem 0;
}

.product-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color var(--transition);
}

.product-title a:hover {
  color: var(--burgundy-primary);
}

.product-volume {
  font-size: 0.9rem;
  color: #888888;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.card-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
}

.card-rating .stars {
  color: #000000;
  font-size: 0.75rem;
}

.rating-num {
  font-weight: 700;
  color: #1a1a1a;
}

.reviews-count {
  color: #999999;
  font-size: 0.8rem;
}

.price-container {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.current-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1a1a1a;
}

.old-price {
  font-size: 0.9rem;
  color: #999999;
  text-decoration: line-through;
  font-weight: 500;
}

/* 3saf Burgundy Add to Bag Button */
.card-action-wrap {
  width: 100%;
  margin-top: auto;
}

.btn-add-to-cart {
  width: 100%;
  background-color: var(--burgundy-primary);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.btn-add-to-cart:hover {
  background-color: var(--burgundy-dark);
}

.btn-add-to-cart:active {
  transform: scale(0.98);
}

/* ==========================================================================
   6. Golden Guarantee Section
   ========================================================================== */
.golden-guarantee-section {
  padding: 5rem 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.guarantee-box {
  background: linear-gradient(135deg, #1f1a17 0%, #0d0a08 100%);
  color: #ffffff;
  border-radius: 24px;
  padding: 3.5rem;
  display: flex;
  gap: 3rem;
  align-items: center;
  border: 1px solid rgba(200, 164, 93, 0.35);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.guarantee-badge {
  font-size: 5.5rem;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.guarantee-eyebrow {
  font-size: 0.88rem;
  color: var(--gold-primary);
  font-weight: 700;
  text-transform: uppercase;
}

.guarantee-text h2 {
  font-size: 2.1rem;
  font-weight: 900;
  margin: 0.3rem 0 1rem 0;
  color: #ffffff;
}

.guarantee-text p {
  color: #d1c7bc;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.guarantee-points {
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
}

.point-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.point-item i {
  color: var(--gold-primary);
}

/* ==========================================================================
   7. Cart Drawer
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

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

.cart-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: #ffffff;
  box-shadow: -5px 0 35px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

body[dir="ltr"] .cart-drawer-panel {
  right: auto;
  left: 0;
  transform: translateX(-100%);
}

.cart-drawer-overlay.active .cart-drawer-panel {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.close-cart-btn {
  font-size: 1.25rem;
  color: var(--text-main);
}

.cart-free-shipping-progress {
  background: #fcf9f2;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid #f0e7d5;
}

.progress-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}

.progress-bar-wrap {
  width: 100%;
  height: 6px;
  background: #e5dac4;
  border-radius: 6px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-dark));
}

.cart-drawer-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.cart-item-row {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.cart-item-img {
  width: 75px;
  height: 75px;
  object-fit: contain;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 0.3rem;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}

.cart-qty-ctrl {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d5d5d5;
  border-radius: 20px;
  overflow: hidden;
}

.qty-btn {
  padding: 0.2rem 0.6rem;
  font-size: 0.85rem;
  font-weight: bold;
}

.qty-btn:hover { background: #eee; }

.qty-val {
  padding: 0.2rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.remove-item-btn {
  position: absolute;
  top: 0;
  left: 0;
  color: #cc0000;
  font-size: 0.85rem;
}

body[dir="ltr"] .remove-item-btn {
  left: auto;
  right: 0;
}

.cart-drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  background: #fafafa;
}

.subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.subtotal-amount {
  font-weight: 900;
  color: var(--text-main);
}

.cart-bnpl-notice {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
}

.bnpl-badges { display: flex; gap: 0.3rem; }
.badge-tabby { background: var(--tabby-green); color: #000; font-size: 0.65rem; font-weight: bold; padding: 0.15rem 0.45rem; border-radius: 4px; }
.badge-tamara { background: var(--tamara-orange); color: #fff; font-size: 0.65rem; font-weight: bold; padding: 0.15rem 0.45rem; border-radius: 4px; }

.checkout-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: #000000;
  color: #ffffff;
  padding: 0.95rem;
  border-radius: 30px;
  font-size: 1.05rem;
  font-weight: 800;
  transition: all var(--transition);
}

.checkout-submit-btn:hover {
  background: var(--gold-dark);
}

/* ==========================================================================
   8. Floating Scroll to Top Button (Exact 3saf Bottom Left Arrow)
   ========================================================================== */
.scroll-top-btn {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ccc;
  border-radius: 50%;
  color: #333333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  z-index: 997;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

body[dir="ltr"] .scroll-top-btn {
  left: auto;
  right: 25px;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

/* ==========================================================================
   9. Mobile Bottom Bar
   ========================================================================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding: 0.5rem 1rem;
  z-index: 998;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.bottom-bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-main);
  font-size: 0.75rem;
  font-weight: 600;
}

.bottom-bar-item.active, .bottom-bar-item:hover { color: var(--gold-dark); }
.bottom-bar-item i { font-size: 1.25rem; }
.cart-icon-rel { position: relative; }
.cart-badge-dot {
  position: absolute;
  top: -4px;
  right: -8px;
  background-color: var(--red-badge);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: bold;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.whatsapp-item { color: #25d366; }

/* Mobile Drawer */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.mobile-drawer-overlay.active { opacity: 1; visibility: visible; }
.mobile-drawer {
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: #ffffff;
  padding: 1.5rem;
  position: absolute;
  top: 0;
  right: 0;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

body[dir="ltr"] .mobile-drawer { right: auto; left: 0; transform: translateX(-100%); }
.mobile-drawer-overlay.active .mobile-drawer { transform: translateX(0); }
.drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.drawer-logo { height: 38px; }
.close-drawer-btn { font-size: 1.3rem; }
.drawer-nav li { margin-bottom: 1.2rem; }
.drawer-nav li a { display: flex; align-items: center; gap: 0.75rem; font-size: 1.05rem; font-weight: 700; color: var(--text-main); }

/* ==========================================================================
   10. Footer (3saf Clean Layout)
   ========================================================================== */
.site-footer {
  background-color: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding-bottom: 2rem;
}

.footer-features-strip {
  background-color: #fafafa;
  border-bottom: 1px solid var(--border-subtle);
  padding: 2.5rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-item i {
  font-size: 1.8rem;
  color: var(--gold-dark);
}

.feature-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
}

.feature-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-main-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 3rem;
  padding: 4rem 0 3rem 0;
}

.footer-brand-logo {
  height: 48px;
  margin-bottom: 1.2rem;
}

.brand-motto {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.col-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.2rem;
}

.col-links li { margin-bottom: 0.75rem; }
.col-links li a { font-size: 0.92rem; color: var(--text-muted); }
.col-links li a:hover { color: var(--gold-dark); }
.cr-text { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.4rem; }

.payment-badges-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.pay-tag {
  background: #f2f2f2;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 0.3rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
}
.pay-tag.tabby { background: #d7fbf0; }
.pay-tag.tamara { background: #ffece5; }

.footer-bottom-copyright {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.copy-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.motto-tag {
  color: var(--gold-dark);
  font-weight: 700;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .header-center-nav {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .brush-categories-grid {
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-main-content {
    grid-template-columns: 1fr;
  }
  .guarantee-box {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  .guarantee-points {
    justify-content: center;
  }
  .mobile-bottom-bar {
    display: flex;
  }
  body.theme-3saf {
    padding-bottom: 60px;
  }
}

@media (max-width: 600px) {
  .brush-ring-wrap {
    width: 110px;
    height: 110px;
  }
  .circle-inner-photo {
    width: 85px;
    height: 85px;
  }
  .brush-cat-title {
    font-size: 0.95rem;
  }
  .brush-categories-grid {
    gap: 1.25rem;
  }
  .hero-video-fullwidth {
    min-height: 460px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   11. NFC Smart Fragrance Showcase & Badges
   ========================================================================== */
.card-nfc-tag {
  position: absolute;
  top: 14px;
  left: 16px;
  background: rgba(18, 14, 12, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #d4af37;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.22rem 0.65rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 4;
  transition: all var(--transition);
}

body[dir="ltr"] .card-nfc-tag {
  left: auto;
  right: 16px;
}

.product-card-3saf:hover .card-nfc-tag {
  background: #000000;
  border-color: #d4af37;
  color: #ffffff;
}

.card-nfc-preview-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: #777777;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.5rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.card-nfc-preview-link:hover {
  color: var(--burgundy-primary);
}

.card-nfc-preview-link i {
  color: var(--gold-dark);
}

.nfc-showcase-section {
  background: radial-gradient(circle at 70% 30%, #1e1318 0%, #0c0b0e 100%);
  color: #ffffff;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.nfc-showcase-wrap {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 4rem;
  align-items: center;
}

.nfc-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold-primary);
  padding: 0.35rem 0.9rem;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.nfc-main-title {
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #ffffff;
}

.nfc-desc {
  color: #b5b5be;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.2rem;
}

.nfc-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.nfc-feat-box {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.nfc-feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.nfc-feat-box h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.25rem 0;
  color: #ffffff;
}

.nfc-feat-box p {
  font-size: 0.82rem;
  color: #9898a0;
  line-height: 1.5;
  margin: 0;
}

.btn-nfc-demo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--burgundy-primary) 0%, #8b1322 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  padding: 0.9rem 1.8rem;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(107, 15, 26, 0.45);
  transition: transform 0.25s, box-shadow 0.25s;
}

.btn-nfc-demo:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(107, 15, 26, 0.6);
  color: #ffffff;
}

/* Phone Mockup */
.nfc-showcase-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.nfc-phone-mockup {
  width: 270px;
  background: #101012;
  border: 3px solid #2a2a2e;
  border-radius: 36px;
  padding: 0.8rem;
  box-shadow: 0 25px 60px rgba(0,0,0,0.8), inset 0 0 15px rgba(255,255,255,0.05);
  position: relative;
}

.phone-screen-preview {
  background: #17171a;
  border-radius: 26px;
  padding: 1.2rem 1rem;
  text-align: center;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #888;
  margin-bottom: 1rem;
}

.phone-check-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #2ec4b6;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.6rem auto;
  font-size: 1.15rem;
  animation: pulse-ring 2.5s infinite;
}

.phone-inner-content h5 {
  font-size: 0.95rem;
  margin: 0 0 0.2rem 0;
  color: #fff;
  font-weight: 800;
}

.phone-serial {
  font-size: 0.72rem;
  color: var(--gold-primary);
  font-family: monospace;
  display: block;
  margin-bottom: 0.8rem;
}

.phone-bottle-thumb {
  width: 120px;
  height: auto;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 12px 16px rgba(0,0,0,0.7));
}

.phone-p-name {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  display: block;
  margin-top: 0.5rem;
}

.phone-p-tag {
  font-size: 0.75rem;
  color: #888;
}

.nfc-wave-emitter {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-ring 2s infinite;
}

.nfc-wave-icon {
  color: var(--gold-primary);
  font-size: 1.3rem;
  filter: drop-shadow(0 0 8px var(--gold-primary));
}

@media (max-width: 900px) {
  .nfc-showcase-wrap {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .nfc-features-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   12. Product Details Page (3saf Luxury Architecture)
   ========================================================================== */
.product-details-page {
  padding: 8.5rem 0 5rem 0;
  background-color: #ffffff;
}

.product-details-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4.5rem;
  align-items: start;
}

.detail-arch {
  height: 520px;
  background: linear-gradient(180deg, #edf0f2 0%, #f7f9fa 100%);
  border-radius: 180px 180px 24px 24px;
}

.product-detail-photo {
  max-width: 85%;
  max-height: 88%;
  object-fit: contain;
  filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.2));
  transition: transform 0.4s ease;
}

.product-detail-photo:hover {
  transform: scale(1.04);
}

.detail-nfc-live-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111114;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #ffffff;
  padding: 0.85rem 1.2rem;
  border-radius: 12px;
  margin-top: 1.2rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.detail-nfc-live-pill:hover {
  background: var(--burgundy-primary);
  border-color: var(--gold-primary);
  color: #ffffff;
}

.detail-nfc-live-pill i {
  color: var(--gold-primary);
}

.detail-breadcrumb {
  font-size: 0.85rem;
  color: #888888;
  margin-bottom: 1rem;
}

.detail-breadcrumb a {
  color: #888888;
  text-decoration: none;
}

.detail-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #1a1a1a;
  margin: 0 0 0.3rem 0;
}

.detail-type {
  font-size: 1.05rem;
  color: #777777;
  margin-bottom: 1rem;
}

.detail-rating-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.detail-rating-row .stars {
  color: #fca311;
  font-size: 0.85rem;
}

.rating-val {
  font-weight: 800;
  color: #1a1a1a;
}

.reviews-val {
  color: #999999;
  font-size: 0.85rem;
}

.detail-price-box {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.detail-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: #1a1a1a;
}

.detail-old-price {
  font-size: 1.2rem;
  color: #999999;
  text-decoration: line-through;
}

.vat-badge {
  font-size: 0.8rem;
  background: #f0f0f2;
  color: #555555;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.detail-bnpl-card {
  background: #faf8f5;
  border: 1px solid #ebdcc5;
  border-radius: 10px;
  padding: 0.8rem 1.2rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #333333;
}

.bnpl-tags {
  display: flex;
  gap: 0.4rem;
}

.detail-smart-nfc-box {
  background: linear-gradient(135deg, rgba(20, 16, 18, 0.95), rgba(10, 8, 10, 0.98));
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  padding: 1.1rem 1.3rem;
  margin-bottom: 1.8rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.nfc-icon-col {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.nfc-box-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--gold-primary);
  margin-bottom: 0.25rem;
}

.nfc-box-text p {
  margin: 0;
  font-size: 0.82rem;
  color: #c0c0c8;
  line-height: 1.45;
}

.detail-add-btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 6px;
  margin-bottom: 2.5rem;
}

.detail-notes-section {
  border-top: 1px solid #eeeeee;
  padding-top: 2rem;
  margin-bottom: 2rem;
}

.detail-notes-section h3, .detail-story-section h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

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

.note-box {
  background: #f8f9fa;
  border: 1px solid #ebecee;
  border-radius: 10px;
  padding: 1rem;
}

.note-box strong {
  display: block;
  font-size: 0.85rem;
  color: var(--burgundy-primary);
  margin-bottom: 0.3rem;
}

.note-box p {
  margin: 0;
  font-size: 0.85rem;
  color: #444444;
  line-height: 1.4;
}

.story-p {
  color: #555555;
  line-height: 1.8;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .product-details-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .detail-arch {
    height: 400px;
  }
  .notes-grid-3 {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   13. Inner Pages Header Contrast & WhatsApp Direct Ordering
   ========================================================================== */
body.inner-page .site-header-3saf {
  position: sticky;
  top: 0;
  background: rgba(18, 14, 12, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  padding: 0.6rem 0;
  z-index: 1002;
}

body.inner-page .product-details-page {
  padding-top: 3.5rem;
}

.detail-actions-area {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.btn-whatsapp-direct {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
  color: #ffffff !important;
  padding: 1rem 1.6rem;
  border-radius: 6px;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex: 1.2;
}

.btn-whatsapp-direct:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  color: #ffffff !important;
}

.btn-whatsapp-direct i {
  font-size: 1.35rem;
}

.detail-add-btn {
  flex: 0.8;
  margin-bottom: 0 !important;
}

.whatsapp-submit-btn {
  background: linear-gradient(135deg, #128c7e 0%, #25d366 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.6rem !important;
  cursor: pointer !important;
}

.whatsapp-submit-btn:hover {
  background: linear-gradient(135deg, #0e6e63 0%, #1ebc59 100%) !important;
  transform: translateY(-2px);
}

.whatsapp-submit-btn i {
  font-size: 1.25rem;
}

@media (max-width: 600px) {
  .detail-actions-area {
    flex-direction: column;
  }
  .btn-whatsapp-direct, .detail-add-btn {
    width: 100%;
    flex: none;
  }
}


/* ==========================================================================
   EXCLUSIVE LUXURY BUNDLES & CUSTOM TRIO SELECTION (3SAF STYLE)
   ========================================================================== */
.bundles-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #fbfbfb 0%, #f4f6f8 100%);
  border-top: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
}

.bundles-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem;
  margin-top: 2.5rem;
  align-items: stretch;
}

.bundle-luxury-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bundle-luxury-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.bundle-luxury-card.royal-card {
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  background: linear-gradient(180deg, #ffffff 0%, #fffdfa 100%);
}

.bundle-luxury-card.trio-card {
  border: 1.5px solid rgba(144, 12, 63, 0.3);
}

.bundle-top-ribbon {
  position: absolute;
  top: -14px;
  right: 28px;
  z-index: 5;
}

[dir="ltr"] .bundle-top-ribbon {
  right: auto;
  left: 28px;
}

.ribbon-badge-burgundy {
  background: var(--burgundy-primary);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(144, 12, 63, 0.35);
  letter-spacing: 0.3px;
  display: inline-block;
}

.ribbon-badge-gold {
  background: linear-gradient(135deg, #b8860b 0%, #d4af37 50%, #aa771c 100%);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
  letter-spacing: 0.3px;
  display: inline-block;
}

.bundle-header-area {
  margin-bottom: 1.6rem;
}

.bundle-subtitle {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--burgundy-primary);
  letter-spacing: 1px;
  margin-bottom: 0.35rem;
}

.royal-card .bundle-subtitle {
  color: #b8860b;
}

.bundle-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111111;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.bundle-desc {
  font-size: 0.92rem;
  color: #666666;
  line-height: 1.55;
  margin: 0;
}

/* Trio Interactive Builder */
.trio-builder-wrap {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.trio-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.picker-step-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.step-badge {
  background: var(--burgundy-primary);
  color: #ffffff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
}

.step-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #222222;
}

.trio-counter-pill {
  background: #f0f0f0;
  color: #333333;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  transition: all 0.25s ease;
}

.trio-counter-pill.complete {
  background: #0f8538;
  color: #ffffff;
}

/* 5 Perfumes Selector Tiles */
.trio-perfumes-selector {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.trio-select-tile {
  background: #f9f9fa;
  border: 1.5px solid #e5e7ea;
  border-radius: 12px;
  padding: 0.6rem 0.3rem 0.5rem 0.3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  position: relative;
  transition: all 0.25s ease;
}

.trio-select-tile:hover {
  background: #f1f3f6;
  border-color: #c8cbd0;
  transform: translateY(-2px);
}

.trio-select-tile.selected {
  background: #fff6f8;
  border-color: var(--burgundy-primary);
  box-shadow: 0 4px 14px rgba(144, 12, 63, 0.16);
}

.tile-check-icon {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #dcdfe3;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  transition: all 0.2s ease;
}

[dir="ltr"] .tile-check-icon {
  right: auto;
  left: 5px;
}

.trio-select-tile.selected .tile-check-icon {
  background: var(--burgundy-primary);
  color: #ffffff;
}

.tile-bottle-img {
  width: 52px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
}

.tile-bottle-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.12));
}

.tile-perfume-name {
  font-size: 0.76rem;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  line-height: 1.2;
}

.tile-perfume-vol {
  font-size: 0.68rem;
  color: #888888;
  margin-top: 2px;
}

/* Visual 3-Slots Tray */
.trio-tray-container {
  background: #fbfbfc;
  border: 1px dashed #d6d9de;
  border-radius: 16px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.4rem;
}

.tray-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #555555;
  margin-bottom: 0.6rem;
}

.trio-slots-tray {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.trio-tray-slot {
  height: 90px;
  background: #ffffff;
  border: 1.5px dashed #cfd3d8;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.trio-tray-slot.filled {
  border-style: solid;
  border-color: var(--burgundy-primary);
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.slot-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  color: #a0a6b0;
  font-size: 0.75rem;
  font-weight: 600;
}

.slot-empty i {
  font-size: 0.95rem;
}

.slot-filled-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0.4rem;
  position: relative;
}

.slot-filled-card img {
  max-width: 50%;
  max-height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.15));
}

.slot-filled-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: #222222;
  margin-right: 0.4rem;
  line-height: 1.2;
}

[dir="ltr"] .slot-filled-name {
  margin-right: 0;
  margin-left: 0.4rem;
}

.slot-remove-btn {
  position: absolute;
  top: 4px;
  left: 4px;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

[dir="ltr"] .slot-remove-btn {
  left: auto;
  right: 4px;
}

.slot-remove-btn:hover {
  background: #ff3333;
}

/* Royal Box Hero Display */
.royal-display-wrap {
  margin-bottom: 1.2rem;
}

.card-arch-alcove.royal-arch {
  height: 290px;
  border-radius: 120px 120px 0 0;
  background: linear-gradient(180deg, #f5f2eb 0%, #faf8f5 100%);
  padding: 1.5rem 1rem 1.8rem 1rem;
}

.royal-box-photo {
  max-width: 95%;
  max-height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.18));
  transition: transform 0.4s ease;
}

.royal-card:hover .royal-box-photo {
  transform: translateY(-4px) scale(1.03);
}

.royal-included-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
}

.inc-chip {
  background: #fdfaf3;
  border: 1px solid #ebd9a8;
  color: #443c2c;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.inc-chip i {
  color: #b8860b;
  font-size: 0.72rem;
}

/* Pricing & Perks Area */
.bundle-price-box {
  background: #fbfbfc;
  border-radius: 14px;
  padding: 1rem 1.2rem;
  margin-top: auto;
  margin-bottom: 1.4rem;
  border: 1px solid #eee;
}

.price-figures {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}

.old-bundle-price {
  font-size: 1rem;
  color: #999999;
  text-decoration: line-through;
  font-weight: 500;
}

.current-bundle-price {
  font-size: 1.7rem;
  font-weight: 900;
  color: #111111;
}

.royal-card .current-bundle-price {
  color: #9c6c06;
}

.bundle-perks-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: #555555;
}

.bundle-perks-list span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.bundle-perks-list i {
  color: #0f8538;
}

.royal-card .bundle-perks-list i {
  color: #b8860b;
}

/* Bundle CTAs */
.bundle-actions-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.btn-whatsapp-bundle {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 0.85rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
  text-align: center;
}

.btn-whatsapp-bundle:hover {
  background: linear-gradient(135deg, #20ba5a 0%, #0e7266 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.btn-cart-bundle {
  background: var(--burgundy-primary);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 0.85rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(144, 12, 63, 0.2);
}

.btn-cart-bundle:hover {
  background: var(--burgundy-dark);
  transform: translateY(-2px);
}

/* ==========================================================================
   PRODUCT DETAIL PAGE TIER PURCHASE SELECTOR
   ========================================================================== */
.product-tier-selector-box {
  margin: 1.5rem 0;
  background: #fbfbfc;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: 1.2rem;
}

.tier-box-header {
  margin-bottom: 0.8rem;
}

.tier-label-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #222222;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.tier-options-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.tier-card-option {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #ffffff;
  border: 1.5px solid #e2e4e8;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tier-card-option input {
  display: none;
}

.tier-radio-custom {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #bbb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.tier-card-option.active {
  border-color: var(--burgundy-primary);
  background: #fff9fa;
}

.tier-card-option.active .tier-radio-custom {
  border-color: var(--burgundy-primary);
}

.tier-card-option.active .tier-radio-custom::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--burgundy-primary);
}

.tier-card-content {
  flex-grow: 1;
}

.tier-header-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.tier-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #1a1a1a;
}

.tier-badge-save {
  background: var(--burgundy-primary);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
}

.tier-badge-save.gold-save {
  background: #b8860b;
}

.tier-price-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: #111111;
}

.tier-subtext {
  display: block;
  font-size: 0.78rem;
  color: #777777;
  margin-top: 2px;
}

/* Companion Picker in Product Detail */
.detail-trio-companion-picker {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed #d8d8d8;
}

.companion-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 0.6rem;
}

.companion-title i {
  color: var(--burgundy-primary);
  margin-left: 0.35rem;
}

[dir="ltr"] .companion-title i {
  margin-left: 0;
  margin-right: 0.35rem;
}

.companion-counter {
  background: #eeeeee;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  font-size: 0.75rem;
}

.companion-counter.done {
  background: #0f8538;
  color: #ffffff;
}

.companion-tiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.companion-tile {
  background: #ffffff;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 0.5rem 0.3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.companion-tile:hover {
  border-color: #aaa;
}

.companion-tile.selected {
  border-color: var(--burgundy-primary);
  background: #fff5f7;
}

.comp-check {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ddd;
  color: #fff;
  font-size: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

[dir="ltr"] .comp-check {
  right: auto;
  left: 4px;
}

.companion-tile.selected .comp-check {
  background: var(--burgundy-primary);
}

.companion-tile img {
  width: 38px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 0.3rem;
}

.companion-tile span {
  font-size: 0.72rem;
  font-weight: 700;
  color: #222222;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .bundles-showcase-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .bundle-luxury-card {
    padding: 1.6rem 1.2rem;
  }
  .bundle-actions-group {
    grid-template-columns: 1fr;
  }
  .trio-perfumes-selector {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.35rem;
  }
  .tile-bottle-img {
    width: 38px;
    height: 50px;
  }
  .tile-perfume-name {
    font-size: 0.68rem;
  }
  .trio-slots-tray {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }
  .trio-tray-slot {
    height: 76px;
  }
  .companion-tiles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ==========================================================================
   COMPREHENSIVE MOBILE & MULTI-DEVICE RESPONSIVENESS (ZERO OVERFLOW GUARD)
   ========================================================================== */

html {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
}

body.theme-3saf {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  position: relative !important;
  box-sizing: border-box !important;
}

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

/* Tablet & Mobile Header Rules (Below 1100px) */
@media (max-width: 1100px) {
  .header-center-nav {
    display: none !important;
  }
  .mobile-nav-toggle {
    display: flex !important;
  }
}

/* Tablet (Below 900px) */
@media (max-width: 900px) {
  .top-support-bar {
    font-size: 0.78rem;
    padding: 0.4rem 0;
  }
  
  .site-header-3saf {
    top: 28px;
    padding: 0.5rem 0;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .site-header-3saf.scrolled {
    top: 0;
    padding: 0.4rem 0;
  }

  .header-inner {
    padding: 0 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .brand-logo-img {
    height: 34px !important;
    max-width: 155px !important;
    width: auto;
  }

  .header-left-col {
    gap: 0.65rem !important;
  }

  .tool-icon-btn {
    width: 32px !important;
    height: 32px !important;
    font-size: 1.05rem !important;
  }
}

/* Mobile Screens (Below 600px) */
@media (max-width: 600px) {
  .top-support-bar {
    padding: 0.3rem 0;
    font-size: 0.7rem;
  }

  .support-email a {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
  }

  .site-header-3saf {
    top: 24px;
    padding: 0.4rem 0;
  }

  .site-header-3saf.scrolled {
    top: 0;
  }

  .header-inner {
    padding: 0 0.75rem !important;
  }

  .header-right-col {
    flex-shrink: 1;
    min-width: 0;
  }

  .brand-logo-img {
    height: 28px !important;
    max-width: 125px !important;
    width: auto;
  }

  .header-left-col {
    gap: 0.45rem !important;
    flex-shrink: 0;
  }

  /* Hide account icon on mobile top bar - already in drawer & footer */
  .header-account-btn {
    display: none !important;
  }

  .tool-icon-btn {
    width: 30px !important;
    height: 30px !important;
    font-size: 0.95rem !important;
  }

  .mobile-nav-toggle {
    width: 22px !important;
    gap: 4px !important;
  }

  .mobile-nav-toggle span {
    height: 2px !important;
  }

  /* Container & Section Width Clamps */
  .container,
  .container-fluid {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-video-fullwidth,
  .brush-categories-section,
  .collection-section,
  .bundles-section,
  .golden-guarantee-section,
  .nfc-smart-section,
  .site-footer-3saf {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  /* 3saf Arched Alcove Cards on Mobile */
  .card-arch-alcove {
    height: 320px !important;
    border-radius: 110px 110px 0 0 !important;
    padding: 2rem 1rem 1.5rem 1rem !important;
  }

  /* Trio Selector on Mobile: Smooth Horizontal Carousel with zero overflow */
  .trio-perfumes-selector {
    display: flex !important;
    overflow-x: auto !important;
    gap: 0.5rem !important;
    padding: 0.3rem 0.1rem 0.6rem 0.1rem !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
    max-width: 100% !important;
  }

  .trio-select-tile {
    flex: 0 0 74px !important;
    min-width: 74px !important;
    padding: 0.5rem 0.2rem !important;
  }

  .tile-bottle-img {
    width: 42px !important;
    height: 52px !important;
  }

  .tile-perfume-name {
    font-size: 0.68rem !important;
  }

  .trio-tray-container {
    padding: 0.75rem 0.5rem !important;
  }

  .trio-slots-tray {
    gap: 0.35rem !important;
  }

  .trio-tray-slot {
    height: 68px !important;
  }

  .slot-empty {
    font-size: 0.68rem !important;
  }

  .slot-filled-card img {
    max-width: 40% !important;
  }

  .slot-filled-name {
    font-size: 0.65rem !important;
  }

  .current-bundle-price {
    font-size: 1.4rem !important;
  }

  .bundle-actions-group {
    grid-template-columns: 1fr !important;
    gap: 0.6rem !important;
  }

  .card-arch-alcove.royal-arch {
    height: 210px !important;
    border-radius: 90px 90px 0 0 !important;
  }

  .royal-included-chips {
    gap: 0.35rem !important;
  }

  .inc-chip {
    font-size: 0.7rem !important;
    padding: 0.2rem 0.45rem !important;
  }

  /* Product Details Page on Mobile */
  .detail-arch {
    height: 320px !important;
    border-radius: 100px 100px 0 0 !important;
  }

  .product-tier-selector-box {
    padding: 0.9rem !important;
  }

  .tier-card-option {
    padding: 0.7rem 0.8rem !important;
  }

  .tier-name {
    font-size: 0.88rem !important;
  }

  .tier-price-val {
    font-size: 0.95rem !important;
  }

  .companion-tiles-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.45rem !important;
  }
}