/* ==========================================================================
   MAISSAE SHOP - STYLESHEET (YOUCAN & WOOCOMMERCE PREMIUM RTL THEME)
   ========================================================================== */

:root {
  --primary: #8a4f68;
  --primary-hover: #753f55;
  --secondary: #2c1820;
  --secondary-rgb: 44, 24, 32;
  --accent-gold: #d4af37;
  --accent-gold-light: #ffd700;
  --accent-red: #e11d48;
  --success: #16a34a;
  --whatsapp: #25d366;
  --bg-page: #fdfaf8;
  --bg-white: #ffffff;
  --bg-light: #f7eff3;
  --bg-card: #ffffff;
  --border-color: #eddbe3;
  --border-light: #f2e7ec;
  --text-main: #2c1820;
  --text-muted: #73646b;
  --text-light: #9c8a93;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --shadow-sm: 0 2px 8px rgba(44, 24, 32, 0.05);
  --shadow-md: 0 6px 20px rgba(44, 24, 32, 0.08);
  --shadow-lg: 0 12px 36px rgba(44, 24, 32, 0.12);
  --shadow-glow: 0 0 25px rgba(212, 175, 55, 0.35);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  direction: rtl;
}

body {
  font-family: 'Cairo', 'Tajawal', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  text-align: right;
  -webkit-font-smoothing: antialiased;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.text-center { text-align: center; }

/* Announcement Bar */
.announcement-bar {
  background-color: var(--secondary);
  color: #ffffff;
  padding: 0.65rem 0.5rem;
  font-size: 0.88rem;
  font-weight: 500;
  overflow: hidden;
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  text-align: center;
}

.announcement-content span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.announcement-dot {
  color: var(--accent-gold);
  font-size: 0.75rem;
}

/* Site Header */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 90;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.header-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--secondary);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.logo-subtext {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 700;
}

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

.btn-social-header {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: #e1306c;
  background-color: #fdf2f4;
  border: 1px solid rgba(225, 48, 108, 0.2);
}

.btn-social-header:hover {
  background-color: #e1306c;
  color: #fff;
}

.btn-whatsapp-header {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  background-color: var(--whatsapp);
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp-header:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-header-woo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #7f54b3 0%, #96588a 100%);
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(127, 84, 179, 0.25);
}

.btn-header-woo:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-header-order {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  box-shadow: 0 4px 14px rgba(138, 79, 104, 0.35);
  cursor: pointer;
}

.btn-header-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(138, 79, 104, 0.45);
}

/* Store Banner Section */
.store-banner-section {
  background: radial-gradient(circle at 50% 10%, #fff7f9 0%, #f6e9ef 100%);
  padding: 3.5rem 1rem 3rem;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.store-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--secondary);
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}

.store-banner-title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 900;
  color: var(--secondary);
  line-height: 1.25;
  margin-bottom: 1.15rem;
  letter-spacing: -0.5px;
}

.store-banner-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.store-banner-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-weight: 800;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(138, 79, 104, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(138, 79, 104, 0.45);
}

.btn-lg {
  padding: 0.95rem 2.25rem;
  font-size: 1.12rem;
}

.btn-whatsapp-banner {
  background-color: #ffffff;
  color: #128c7e;
  border: 2px solid #25d366;
  padding: 0.9rem 1.85rem;
  font-size: 1.05rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.15);
}

.btn-whatsapp-banner:hover {
  background-color: #25d366;
  color: #ffffff;
  transform: translateY(-2px);
}

.store-banner-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}

