﻿/*
Theme Name: DolceCakes Bakery
Theme URI: https://dolcecakesbakery.com/
Author: Antigravity AI
Description: A premium, elegant theme for high-end bakeries.
Version: 1.7.0
License: GNU General Public License v2 or later
Text Domain: dolcecakes-bakery
*/

/* 
  ==========================================================================
  [1] ROOT VARIABLES & GLOBAL RESET
  ==========================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Montserrat:wght@200;300;400;500;600&family=Nunito:wght@200;300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap');

:root {
  --primary-color: #1A1A1A;
  --secondary-color: #FFFFFF;
  --accent-color: #C5A02E;
  --bg-color: #FFFFFF;
  --text-dark: #1A1A1A;
  --text-muted: #555555;
  --border-color: #E5E5E5;
  --transition-slow: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  --transition-fast: all 0.3s ease;
}

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

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

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}


/* 
  ==========================================================================
  [2] TYPOGRAPHY & HEADINGS
  ==========================================================================
*/

h1,
h2,
h3,
h4,
.serif {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.italic {
  font-style: italic;
}


/* 
  ==========================================================================
  [3] MAIN NAVIGATION (HEADER)
  ==========================================================================
*/

header {
  height: 120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 100px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  /* Default solid for safety */
  border-bottom: 1px solid var(--border-color);
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

header.header-overlay {
  background: transparent;
  border-bottom: none;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  height: 90px !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05) !important;
  backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid var(--border-color) !important;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 35px;
  flex: 1;
}

.nav-separator {
  color: #CCC;
  font-weight: 200;
  font-size: 14px;
  user-select: none;
  transition: color 0.3s ease;
}

header.header-overlay:not(.scrolled) .nav-separator {
  color: rgba(255, 255, 255, 0.4);
}

.nav-right {
  justify-content: flex-end;
}

.nav-left a,
.nav-right a,
.nav-right button {
  text-decoration: none;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--text-dark);
  /* Default to dark for standard pages */
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}

header.header-overlay:not(.scrolled) .nav-left a,
header.header-overlay:not(.scrolled) .nav-right a,
header.header-overlay:not(.scrolled) .nav-right button {
  color: #FFFFFF;
  /* Light text for transparent overlay */
}

header.scrolled .nav-left a,
header.scrolled .nav-right a,
header.scrolled .nav-right button {
  color: var(--text-dark);
}

.nav-left a::after,
.nav-right a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

header.header-overlay:not(.scrolled) .nav-left a::after,
header.header-overlay:not(.scrolled) .nav-right a::after {
  background: #FFFFFF;
}

header.scrolled .nav-left a::after,
header.scrolled .nav-right a::after {
  background: var(--accent-color);
}

.nav-left a:hover::after,
.nav-right a:hover::after {
  width: 100%;
}

/* --- Logo Center Handling --- */
.logo-center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.logo-main-img {
  height: 100px;
  width: 100px;
  object-fit: contain;
  border-radius: 50%;
  transition: all 0.5s ease;
}

header.scrolled .logo-main-img {
  height: 70px !important;
  width: 70px !important;
}

/* --- Mobile Menu Trigger --- */
.mobile-menu-btn {
  flex: 1;
  display: flex;
  align-items: center;
}

#mobile-menu-trigger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#mobile-menu-trigger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-dark);
  transition: background 0.3s ease;
}

header.header-overlay:not(.scrolled) #mobile-menu-trigger span {
  background: #FFFFFF;
}


/* 
  ==========================================================================
  [4] CATEGORY MEGAMENU
  ==========================================================================
*/

.category-megamenu {
  position: fixed;
  top: 120px;
  left: 0;
  width: 100%;
  background: #FFF;
  z-index: 999;
  border-bottom: 1px solid var(--border-color);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  padding: 60px 100px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
}

@media (max-width: 991px) {
  .category-megamenu {
    padding: 40px 30px;
  }

  .megamenu-content {
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: center;
  }

  .megamenu-column h4 {
    margin-bottom: 15px;
  }
}

header.scrolled~.category-megamenu {
  top: 90px;
}

