/*
Theme Name: Brofeey Perfume
Theme URI: https://www.brofeeyperfume.com
Author: Brofeey
Author URI: https://www.brofeeyperfume.com
Description: A premium e-commerce WordPress theme for Brofeey Perfume — Refined Essence, Timeless Presence. Features WooCommerce integration, hero slider, product showcases, testimonials, and WhatsApp ordering.
Version: 1.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: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: brofeey
Tags: e-commerce, woocommerce, custom-logo, custom-menu, featured-images, theme-options, one-column, two-columns

Brofeey Perfume — Refined Essence, Timeless Presence.
*/

/* ================================================
   BROFEEY PERFUME — "Blanco Premium"
   White & warm charcoal luxury theme
   ================================================ */

/* Custom Properties */
:root {
  --white: #ffffff;
  --white-soft: #fafafa;
  --white-card: #f5f5f5;
  --white-elevated: #eeeeee;
  --border: #e0e0e0;
  --gray-light: #c0c0c0;
  --gray: #888888;
  --gray-dark: #666666;
  --gray-deep: #504a45;
  --charcoal: #4a4540;
  --black-soft: #302c29;
  --black: #3a3632;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", -apple-system, sans-serif;

  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);

  --container: 1320px;
  --header-h: 80px;
  --radius: 12px;
  --radius-lg: 20px;
}

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

/* Accessibility — Skip Link & Screen Reader Text */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: var(--black);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--black);
  outline-offset: 2px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: var(--black);
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--gray-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--black);
  color: var(--white);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.25rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--black);
  color: var(--white);
  font-size: 1rem;
  padding: 1.125rem 2.5rem;
  border-radius: 50px;
  border: none;
}

.btn-whatsapp:hover {
  background: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* ================================================
   HEADER
   ================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: all 0.5s var(--ease);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

/* WP Admin bar adjustment */
.admin-bar .header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .header {
    top: 46px;
  }
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  height: 70px;
  width: auto;
}

.header-nav {
  display: flex;
  gap: 2.5rem;
}

.header-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
  position: relative;
  padding: 0.25rem 0;
}

.header-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--black);
  transition: width 0.4s var(--ease);
}

.header-nav a:hover,
.header-nav a.current-menu-item > a,
.header-nav .current_page_item > a {
  color: var(--black);
}

.header-nav a:hover::after {
  width: 100%;
}

/* WordPress Menu Styling */
.header-nav .menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav .menu li a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
  position: relative;
  padding: 0.25rem 0;
}

.header-nav .menu li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--black);
  transition: width 0.4s var(--ease);
}

.header-nav .menu li a:hover,
.header-nav .menu li.current-menu-item a,
.header-nav .menu li.current_page_item a {
  color: var(--black);
}

.header-nav .menu li a:hover::after {
  width: 100%;
}

/* Desktop Dropdown Submenu */
.header-nav .menu li {
  position: relative;
}

/* Arrow for all menu items with children */
.header-nav .menu li.menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Top-level: down arrow */
.header-nav .menu > li.menu-item-has-children > a::before {
  content: '';
  order: 1;
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform 0.3s var(--ease);
}

.header-nav .menu > li.menu-item-has-children:hover > a::before {
  transform: rotate(180deg);
}

/* Nested levels: right arrow */
.header-nav .menu .sub-menu li.menu-item-has-children > a::before {
  content: '';
  order: 1;
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 3.5px solid transparent;
  border-bottom: 3.5px solid transparent;
  border-left: 4px solid currentColor;
  transition: transform 0.3s var(--ease);
}

.header-nav .menu .sub-menu li.menu-item-has-children:hover > a::before {
  transform: translateX(2px);
}

/* Top-level dropdown */
.header-nav .menu li > .sub-menu {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  padding: 0.75rem 0;
  margin: 0;
  list-style: none;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.3s var(--ease);
  z-index: 1000;
  gap: 0;
}

/* Nested sub-menus fly out to the right */
.header-nav .menu .sub-menu li > .sub-menu {
  top: 0;
  left: 100%;
  transform: translateX(8px);
}