.banner-pillar-item {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: right;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.banner-pillar-item:hover {
  transform: translateY(-3px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}

.banner-pillar-item i {
  font-size: 1.75rem;
  color: var(--primary);
  background: var(--bg-light);
  width: 52px;
  height: 52px;
  min-width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.banner-pillar-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--secondary);
}

.banner-pillar-item small {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Products Section */
.yc-featured-products {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.store-badge-pill {
  display: inline-block;
  background-color: var(--bg-light);
  color: var(--primary);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 800;
  border: 1px solid var(--border-color);
  margin-bottom: 0.5rem;
}

.yc-section-title {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--secondary);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0.5rem auto 2.5rem;
  line-height: 1.7;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.product-preview-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  width: 100%;
}

.product-preview-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.product-card-link {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-decoration: none;
}

.product-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: #faf5f8;
  overflow: hidden;
}

.product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-preview-card:hover .product-thumbnail img {
  transform: scale(1.05);
}

.product-thumbnail .tag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

.tag-text {
  background: rgba(44, 24, 32, 0.9);
  backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 800;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.product-details {
  padding: 1.25rem 1.25rem 0.5rem;
  text-align: right;
}

.product-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.4;
}

.product-rating-stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--accent-gold);
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.prices {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.25rem 1.25rem 1.25rem;
}

.compare-at-price {
  font-size: 1.05rem;
  color: var(--text-light);
  text-decoration: line-through;
  font-weight: 600;
}

.product-price {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--primary);
}

.product-actions-bar {
  padding: 0 1.25rem 1.25rem;
  margin-top: auto;
}

.yc-btn-buy {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #ffffff;
  font-weight: 800;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(138, 79, 104, 0.3);
  cursor: pointer;
  border: none;
}

.yc-btn-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(138, 79, 104, 0.45);
}

/* Hero Product Interactive Showcase & Express Order Section */
.hero-product-section {
  background: #ffffff;
  padding: 4rem 1rem;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}

.hero-media-wrapper {
  position: sticky;
  top: 100px;
}

.media-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff1f2;
  color: var(--accent-red);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 800;
  border: 1px solid rgba(225, 29, 72, 0.25);
  margin-bottom: 1rem;
}

.media-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  background-color: #faf5f8;
  aspect-ratio: 1 / 1.1;
}

.media-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

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

.thumb-btn {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: #faf5f8;
  padding: 0;
  transition: var(--transition);
}

.thumb-btn.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(138, 79, 104, 0.3);
}

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

.rating-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.stars {
  color: var(--accent-gold);
  font-size: 0.95rem;
  display: flex;
  gap: 0.15rem;
}

.rating-text {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.moroccan-pride-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #fdf2f4;
  color: #9f1239;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  border: 1px solid rgba(159, 18, 57, 0.2);
  margin-bottom: 1rem;
}

.product-hero-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.product-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Product Options: Color & Size */
.product-option-wrapper {
  margin-bottom: 1.5rem;
  background: var(--bg-light);
  padding: 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.option-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.option-title {
  font-weight: 800;
  font-size: 1rem;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.option-current-val {
  font-weight: 800;
  color: var(--primary);
  background: #ffffff;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  border: 1px solid var(--border-color);
}

.color-swatches-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.color-swatch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-color);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--secondary);
  transition: var(--transition);
}

.color-swatch-btn:hover {
  border-color: var(--primary);
}

.color-swatch-btn.active {
  border-color: var(--primary);
  background: #fbf5f7;
  box-shadow: 0 2px 8px rgba(138, 79, 104, 0.2);
}

.swatch-color-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.swatch-check-badge {
  display: none;
  color: var(--primary);
  font-size: 0.75rem;
}

.color-swatch-btn.active .swatch-check-badge {
  display: inline-block;
}

.size-swatches-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.size-pill-btn {
  min-width: 52px;
  height: 42px;
  padding: 0 1rem;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--secondary);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.size-pill-btn:hover {
  border-color: var(--primary);
}

.size-pill-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(138, 79, 104, 0.3);
}

/* Price Box & Urgency */
.price-box {
  background: #fff7fa;
  border: 1.5px dashed var(--primary);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.current-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
}

.discount-pill {
  background-color: var(--accent-red);
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 800;
}

.stock-urgency {
  background: rgba(255, 255, 255, 0.8);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(225, 29, 72, 0.15);
}

.urgency-text {
  font-size: 0.92rem;
  font-weight: 700;
  color: #9f1239;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background-color: #ffe4e6;
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f43f5e 0%, #e11d48 100%);
  border-radius: var(--radius-pill);
  animation: pulse-bar 2s infinite ease-in-out;
}

