﻿/*
Theme Name: Cosmos Beauty
Theme URI: https://cosmos-beauty.dz
Author: Cosmos Beauty Algeria
Author URI: https://cosmos-beauty.dz
Description: High-Precision Modern Luxury WooCommerce theme for Cosmos Beauty Algeria.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cosmos-beauty
*/

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   GLOBAL LINK RESET
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
a { text-decoration: none; }
a:hover { text-decoration: none; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   DESKTOP NAVIGATION (cmn-bar)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.cmn-bar {
  background: #fff;
  border-bottom: 1px solid #f3f4f6;
  position: relative;
  z-index: 100;
}
.cmn-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.cmn-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.cmn-links > li {
  position: relative;
  display: flex;
  align-items: center;
}
.cmn-links > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: color 0.18s;
  white-space: nowrap;
}
/* Tighten right padding when chevron follows */
.cmn-links > li.menu-item-has-children > a {
  padding-right: 2px;
}
.cmn-links > li > a:hover {
  color: var(--cosmos-primary, #e45366);
}
/* Chevron toggle button â€” sits flush after link text */
.cmn-links .cmn-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 100%;
  min-height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #9ca3af;
  transition: transform 0.2s, color 0.18s;
  padding: 0;
  margin-right: 6px;
  flex-shrink: 0;
  font-size: 8px;
}
.cmn-links .cmn-chevron:hover {
  color: #1a1a1a;
}
.cmn-links [data-cmn="open"] > .cmn-chevron,
.cmn-links [data-cmn="open"] > a > .cmn-chevron-inline {
  transform: rotate(180deg);
  color: var(--cosmos-primary, #e45366);
}
/* Sub-menu chevrons â€” tighter */
.cmn-links .sub-menu .cmn-chevron {
  width: 16px;
  min-height: 36px;
  margin-right: 4px;
  margin-left: auto;
}
/* Sub-menu (desktop dropdown) */
.cmn-links .sub-menu {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 200;
}
.cmn-links > li[data-cmn="open"] > .sub-menu,
.cmn-links > li.cmn-hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.cmn-links .sub-menu li {
  position: relative;
  display: flex;
  align-items: center;
}
.cmn-links .sub-menu li a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.cmn-links .sub-menu li a:hover {
  background: #f9fafb;
  color: var(--cosmos-primary, #e45366);
}
/* Nested sub-menu */
.cmn-links .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  border-radius: 12px;
}
.cmn-links .sub-menu li[data-cmn="open"] > .sub-menu,
.cmn-links .sub-menu li.cmn-hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hide desktop nav on mobile */
@media (max-width: 1023px) {
  .cmn-bar { display: none; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MY ACCOUNT PAGE â€” AUTH CARD (Logged Out)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.cosmos-auth-card {
  background: #fff;
  border-radius: 2rem;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  border: 1px solid #f9fafb;
}
.cosmos-auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1.5px solid #e5e7eb;
}
.cosmos-auth-tab {
  flex: 1;
  padding: 12px 0;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  transition: all 0.18s;
}
.cosmos-auth-tab--active {
  background: #111827;
  color: #fff;
}
.cosmos-auth-tab--inactive {
  background: transparent;
  color: #374151;
}
.cosmos-auth-panel {
  padding-top: 0.5rem;
}
.cosmos-auth-panel .woocommerce-form-login,
.cosmos-auth-panel .woocommerce-form-register,
.cosmos-auth-panel .woocommerce form {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.cosmos-auth-panel .woocommerce-form-row label,
.cosmos-auth-panel .form-row label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin-bottom: 6px;
  display: block;
}
.cosmos-auth-panel .woocommerce-form-row input,
.cosmos-auth-panel .form-row input[type="text"],
.cosmos-auth-panel .form-row input[type="email"],
.cosmos-auth-panel .form-row input[type="password"] {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  font-size: 13px;
  font-family: inherit;
  color: #111827;
  background: #fff;
  outline: none;
  transition: border-color 0.18s;
}
.cosmos-auth-panel .woocommerce-form-row input:focus,
.cosmos-auth-panel .form-row input:focus {
  border-color: var(--cosmos-primary, #e45366);
}
.cosmos-auth-panel .woocommerce-button,
.cosmos-auth-panel button[type="submit"] {
  width: 100%;
  height: 48px;
  background: var(--cosmos-primary, #e45366) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: opacity 0.18s;
  margin-top: 8px;
}
.cosmos-auth-panel .woocommerce-button:hover,
.cosmos-auth-panel button[type="submit"]:hover {
  opacity: 0.9;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MY ACCOUNT â€” SIDEBAR NAV (Logged In)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.cosmos-account-nav__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 16px;
  transition: background 0.18s;
  text-decoration: none !important;
  color: inherit;
}
@media (min-width: 768px) {
  .cosmos-account-nav__item {
    padding: 14px 20px;
  }
}
.cosmos-account-nav__item--active {
  background: #1a1a1a;
}
@media (min-width: 768px) {
  .cosmos-account-nav__item--active {
    border-radius: 20px;
  }
}
.cosmos-account-nav__item--active .cosmos-account-nav__icon {
  background: rgba(255,255,255,0.15) !important;
}
.cosmos-account-nav__item--active .cosmos-account-nav__icon svg {
  color: #fff;
}
.cosmos-account-nav__item--active .cosmos-account-nav__label {
  color: #fff;
  font-weight: 800;
}
.cosmos-account-nav__item--active .cosmos-account-nav__chevron {
  color: rgba(255,255,255,0.5);
}
.cosmos-account-nav__item:not(.cosmos-account-nav__item--active) {
  background: transparent;
}
.cosmos-account-nav__item:not(.cosmos-account-nav__item--active):hover {
  background: #f9fafb;
}
@media (max-width: 767px) {
  .cosmos-account-nav__item:not(.cosmos-account-nav__item--active) {
    border-bottom: 1px solid #f3f4f6;
    border-radius: 0;
  }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MY ACCOUNT â€” WC CONTENT OVERRIDES
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.woocommerce-MyAccount-content {
  /* Remove WC default styling */
}
.woocommerce-MyAccount-content a {
  color: var(--cosmos-primary, #e45366);
  text-decoration: none;
}
.woocommerce-MyAccount-content a:hover {
  text-decoration: none;
  opacity: 0.8;
}
/* WC form styling inside account */
.woocommerce-MyAccount-content .woocommerce-EditAccountForm label,
.woocommerce-MyAccount-content .woocommerce-address-fields label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  display: block;
  margin-bottom: 6px;
}
.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="email"],
.woocommerce-MyAccount-content input[type="password"],
.woocommerce-MyAccount-content input[type="tel"],
.woocommerce-MyAccount-content select,
.woocommerce-MyAccount-content textarea {
  width: 100%;
  padding: 10px 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  font-size: 13px;
  font-family: inherit;
  color: #111827;
  background: #fff;
  outline: none;
  transition: border-color 0.18s;
}
.woocommerce-MyAccount-content input:focus,
.woocommerce-MyAccount-content select:focus,
.woocommerce-MyAccount-content textarea:focus {
  border-color: var(--cosmos-primary, #e45366);
}
.woocommerce-MyAccount-content button[type="submit"],
.woocommerce-MyAccount-content .woocommerce-Button {
  background: var(--cosmos-primary, #e45366) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 14px;
  padding: 12px 32px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: opacity 0.18s;
}
.woocommerce-MyAccount-content button[type="submit"]:hover,
.woocommerce-MyAccount-content .woocommerce-Button:hover {
  opacity: 0.9;
}
/* Remove WC default underlines/borders under headings */
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
  border: none;
  text-decoration: none;
  padding-bottom: 0;
}
/* WC order table */
.woocommerce-MyAccount-content .woocommerce-orders-table,
.woocommerce-MyAccount-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}
.woocommerce-MyAccount-content table th {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  padding: 12px 16px;
  border-bottom: 1px solid #f3f4f6;
  text-align: left;
}
.woocommerce-MyAccount-content table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f9fafb;
  color: #374151;
}
.woocommerce-MyAccount-content table a.woocommerce-button {
  display: inline-block;
  padding: 6px 16px;
  background: #1a1a1a;
  color: #fff !important;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.woocommerce-MyAccount-content table a.woocommerce-button:hover {
  opacity: 0.85;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PAGINATION
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.woocommerce-pagination,
.cosmos-pagination,
nav.woocommerce-pagination {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}
.woocommerce-pagination ul,
.cosmos-pagination ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  background: #f9fafb;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.woocommerce-pagination ul li a:hover {
  background: #1a1a1a;
  color: #fff;
}
.woocommerce-pagination ul li span.current {
  background: #1a1a1a;
  color: #fff;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FOOTER LOCATION LINKS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.cosmos-footer-location {
  text-decoration: none;
  color: inherit;
  transition: color 0.18s;
}
.cosmos-footer-location:hover {
  color: var(--cosmos-primary, #e45366);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MAP EMBED GRID
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.cosmos-map-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .cosmos-map-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.cosmos-map-card {
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border: 1px solid #f3f4f6;
}
.cosmos-map-card iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: none;
}
.cosmos-map-card-body {
  padding: 1.25rem 1.5rem;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   BANNER SYSTEM
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ Banner Slideshow System â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cosmos-banner-slideshow {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    border-radius: inherit;
    display: block;
}
a.cosmos-banner-slideshow { display: block; }

.cosmos-banner-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s cubic-bezier(.4,0,.2,1);
    will-change: opacity, transform;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
a.cosmos-banner-frame { display: block; }
.cosmos-banner-frame.is-active { opacity: 1; z-index: 2; }
.cosmos-banner-frame img {
    width: 100%; height: 100%; display: block;
    object-fit: cover; border-radius: inherit;
}

/* Slide effect */
.cosmos-banner-slideshow[data-effect="slide"] .cosmos-banner-frame {
    opacity: 1; transform: translateX(100%);
    transition: transform 0.8s cubic-bezier(.4,0,.2,1);
}
.cosmos-banner-slideshow[data-effect="slide"] .cosmos-banner-frame.is-active { transform: translateX(0); }
.cosmos-banner-slideshow[data-effect="slide"] .cosmos-banner-frame.is-exiting { transform: translateX(-100%); }

/* Ken Burns effect */
@keyframes cosmosBannerKenBurns {
    0%   { transform: scale(1)   translate(0, 0); }
    50%  { transform: scale(1.1) translate(-1%, -1%); }
    100% { transform: scale(1)   translate(0, 0); }
}
.cosmos-banner-slideshow[data-effect="kenburns"] .cosmos-banner-frame.is-active {
    animation: cosmosBannerKenBurns 12s ease-in-out infinite;
}

/* Dots */
.cosmos-banner-slideshow .cosmos-slider-dots,
.cosmos-banner-slideshow ~ .cosmos-slider-dots {
    position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 10;
}
.cosmos-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,0.5); border: none; cursor: pointer;
    transition: background 0.3s, transform 0.3s; padding: 0;
}
.cosmos-dot.active { background: #fff; transform: scale(1.3); }

/* Arrows */
.cosmos-slider-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
    background: rgba(255,255,255,0.2); backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.3); color: #fff;
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 13px;
    transition: background 0.2s, opacity 0.3s; opacity: 0;
}
.cosmos-banner-slideshow:hover ~ .cosmos-slider-arrow,
.cosmos-banner-slideshow .cosmos-slider-arrow,
.perfume-banner:hover .cosmos-slider-arrow,
.multi-product-banner:hover .cosmos-slider-arrow,
.promo-banner-blue:hover .cosmos-slider-arrow,
.promo-banner-red:hover .cosmos-slider-arrow { opacity: 1; }
.cosmos-slider-arrow:hover { background: rgba(255,255,255,0.45); }
.cosmos-arrow-prev { left: 12px; }
.cosmos-arrow-next { right: 12px; }

/* â”€â”€ Perfume Banner (Large Banner 1) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.perfume-banner {
    background-color: var(--cosmos-feature-banner-bg, #032d29);
    border-radius: var(--radius-card);
    margin: 0; padding: 0;
    min-height: var(--cosmos-feature-banner-height, 300px);
    display: flex; justify-content: space-between; align-items: center;
    position: relative; overflow: hidden;
}
.perfume-banner .arabic-banner-text,
.perfume-banner .cosmos-banner-btn { padding: 40px; }

.arabic-banner-text { direction: rtl; color: white; max-width: 50%; }
.arabic-banner-text h2 { font-size: clamp(24px, 4vw, 38px); font-weight: 700; line-height: 1.4; }

.perfume-bottles-img {
    max-height: 250px; object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

/* â”€â”€ Multi-Product Banner â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.multi-product-banner {
    background-color: var(--cosmos-multi-banner-bg, #fce4ec);
    border-radius: var(--radius-card);
    margin: 0; padding: 0;
    min-height: var(--cosmos-multi-banner-height, 300px);
    display: flex; justify-content: space-between; align-items: center;
    position: relative; overflow: hidden;
}
.multi-product-banner .text-content {
    padding: 40px 60px; direction: rtl; text-align: right; z-index: 10;
}
.multi-product-banner h2 {
    font-size: 48px; font-weight: 800; color: #d81b60;
    margin-bottom: 0; line-height: 1;
}
.multi-product-banner .emoji { font-size: 32px; vertical-align: middle; }

/* â”€â”€ Promo Banners â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.promo-banner-blue {
    background-color: var(--cosmos-promo1-bg, #004b9b);
    border-radius: var(--radius-card); padding: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; color: var(--cosmos-promo1-text, #ffffff);
    box-shadow: 0 10px 30px rgba(0,75,155,0.2);
    position: relative; overflow: hidden;
    min-height: var(--cosmos-promo1-height, 400px);
}
.promo-banner-blue .arabic-3d-text,
.promo-banner-blue h3,
.promo-banner-blue p,
.promo-banner-blue .promo-tag { padding: 0 20px; position: relative; z-index: 5; }

.promo-banner-red {
    background-color: var(--cosmos-promo2-bg, #cc0000);
    border-radius: var(--radius-card); padding: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; color: var(--cosmos-promo2-text, #ffffff);
    box-shadow: 0 10px 30px rgba(204,0,0,0.2);
    position: relative; overflow: hidden;
    min-height: var(--cosmos-promo2-height, 400px);
}
.promo-banner-red .arabic-3d-text,
.promo-banner-red h3,
.promo-banner-red p,
.promo-banner-red .promo-tag { padding: 0 20px; position: relative; z-index: 5; }

.promo-banner-blue .cosmos-customizer-placeholder,
.promo-banner-red .cosmos-customizer-placeholder {
    width: 100%; display: flex !important;
    align-items: center !important; justify-content: center !important;
    height: 100%; box-sizing: border-box; padding: 32px; background: inherit;
}

/* Banner images fill the full banner area */
.promo-banner-blue img,
.promo-banner-red img { width: 100%; height: auto; max-height: none; object-fit: cover; }
.perfume-banner .perfume-bottles-img { max-height: none; height: 100%; object-fit: cover; }
.multi-product-banner img { max-height: none; object-fit: cover; }

/* â”€â”€ Banner responsive heights â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 768px) {
    .promo-banner-blue { min-height: var(--cosmos-promo1-height-mobile, 280px); }
    .promo-banner-red  { min-height: var(--cosmos-promo2-height-mobile, 280px); }
    .perfume-banner    { min-height: var(--cosmos-feature-banner-height-mobile, 200px); }
    .multi-product-banner { min-height: var(--cosmos-multi-banner-height-mobile, 200px); }
    .perfume-banner { padding: 0; flex-direction: column; text-align: center; }
    .perfume-banner .arabic-banner-text,
    .perfume-banner .cosmos-banner-btn { padding: 20px; }
    .arabic-banner-text { max-width: 100%; }
    .perfume-bottles-img { max-height: 150px; margin-top: 20px; }
    .multi-product-banner { padding: 0; flex-direction: column-reverse; gap: 20px; }
    .multi-product-banner .text-content { padding: 20px; }
}

@media (max-width: 1024px) {
    .promo-banner-blue,
    .promo-banner-red { display: flex; flex-direction: column; align-items: center; }
    .promo-banner-blue .cosmos-customizer-placeholder,
    .promo-banner-red .cosmos-customizer-placeholder { display: block !important; height: auto; }
}

/* â”€â”€ Banner text & button utilities â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.arabic-3d-text {
    font-size: 3.5rem; font-weight: 900; color: #ffd700; line-height: 1; margin-bottom: 15px;
    text-shadow: 2px 2px 0 #cc8800, 4px 4px 0 #995500, 0 10px 15px rgba(0,0,0,0.3);
    z-index: 2;
}
.promo-tag {
    background: white; color: var(--brand-dark);
    font-size: 11px; font-weight: 800; padding: 6px 12px; border-radius: 4px;
    display: inline-flex; align-items: center; gap: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); z-index: 2;
}
.promo-tag span { color: var(--promo-blue); font-size: 14px; }
.promo-red-decor {
    position: absolute; width: 300px; height: 300px;
    border: 2px dashed rgba(255,255,255,0.2); border-radius: 50%;
    top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1;
}
.cosmos-banner-btn {
    display: inline-block; background: white; color: var(--brand-dark);
    padding: 10px 28px; border-radius: 50px; font-size: 12px; font-weight: 700;
    text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px;
    transition: transform 0.2s, box-shadow 0.2s; z-index: 5;
}
.cosmos-banner-btn:hover { transform: scale(1.04); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }

/* â”€â”€ Sort / Ordering Dropdown â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cosmos-archive-ordering .woocommerce-ordering {
    position: relative; display: inline-flex;
}
.cosmos-archive-ordering .woocommerce-ordering select.orderby {
    appearance: none; -webkit-appearance: none;
    background: white;
    border: 1.5px solid #e5e7eb;
    border-radius: 50px;
    padding: 10px 40px 10px 18px;
    font-size: 11px; font-weight: 700;
    color: var(--brand-dark);
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
    min-width: 170px;
}
.cosmos-archive-ordering .woocommerce-ordering select.orderby:hover {
    border-color: var(--brand-pink);
    box-shadow: 0 4px 12px rgba(228,83,102,0.1);
}
.cosmos-archive-ordering .woocommerce-ordering select.orderby:focus {
    border-color: var(--brand-pink);
    box-shadow: 0 0 0 3px rgba(228,83,102,0.15);
}
/* â”€â”€ Announcement: Slide-Up effect â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cosmos-announce-slideup {
    position: relative;
    min-height: 1.6em;
    overflow: hidden;
}
.cosmos-announce-slideup__item {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(.4,0,.2,1), opacity 0.5s;
}
.cosmos-announce-slideup__item.is-active {
    transform: translateY(0);
    opacity: 1;
    position: relative;
}
.cosmos-announce-slideup__item.is-exiting {
    transform: translateY(-100%);
    opacity: 0;
}

/* â”€â”€ Announcement: Bounce effect â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cosmos-announce-bounce {
    display: flex;
    align-items: center;
    justify-content: center;
}
.cosmos-announce-bounce__text {
    animation: cosmosBounce 2s ease-in-out infinite;
}
@keyframes cosmosBounce {
    0%, 100% { transform: translateY(0); }
    25%      { transform: translateY(-3px); }
    50%      { transform: translateY(0); }
    75%      { transform: translateY(-2px); }
}

/* â”€â”€ Announcement bar padding/layout â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cosmos-announcement-bar {
    padding: 8px 16px;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 50;
    overflow: hidden;
}
.cosmos-announcement-bar__text {
    margin: 0;
}

/* Announcement marquee (new header markup classes) */
.cosmos-marquee {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}
.cosmos-marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  min-width: max-content;
  animation: cosmosMarquee var(--marquee-speed, 30s) linear infinite;
  animation-direction: var(--marquee-direction, normal);
  will-change: transform;
}
.cosmos-marquee__item {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
}
.cosmos-marquee__sep {
  display: inline-flex;
  align-items: center;
  opacity: 0.7;
}
@keyframes cosmosMarquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* Announcement fade mode */
.cosmos-announce-fade {
  position: relative;
  min-height: 1.6em;
}
.cosmos-announce-fade__item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.cosmos-announce-fade__item.is-active {
  opacity: 1;
  position: relative;
}

/* â”€â”€ FAQ Accordion â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cosmos-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cosmos-faq-item {
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.cosmos-faq-item[open] {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border-color: #e5e7eb;
}
.cosmos-faq-question {
    padding: 18px 24px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    color: #1f2937;
    transition: color 0.2s;
    user-select: none;
}
.cosmos-faq-question::-webkit-details-marker { display: none; }
.cosmos-faq-question::after {
    content: '+';
    font-size: 1.2rem;
    font-weight: 300;
    color: #9ca3af;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}
.cosmos-faq-item[open] .cosmos-faq-question::after {
    content: 'âˆ’';
    color: var(--brand-pink, #e45366);
}
.cosmos-faq-item[open] .cosmos-faq-question {
    color: var(--brand-pink, #e45366);
}
.cosmos-faq-answer {
    padding: 0 24px 20px;
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.7;
}
.cosmos-faq-answer ul {
    padding-left: 1.5rem;
    margin: 0.5rem 0;
}
.cosmos-faq-answer li {
    margin-bottom: 0.4rem;
}
/* -- Checkout & Cart Improvements -- */
.cosmos-checkout-summary {
    background: #111;
    border-radius: 24px;
    padding: 32px;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.05);
}