.header-nav .menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-nav .menu .sub-menu li:hover > .sub-menu {
  transform: translateX(0);
}

.header-nav .menu li > .sub-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray);
  white-space: nowrap;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

.header-nav .menu li > .sub-menu li a::after {
  display: none;
}

.header-nav .menu li > .sub-menu li a:hover {
  color: var(--black);
  background: rgba(0, 0, 0, 0.03);
}

/* Mobile Submenu */
.mobile-menu-nav .menu li.menu-item-has-children {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-menu-nav .menu li.menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-menu-nav .menu li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.3s var(--ease);
}

.mobile-menu-nav .menu li.menu-item-has-children > a.submenu-open::after {
  transform: rotate(180deg);
}

.mobile-menu-nav .menu .sub-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}

.mobile-menu-nav .menu .sub-menu.open {
  display: flex;
}

.mobile-menu-nav .menu .sub-menu li a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--gray-dark);
}

.mobile-menu-nav .menu .sub-menu li a:hover {
  color: var(--black);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--black);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 50px;
  transition: all 0.3s var(--ease);
}

.header-cta:hover {
  background: var(--charcoal);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  color: var(--white);
}

/* Header Icon Buttons (Search, Account, Cart) */
.header-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 50%;
  color: var(--black);
  cursor: pointer;
  position: relative;
  transition: all 0.3s var(--ease);
}

.header-icon-btn:hover {
  color: var(--charcoal);
  background: var(--white-card);
}

.header-icon-btn svg {
  flex-shrink: 0;
}

/* Cart Badge */
.header-cart-count {
  position: absolute;
  top: 2px;
  right: 0px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  border-radius: 50px;
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease);
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-overlay-inner {
  width: 100%;
  max-width: 640px;
  padding: 0 2rem;
  position: relative;
}

.search-overlay-close {
  position: absolute;
  top: -60px;
  right: 2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--black);
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s var(--ease);
}

.search-overlay-close:hover {
  background: var(--white-card);
}

.search-overlay-form {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 2px solid var(--black);
  padding-bottom: 0.75rem;
}

.search-overlay-input {
  flex: 1;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--black);
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
}

.search-overlay-input::placeholder {
  color: var(--gray-light);
}

.search-overlay-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  color: var(--black);
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.3s var(--ease);
}

.search-overlay-submit:hover {
  color: var(--charcoal);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s var(--ease);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.mobile-menu-nav a,
.mobile-menu-nav .menu li a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--black);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s var(--ease);
}

.mobile-menu-nav .menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu.active .mobile-menu-nav a,
.mobile-menu.active .mobile-menu-nav .menu li a {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu-nav a:nth-child(1),
.mobile-menu-nav .menu li:nth-child(1) a {
  transition-delay: 0.05s;
}
.mobile-menu-nav a:nth-child(2),
.mobile-menu-nav .menu li:nth-child(2) a {
  transition-delay: 0.1s;
}
.mobile-menu-nav a:nth-child(3),
.mobile-menu-nav .menu li:nth-child(3) a {
  transition-delay: 0.15s;
}
.mobile-menu-nav a:nth-child(4),
.mobile-menu-nav .menu li:nth-child(4) a {
  transition-delay: 0.2s;
}
.mobile-menu-nav a:nth-child(5),
.mobile-menu-nav .menu li:nth-child(5) a {
  transition-delay: 0.25s;
}

.mobile-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: var(--black);
  color: var(--white) !important;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  font-weight: 600;
  border-radius: 50px;
}

/* ================================================
   HERO BANNER SLIDER
   ================================================ */
.hero {
  position: relative;
  max-width: var(--container);
  margin: calc(var(--header-h) + 1.5rem) auto 0;
  padding: 0 2rem;
  overflow: hidden;
}