@keyframes pulse-bar {
  0% { opacity: 0.85; }
  50% { opacity: 1; filter: drop-shadow(0 0 4px #e11d48); }
  100% { opacity: 0.85; }
}

.quick-trust-list {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.quick-trust-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text-main);
}

.quick-trust-list i {
  color: var(--success);
  font-size: 1.1rem;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.btn-pulse {
  animation: btn-shake 4s infinite ease-in-out;
  flex-direction: column;
  padding: 1.15rem 1.5rem;
  line-height: 1.3;
}

.btn-pulse .btn-text {
  font-size: 1.35rem;
  font-weight: 900;
}

.btn-pulse .btn-subtext {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.9;
}

@keyframes btn-shake {
  0%, 100% { transform: scale(1); }
  5% { transform: scale(1.03); }
  10% { transform: scale(1); }
  15% { transform: scale(1.03); }
  20% { transform: scale(1); }
}

.btn-whatsapp-hero {
  background-color: #25d366;
  color: #ffffff;
  padding: 0.85rem 1.5rem;
  font-size: 1.05rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-hero:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.guarantee-micro {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

/* COD Express Checkout Form Section */
.order-section {
  background: linear-gradient(180deg, #fdf8fa 0%, #f6eaf0 100%);
  padding: 4.5rem 1rem;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.order-card-wrapper {
  max-width: 1040px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.order-card-header {
  background: linear-gradient(135deg, var(--secondary) 0%, #3e1b29 100%);
  color: #ffffff;
  padding: 2.25rem 1.5rem;
  text-align: center;
  position: relative;
}

.order-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold-light);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.order-card-title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.order-card-subtitle {
  color: #e5d8df;
  font-size: 1rem;
}

.order-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  padding: 2.5rem;
  gap: 2.5rem;
}

/* Order Summary Box */
.order-summary-box {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.summary-product {
  display: flex;
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.25rem;
}

.summary-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.summary-info h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--secondary);
}

.unit-price {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary);
}

.summary-free-shipping {
  font-size: 0.82rem;
  color: var(--success);
  font-weight: 700;
  display: block;
  margin-top: 0.25rem;
}

/* Quantity / Pack Offers */
.pack-selection {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pack-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.15rem;
  border: 2px solid var(--border-color);
  background: #ffffff;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.pack-option:hover {
  border-color: var(--primary);
}

.pack-option.active {
  border-color: var(--primary);
  background: #fbf5f7;
  box-shadow: 0 3px 12px rgba(138, 79, 104, 0.15);
}

.pack-option input {
  margin-left: 0.65rem;
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}

.pack-title {
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--secondary);
}

.pack-save-badge {
  display: inline-block;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  margin-right: 0.45rem;
}

.pack-final-price {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary);
}

.cost-breakdown {
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.cost-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.cost-total {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--secondary);
  border-top: 2px solid var(--border-color);
  padding-top: 0.75rem;
  margin-top: 0.4rem;
}

.total-highlight {
  color: var(--primary);
  font-size: 1.5rem;
}

.secure-badges {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  border-top: 1px dashed var(--border-color);
  padding-top: 0.85rem;
}

.secure-badges span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.secure-badges i {
  color: var(--success);
}

/* Order Form Fields */
.order-form-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--secondary);
  margin-bottom: 0.45rem;
}

.form-group label .required {
  color: var(--accent-red);
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  right: 14px;
  color: var(--text-light);
  font-size: 1.05rem;
  pointer-events: none;
}

.form-control {
  width: 100%;
  padding: 0.85rem 2.75rem 0.85rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1rem;
  color: var(--text-main);
  background-color: #faf8f9;
  transition: var(--transition);
}

.form-control:focus {
  background-color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(138, 79, 104, 0.15);
}

.form-control.input-error {
  border-color: var(--accent-red);
  background-color: #fff5f5;
}

.error-msg {
  color: var(--accent-red);
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 0.35rem;
  display: none;
}