.cosmos-review-order__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cosmos-review-order__thumb {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    background: #222;
    flex-shrink: 0;
}

.cosmos-review-order__item-meta {
    flex: 1;
    min-width: 0;
}

.cosmos-review-order__item-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cosmos-review-order__item-qty {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.05em;
}

.cosmos-review-order__item-total {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
}

.cosmos-review-order__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.6);
    font-weight: 600;
}

.cosmos-input {
    width: 100%;
    background: #fff;
    border: 1.5px solid #eee;
    border-radius: 14px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.cosmos-input:focus {
    border-color: var(--brand-pink);
    box-shadow: 0 0 0 4px rgba(228, 83, 102, 0.1);
    outline: none;
}

.cosmos-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #999;
    margin-bottom: 8px;
    margin-left: 4px;
}

.cosmos-btn {
    background: var(--brand-pink);
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.cosmos-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(228, 83, 102, 0.3);
    filter: brightness(1.1);
}

/* -- Boutique Grid Fixes -- */
.product-card .product-title {
    font-family: var(--cosmos-font-body);
    font-weight: 800;
    letter-spacing: -0.02em;
    font-style: italic;
    font-size: 13px;
    line-height: 1.2;
    height: 31px;
}

.product-card .product-price {
    font-size: 16px;
    letter-spacing: -0.03em;
}