.hero-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 2000/880;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* Slide */
.hero-slide {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.hero-slide.active {
  display: block;
  animation: slideFadeIn 0.8s var(--ease-out);
}

@keyframes slideFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-slide-link {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slide-link img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Placeholder slides */
.hero-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--white-soft) 0%,
    var(--white-card) 50%,
    var(--white-soft) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.hero-placeholder.alt {
  background: linear-gradient(
    135deg,
    var(--white-card) 0%,
    var(--white-elevated) 50%,
    var(--white-card) 100%
  );
}

.hero-placeholder .placeholder-logo {
  height: 80px;
  width: auto;
  opacity: 0.1;
  border-radius: 0;
}

.hero-placeholder.alt .placeholder-logo {
  opacity: 0.08;
}

.hero-placeholder .placeholder-text {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-light);
}

.hero-placeholder.alt .placeholder-text {
  color: var(--gray-light);
}

/* Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--black);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.hero-prev {
  left: 1rem;
}
.hero-next {
  right: 1rem;
}

.hero-arrow:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-50%) scale(1.05);
}

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  padding: 0.5rem 0.75rem;
  border-radius: 50px;
  border: 1px solid var(--border);
}

.hero-dot {
  width: 10px;
  height: 10px;
  background: var(--gray-light);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  padding: 0;
}

.hero-dot.active {
  background: var(--black);
  width: 28px;
  border-radius: 10px;
}

/* ================================================
   SHOP BY CATEGORY
   ================================================ */
.categories {
  padding: 5rem 0 7rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.5s var(--ease);
  text-decoration: none;
  color: inherit;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
  border-color: var(--black);
}

.category-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white-card);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  color: var(--black);
  transition: all 0.4s var(--ease);
}

.category-card:hover .category-icon {
  background: var(--black);
  color: var(--white);
}

.category-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.category-card p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.category-cta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-dark);
  letter-spacing: 0.03em;
  transition: color 0.3s var(--ease);
}

.category-card:hover .category-cta {
  color: var(--black);
}

/* ================================================
   SECTION COMMON
   ================================================ */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 550px;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .section-desc {
  margin: 0 auto;
}

/* ================================================
   COLLECTION / PRODUCTS
   ================================================ */
.collection {
  padding: 7rem 0;
  background: var(--black);
}

.collection .section-label {
  color: var(--gray-light);
}

.collection .section-title {
  color: var(--white);
}

.collection .section-desc {
  color: rgba(255, 255, 255, 0.5);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.product-card {
  background: var(--black-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.5s var(--ease);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
}

.product-link {
  display: block;
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #2a2622;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.product-card:hover .product-image {
  transform: scale(1.04);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.375rem 0.875rem;
  background: var(--white);
  color: var(--black);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 50px;
}

.product-info {
  padding: 1.5rem;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.product-type {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.5rem;
}

.product-notes {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.product-price {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
}

.product-price del {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
  margin-right: 0.3rem;
}

.product-price ins {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
}

.product-cta {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s var(--ease);
}

.product-card:hover .product-cta {
  color: var(--white);
}

/* ================================================
   LATEST PRODUCTS (light-theme overrides for product-card)
   ================================================ */
.latest {
  padding: 7rem 0;
  background: var(--white-soft);
}

.latest .product-card {
  background: var(--white);
  border: 1px solid var(--border);
}

.latest .product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
  border-color: var(--black);
}

.latest .product-image-wrap {
  background: var(--white-card);
}

.latest .product-badge {
  background: var(--black);
  color: var(--white);
}

.latest .product-name {
  color: var(--black);
}

.latest .product-notes {
  color: var(--gray);
}

.latest .product-footer {
  border-top: 1px solid var(--border);
}

.latest .product-price {
  color: var(--black);
}

.latest .product-price del {
  color: var(--gray);
}

.latest .product-price ins {
  color: var(--black);
}

.latest .product-cta {
  color: var(--gray-dark);
}

.latest .product-card:hover .product-cta {
  color: var(--black);
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ================================================
   FEATURED
   ================================================ */
.featured {
  padding: 7rem 0;
  background: var(--white);
}

.featured-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.06);
  max-height: 600px;
}

.featured-image img {
  width: 100%;
  height: 100%;
  max-height: 600px;
  object-fit: cover;
  object-position: center;
}

.featured-content p {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 2rem;
}

.featured-content strong {
  color: var(--black);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--black);
}

.feature-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.2rem;
}

