
/*
Theme Name: Zynino LED - Miroirs d'Exception
Theme URI: https://zynino.ma/
Author: Saadallah Khouatmi
Author URI: https://zynino.ma/
Description: Thème WordPress e-commerce haut de gamme de miroirs LED de luxe avec Configurateur 3D Sur Mesure, compatible à 100% avec Elementor et WooCommerce.
Version: 1.0.1
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zynino-led
Tags: e-commerce, custom-colors, elementor, full-width-template, grid-layout, luxury, right-to-left
*/

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

@import url('assets/css/theme.css');

/* ==========================================
   1. GLOBAL VARIABLES
========================================== */

:root {
  --color-primary: #7d5449;
  --color-primary-dark: #5e3b32;
  --color-primary-light: #9c6c5f;
  --color-primary-rgb: 125, 84, 73;

  --color-bg: #fcfbfa;
  --color-bg-card: #ffffff;
  --color-bg-alt: #f5f2ed;
  --color-bg-dark: #1e1917;

  --color-text-main: #2d2624;
  --color-text-muted: #736966;
  --color-text-light: #9d9490;
  --color-text-inverse: #ffffff;

  --color-border: #eae4dd;
  --color-border-subtle: #f0ebe4;
  --color-border-focus: #7d5449;

  --color-gold: #c5a059;
  --color-gold-light: #e6c888;
  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #128c7e;

  --led-warm: rgba(255, 195, 110, 0.7);
  --led-neutral: rgba(255, 245, 230, 0.75);
  --led-cool: rgba(210, 235, 255, 0.8);

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 8px rgba(45, 38, 36, 0.04);
  --shadow-md: 0 6px 20px rgba(45, 38, 36, 0.08);
  --shadow-lg: 0 16px 40px rgba(45, 38, 36, 0.12);

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ==========================================
   2. BASE STYLES
========================================== */

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

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.6;
}

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

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

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

@media (max-width: 375px) {
  .container {
    padding: 0 12px;
  }
}

/* ==========================================
   3. HEADER
========================================== */

.brand-logo-text {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  letter-spacing: 0.22em;
  font-weight: 400;
  color: var(--color-text-main);
  text-transform: uppercase;
  display: block;
  text-align: center;
}

.brand-logo-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-top: -4px;
  font-weight: 600;
  text-align: center;
}

/* ==========================================
   4. WOOCOMMERCE
========================================== */

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  border: 1px solid var(--color-border);
  padding: 16px;
  border-radius: var(--radius-sm);
  background: #fff;
  transition: all var(--transition-smooth);
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.woocommerce ul.products li.product .price {
  color: var(--color-text-main) !important;
  font-weight: 700;
  font-size: 1.2rem;
}

.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background-color: var(--color-primary) !important;
  color: #fff !important;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background-color: var(--color-primary-dark) !important;
}

/* ==========================================
   5. LUXURY CATALOG SEARCH TOOLBAR
========================================== */

#catalog .catalog-toolbar {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 25px !important;

  width: 100% !important;
  min-height: 96px !important;

  padding: 20px 25px !important;
  margin: 30px 0 45px !important;

  background: #fff !important;
  border: 1px solid #e9e0d8 !important;
  border-radius: 5px !important;

  box-shadow: 0 8px 25px rgba(40,25,20,.035) !important;
}

/* SEARCH WRAPPER */

#catalog .catalog-search-wrapper {
  position: relative !important;

  display: flex !important;
  flex: 1 1 0 !important;
  align-items: center !important;

  width: auto !important;
  min-width: 0 !important;
  height: 54px !important;

  padding: 0 !important;

  background: #fdfcfb !important;
  border: 1px solid #e9e0d8 !important;
  border-radius: 50px !important;

  box-shadow: none !important;
  transition: all .25s ease !important;
}

#catalog .catalog-search-wrapper:focus-within {
  border-color: #865b4d !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(134,91,77,.08) !important;
}

/* SEARCH ICON */