.product-card .product-sub {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 9px;
    color: #bbb;
}
/* -- Shopping Cart Refinement -- */
.woocommerce-cart-form {
    background: #fff;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
}

.woocommerce-cart-form__contents {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 16px;
}

.woocommerce-cart-form__cart-item {
    background: #fafafa;
}

.woocommerce-cart-form__cart-item td {
    padding: 20px;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.woocommerce-cart-form__cart-item td:first-child {
    border-left: 1px solid #f0f0f0;
    border-radius: 16px 0 0 16px;
}

.woocommerce-cart-form__cart-item td:last-child {
    border-right: 1px solid #f0f0f0;
    border-radius: 0 16px 16px 0;
}

.product-thumbnail img {
    border-radius: 12px;
    width: 80px !important;
    height: 80px !important;
    object-fit: cover;
}

.product-name a {
    font-weight: 800;
    text-transform: uppercase;
    font-style: italic;
    font-size: 14px;
    color: var(--brand-dark);
}

.product-price .amount, .product-subtotal .amount {
    font-weight: 900;
    color: var(--brand-dark);
}

.cart-collaterals {
    margin-top: 40px;
    display: flex;
    justify-content: flex-end;
}

.cart_totals {
    width: 100%;
    max-width: 450px;
    background: #111;
    color: #fff;
    padding: 32px;
    border-radius: 24px;
}

.cart_totals h2 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 24px;
}

