/*
Theme Name: Pure Senses
Theme URI: https://www.puresenses.nl/
Description: Pure Senses is an ultra-luxury adult wellness, sensual pleasure & intimate lifestyle child theme for WooCommerce Storefront (v4.6.2+). Fully SEO, GEO (Netherlands/Europe targeting), and AEO (Answer Engine Optimization for AI Search) enabled with built-in discreet shopping trust badges, 18+ age verification gate, and customizer branding controls.
Author: Pure Senses
Author URI: https://www.puresenses.nl/
Template: storefront
Version: 1.0.0
Tested up to: 6.7
Requires at least: 6.2
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: puresenses
Tags: e-commerce, adult-wellness, luxury, discreet, storefront-child, custom-colors, custom-header, full-width-template
*/

/* ==========================================================================
   1. DESIGN TOKENS & CSS VARIABLES
   ========================================================================== */
:root {
  --ps-obsidian: #0D0B12;
  --ps-midnight: #16121E;
  --ps-plum-dark: #24142D;
  --ps-plum-card: #1D1325;
  --ps-plum-border: #3A2346;
  
  --ps-gold-light: #FFF2D6;
  --ps-gold-primary: #E5C158;
  --ps-gold-deep: #C59B27;
  --ps-gold-dark: #8F6B12;
  --ps-gold-gradient: linear-gradient(135deg, #FFF2D6 0%, #E5C158 45%, #C59B27 80%, #8F6B12 100%);
  
  --ps-rose-accent: #8F254E;
  --ps-rose-light: #EAA1B1;
  --ps-rose-gradient: linear-gradient(135deg, #8F254E 0%, #C86D7F 50%, #F5B8C4 100%);
  
  --ps-text-white: #FAF6F0;
  --ps-text-muted: #C9BDD5;
  --ps-text-dim: #8E7D9E;
  
  --ps-font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --ps-font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --ps-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
  --ps-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --ps-shadow-gold: 0 0 20px rgba(229, 193, 88, 0.25);
  --ps-radius: 10px;
}

/* ==========================================================================
   2. CORE TYPOGRAPHY & STOREFRONT LUXURY OVERRIDES
   ========================================================================== */
body, button, input, textarea, select {
  font-family: var(--ps-font-sans);
  color: var(--ps-text-white);
  background-color: var(--ps-obsidian);
}

h1, h2, h3, h4, h5, h6,
.site-title,
.entry-title,
.woocommerce-loop-product__title {
  font-family: var(--ps-font-serif);
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--ps-text-white);
}

a {
  color: var(--ps-gold-primary);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover, a:focus {
  color: var(--ps-gold-light);
  text-shadow: 0 0 8px rgba(229, 193, 88, 0.4);
}

/* ==========================================================================
   3. HEADER & NAVIGATION STYLING
   ========================================================================== */
.site-header {
  background-color: var(--ps-midnight) !important;
  border-bottom: 1px solid var(--ps-plum-border) !important;
  padding-top: 1.2em !important;
  padding-bottom: 1.2em !important;
}

.site-branding .custom-logo {
  max-height: 55px;
  width: auto;
  transition: transform 0.3s ease;
}

.site-branding .custom-logo:hover {
  transform: scale(1.02);
}

.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
  font-family: var(--ps-font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ps-text-white) !important;
  padding: 0.7em 1.1em;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.main-navigation ul.menu > li > a:hover,
.main-navigation ul.menu > li.current-menu-item > a {
  color: var(--ps-gold-primary) !important;
  text-shadow: 0 0 10px rgba(229, 193, 88, 0.3);
}

/* Header Cart */
.site-header-cart .cart-contents {
  color: var(--ps-gold-primary) !important;
  font-weight: 600;
  background-color: rgba(36, 20, 45, 0.6);
  padding: 0.6em 1.2em;
  border-radius: 50px;
  border: 1px solid var(--ps-plum-border);
  transition: all 0.3s ease;
}

.site-header-cart .cart-contents:hover {
  border-color: var(--ps-gold-primary);
  box-shadow: var(--ps-shadow-gold);
}

.site-header-cart .cart-contents .count {
  background-color: var(--ps-rose-accent);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  padding: 0.15em 0.55em;
  margin-left: 0.4em;
}

/* ==========================================================================
   4. WOOCOMMERCE PRODUCT CARDS & GRID
   ========================================================================== */
ul.products li.product {
  background: var(--ps-plum-card) !important;
  border: 1px solid var(--ps-plum-border) !important;
  border-radius: var(--ps-radius) !important;
  padding: 1.2em !important;
  margin-bottom: 2.2em !important;
  box-shadow: var(--ps-shadow-sm) !important;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

ul.products li.product:hover {
  transform: translateY(-5px);
  border-color: var(--ps-gold-primary) !important;
  box-shadow: var(--ps-shadow-md), var(--ps-shadow-gold) !important;
}

ul.products li.product .woocommerce-loop-product__title {
  font-size: 1.1rem !important;
  line-height: 1.4 !important;
  margin-top: 0.8em !important;
  margin-bottom: 0.4em !important;
  color: var(--ps-text-white) !important;
  min-height: 2.8em;
}

ul.products li.product .price {
  color: var(--ps-gold-primary) !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  margin-bottom: 0.8em !important;
}

ul.products li.product .price del {
  color: var(--ps-text-dim) !important;
  font-size: 0.88em;
  margin-right: 0.3em;
}

ul.products li.product .price ins {
  text-decoration: none;
  color: var(--ps-gold-light) !important;
}

/* Product Badges (Sale, New) */
.woocommerce span.onsale {
  background: var(--ps-rose-gradient) !important;
  color: #fff !important;
  font-family: var(--ps-font-sans) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  border-radius: 4px !important;
  padding: 0.3em 0.8em !important;
  min-height: auto !important;
  min-width: auto !important;
  line-height: 1.4 !important;
}

/* ==========================================================================
   5. LUXURY CTA BUTTONS
   ========================================================================== */
.button,
button,
input[type="submit"],
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--ps-gold-gradient) !important;
  color: var(--ps-obsidian) !important;
  font-family: var(--ps-font-sans) !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  border-radius: 30px !important;
  padding: 0.85em 2em !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(229, 193, 88, 0.3) !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: linear-gradient(135deg, #FFF8E7 0%, #F5D378 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 193, 88, 0.5) !important;
  color: #000 !important;
}

/* Single Product Add-to-cart Specifics */
.single-product div.product form.cart .button {
  padding: 1.1em 2.5em !important;
  font-size: 1rem !important;
}

/* ==========================================================================
   6. SINGLE PRODUCT PAGE ENHANCEMENTS
   ========================================================================== */
.single-product div.product {
  background-color: var(--ps-plum-card);
  border: 1px solid var(--ps-plum-border);
  border-radius: var(--ps-radius);
  padding: 2em;
  box-shadow: var(--ps-shadow-md);
}

.single-product div.product .product_title {
  font-size: 2.2rem;
  margin-bottom: 0.4em;
  color: var(--ps-text-white);
}

.single-product div.product .price {
  color: var(--ps-gold-primary);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1em;
}

.single-product div.product .woocommerce-product-details__short-description {
  color: var(--ps-text-muted);
  font-size: 1rem;
  line-height: 1.7;
  border-top: 1px solid var(--ps-plum-border);
  border-bottom: 1px solid var(--ps-plum-border);
  padding: 1em 0;
  margin: 1.2em 0;
}

/* Embedded secondary images in description */
.woocommerce-Tabs-panel--description img {
  border-radius: 8px;
  border: 1px solid var(--ps-plum-border);
  margin: 1em 0;
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   7. DISCREET TRUST BADGES BAR COMPONENT
   ========================================================================== */
.ps-trust-bar-container {
  margin: 1.8em 0;
  background: linear-gradient(135deg, #180F21 0%, #24142D 100%);
  border: 1px solid var(--ps-plum-border);
  border-radius: var(--ps-radius);
  padding: 1.2em 1em;
}

.ps-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1em;
  align-items: center;
}

@media (max-width: 768px) {
  .ps-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2em;
  }
}

.ps-trust-item {
  display: flex;
  align-items: center;
  gap: 0.8em;
}

.ps-trust-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.ps-trust-text {
  display: flex;
  flex-direction: column;
}

.ps-trust-title {
  font-family: var(--ps-font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--ps-gold-primary);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.ps-trust-desc {
  font-size: 0.74rem;
  color: var(--ps-text-muted);
  line-height: 1.3;
}

/* ==========================================================================
   8. DISCREET FOOTER & BILLING NOTICE
   ========================================================================== */
.site-footer {
  background-color: var(--ps-midnight) !important;
  border-top: 1px solid var(--ps-plum-border) !important;
  color: var(--ps-text-dim) !important;
  padding-top: 3em !important;
}

.ps-footer-discreet-notice {
  background-color: rgba(22, 18, 30, 0.8);
  border: 1px dashed var(--ps-plum-border);
  border-radius: 8px;
  padding: 1em 1.5em;
  margin: 1.5em auto;
  max-width: 800px;
  text-align: center;
}

.ps-footer-discreet-notice p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ps-text-muted);
}

.ps-footer-discreet-notice strong {
  color: var(--ps-gold-primary);
}

/* ==========================================================================
   9. 18+ AGE VERIFICATION MODAL (MANDATORY FOR ADULT STORES)
   ========================================================================== */
#ps-age-gate-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 4, 12, 0.94);
  backdrop-filter: blur(12px);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5em;
}