.btn-submit-order {
  width: 100%;
  padding: 1.15rem 1.5rem;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 900;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: var(--transition);
  margin-top: 0.5rem;
}

.btn-submit-order:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(22, 163, 74, 0.45);
}

/* Benefits Section */
.benefits-section {
  padding: 4.5rem 1rem;
  background: #ffffff;
}

.section-tag {
  display: inline-block;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--secondary);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.benefit-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

.benefit-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: #ffffff;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.benefit-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.65rem;
}

.benefit-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Detailed Features Section */
.features-section {
  padding: 4.5rem 1rem;
  background: var(--bg-page);
  border-top: 1px solid var(--border-light);
}

.features-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.features-visual {
  position: relative;
}

.feature-image-stacked {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.visual-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.visual-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(44, 24, 32, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.features-details .section-title {
  margin-bottom: 0.75rem;
}

.features-details .section-subtitle {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.feature-check {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: #f0fdf4;
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  border: 1px solid #bbf7d0;
  margin-top: 0.2rem;
}

.feature-item h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Reviews Section */
.reviews-section {
  padding: 4.5rem 1rem;
  background: #ffffff;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.review-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

.review-stars {
  color: var(--accent-gold);
  font-size: 1rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.2rem;
}

.review-quote {
  font-size: 0.98rem;
  color: var(--text-main);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.avatar-circle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  border: 2px solid var(--accent-gold);
}

.reviewer-name {
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--secondary);
}

.reviewer-city {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.verified-badge {
  color: var(--success);
  font-weight: 700;
}

/* FAQ Section */
.faq-section {
  padding: 4.5rem 1rem;
  background: var(--bg-page);
  border-top: 1px solid var(--border-light);
}

.faq-container {
  max-width: 840px;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 2.5rem;
}

.accordion-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item:hover {
  border-color: var(--primary);
}

.accordion-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--secondary);
  text-align: right;
}

.accordion-icon {
  font-size: 0.88rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  display: none;
  border-top: 1px dashed var(--border-light);
  padding-top: 0.85rem;
}

.accordion-item.active .accordion-body {
  display: block;
}

/* Site Footer */
.site-footer {
  background-color: var(--secondary);
  color: #e8dfd8;
  padding-top: 4rem;
  border-top: 2px solid var(--accent-gold);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #c9bbc2;
  margin-bottom: 1.25rem;
}

.footer-ig-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffd700;
  font-size: 0.92rem;
}

.footer-links h4, .footer-contact h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-links h4::after, .footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-gold);
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-list li a {
  color: #e8dfd8;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-nav-list li a:hover {
  color: #ffffff;
  transform: translateX(-5px);
}

.footer-nav-list i {
  color: var(--accent-gold);
  font-size: 0.85rem;
}

.footer-contact p {
  font-size: 0.92rem;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #e8dfd8;
}

.footer-contact i {
  color: var(--accent-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 1rem;
  font-size: 0.85rem;
  color: #a89aa1;
}

/* Floating WhatsApp Button */
.yc-whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
}

.whatsapp-float-btn {
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 2rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  position: relative;
  transition: transform 0.25s ease;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
}

.whatsapp-float-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.6;
  animation: pulse-ring 2s infinite ease-out;
  z-index: -1;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-float-badge {
  position: absolute;
  top: -2px;
  left: -2px;
  width: 22px;
  height: 22px;
  background-color: #e11d48;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

/* Sticky Bottom Bar for Mobile */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 0.75rem 1rem;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.12);
  z-index: 85;
  border-top: 1px solid var(--border-color);
}

.sticky-mobile-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.sticky-mobile-price {
  display: flex;
  flex-direction: column;
}