.cart_totals table {
    width: 100%;
    margin-bottom: 24px;
}

.cart_totals th {
    text-align: left;
    color: rgba(255,255,255,0.4);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cart_totals td {
    text-align: right;
    font-weight: 800;
}

.checkout-button {
    display: block;
    width: 100%;
    background: var(--brand-pink) !important;
    color: #fff !important;
    text-align: center;
    padding: 18px !important;
    border-radius: 16px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    transition: all 0.3s !important;
}

.checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(228, 83, 102, 0.3);
}
/* -- Accessibility: Ensure hovered buttons keep high contrast -- */
/* Override rules to ensure text becomes white on colored hover backgrounds */
.action-btn:hover,
.action-btn.cosmos-wishlist--active:hover,
.header-icon-btn:hover,
.cosmos-banner-btn:hover,
.cosmos-btn:hover,
.checkout-button:hover,
.slider-arrow-inline:hover {
    color: #ffffff !important;
}

/* Make sure icon buttons show a visible background when hovered */
.header-icon-btn:hover,
.action-btn:hover,
.slider-arrow-inline:hover {
    background: linear-gradient(135deg, var(--brand-pink), #d43c5b) !important;
    border-color: transparent !important;
}

/* Ensure contrast for wishlist active heart icon on hover */
.action-btn.cosmos-wishlist--active:hover .fa-heart {
    color: #ffffff !important;
}

/* Small tweak: make nav link hover slightly darker for readability */
.nav-link:hover { color: #c43a54; }
/* -- Checkout field restyles: match Cosmos theme */
#billing_state_field, #billing_city_field {
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
    border-radius: 14px;
    padding: 12px 14px;
    border: 1px solid #eee;
    box-shadow: 0 6px 18px rgba(15,23,42,0.04);
    margin-bottom: 12px;
}

#billing_state_field label, #billing_city_field label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
    margin-bottom: 6px;
}