.category-megamenu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.megamenu-content {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.megamenu-column h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-color);
  margin-bottom: 25px;
}

.megamenu-column ul {
  list-style: none;
}

.megamenu-column ul li {
  margin-bottom: 12px;
}

.megamenu-column ul li a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 1.2rem;
  font-family: 'Playfair Display', serif;
  transition: opacity 0.3s;
}

.megamenu-column ul li a:hover {
  opacity: 0.5;
}


/* 
  ==========================================================================
  [5] PREMIUM HERO SLIDER (BANNER)
  ==========================================================================
*/

.hero-slider {
  height: 100vh;
  height: 100dvh;
  position: relative;
  overflow: hidden;
  background-color: #000;
  width: 100%;
}

.slides-container {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-bg {
  width: 100%;
  height: 100%;
}

.slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
}

/* --- Floating Content Box (Crystal Glass) --- */
.slide-content-box {
  position: absolute;
  top: 55%;
  left: 10%;
  transform: translateY(-50%);
  width: min(420px, 88vw);
  background: rgba(255, 255, 255, 0.12);
  padding: 60px 40px;
  backdrop-filter: blur(25px) saturate(200%);
  -webkit-backdrop-filter: blur(25px) saturate(200%);
  z-index: 10;
  clip-path: polygon(0% 40px, 40px 0%, calc(100% - 40px) 0%, 100% 40px, 100% calc(100% - 40px), calc(100% - 40px) 100%, 40px 100%, 0% calc(100% - 40px));
  text-align: center;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  border: none;
  color: #FFFFFF;
  box-sizing: border-box;
}

.slide-content-box h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.slide-content-box p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 35px;
  letter-spacing: 0.5px;
  line-height: 1.6;
}

.btn-learn-more {
  display: inline-block;
  padding: 12px 35px;
  background: #FFFFFF;
  color: #1A1A1A;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-learn-more:hover {
  background: var(--accent-color);
  color: #FFFFFF;
  transform: translateY(-5px);
}

/* --- Inner Controls --- */
.slide-controls {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.slide-prev,
.slide-next {
  background: rgba(255, 255, 255, 0.1);
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s ease;
}

.slide-prev:hover,
.slide-next:hover {
  background: #FFF;
  color: #1A1A1A;
}

.slide-dots {
  display: flex;
  gap: 10px;
}

.s-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 0.3s ease;
}

.s-dot.active {
  background: #FFFFFF;
}


/* 
  ==========================================================================
  [6] PRODUCT GRID & MINI-CAROUSEL
  ==========================================================================
*/