.feature-item p {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 0;
  line-height: 1.5;
}

/* ================================================
   TESTIMONIALS
   ================================================ */
.testimonials {
  padding: 7rem 0;
  background: var(--white-soft);
  overflow: visible;
}

/* --- Reviews Slider --- */
.reviews-slider {
  position: relative;
  overflow: visible;
}

.reviews-slider__track {
  display: flex;
  gap: 1.75rem;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  padding: 8px 0 16px;
}

.reviews-slider__viewport {
  overflow: hidden;
  margin: 0 -8px;
  padding: 0 8px;
}

.reviews-slider__slide {
  flex: 0 0 calc((100% - 3.5rem) / 3);
  min-width: 0;
}

/* Per-view overrides via data attribute (set from PHP) */
.reviews-slider[data-per-view="1"] .reviews-slider__slide {
  flex: 0 0 100%;
}

.reviews-slider[data-per-view="2"] .reviews-slider__slide {
  flex: 0 0 calc((100% - 1.75rem) / 2);
}

.reviews-slider[data-per-view="4"] .reviews-slider__slide {
  flex: 0 0 calc((100% - 5.25rem) / 4);
}

/* Testimonial cards (kept for reuse) */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease);
}

.testimonial-card--image {
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
}

.testimonial-card--image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
  border-color: var(--black);
}

/* Slider arrows */
.reviews-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--black);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.reviews-slider__arrow:hover {
  background: var(--charcoal, #302c29);
  transform: translateY(-50%) scale(1.05);
}

.reviews-slider__arrow:disabled {
  opacity: 0.2;
  cursor: default;
  pointer-events: none;
}

.reviews-slider__arrow--prev {
  left: -24px;
}

.reviews-slider__arrow--next {
  right: -24px;
}

/* Slider dots */
.reviews-slider__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.reviews-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  padding: 0;
}

.reviews-slider__dot.active,
.reviews-slider__dot:hover {
  background: var(--black);
  border-color: var(--black);
}

.reviews-placeholder {
  text-align: center;
  color: var(--gray);
  font-size: 0.95rem;
  padding: 2rem 0;
}

.testimonial-stars {
  color: var(--black);
  font-size: 1rem;
  letter-spacing: 4px;
  margin-bottom: 1.25rem;
}

.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.testimonial-author strong {
  font-size: 0.9rem;
  color: var(--black);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ================================================
   CONTACT CTA
   ================================================ */
.contact {
  padding: 7rem 0;
  background: var(--white);
}

.contact-card {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
  background: var(--black);
  border-radius: var(--radius-lg);
  padding: 5rem;
  overflow: hidden;
  position: relative;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.04) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.contact-content {
  position: relative;
  z-index: 1;
}

.contact-content .section-label {
  color: var(--gray-light);
}

.contact-content .section-title {
  color: var(--white);
}

.contact-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 450px;
}

.contact-actions {
  margin-bottom: 2rem;
}

.contact-actions .btn-whatsapp {
  background: var(--white);
  color: var(--black);
}

.contact-actions .btn-whatsapp:hover {
  background: var(--white-elevated);
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.1);
}

.contact-socials {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s;
}

.contact-socials a:hover {
  color: var(--white);
}

.contact-image {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-image img {
  max-height: 220px;
  width: auto;
  filter: invert(1) brightness(2);
  opacity: 0.06;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--black);
  padding: 5rem 0 0;
  color: rgba(255, 255, 255, 0.55);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
}

.footer-logo {
  height: auto;
  width: auto;
  max-width: 200px;
  max-height: 80px;
  margin-bottom: 1.25rem;
  filter: invert(1) brightness(2);
  opacity: 0.9;
  object-fit: contain;
}

.woocommerce .footer-logo,
.woocommerce-page .footer-logo {
  height: auto !important;
  max-width: 200px !important;
  max-height: 80px !important;
  width: auto !important;
  object-fit: contain;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  max-width: 280px;
}

.footer-brand img.footer-logo {
  height: auto !important;
  max-width: 200px !important;
  max-height: 80px !important;
  width: auto !important;
  object-fit: contain;
}

