/*
Theme Name:   La Reserve du Fumeur
Theme URI:    https://lareservedufumeur.com
Author:       LRDF
Author URI:   https://lareservedufumeur.com
Description:  Theme custom La Reserve du Fumeur - CBD Shop cosmique
Version:      1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  lrdf-theme
*/

/* ========================================
   LA RESERVE DU FUMEUR - Styles globaux
   Fonts: Syne (titres), system sans-serif (body)
   Palette: #000, #FFF, #67FF09, #FFBF19, #19161D

   Structure CSS :
   - style.css ........... Variables, reset, composants partages
   - css/header.css ...... Navbar / header
   - css/footer.css ...... Footer / reassurance
   - css/home.css ........ Sections page d accueil
   - css/single-product.css Single produit
   - css/archive-product.css Catalogue / archive
   - css/cart.css ........ Sidebar panier
   - css/checkout.css .... Tunnel de commande
   - css/blog.css ........ Page blog / archives
   - css/tablet.css ...... Media queries tablette (<=1280px)
   - css/mobile.css ...... Media queries mobile (<=768px)
   ======================================== */

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

:root {
  --black: #000000;
  --white: #FFFFFF;
  --green: #67FF09;
  --gold: #FFBF19;
  --dark: #19161D;
  --dark2: #282828;
  --red: #FE2F2F;
  --grey: #767575;
  --cyan: #00E0FF;
  --purple: #9747FF;
  --pink: #DB00FF;
  --light-grey: #F7F6F6;
  --radius-sm: 5px;
  --radius-md: 10px;
  --radius-lg: 20px;
  --radius-xl: 27px;
  --radius-full: 1000px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Syne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sporting: 'Sporting Grotesque', sans-serif;
  --max-w: 1440px;
  --side-pad: 160px;
  --infobar-h: 50px;
  --marquee-h: 90px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--dark);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ---------- HIDE NATIVE WOOCOMMERCE NOTICES ---------- */
.woocommerce-notices-wrapper,
.woocommerce-error,
.woocommerce-message,
.woocommerce-info,
div[role="alert"] > ul.woocommerce-error,
div[role="alert"] > ul.woocommerce-message,
div[role="alert"] > ul.woocommerce-info {
  display: none !important;
}

/* ---------- PLACEHOLDERS ---------- */
.placeholder-img {
  background: var(--dark2);
  border: 2px dashed var(--grey);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
  height: 100%;
  min-height: 60px;
}
.placeholder-img--hero { min-height: 100%; border-radius: 0; }
.placeholder-img--sm { width: 150px; height: 150px; border-radius: 12px; }
.placeholder-img--md { width: 250px; height: 250px; border-radius: 12px; }
.placeholder-img--product { height: 200px; border-radius: var(--radius-md); }
.placeholder-img--cat { height: 100%; border-radius: var(--radius-xl); }
.placeholder-img--cosmo { width: 100%; height: 100%; border-radius: 50%; }
.placeholder-img--full { position: absolute; inset: 0; border-radius: 0; }
.placeholder-img--blog { height: 200px; border-radius: var(--radius-md); }
.placeholder-img--map { height: 40px; border-radius: 8px; }
.placeholder-img--holo { width: 268px; height: 254px; border-radius: var(--radius-md); }
.placeholder-img--logo-footer { width: 314px; height: 99px; }
.placeholder-img--brand { width: 100%; height: 88px; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 32px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.btn--green {
  background: var(--green);
  color: var(--black);
  border: 1px solid var(--green);
}
.btn--green:hover {
  background: #5ae000;
  border-color: var(--black);
  box-shadow: 0 0 20px rgba(103, 255, 9, 0.3);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}
.btn--outline-white:hover {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn--sm { padding: 8px 20px; font-size: 12px; }
.btn--sm-footer { padding: 10px 24px; font-size: 12px; width: 100%; }

.btn--black {
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
}
.btn--black:hover {
  background: var(--green);
  color: var(--black);
}

.btn--secondary {
  background: var(--gold);
  color: var(--black);
  border: 1px solid var(--gold);
}
.btn--secondary:hover {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

/* ---------- BADGES ---------- */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.badge--green {
  background: var(--green);
  color: var(--black);
}
.badge--orange {
  background: #F90;
  color: var(--black);
}

/* ---------- SECTION TITLE ---------- */
.section-title {
  font-family: var(--font-display);
  font-size: 35px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--dark);
}
.section-title--white { color: var(--white); }

.section-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--dark);
  border-bottom: 1px solid var(--green);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.section-link:hover { color: var(--green); }
.section-link--white { color: var(--white); border-color: var(--white); }

/* ---------- CAROUSEL COMMON ---------- */
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel-arrow {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--black);
  background: transparent;
  color: var(--black);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 2;
}
.carousel-arrow:hover {
  background: var(--black);
  color: var(--white);
}

.product-carousel,
.reviews-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-behavior: smooth;
  flex: 1;
}
.product-carousel::-webkit-scrollbar,
.reviews-carousel::-webkit-scrollbar { display: none; }