.section {
  padding: 120px 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.4rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-item {
  text-decoration: none;
  color: inherit;
  display: block;
  margin-bottom: 40px;
  min-width: 0;
}

/* --- Card Image Handling --- */
.product-image {
  height: 380px;
  overflow: hidden;
  margin-bottom: 25px;
  background: #f8f8f8;
  position: relative;
  border-radius: 20px;
}

.images-wrapper {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  height: 100%;
  width: 100%;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.images-wrapper img {
  flex: 0 0 100%;
}

.product-item:hover .images-wrapper img,
.product-item:hover .product-image>img {
  transform: scale(1.05);
}

/* --- Carousel Thumbnails --- */
.thumbnail-container {
  display: flex;
  gap: 10px;
  margin: 15px 0;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  width: 100%;
}

.thumb {
  width: 45px;
  height: 45px;
  overflow: hidden;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  flex: 0 0 45px;
  border-radius: 8px;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.thumb.active img {
  opacity: 1;
}

.thumb.active {
  border-bottom-color: var(--primary-color);
}

/* --- Small Carousel Nav --- */
.carousel-nav-buttons {
  position: absolute;
  right: 0;
  display: flex;
  gap: 10px;
}

/* --- Nuclear Reset for WP Buttons --- */
html body .carousel-nav-btn {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  border-radius: 50% !important;
  background: var(--primary-color) !important;
  color: #FFFFFF !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

html body .carousel-nav-btn:hover {
  background: var(--accent-color) !important;
  transform: scale(1.1) !important;
}

html body .carousel-nav-btn svg {
  width: 18px !important;
  height: 18px !important;
  stroke: #FFFFFF !important;
  fill: none !important;
  display: block !important;
  margin: 0 !important;
}

/* --- Product Info & Global Add to Cart --- */
.product-details {
  text-align: center;
}

.product-details h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.product-details .price {
  font-size: 1rem;
  color: #888;
  letter-spacing: 1px;
  font-weight: 400;
  display: block;
  margin-bottom: 20px;
}

html body .add-to-cart-btn {
  background: transparent !important;
  border: 1px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  padding: 12px 25px !important;
  font-size: 10px !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  border-radius: 30px !important;
  line-height: 1.2 !important;
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  box-shadow: none !important;
  transition: all 0.3s ease !important;
}

html body .add-to-cart-btn:hover {
  background: var(--primary-color) !important;
  color: #FFFFFF !important;
}


/* 
  ==========================================================================
  [7] SHOPPING CART (GLASSMORPHISM DROPDOWN)
  ==========================================================================
*/

.cart-sidebar {
  position: fixed;
  top: 100px;
  right: 40px;
  width: 420px;
  max-width: 95vw;
  height: auto;
  max-height: calc(100vh - 140px);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  z-index: 2100;
  display: flex;
  flex-direction: column;
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  transform-origin: top right;
}

.cart-sidebar::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 25px;
  width: 16px;
  height: 16px;
  background: inherit;
  backdrop-filter: inherit;
  -webkit-backdrop-filter: inherit;
  transform: rotate(45deg);
  border-left: 1px solid rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  z-index: -1;
}

header.scrolled~.cart-sidebar {
  top: 80px;
}

.cart-sidebar.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.cart-header h2 {
  font-size: 1.8rem;
  color: #1a1a1a;
}

#close-cart {
  background: rgba(0, 0, 0, 0.05);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

#close-cart:hover {
  background: #1a1a1a;
  color: #fff;
  transform: rotate(90deg);
}

#cart-items {
  flex: 1;
  overflow-y: auto;
  padding-right: 5px;
  max-height: 400px;
}

#cart-items::-webkit-scrollbar {
  width: 4px;
}

#cart-items::-webkit-scrollbar-track {
  background: transparent;
}

#cart-items::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.cart-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cart-item img {
  width: 60px;
  height: 70px;
  object-fit: cover;
  border-radius: 12px;
}

.cart-item-info {
  flex: 1;
}

.cart-item-info h4 {
  font-size: 14px;
  margin-bottom: 4px;
  color: #1a1a1a;
}

.cart-item-info p {
  font-size: 12px;
  color: var(--text-muted);
}

.remove-item {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.remove-item:hover {
  opacity: 1;
}

.cart-footer {
  padding-top: 25px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
}

.checkout-btn {
  width: 100%;
  background: #1a1a1a;
  color: #FFF;
  border: none;
  padding: 18px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.checkout-btn:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(197, 160, 46, 0.2);
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s;
}

.cart-overlay.show {
  opacity: 1;
  visibility: visible;
}


/* 
  ==========================================================================
  [8] LAYOUT SECTIONS (STORY, ETC)
  ==========================================================================
*/

.split-section {
  display: flex;
  height: 80vh;
  align-items: stretch;
}

.split-image {
  flex: 1;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px;
  background: #FFF;
}

.split-content span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.split-content h2 {
  font-size: 3.5rem;
  margin-bottom: 30px;
}

.split-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.8;
}

/* --- Scroll Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}


/* 
  ==========================================================================
  [9] FOOTER & NEWSLETTER
  ==========================================================================
*/

footer {
  background: #0A111A;
  color: #FFFFFF;
  padding: 80px 0 0 0;
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-newsletter {
  flex: 0 0 300px;
}

.footer-newsletter h3 {
  font-size: 1.2rem;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.newsletter-input-group {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 5px;
}

.newsletter-input-group input {
  background: transparent;
  border: none;
  color: #FFF;
  padding: 10px 0;
  font-size: 12px;
  letter-spacing: 2px;
  width: 100%;
  outline: none;
}

.newsletter-submit {
  background: transparent;
  border: none;
  color: #FFF;
  cursor: pointer;
  padding: 0 5px;
  opacity: 0.3;
  transition: 0.3s;
}

.footer-links-grid {
  display: flex;
  gap: 60px;
}

.footer-links-col ul {
  list-style: none;
}

.footer-links-col ul li {
  margin-bottom: 12px;
}

.footer-links-col a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 400;
  transition: color 0.3s;
}

.footer-links-col a:hover {
  color: #FFF;
}

.footer-socials {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 30px;
}

.footer-socials a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}