.footer-links h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  padding: 0.35rem 0;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--white);
}

/* WordPress Footer Menu */
.footer-links .menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links .menu li a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  padding: 0.35rem 0;
  transition: color 0.3s;
}

.footer-links .menu li a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.footer-legal-links a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.3s var(--ease);
}

.footer-legal-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer-legal-sep {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.15);
}

/* ================================================
   FLOATING WHATSAPP
   ================================================ */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  z-index: 100;
  transition: all 0.3s var(--ease);
}

.wa-float:hover {
  transform: scale(1.1) translateY(-2px);
  background: var(--charcoal);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.3);
  color: var(--white);
}

/* ================================================
   PAGE CONTENT
   ================================================ */
.site-content {
  padding-top: calc(var(--header-h) + 2rem);
  min-height: 60vh;
}

.page-content,
.entry-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.page-content h1,
.entry-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--black);
  margin-bottom: 1.5rem;
}

.page-content h2,
.entry-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  color: var(--black);
  margin-bottom: 1rem;
  margin-top: 2.5rem;
}

.page-content h3,
.entry-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 0.75rem;
  margin-top: 2rem;
}

.page-content p,
.entry-content p {
  margin-bottom: 1.5rem;
  color: var(--gray-dark);
  line-height: 1.8;
}

.page-content img,
.entry-content img {
  border-radius: var(--radius);
  margin: 2rem 0;
}

/* Blog / Archive */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 3rem 2rem;
}

.post-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.5s var(--ease);
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
  border-color: var(--black);
}

.post-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--white-card);
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

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

.post-card-content {
  padding: 1.5rem;
}

.post-card-content h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.post-card-content h2 a {
  color: inherit;
}

.post-card-meta {
  font-size: 0.75rem;
  color: var(--gray);
  margin-bottom: 0.75rem;
}

.post-card-excerpt {
  font-size: 0.875rem;
  color: var(--gray-dark);
  line-height: 1.6;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-dark);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* 404 Page */
.error-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 3rem 2rem;
}

.error-404 h1 {
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 500;
  color: var(--black);
  line-height: 1;
  margin-bottom: 1rem;
}

.error-404 p {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 2rem;
}

/* Search Form */
.search-form {
  display: flex;
  gap: 0.5rem;
  max-width: 500px;
  margin: 0 auto;
}

.search-form .search-field {
  flex: 1;
  padding: 0.875rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
}

.search-form .search-field:focus {
  border-color: var(--black);
}