#ps-age-gate-modal.is-active {
  display: flex;
}

.ps-age-gate-card {
  background: linear-gradient(145deg, #1F1226 0%, #100A15 100%);
  border: 1.5px solid var(--ps-gold-primary);
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  padding: 2.8em 2.2em;
  text-align: center;
  box-shadow: var(--ps-shadow-md), var(--ps-shadow-gold);
  animation: psModalFadeIn 0.4s ease;
}

@keyframes psModalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.ps-age-gate-logo {
  max-width: 180px;
  margin: 0 auto 1.5em auto;
}

.ps-age-gate-title {
  font-family: var(--ps-font-serif);
  font-size: 1.9rem;
  color: var(--ps-gold-light);
  margin-bottom: 0.5em;
}

.ps-age-gate-desc {
  font-size: 0.92rem;
  color: var(--ps-text-muted);
  line-height: 1.6;
  margin-bottom: 1.8em;
}

.ps-age-gate-actions {
  display: flex;
  gap: 1em;
  justify-content: center;
}

.ps-btn-confirm {
  background: var(--ps-gold-gradient) !important;
  color: #000 !important;
  font-weight: 700 !important;
  padding: 0.85em 2em !important;
  border-radius: 30px !important;
  border: none !important;
  cursor: pointer;
}

.ps-btn-exit {
  background: transparent !important;
  color: var(--ps-text-dim) !important;
  border: 1px solid var(--ps-plum-border) !important;
  padding: 0.85em 1.6em !important;
  border-radius: 30px !important;
  cursor: pointer;
  transition: all 0.25s ease;
}

.ps-btn-exit:hover {
  color: #fff !important;
  border-color: var(--ps-rose-accent) !important;
}

/* ==========================================================================
   10. AEO / FAQ ACCORDION COMPONENT (AI ANSWER ENGINE OPTIMIZATION)
   ========================================================================== */
.ps-aeo-faq-section {
  margin: 3.5em 0;
  padding: 2.5em;
  background-color: var(--ps-plum-card);
  border: 1px solid var(--ps-plum-border);
  border-radius: var(--ps-radius);
}

.ps-aeo-faq-title {
  text-align: center;
  font-size: 2rem;
  color: var(--ps-gold-light);
  margin-bottom: 0.4em;
}

.ps-aeo-faq-subtitle {
  text-align: center;
  color: var(--ps-text-muted);
  font-size: 0.95rem;
  margin-bottom: 2em;
}

.ps-faq-item {
  border-bottom: 1px solid var(--ps-plum-border);
  padding: 1.2em 0;
}

.ps-faq-question {
  font-family: var(--ps-font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ps-text-white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ps-faq-question:hover {
  color: var(--ps-gold-primary);
}

.ps-faq-answer {
  font-size: 0.92rem;
  color: var(--ps-text-muted);
  line-height: 1.6;
  margin-top: 0.8em;
}