.footer-socials a:hover {
  color: #FFF;
}

.footer-middle {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 60px 0;
}

.footer-credits {
  font-size: 11px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
}

.footer-credits span {
  color: rgba(255, 255, 255, 0.8);
}

.copyright {
  margin-top: 10px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 2px;
}


.partners-title {
  font-size: 9px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
}

.partners-logos {
  display: flex;
  gap: 40px;
  align-items: center;
}

.partner-logo {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

.partner-logo small {
  display: block;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 3px;
}

/* Footer Banner / Cookie */
.footer-banner-container {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px 0;
}

.footer-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-banner p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-banner a {
  color: rgba(255, 255, 255, 0.7);
}

.banner-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  padding: 8px 20px;
  font-size: 9px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.banner-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFF;
}


/* 
  ==========================================================================
  [10] GLOBAL UI HELPERS & RESPONSIVE
  ==========================================================================
*/

.btn-primary {
  display: inline-block;
  padding: 16px 40px;
  background: var(--primary-color);
  color: #FFF;
  text-decoration: none;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  transition: var(--transition-fast);
}

.btn-primary:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
}

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

/* Cart icon container */
.cart-icon-container {
  position: relative;
  display: flex;
  align-items: center;
}

#cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--accent-color);
  color: #FFF;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Empty cart message */
.empty-msg {
  text-align: center;
  color: #888;
  font-size: 14px;
  padding: 30px 0;
}

/* Section header subtitle */
.section-header span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-color);
  display: block;
  margin-bottom: 15px;
}

/* --- MEDIA QUERIES --- */
@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  header {
    padding: 0 40px;
  }

  .split-section {
    height: auto;
    flex-direction: column;
  }

  .split-content {
    padding: 60px 40px;
  }
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  header {
    height: 80px !important;
    padding: 0 20px !important;
  }

  .logo-main-img {
    height: 60px !important;
    width: 60px !important;
  }

  .nav-right {
    gap: 15px !important;
  }

  .hero-slider {
    height: 100svh !important;
  }

  .slide-content-box {
    width: 90% !important;
    left: 5% !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    padding: 35px 20px !important;
    clip-path: polygon(0% 20px, 20px 0%, calc(100% - 20px) 0%, 100% 20px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 20px 100%, 0% calc(100% - 20px)) !important;
  }

  .slide-content-box h2 {
    font-size: 1.8rem !important;
  }

  .slide-content-box p {
    font-size: 13px !important;
    margin-bottom: 20px !important;
  }

  .slide-controls {
    margin-top: 20px !important;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 20px;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .split-section {
    flex-direction: column !important;
    height: auto !important;
  }

  .split-content {
    padding: 50px 25px !important;
  }

  .split-content h2 {
    font-size: 2.5rem;
  }

  .cart-sidebar {
    right: 10px !important;
    left: 10px !important;
    width: auto !important;
    max-width: none !important;
    top: 80px !important;
  }

  .auth-sidebar {
    right: 10px !important;
    left: 10px !important;
    width: auto !important;
    max-width: none !important;
    top: 80px !important;
  }

  .category-megamenu {
    top: 80px !important;
    padding: 30px 20px !important;
  }

  .megamenu-content {
    flex-direction: column !important;
    gap: 30px !important;
  }

  .footer-top {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links-grid {
    flex-direction: column;
    gap: 30px;
  }

  .footer-middle {
    flex-direction: column;
    gap: 30px;
  }

  .partners-logos {
    flex-direction: column;
    gap: 15px;
  }

  .footer-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .slide-content-box h2 {
    font-size: 1.5rem !important;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }
}

/* 
  ==========================================================================
  [10] FEATURED PRODUCTS CAROUSEL
  ==========================================================================
*/

.featured-products {
  background: #fff;
  padding: 100px 0;
  overflow: hidden;
}

.featured-carousel-container {
  position: relative;
  max-width: 1400px;
  margin: 60px auto 0;
  padding: 0 80px;
}

.featured-carousel-track {
  display: flex;
  gap: 30px;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}

.f-product-card {
  min-width: calc(33.333% - 20px);
  flex: 0 0 calc(33.333% - 20px);
  background: #fff;
  position: relative;
  transition: transform 0.4s;
}

.f-card-image {
  position: relative;
  height: 380px;
  overflow: hidden;
  background: #f8f8f8;
  border-radius: 20px;
}

.f-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.f-product-card:hover .f-card-image img {
  transform: scale(1.05);
}

.f-add-cart-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: #fff;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 5;
}