.sticky-price-val {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.sticky-price-label {
  font-size: 0.75rem;
  color: var(--success);
  font-weight: 700;
}

.btn-sticky-order {
  flex-grow: 1;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 4px 14px rgba(138, 79, 104, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Modals (Order Success & WooCommerce Settings) */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 24, 32, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  padding: 2.25rem 2rem;
  border: 1px solid var(--border-color);
  animation: modal-pop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-pop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 36px;
  height: 36px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--secondary);
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: #e2d2db;
}

.success-icon-wrap {
  width: 76px;
  height: 76px;
  background: #f0fdf4;
  color: var(--success);
  border: 3px solid #bbf7d0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.25rem;
}

.success-order-details {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
}

.success-order-details p {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

/* WooCommerce Guide Panel in Modal */
.woo-settings-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.woo-setting-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.woo-setting-card h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.woo-setting-card h4 i {
  color: #7f54b3;
}

.woo-setting-card p, .woo-setting-card ul {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.woo-setting-card ul {
  list-style: disc;
  padding-right: 1.25rem;
  margin-top: 0.45rem;
}

.woo-tag {
  background: #7f54b3;
  color: #ffffff;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .product-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .features-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .order-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
  .sticky-mobile-cta {
    display: block;
  }
  .store-banner-section {
    padding-top: 2.5rem;
  }
  .product-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .header-actions {
    gap: 0.45rem;
  }
  .btn-social-header span {
    display: none;
  }
  .order-grid {
    padding: 1.5rem;
  }
  .yc-whatsapp-float {
    bottom: 80px;
    right: 18px;
  }
}

/* ============================================================
   ASTRA CONTAINER OVERRIDES & LAYOUT HARMONY
   ============================================================ */

/* Hide Astra default header & footer completely */
#masthead,
.ast-primary-header-bar,
.ast-mobile-header-wrap .ast-primary-header-bar,
#ast-desktop-header,
#ast-mobile-header,
.site-below-footer-wrap,
.ast-footer-overlay {
  display: none !important;
}

/* Force full-width containers */
#page,
#content,
.site-content,
.ast-container,
#primary,
#main,
.entry-content {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* Kill Astra content flex that breaks layout */
.site-content .ast-container {
  display: block !important;
}

/* Hide WordPress default entry header */
.entry-header.ast-no-thumbnail,
.entry-header.ast-no-title {
  display: none !important;
}

/* Kill Astra page builder template blocks if any */
.entry-content > .wp-block-cover,
.entry-content > .wp-block-group,
.entry-content > .wp-block-columns,
.entry-content > .wp-block-media-text {
  display: none !important;
}

body, h1, h2, h3, h4, h5, h6, p, span, a, button, input, select, textarea, label {
  font-family: 'Cairo', 'Tajawal', sans-serif !important;
}

/* Smaller mobile tweaks */
@media (max-width: 600px) {
  .product-list {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
  }
  .product-preview-card .product-title {
    font-size: 0.88rem !important;
    line-height: 1.3;
  }
  .product-preview-card .product-price {
    font-size: 1.2rem !important;
  }
  .product-preview-card .compare-at-price {
    font-size: 0.85rem !important;
  }
  .product-preview-card .prices {
    padding: 0.15rem 0.85rem 0.85rem !important;
  }
  .product-preview-card .yc-btn-buy {
    padding: 0.55rem 0.5rem !important;
    font-size: 0.78rem !important;
  }
  .product-preview-card .product-details {
    padding: 0.85rem 0.85rem 0.25rem !important;
  }
  .product-preview-card .product-actions-bar {
    padding: 0 0.85rem 0.85rem !important;
  }
  .store-banner-title {
    font-size: 1.65rem !important;
  }
  .store-banner-subtitle {
    font-size: 0.92rem !important;
  }
}

/* Rating Stars */
.product-rating-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #ffb800;
  font-size: 0.85rem;
}

.product-actions-bar .yc-btn-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 100%;
}

/* ============================================================
   SINGLE PRODUCT PAGE STYLING (Luxury Moroccan COD & RTL)
   ============================================================ */
.single-product .site-content {
  background: #fbf8fa;
  padding: 1.5rem 0 3rem;
}

.single-product .site-content .ast-container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 1.25rem !important;
  display: block !important;
}

.single-product div.product {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: 0 10px 35px rgba(44, 24, 32, 0.05);
  border: 1px solid #f2e4ec;
  display: flex !important;
  flex-direction: row-reverse !important; /* In RTL: Gallery on right, summary on left */
  gap: 2.5rem !important;
  margin-bottom: 2rem !important;
}

/* Gallery Column (Right side in RTL) */
.single-product .woocommerce-product-gallery {
  flex: 0 0 46% !important;
  max-width: 46% !important;
  float: none !important;
  margin: 0 !important;
  position: sticky;
  top: 90px;
  align-self: flex-start;
}

.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  border: 1px solid #eee1e7;
}