#catalog .catalog-search-wrapper .search-icon {
  position: absolute !important;
  left: 17px !important;
  top: 50% !important;

  transform: translateY(-50%) !important;

  width: 21px !important;
  height: 21px !important;

  color: #a39790 !important;
  pointer-events: none !important;
}

/* SEARCH INPUT */

#catalog .catalog-search-wrapper .catalog-search-input {
  display: block !important;

  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;

  height: 52px !important;

  margin: 0 !important;
  padding: 0 48px 0 52px !important;

  border: 0 !important;
  outline: none !important;
  border-radius: 50px !important;

  background: transparent !important;
  box-shadow: none !important;

  font-family: var(--font-body) !important;
  font-size: 16px !important;
  font-weight: 400 !important;

  color: #3b302c !important;
}

#catalog .catalog-search-wrapper .catalog-search-input::placeholder {
  color: #93867f !important;
  opacity: 1 !important;
}

/* CLEAR BUTTON */

#catalog .search-clear-btn {
  position: absolute !important;
  right: 15px !important;
  top: 50% !important;

  transform: translateY(-50%) !important;

  border: none !important;
  background: transparent !important;

  color: #865b4d !important;
  font-size: 23px !important;

  cursor: pointer !important;
}

/* RIGHT CONTROLS */

#catalog .catalog-tools-right {
  display: flex !important;
  flex: 0 0 auto !important;

  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;

  gap: 20px !important;
  width: auto !important;
  margin: 0 !important;
}

/* SORT WRAPPER */

#catalog .catalog-sort-wrapper {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;

  gap: 12px !important;
  margin: 0 !important;
}

/* SORT LABEL */

#catalog .sort-label {
  display: inline-block !important;

  margin: 0 !important;

  color: #493a34 !important;
  font-size: 13px !important;
  font-weight: 700 !important;

  text-transform: uppercase !important;
  white-space: nowrap !important;
}

/* SORT SELECT */

#catalog .catalog-sort-select {
  display: block !important;

  width: 235px !important;
  min-width: 235px !important;
  height: 46px !important;

  margin: 0 !important;
  padding: 0 35px 0 18px !important;

  border: 1px solid #e8ded6 !important;
  border-radius: 6px !important;

  background-color: #fdfcfb !important;

  color: #302521 !important;
  font-family: var(--font-body) !important;
  font-size: 15px !important;

  box-shadow: none !important;
  cursor: pointer !important;
}

/* PRODUCT COUNT BADGE */

#catalog .catalog-count-badge {
  display: inline-flex !important;
  flex: 0 0 auto !important;

  align-items: center !important;
  justify-content: center !important;

  min-width: 142px !important;
  height: 43px !important;

  margin: 0 !important;
  padding: 0 18px !important;

  border: 1px solid #ead5b8 !important;
  border-radius: 50px !important;

  background: #faf6ef !important;

  color: #79513d !important;
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  font-weight: 700 !important;

  white-space: nowrap !important;
}

/* ==========================================
   6. RESPONSIVE SEARCH TOOLBAR
========================================== */

@media (max-width: 1100px) {
  #catalog .catalog-toolbar {
    gap: 15px !important;
  }

  #catalog .catalog-sort-select {
    width: 190px !important;
    min-width: 190px !important;
  }

  #catalog .catalog-tools-right {
    gap: 12px !important;
  }
}

@media (max-width: 900px) {
  #catalog .catalog-toolbar {
    flex-wrap: wrap !important;
  }

  #catalog .catalog-search-wrapper {
    flex: 1 1 100% !important;
  }

  #catalog .catalog-tools-right {
    flex: 1 1 100% !important;
    justify-content: space-between !important;
  }
}

@media (max-width: 600px) {
  #catalog .catalog-toolbar {
    padding: 15px !important;
    gap: 14px !important;
  }

  #catalog .catalog-tools-right {
    flex-wrap: wrap !important;
    gap: 12px !important;
  }

  #catalog .catalog-sort-wrapper {
    flex: 1 1 100% !important;
  }

  #catalog .catalog-sort-select {
    flex: 1 !important;
    width: auto !important;
    min-width: 0 !important;
  }

  #catalog .catalog-count-badge {
    min-width: auto !important;
  }
}