.f-product-card:hover .f-add-cart-btn {
  opacity: 1;
  transform: translateY(0);
}

.f-add-cart-btn:hover {
  background: #1a1a1a;
  color: #fff;
}

.f-card-info {
  padding: 25px 0;
  text-align: center;
}

.f-card-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.f-price {
  font-size: 1rem;
  color: #888;
  letter-spacing: 1px;
}

.f-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.f-nav-btn:hover {
  border-color: #1a1a1a;
  background: #1a1a1a;
  color: #fff;
}

.f-prev {
  left: 10px;
}

.f-next {
  right: 10px;
}

@media (max-width: 1024px) {
  .f-product-card {
    min-width: calc(50% - 15px);
    flex: 0 0 calc(50% - 15px);
  }
}

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

  .f-product-card {
    min-width: 100%;
    flex: 0 0 100%;
  }

  .f-nav-btn {
    display: none;
  }
}

/* 
  ==========================================================================
  [11] AUTHENTICATION MODAL (GLASSMORPHISM)
  ==========================================================================
*/

.auth-sidebar {
  position: fixed;
  top: 100px;
  right: 85px;
  width: 380px;
  max-width: 90vw;
  height: auto;
  max-height: calc(100vh - 140px);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  z-index: 2500;
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  overflow-y: auto;
  transform-origin: top right;
}

.auth-sidebar::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 25px;
  width: 16px;
  height: 16px;
  background: inherit;
  backdrop-filter: inherit;
  -webkit-backdrop-filter: inherit;
  transform: rotate(45deg);
  border-left: 1px solid rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  z-index: -1;
}

header.scrolled~.auth-sidebar {
  top: 80px;
}

.auth-sidebar.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.auth-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.auth-header h2 {
  font-size: 2.2rem;
  color: #1a1a1a;
}

.close-btn {
  background: rgba(0, 0, 0, 0.05);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.close-btn:hover {
  background: #1a1a1a;
  color: #fff;
  transform: rotate(90deg);
}

.auth-form-container {
  display: none;
  animation: modalContentFade 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.auth-form-container.active {
  display: block;
}

@keyframes modalContentFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-subtitle {
  font-size: 14px;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.6;
}

.premium-form .form-group {
  margin-bottom: 20px;
}

.premium-form label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1a1a1a;
  opacity: 0.6;
}

.premium-form input {
  width: 100%;
  padding: 15px 20px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: all 0.3s;
}

.premium-form input:focus {
  background: #fff;
  border-color: var(--accent-color);
  box-shadow: 0 5px 15px rgba(197, 160, 46, 0.1);
}

.btn-auth-submit {
  width: 100%;
  padding: 18px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  font-size: 11px;
  cursor: pointer;
  margin-top: 15px;
  transition: all 0.3s;
}

.btn-auth-submit:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(197, 160, 46, 0.2);
}

.auth-switch {
  margin-top: 30px;
  text-align: center;
  font-size: 13px;
  color: #666;
}

.auth-switch button {
  background: none;
  border: none;
  color: var(--accent-color);
  font-weight: 700;
  cursor: pointer;
  margin-left: 5px;
  transition: opacity 0.3s;
}

.auth-switch button:hover {
  opacity: 0.7;
}