.single-product .woocommerce-product-gallery img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 3 / 4 !important;
  object-fit: cover !important;
  display: block;
}

.single-product .flex-control-thumbs {
  display: flex !important;
  gap: 10px !important;
  margin-top: 12px !important;
  padding: 0 !important;
  list-style: none !important;
}

.single-product .flex-control-thumbs li {
  width: 75px !important;
  height: 95px !important;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #ebdbe2;
  cursor: pointer;
  transition: all 0.2s ease;
}

.single-product .flex-control-thumbs li img.flex-active,
.single-product .flex-control-thumbs li:hover {
  border-color: #8a4f68 !important;
  opacity: 1 !important;
}

/* Summary Column (Left side in RTL) */
.single-product div.product div.summary,
.single-product .summary.entry-summary {
  flex: 1 1 54% !important;
  max-width: 54% !important;
  float: none !important;
  margin: 0 !important;
  text-align: right !important;
  direction: rtl !important;
}

/* Breadcrumbs */
.single-product .woocommerce-breadcrumb {
  font-size: 0.85rem !important;
  color: #8c7c84 !important;
  margin-bottom: 0.85rem !important;
  text-align: right !important;
  display: block !important;
}

.single-product .woocommerce-breadcrumb a {
  color: #8a4f68 !important;
  text-decoration: none !important;
}

.single-product .single-product-category {
  display: inline-block !important;
  background: #fbf0f4 !important;
  color: #8a4f68 !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  padding: 4px 14px !important;
  border-radius: 20px !important;
  margin-bottom: 0.75rem !important;
  border: 1px solid #f2d8e4;
}

/* Product Title */
.single-product .product_title {
  font-size: 2.1rem !important;
  font-weight: 900 !important;
  color: #2c1820 !important;
  margin: 0.25rem 0 0.85rem !important;
  line-height: 1.35 !important;
  text-align: right !important;
  letter-spacing: -0.3px;
}

/* Price Row */
.single-product .price {
  font-size: 2.2rem !important;
  font-weight: 900 !important;
  color: #8a4f68 !important;
  margin-bottom: 1rem !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 12px !important;
  text-align: right !important;
  font-family: 'Cairo', sans-serif !important;
}

.single-product .price del {
  color: #a89aa1 !important;
  font-size: 1.3rem !important;
  font-weight: 600 !important;
  text-decoration: line-through !important;
}

.single-product .price ins {
  color: #8a4f68 !important;
  text-decoration: none !important;
}

/* Short Description */
.single-product .woocommerce-product-details__short-description {
  font-size: 1rem !important;
  line-height: 1.8 !important;
  color: #5c434f !important;
  margin-bottom: 1.25rem !important;
  text-align: right !important;
}

/* Stock Urgency Bar */
.product-stock-urgency {
  background: #fff8eb;
  border: 1px solid #fed8a4;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.92rem;
  color: #9a5b03;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
}

.stock-pulse-dot {
  width: 10px;
  height: 10px;
  background: #e67e22;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.7);
  animation: stockPulse 1.6s infinite;
}

@keyframes stockPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(230, 126, 34, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(230, 126, 34, 0); }
}

.highlight-qty {
  color: #c0392b;
  font-size: 1.05rem;
}

/* WooCommerce Standard Add To Cart Form */
.single-product form.cart {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 1.5rem !important;
}

.single-product form.cart .quantity {
  margin: 0 !important;
}