#billing_state_field .select2-container--cosmos .select2-selection--single, .select2-container--default .select2-selection--single,
#billing_city_field .select2-container--cosmos .select2-selection--single, .select2-container--default .select2-selection--single,
#billing_state_field select,
#billing_city_field select {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    height: 40px;
    color: var(--brand-dark);
}

/* Make inputs inside these fields match cosmos-input */
#billing_state_field input[type="text"],
#billing_city_field input[type="text"] {
    width: 100%;
    background: transparent;
    border: none;
    padding: 6px 0;
    font-size: 14px;
    color: var(--brand-dark);
}

/* Ensure focus styles remain visible */
#billing_state_field:focus-within, #billing_city_field:focus-within {
    box-shadow: 0 8px 26px rgba(228,83,102,0.08);
    border-color: rgba(228,83,102,0.12);
}

/* Generic checkout divs that look out-of-place ï¿½ give a card-like reset */
.woocommerce .cosmos-page-content > div, .woocommerce form.checkout .col-2, .woocommerce form.checkout .col-1 {
    background: transparent;
}

.woocommerce form.checkout .cosmos-checkout-summary, .woocommerce .cosmos-review-order {
    /* already styled elsewhere; ensure spacing */
    padding: 18px;
}

/* Small responsive tweak for compactness */
@media (max-width: 768px) {
    #billing_state_field, #billing_city_field { padding: 10px 12px; border-radius: 12px; }
}