.gender-selection {
  display: flex;
  gap: 20px;
  margin-top: 5px;
}

.radio-label {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-transform: none !important;
  font-weight: 400 !important;
  font-size: 14px !important;
  letter-spacing: 0 !important;
  margin-bottom: 0 !important;
}

.radio-label input {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.radio-label span {
  color: #555;
  font-size: 14px;
}

.user-info {
  text-align: center;
  margin-bottom: 35px;
}

.user-avatar-large {
  width: 100px;
  height: 100px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--accent-color);
  border: 4px solid #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.user-info h3 {
  font-size: 2rem;
  margin-bottom: 5px;
}

.user-info p {
  font-size: 14px;
  color: #888;
}

.user-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.action-btn {
  padding: 16px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.action-btn:hover {
  background: #fff;
  border-color: #1a1a1a;
  transform: translateX(5px);
}

.logout-btn {
  margin-top: 15px;
  padding: 16px;
  background: transparent;
  color: #ff4444;
  border: 1px solid rgba(255, 68, 68, 0.2);
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.logout-btn:hover {
  background: #ff4444;
  color: #fff;
  border-color: #ff4444;
}

@media (max-width: 500px) {
  .auth-sidebar {
    width: 95%;
    padding: 40px 25px;
    border-radius: 20px;
  }
}

/* ============================================================
   NUCLEAR MOBILE OVERFLOW FIX
   Prevents ALL horizontal scrolling on WordPress themes.
   WordPress adds wrapper divs (#page, #content, #primary, etc.)
   that can cause overflow. This covers all of them.
   ============================================================ */

html,
body,
#page,
#content,
#primary,
#main,
.site,
.site-content,
.content-area,
.entry-content,
main {
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

/* Hero section containment */
.hero-slider,
.slides-container,
.slide {
  max-width: 100vw !important;
  overflow: hidden !important;
}

@media (max-width: 768px) {

  /* Force body containment */
  html {
    overflow-x: hidden !important;
  }

  body {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  /* HERO SLIDE CONTENT BOX — use vw units, not percentages */
  .slide-content-box {
    position: absolute !important;
    left: 20px !important;
    right: 20px !important;
    width: auto !important;
    max-width: calc(100vw - 40px) !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    padding: 30px 20px !important;
    box-sizing: border-box !important;
    clip-path: polygon(0% 16px, 16px 0%, calc(100% - 16px) 0%, 100% 16px,
        100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0% calc(100% - 16px)) !important;
  }

  .slide-content-box h2 {
    font-size: clamp(1.3rem, 6vw, 2rem) !important;
    word-break: break-word !important;
  }

  .slide-content-box p {
    font-size: clamp(12px, 3.5vw, 15px) !important;
    word-break: break-word !important;
    margin-bottom: 20px !important;
  }

  /* Sections */
  .section {
    padding: 60px 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Product grid */
  .product-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }

  .product-item {
    width: 100% !important;
    min-width: 0 !important;
  }

  /* Product Image responsive */
  .product-image {
    height: 280px !important;
  }

  /* Featured carousel */
  .featured-carousel-container {
    padding: 0 15px !important;
    width: 100% !important;
  }

  .featured-carousel-track {
    width: 100% !important;
  }

  .f-product-card {
    min-width: 100% !important;
    flex: 0 0 100% !important;
  }

  .f-card-image {
    height: 280px !important;
  }

  /* Split / Brand Story */
  .split-section {
    flex-direction: column !important;
    height: auto !important;
  }

  .split-image {
    height: 50vw !important;
    min-height: 200px !important;
    max-height: 300px !important;
  }

  .split-content {
    padding: 40px 20px !important;
  }

  .split-content h2 {
    font-size: clamp(1.8rem, 8vw, 3rem) !important;
  }

  /* Section header */
  .section-header h2 {
    font-size: clamp(1.8rem, 7vw, 3rem) !important;
  }

  /* Sidebars */
  .cart-sidebar {
    position: fixed !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    max-width: none !important;
    top: 75px !important;
  }

  .auth-sidebar {
    position: fixed !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    max-width: none !important;
    top: 75px !important;
  }

  /* Megamenu */
  .category-megamenu {
    top: 75px !important;
    padding: 25px 20px !important;
    box-sizing: border-box !important;
    width: 100vw !important;
  }

  /* Footer */
  .footer-container {
    padding: 0 20px !important;
  }

  .footer-top {
    flex-direction: column !important;
    gap: 30px !important;
  }

  .footer-newsletter {
    flex: none !important;
    width: 100% !important;
  }

  .footer-links-grid {
    flex-direction: column !important;
    gap: 20px !important;
  }

  .footer-middle {
    flex-direction: column !important;
    gap: 25px !important;
    align-items: flex-start !important;
  }

  .partners-logos {
    flex-wrap: wrap !important;
    gap: 15px !important;
  }

  .footer-banner {
    flex-direction: column !important;
    gap: 15px !important;
    text-align: center !important;
  }
}

/* ==========================================================================
   50. WOOCOMMERCE DEFAULT PAGE STYLING (CART, CHECKOUT, ACCOUNT)
   ========================================================================== */
.page-content .woocommerce {
  font-family: 'Inter', sans-serif;
}

.page-content .woocommerce h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #222;
}

/* Forms & Inputs */
.page-content .woocommerce form .form-row input.input-text,
.page-content .woocommerce form .form-row textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

.page-content .woocommerce form .form-row input.input-text:focus,
.page-content .woocommerce form .form-row textarea:focus {
  border-color: #222;
  outline: none;
}

/* Primary Buttons */
.page-content .woocommerce button.button,
.page-content .woocommerce a.button,
.page-content .woocommerce input.button {
  background: #222;
  color: #fff;
  padding: 15px 30px;
  border-radius: 30px;
  border: none;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.page-content .woocommerce button.button:hover,
.page-content .woocommerce a.button:hover,
.page-content .woocommerce input.button:hover {
  background: #cba876;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(203, 168, 118, 0.4);
}

/* Tables (Cart / Orders) */
.page-content .woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
}

.page-content .woocommerce table.shop_table th {
  background: #f9f9f9;
  padding: 20px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  color: #888;
  border-bottom: 1px solid #eee;
}

.page-content .woocommerce table.shop_table td {
  padding: 20px;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

.page-content .woocommerce table.shop_table .product-thumbnail img {
  max-width: 80px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Notices */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  padding: 20px;
  background: #fdfdfd;
  border-top: 3px solid #cba876;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  margin-bottom: 30px;
  list-style: none;
}

.woocommerce-error {
  border-top-color: #d9534f;
}

.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::before {
  display: none;
}

/* My Account Navigation */
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
}

.woocommerce-MyAccount-navigation ul li {
  border-bottom: 1px solid #eee;
}

.woocommerce-MyAccount-navigation ul li:last-child {
  border-bottom: none;
}

.woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 15px 20px;
  color: #444;
  text-decoration: none;
  transition: background 0.3s ease;
}

.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
  background: #f9f9f9;
  color: #cba876;
}

/* Typography & Inner Links */
.page-content .woocommerce a:not(.button) {
  color: #cba876;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-content .woocommerce a:not(.button):hover {
  color: #222;
  text-decoration: underline;
}

.page-content .woocommerce address {
  font-style: normal;
  background: #fdfdfd;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.page-content .woocommerce header.title {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.page-content .woocommerce header.title h3 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #222;
}

/* Clearfix for general WooCommerce pages */
.page-content .woocommerce::after {
  content: "";
  display: table;
  clear: both;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  margin-bottom: 40px;
}

@media (min-width: 800px) {

  /* Use Flexbox for Account Page */
  .woocommerce-account .woocommerce {
    display: flex;
    gap: 40px;
    align-items: flex-start;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation {
    width: 300px;
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .woocommerce-account .woocommerce-MyAccount-content {
    flex-grow: 1;
    width: 100%;
  }

  /* Two Column Form Fix */
  .woocommerce .col2-set {
    display: flex;
    gap: 30px;
  }

  .woocommerce .col2-set .col-1,
  .woocommerce .col2-set .col-2 {
    width: 50%;
    float: none;
  }
}