.search-form .search-submit {
  padding: 0.875rem 1.75rem;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.search-form .search-submit:hover {
  background: var(--charcoal);
}

/* ================================================
   SCROLL REVEAL ANIMATIONS
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children in grids */
.products-grid .product-card.reveal:nth-child(1) {
  transition-delay: 0s;
}
.products-grid .product-card.reveal:nth-child(2) {
  transition-delay: 0.1s;
}
.products-grid .product-card.reveal:nth-child(3) {
  transition-delay: 0.2s;
}
.products-grid .product-card.reveal:nth-child(4) {
  transition-delay: 0.3s;
}

.testimonials-grid .testimonial-card.reveal:nth-child(1),
.reviews-slider.reveal {
  transition-delay: 0s;
}
.testimonials-grid .testimonial-card.reveal:nth-child(2) {
  transition-delay: 0.1s;
}
.testimonials-grid .testimonial-card.reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.categories-grid .category-card.reveal:nth-child(1) {
  transition-delay: 0s;
}
.categories-grid .category-card.reveal:nth-child(2) {
  transition-delay: 0.1s;
}
.categories-grid .category-card.reveal:nth-child(3) {
  transition-delay: 0.2s;
}
.categories-grid .category-card.reveal:nth-child(4) {
  transition-delay: 0.3s;
}

.latest .products-grid .product-card.reveal:nth-child(1) {
  transition-delay: 0s;
}
.latest .products-grid .product-card.reveal:nth-child(2) {
  transition-delay: 0.1s;
}
.latest .products-grid .product-card.reveal:nth-child(3) {
  transition-delay: 0.2s;
}
.latest .products-grid .product-card.reveal:nth-child(4) {
  transition-delay: 0.3s;
}
.latest .products-grid .product-card.reveal:nth-child(5) {
  transition-delay: 0s;
}
.latest .products-grid .product-card.reveal:nth-child(6) {
  transition-delay: 0.1s;
}
.latest .products-grid .product-card.reveal:nth-child(7) {
  transition-delay: 0.2s;
}
.latest .products-grid .product-card.reveal:nth-child(8) {
  transition-delay: 0.3s;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1200px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-inner {
    gap: 3rem;
  }

  .contact-card {
    padding: 4rem;
  }

  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .header-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .header-actions {
    gap: 0.25rem;
  }

  .mobile-toggle {
    display: flex;
  }

  .featured-inner {
    grid-template-columns: 1fr;
  }

  .featured-image {
    order: -1;
  }

  /* Reviews slider responsive */
  .reviews-slider__slide {
    flex: 0 0 calc((100% - 1.75rem) / 2) !important;
  }

  .reviews-slider__arrow--prev {
    left: 4px;
  }

  .reviews-slider__arrow--next {
    right: 4px;
  }

  .contact-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .contact-actions {
    display: flex;
    justify-content: center;
  }

  .contact-socials {
    align-items: center;
  }

  .contact-image {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-arrow {
    width: 36px;
    height: 36px;
  }

  .hero {
    padding: 0 1rem;
  }

  .hero-prev {
    left: 0.5rem;
  }
  .hero-next {
    right: 0.5rem;
  }

  .hero-dots {
    bottom: 1rem;
    padding: 0.375rem 0.6rem;
  }

  .categories {
    padding: 3.5rem 0 5rem;
  }

  .collection,
  .featured,
  .testimonials,
  .contact,
  .latest {
    padding: 5rem 0;
  }

  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .product-info {
    padding: 1rem;
  }

  .product-name {
    font-size: 0.95rem;
  }

  .product-notes {
    display: none;
  }

  .section-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }

  .contact-card {
    padding: 3rem 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand p {
    max-width: none;
  }

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

  /* Remove extra horizontal padding so page content aligns with header (2rem from .container) */
  .page-content,
  .entry-content {
    padding-left: 0;
    padding-right: 0;
  }

  .posts-grid {
    padding-left: 0;
    padding-right: 0;
  }

  .search-overlay-input {
    font-size: 1.25rem;
  }

  .search-overlay-close {
    top: -50px;
    right: 1rem;
  }
}

@media (max-width: 480px) {
  .reviews-slider__slide {
    flex: 0 0 100% !important;
  }

  .reviews-slider__arrow {
    width: 36px;
    height: 36px;
  }

  .reviews-slider__arrow--prev {
    left: 2px;
  }

  .reviews-slider__arrow--next {
    right: 2px;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .products-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .product-name {
    font-size: 0.9rem;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .header-cta span {
    display: none;
  }
}

/* ================================================
   PRODUCT PLACEHOLDERS
   ================================================ */

/* ================================================
   WOOCOMMERCE SHOP PAGE
   ================================================ */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(var(--shop-columns, 4), 1fr) !important;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
  content: none !important;
}

.woocommerce ul.products li.product {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  float: none !important;
  clear: none !important;
}

.woocommerce ul.products li.product a img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.woocommerce ul.products li.product .price {
  color: var(--black);
  font-weight: 600;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  margin-bottom: 1.5rem;
}

.woocommerce nav.woocommerce-pagination {
  margin-top: 2rem;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
}

@media (max-width: 1024px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
  }
}

/* ================================================
   PRODUCT PLACEHOLDERS (homepage)
   ================================================ */
.product-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--white-card) 0%,
    var(--white-elevated) 50%,
    var(--white-card) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-placeholder {
  background: linear-gradient(135deg, #2a2622 0%, #3a3632 50%, #2a2622 100%);
}

.latest .product-image-placeholder {
  background: linear-gradient(
    135deg,
    var(--white-card) 0%,
    var(--white-elevated, #f0f0f0) 50%,
    var(--white-card) 100%
  );
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