/* ═══════════════════════════════════════════════
   INFO PAGES — COMPLETE STYLING
   ═══════════════════════════════════════════════ */

/* ── Hero Banner ─────────────────────────────── */
.cosmos-info-hero {
    background: linear-gradient(135deg, #fffafa, #ffe4e6);
    padding: 3rem 1.5rem;
    border-radius: 1.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
    border: 1px solid #fdf2f8;
}
.cosmos-info-hero p {
    color: #4b5563;
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}
.cosmos-info-hero h1,
.cosmos-info-hero h2 {
    color: #111827;
    margin: 0 0 1rem;
    font-size: 2.25rem;
    letter-spacing: -0.02em;
    border: none;
    padding: 0;
}

/* ── Page Content Wrapper ────────────────────── */
.cosmos-page-content {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid #f3f4f6;
    margin-bottom: 2rem;
}
.cosmos-page-content h2,
.cosmos-page-content h3,
.cosmos-page-content h4 {
    color: #111827;
    font-weight: 800;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-inline-start: 4px solid var(--brand-pink);
    padding-inline-start: 12px;
}
.cosmos-page-content p,
.cosmos-page-content li {
    color: #374151;
    line-height: 1.8;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}
.cosmos-page-content ul {
    padding-left: 1.5rem;
}
.cosmos-page-content a {
    color: var(--brand-pink);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(228,83,102,0.3);
    text-underline-offset: 4px;
    transition: all 0.2s;
}
.cosmos-page-content a:hover {
    text-decoration-color: var(--brand-pink);
}

/* ── Info Card (reusable section block) ──────── */
.cosmos-info-card {
    background: #fafafb;
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 1.5rem;
    border: 1px solid #f0f0f0;
}
.cosmos-info-card h2,
.cosmos-info-card h3 {
    border: none;
    padding-left: 0;
}

/* ── Contact Cards Grid ─────────────────────── */
.cosmos-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}
@media (max-width: 640px) {
    .cosmos-contact-grid { grid-template-columns: 1fr; }
}
.cosmos-contact-card {
    background: #fdfafb;
    border: 1px solid #fce7ec;
    border-radius: 1rem;
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cosmos-contact-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-pink);
}
.cosmos-contact-card__icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}
.cosmos-contact-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 800;
    color: #111827;
    border: none;
    padding: 0;
}
.cosmos-contact-card p {
    margin: 0.25rem 0;
    font-size: 0.95rem;
    color: #4b5563;
}
.cosmos-contact-card a {
    color: var(--brand-pink);
    text-decoration: none;
    font-weight: 600;
}
.cosmos-contact-card a:hover {
    text-decoration: underline;
}

/* ── Map Grid ────────────────────────────────── */
.cosmos-map-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.cosmos-map-card {
    background: #fff;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid #f3f4f6;
}
.cosmos-map-card iframe {
    width: 100%;
    height: 220px;
    border: none;
}
.cosmos-map-card__info {
    padding: 1rem 1.25rem;
}
.cosmos-map-card__info h4 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 800;
    color: #111827;
    border: none;
    padding: 0;
}
.cosmos-map-card__info p {
    margin: 0;
    font-size: 0.9rem;
    color: #6b7280;
}