.single-product form.cart .quantity input.qty {
  height: 48px !important;
  border: 1.5px solid #dfd0d8 !important;
  border-radius: 25px !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  text-align: center !important;
  color: #2c1820 !important;
  background: #ffffff !important;
  width: 80px !important;
}

.single-product .single_add_to_cart_button {
  height: 48px !important;
  border-radius: 25px !important;
  padding: 0 28px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  background: #ffffff !important;
  color: #8a4f68 !important;
  border: 2px solid #8a4f68 !important;
  box-shadow: none !important;
  transition: all 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.single-product .single_add_to_cart_button:hover {
  background: #8a4f68 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* ============================================================
   MOROCCAN COD EXPRESS ORDER FORM BOX
   ============================================================ */
.single-product-cod-wrapper {
  margin-top: 1rem;
}

.single-cod-box {
  background: #fdfafb;
  border: 2px solid #ecd5e0;
  border-radius: 18px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 6px 25px rgba(138, 79, 104, 0.08);
  text-align: right;
  direction: rtl;
}

.single-cod-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
  border-bottom: 1px dashed #e6c8d7;
  padding-bottom: 1rem;
}

.single-cod-header i {
  font-size: 2rem;
  color: #8a4f68;
}

.single-cod-header h4 {
  margin: 0 0 4px !important;
  font-size: 1.18rem !important;
  font-weight: 900 !important;
  color: #2c1820 !important;
}

.single-cod-header p {
  margin: 0 !important;
  font-size: 0.85rem !important;
  color: #73646B !important;
}

/* Quantity controls inside form */
.single-form-group.qty-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid #f0e2ea;
  margin-bottom: 1rem;
}

.single-form-group.qty-group label {
  margin: 0;
  font-weight: 700;
  color: #2c1820;
  font-size: 0.95rem;
}

.single-qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-qty-step {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid #8a4f68;
  background: #ffffff;
  color: #8a4f68;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.btn-qty-step:hover {
  background: #8a4f68;
  color: #ffffff;
}

.single-qty-controls input {
  width: 44px;
  height: 34px;
  text-align: center;
  font-weight: 800;
  font-size: 1.1rem;
  border: none;
  background: transparent;
  color: #2c1820;
}

/* Form fields */
.single-form-group {
  margin-bottom: 0.95rem;
}

.single-form-group label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #2c1820;
  margin-bottom: 5px;
}

.single-form-group .req {
  color: #c0392b;
}

.single-form-group .opt {
  font-size: 0.8rem;
  color: #8c7c84;
}

.input-icon-wrap {
  position: relative;
}

.input-icon-wrap input,
.input-icon-wrap select {
  width: 100% !important;
  height: 48px !important;
  border-radius: 12px !important;
  border: 1.5px solid #dfd0d8 !important;
  padding: 0 44px 0 14px !important;
  font-size: 0.95rem !important;
  font-family: 'Cairo', sans-serif !important;
  color: #2c1820 !important;
  background: #ffffff !important;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.input-icon-wrap input:focus,
.input-icon-wrap select:focus {
  border-color: #8a4f68 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(138, 79, 104, 0.12) !important;
}

.input-icon-wrap i {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  color: #8a4f68;
  font-size: 1rem;
  pointer-events: none;
}

.single-field-error {
  display: block;
  font-size: 0.8rem;
  color: #c0392b;
  margin-top: 4px;
}

/* Submit Button */
.btn-single-cod-submit {
  width: 100% !important;
  height: 56px !important;
  border-radius: 30px !important;
  background: linear-gradient(135deg, #8a4f68 0%, #562137 100%) !important;
  color: #ffffff !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  font-family: 'Cairo', sans-serif !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 6px 22px rgba(138, 79, 104, 0.35) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  transition: all 0.3s ease !important;
  margin-top: 1.15rem !important;
}

.btn-single-cod-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(138, 79, 104, 0.45) !important;
}

.single-form-footer-note {
  text-align: center;
  font-size: 0.85rem;
  color: #73646B;
  margin-top: 0.75rem;
}

.single-order-status-msg {
  margin-top: 1rem;
  font-weight: 700;
  text-align: center;
}

.single-order-status-msg.success {
  background: #eefbf3;
  color: #0d8a43;
  border: 1px solid #b7edc8;
  padding: 12px;
  border-radius: 10px;
}

/* WhatsApp Alternative Button */
.btn-wa-single-order {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  color: #ffffff !important;
  height: 50px !important;
  border-radius: 30px !important;
  font-size: 1.02rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
  transition: all 0.3s ease !important;
  margin-bottom: 1.25rem !important;
}

.btn-wa-single-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45) !important;
  color: #ffffff !important;
}