/* ── Stats Cards (Cosmos en Chiffres) ────────── */
.cosmos-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0 2rem;
}
.cosmos-stat-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 1rem;
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}
.cosmos-stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-pink);
}
.cosmos-stat-card__number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--brand-pink);
    line-height: 1;
    margin-bottom: 0.25rem;
}
.cosmos-stat-card__label {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #111827;
    margin-bottom: 0.5rem;
}
.cosmos-stat-card__desc {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* ── FAQ ─────────────────────────────────────── */
.cosmos-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.cosmos-faq-item {
    border: 1px solid #f0f0f0;
    border-radius: 1rem;
    overflow: hidden;
    transition: border-color 0.2s;
}
.cosmos-faq-item[open] {
    border-color: #e5e7eb;
}
.cosmos-faq-question {
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    font-size: 1rem;
    color: #111827;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cosmos-faq-question::-webkit-details-marker { display: none; }
.cosmos-faq-question::after {
    content: "+";
    font-size: 1.25rem;
    font-weight: 300;
    color: #9ca3af;
    transition: transform 0.2s;
}
.cosmos-faq-item[open] .cosmos-faq-question::after {
    content: "\2212";
    color: var(--brand-pink);
}
.cosmos-faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.7;
}
.cosmos-faq-answer ul {
    padding-left: 1.25rem;
    margin-top: 0.5rem;
}
.cosmos-faq-answer li {
    margin-bottom: 0.5rem;
}

/* ── Phone numbers: always LTR regardless of page direction ── */
[dir="rtl"] #billing_phone,
[dir="rtl"] #shipping_phone,
[dir="rtl"] input[type="tel"],
[dir="rtl"] .woocommerce-MyAccount-content input[type="tel"],
[dir="rtl"] .cosmos-footer-location a,
[dir="rtl"] .cosmos-footer-phones a {
    direction: ltr;
    text-align: left;
    unicode-bidi: embed;
}

/* ── Checkout dark card: ensure all text is readable ── */
.cosmos-checkout-summary,
.cosmos-checkout-summary * {
    color: #fff;
}
.cosmos-checkout-summary .woocommerce-privacy-policy-text,
.cosmos-checkout-summary .woocommerce-privacy-policy-text a,
.cosmos-checkout-summary .woocommerce-terms-and-conditions-wrapper,
.cosmos-checkout-summary .woocommerce-checkout-payment,
.cosmos-checkout-summary .payment_methods,
.cosmos-checkout-summary .payment_method label,
.cosmos-checkout-summary .payment_box,
.cosmos-checkout-summary .payment_box p {
    color: rgba(255,255,255,0.85) !important;
}
.cosmos-checkout-summary .payment_box {
    background: rgba(255,255,255,0.06) !important;
    border-color: rgba(255,255,255,0.1) !important;
}
.cosmos-checkout-summary input[type="radio"] {
    accent-color: #e45366;
}

/* ═══════════════════════════════════════════════════════
   TOAST NOTIFICATION
   ═══════════════════════════════════════════════════════ */
.cosmos-toast {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    z-index: 9999;
    pointer-events: none;
    transform: translateX(-50%) translateY(-2.5rem);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}
@media (max-width: 767px) {
    .cosmos-toast { top: 5rem; }
}
.cosmos-toast.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.cosmos-toast--success,
.cosmos-toast--error {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #111;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    padding: 12px 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}
.cosmos-toast--success .cosmos-toast__icon { color: #22c55e; }
.cosmos-toast--error   .cosmos-toast__icon { color: #ef4444; }
.cosmos-toast__copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cosmos-toast__title {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
}
.cosmos-toast__text {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}
.cosmos-toast__icon {
    font-size: 18px;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   MOBILE BOTTOM NAVIGATION BAR
   ═══════════════════════════════════════════════════════ */
.app-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    display: flex !important;
    align-items: center;
    justify-content: space-around;
    border-top: 1px solid #f3f4f6;
    background: rgba(255,255,255,0.95);
    padding: 0 0.5rem;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.04);
    -webkit-backdrop-filter: blur(40px);
    backdrop-filter: blur(40px);
}
@media (min-width: 768px) {
    .app-bottom-nav { display: none !important; }
}
.app-bottom-nav__item {
    position: relative;
    display: flex;
    height: 4rem;
    width: 4rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.15s;
    padding: 0;
    text-decoration: none;
    font-family: inherit;
}
.app-bottom-nav__item--active { color: #0a0a0a; }
.app-bottom-nav__item--active .app-bottom-nav__icon {
    transform: scale(1.1);
    color: #dc2626;
}
.app-bottom-nav__icon {
    margin-bottom: 0.25rem;
    font-size: 18px;
    transition: transform 0.15s;
}
.app-bottom-nav__label {
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.app-bottom-nav__badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    height: 1rem;
    width: 1rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border: 2px solid #fff;
    background: #dc2626;
    font-size: 8px;
    font-weight: 700;
    color: #fff;
}
@media (max-width: 767px) {
    body { padding-bottom: calc(4rem + env(safe-area-inset-bottom)); }
}

/* ═══════════════════════════════════════════════════════
   MOBILE NAV DRAWER + OVERLAY
   ═══════════════════════════════════════════════════════ */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 190;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.mobile-nav-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 85%;
    max-width: 360px;
    z-index: 195;
    background: #fff;
    overflow-y: auto;
    padding: 1.5rem;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.mobile-nav-drawer::-webkit-scrollbar { display: none; }
[dir="rtl"] .mobile-nav-drawer {
    left: auto;
    right: 0;
    transform: translateX(100%);
}
.mobile-nav-drawer.is-open { transform: translateX(0); }
.mobile-nav-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    color: #6b7280;
    padding: 0.25rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
[dir="rtl"] .mobile-nav-close { right: auto; left: 1rem; }
.mobile-nav-drawer .menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mobile-nav-drawer .menu li a {
    display: block;
    padding: 10px 0;
    font-weight: 700;
    font-size: 14px;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
}

/* ═══════════════════════════════════════════════════════
   SIDE PANELS  (cart / wishlist drawer)
   ═══════════════════════════════════════════════════════ */
.cosmos-panel-backdrop {
    position: fixed;
    inset: 0;
    z-index: 299;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.cosmos-panel-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}
.cosmos-side-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 300;
    width: 420px;
    max-width: 100vw;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -20px 0 60px rgba(0,0,0,0.12);
}
[dir="rtl"] .cosmos-side-panel {
    right: auto;
    left: 0;
    transform: translateX(-100%);
}
.cosmos-side-panel.is-open { transform: translateX(0); }
.cosmos-side-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f3f4f6;
    flex-shrink: 0;
}
.cosmos-side-panel__eyebrow {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9ca3af;
    margin: 0 0 2px;
}
.cosmos-side-panel__title {
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: #0a0a0a;
    margin: 0;
}
.cosmos-side-panel__body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}
.cosmos-panel-close {
    background: #f9fafb;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    transition: background 0.2s;
    flex-shrink: 0;
}
.cosmos-panel-close:hover { background: #f3f4f6; }

/* ═══════════════════════════════════════════════════════
   BATCH 2 FIXES — RTL, MOBILE SLIDER, MENU HIERARCHY,
   FOOTER ORDER, PRIVACY TEXT
   ═══════════════════════════════════════════════════════ */

/* ── Logo subtitle: clear LTR margin, prevent clipping ─ */
.logo-subtitle {
    margin-left: 0;
    margin-right: 0;
}
[dir="rtl"] .logo-subtitle {
    margin-inline-start: 0;
}
.logo-container,
.logo-brand {
    overflow: visible !important;
}

/* ── Slider mobile height: use the Customizer mobile var ─ */
@media (max-width: 767px) {
    .cosmos-sales-slider {
        height: var(--cosmos-slider-height-mobile, 240px) !important;
    }
}

/* ── Account nav active indicator: correct side for RTL ─ */
.cosmos-account-nav__item--active {
    border-inline-start: 3px solid var(--cosmos-primary, #e45366);
    border-inline-end: none;
}

/* ── Mobile menu visual hierarchy ───────────────────────── */
/* Sub-menu items (1 level deep) */
.mobile-nav-drawer .menu .sub-menu > li > a {
    font-size: 13px;
    font-weight: 600;
    padding-inline-end: 20px;
    padding-inline-start: 8px;
    color: #4b5563;
    border-bottom: 1px solid #f9fafb;
}
/* Sub-sub-menu items (2 levels deep) */
.mobile-nav-drawer .menu .sub-menu .sub-menu > li > a {
    font-size: 12px;
    font-weight: 500;
    padding-inline-end: 36px;
    color: #9ca3af;
}

/* ── Footer: social section first on mobile ─────────────── */
@media (max-width: 639px) {
    .lg\:col-span-7 {
        display: flex;
        flex-direction: column;
    }
    .footer-social-section {
        order: -1;
    }
}

/* ── Privacy policy text: white text on dark background ─── */
.woocommerce-privacy-policy-text,
.woocommerce-privacy-policy-text a {
    color: #fff !important;
}

/* ── Toast: ensure z-index wins over mobile bottom nav ──── */
@media (max-width: 767px) {
    .cosmos-toast {
        bottom: calc(5rem + env(safe-area-inset-bottom));
        top: auto;
        transform: translateX(-50%) translateY(2.5rem);
        left: 50%;
        right: auto;
        max-width: calc(100vw - 32px);
        z-index: 9999;
    }
    .cosmos-toast.is-visible {
        transform: translateX(-50%) translateY(0);
    }
}

/* ═══════════════════════════════════════════════════════
   BUTTON TEXT — force white on all .cosmos-btn links
   ═══════════════════════════════════════════════════════ */
a.cosmos-btn,
a.cosmos-btn:visited,
a.cosmos-btn:hover,
a.cosmos-btn:focus {
    color: #fff !important;
}

/* ═══════════════════════════════════════════════════════
   PAGE TITLE SPACING — reduce gap below page/shop titles
   ═══════════════════════════════════════════════════════ */
.woocommerce-products-header,
.page-header,
.entry-header,
.woocommerce-page .woocommerce > h1,
.woocommerce-page .woocommerce > h2,
body .woocommerce > h1.page-title {
    margin-bottom: 1rem !important;
    padding-bottom: 0 !important;
}
.woocommerce-page .woocommerce-breadcrumb {
    margin-bottom: 0.5rem !important;
}

/* ═══════════════════════════════════════════════════════
   LARGE BANNER 1 — add side margin like multi-product-banner
   ═══════════════════════════════════════════════════════ */
.perfume-banner {
    margin-left: 20px !important;
    margin-right: 20px !important;
    border-radius: var(--radius-card, 20px) !important;
}

/* ═══════════════════════════════════════════════════════
   MOBILE OVERLAY — raise z-index above bottom nav when open
   ═══════════════════════════════════════════════════════ */
.mobile-nav-overlay.is-open {
    z-index: 210 !important;
}

/* ═══════════════════════════════════════════════════════
   CHECKOUT — first & last name side by side (when enabled)
   ═══════════════════════════════════════════════════════ */
.cosmos-checkout-names-inline #billing_first_name_field,
.cosmos-checkout-names-inline #billing_last_name_field {
    width: 48% !important;
    display: inline-block !important;
    vertical-align: top;
}
.cosmos-checkout-names-inline #billing_first_name_field {
    margin-right: 4% !important;
}