.btn-wa-single-order i {
  font-size: 1.35rem;
}

/* Trust Badges Grid */
.single-trust-points {
  background: #ffffff;
  border: 1px solid #ebdbe2;
  border-radius: 16px;
  padding: 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  text-align: right;
  direction: rtl;
}

.single-trust-points .trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.single-trust-points .trust-item i {
  color: #8a4f68;
  font-size: 1.2rem;
  margin-top: 3px;
}

.single-trust-points .trust-item strong {
  display: block;
  font-size: 0.9rem;
  color: #2c1820;
  font-weight: 800;
  line-height: 1.3;
}

.single-trust-points .trust-item small {
  display: block;
  font-size: 0.78rem;
  color: #73646B;
  line-height: 1.4;
  margin-top: 2px;
}

/* ============================================================
   TABS STYLING (Description, Reviews, Additional Info)
   ============================================================ */
.single-product .woocommerce-tabs {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 35px rgba(44, 24, 32, 0.05);
  border: 1px solid #f2e4ec;
  margin-bottom: 2.5rem;
  direction: rtl;
  text-align: right;
}

.single-product .woocommerce-tabs ul.tabs {
  display: flex !important;
  gap: 10px !important;
  border-bottom: 2px solid #ecd5e0 !important;
  margin: 0 0 1.75rem !important;
  padding: 0 !important;
  list-style: none !important;
}

.single-product .woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.single-product .woocommerce-tabs ul.tabs li a {
  display: block !important;
  padding: 12px 22px !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  color: #73646B !important;
  border-radius: 12px 12px 0 0 !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  border: 2px solid transparent !important;
  border-bottom: none !important;
}

.single-product .woocommerce-tabs ul.tabs li.active a {
  color: #8a4f68 !important;
  background: #fdfafb !important;
  border-color: #ecd5e0 !important;
  border-bottom-color: #ffffff !important;
  margin-bottom: -2px !important;
}

.single-product .woocommerce-Tabs-panel {
  font-size: 1.02rem;
  line-height: 2;
  color: #4a343e;
}

/* ============================================================
   MOBILE STICKY BUY BAR
   ============================================================ */
.mobile-sticky-buy-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-sticky-buy-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    direction: rtl;
    border-top: 1px solid #ebdbe2;
  }

  .sticky-prod-info {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
  }

  .sticky-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
  }

  .sticky-text {
    overflow: hidden;
  }

  .sticky-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #2c1820;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
  }

  .sticky-price {
    font-size: 1.1rem;
    font-weight: 900;
    color: #8a4f68;
  }

  .btn-sticky-order {
    background: linear-gradient(135deg, #8a4f68 0%, #562137 100%);
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(138, 79, 104, 0.3);
  }

  /* Single Product layout on mobile */
  .single-product div.product {
    flex-direction: column !important;
    padding: 1.25rem !important;
    gap: 1.5rem !important;
  }

  .single-product .woocommerce-product-gallery,
  .single-product div.product div.summary,
  .single-product .summary.entry-summary {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }

  .single-product .product_title {
    font-size: 1.5rem !important;
  }

  .single-product .price {
    font-size: 1.75rem !important;
  }

  .single-trust-points {
    grid-template-columns: 1fr;
  }

  /* Avoid footer padding overlap with mobile sticky bar */
  .single-product body {
    padding-bottom: 75px !important;
  }
}



