/*
Theme Name: Sticker Didi Executive
Theme URI: https://stickerdidi.com
Author: Sticker Didi
Author URI: https://stickerdidi.com
Description: High-End Boutique aesthetic theme for Sticker Didi WooCommerce store.
Version: 3.0.1
Requires at least: 6.0
Tested up to: 6.4
Text Domain: stickerdidi
*/


:root {
  --p-maroon: #800000;
  --p-maroon-light: #A52A2A;
  --p-gold: #D4AF37;
  --p-gold-soft: #F4D03F;
  --p-pink-bg: #FFF9F9;
  --p-pink-accent: #F4B6C2;
  --p-white: #ffffff;
  --p-text: #2D0A0C;
  --p-text-muted: #756666;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Poppins', sans-serif;
  --radius: 20px;
  --shadow: 0 20px 40px rgba(128, 0, 0, 0.08);
  --trans: all 0.35s ease;
}

/* 1. UNIVERSAL RESET (KILL ALL GAPS) */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Custom Selection Color */
::selection {
  background: var(--p-pink-accent);
  color: var(--p-maroon);
}

/* Slim Professional Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--p-pink-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--p-maroon);
  border-radius: 10px;
  border: 3px solid var(--p-pink-bg);
}

body {
  background: var(--p-pink-bg);
  color: var(--p-text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

.site-main {
  margin: 0;
}

.page-template-front-page .site-main {
  padding: 0;
}


/* 2. PROFESSIONAL HEADER */
.site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10000;
  border-bottom: 2px solid rgba(128, 0, 0, 0.05);
  /* Reduced border for cleaner look */
  padding: 20px 0;
  transition: var(--trans);
}

.site-header.is-scrolled {
  padding: 8px 0;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}

.custom-logo-link img,
.header-logo {
  max-height: 80px !important;
  width: auto !important;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.15));
  /* Gold Aura Glow */
  transition: var(--trans);
}

.custom-logo-link img:hover,
.header-logo:hover {
  filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.3));
}

.main-navigation ul {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
}

.main-navigation li {
  position: relative;
  padding: 10px 0;
}

.main-navigation a {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: var(--p-text);
  padding: 5px 10px;
  transition: var(--trans);
}

.main-navigation a:hover {
  color: var(--p-gold);
}

/* 1st Level Dropdown */
.main-navigation .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 15px 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  border: 1px solid rgba(128, 0, 0, 0.05);
}

.main-navigation li:hover>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(5px);
}

.main-navigation .sub-menu li {
  padding: 0;
  width: 100%;
}

.main-navigation .sub-menu a {
  display: block;
  padding: 10px 25px;
  font-size: 0.8rem;
  color: var(--p-text-muted);
  border-bottom: 1px solid #f9f9f9;
}

.main-navigation .sub-menu a:hover {
  background: #fdf2f2;
  color: var(--p-maroon);
  padding-left: 30px;
}

/* 2nd Level Dropdown (Fly-out) */
.main-navigation .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  margin-left: 1px;
}

.main-navigation .has-child>a {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-navigation .has-child>a::after {
  content: '▾';
  margin-left: 8px;
  font-size: 0.6rem;
  transition: transform 0.3s;
}

.main-navigation li:hover>a::after {
  transform: rotate(180deg);
}

.main-navigation .sub-menu .has-child>a::after {
  content: '▸';
  float: right;
  transform: none !important;
}

/* Page Entry Animation */
.site-main {
  animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Product Card Entrance */
.products .product {
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Staggered delay for products (first 8) */
.products .product:nth-child(1) {
  animation-delay: 0.1s;
}

.products .product:nth-child(2) {
  animation-delay: 0.15s;
}

.products .product:nth-child(3) {
  animation-delay: 0.15s;
}

.products .product:nth-child(4) {
  animation-delay: 0.15s;
}

.products .product:nth-child(5) {
  animation-delay: 0.2s;
}

.products .product:nth-child(6) {
  animation-delay: 0.2s;
}

.products .product:nth-child(7) {
  animation-delay: 0.2s;
}

.products .product:nth-child(8) {
  animation-delay: 0.2s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

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

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

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

/* 3. HERO AREA (HIGH-END LOOK) */
.hero-banner {
  background: radial-gradient(circle at center, #FFF 0%, #FFE4E6 100%);
  padding: 120px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(128, 0, 0, 0.05);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--p-maroon);
  font-weight: 700;
  font-style: italic;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--p-gold);
}

.hero-btn {
  background: var(--p-maroon);
  color: white !important;
  padding: 20px 50px;
  border-radius: 50px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 2px;
  display: inline-block;
  margin-top: 30px;
  box-shadow: 0 15px 30px rgba(128, 0, 0, 0.2);
  transition: 0.4s;
}

.hero-btn:hover {
  transform: translateY(-5px);
  background: var(--p-maroon-light);
}

/* 4. PRODUCT GRID (THE BEST EVER) */
.woocommerce ul.products,
.woocommerce-shop ul.products,
.woocommerce-page ul.products {
  display: grid !important;
}
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 40px !important;
  max-width: 1400px;
  margin: 80px auto !important;
  padding: 0 40px !important;
}

.woocommerce ul.products li.product,
li.product {
  background: white !important;
  border-radius: var(--radius) !important;
  padding: 25px !important;
  text-align: center !important;
  border: 1px solid rgba(0, 0, 0, 0.03) !important;
  transition: 0.5s cubic-bezier(0.17, 0.67, 0.83, 0.67) !important;
}

/* Product Image Visibility Fix - NO TINY IMAGES */
li.product img,
.woocommerce-loop-product__link img {
  border-radius: 12px !important;
  margin-bottom: 20px !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1/1 !important;
  /* Force square for consistency */
  object-fit: cover !important;
  display: block !important;
  transition: 0.5s !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  /* Subtle depth */
}

li.product:hover {
  transform: translateY(-15px) !important;
  box-shadow: 0 30px 60px rgba(128, 0, 0, 0.1) !important;
  border-color: var(--p-pink-accent) !important;
}

li.product:hover img {
  transform: scale(1.05);
}

.woocommerce-loop-product__title {
  font-family: var(--font-heading) !important;
  font-size: 1.6rem !important;
  color: var(--p-maroon) !important;
  margin: 15px 0 !important;
}

.price {
  font-weight: 700 !important;
  color: var(--p-text-muted) !important;
  font-size: 1.2rem !important;
}

.button.add_to_cart_button {
  background: var(--p-maroon) !important;
  color: white !important;
  border-radius: 50px !important;
  padding: 12px 30px !important;
  font-weight: 700 !important;
  margin-top: 15px !important;
}

/* 5. PROFESSIONAL FOOTER */
.site-footer {
  background: white;
  padding: 100px 40px 40px;
  border-top: 1px solid #eee;
  margin-top: 100px;
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
}

.footer-logo {
  max-height: 60px;
  margin-bottom: 25px;
}

.footer-heading {
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--p-gold);
  margin-bottom: 25px;
}

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

.footer-links a:hover {
  color: var(--p-maroon);
  padding-left: 5px;
}

.insta-feed-box {
  background: var(--p-pink-bg);
  padding: 30px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px dashed var(--p-maroon);
}

/* 6. MOBILE FIXES */
@media (max-width: 1024px) {

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

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

@media (max-width: 768px) {
  .header-inner {
    padding: 0 20px;
  }

  .main-navigation {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
.product-section {
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 40px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--p-maroon);
    margin-bottom: 40px;
    text-align: center;
}

.product-section .products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

@media (max-width:1024px) {
    .product-section .products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:768px) {
    .product-section .products {
        grid-template-columns: 1fr;
    }
}
/* =============================
   Product Grid Fix for Front Page
   ============================= */
.product-section .products li.product {
    background: var(--p-white);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(128,0,0,0.05);
    transition: transform 0.4s, box-shadow 0.4s;
    list-style: none; /* Remove bullets */
}

.product-section .products li.product img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}

.product-section .products li.product h2,
.product-section .products li.product .woocommerce-loop-product__title {
    font-size: 1.4rem;
    color: var(--p-maroon);
    margin-bottom: 10px;
}

.product-section .products li.product .price {
    font-weight: 700;
    color: var(--p-text-muted);
    margin-bottom: 15px;
}

.product-section .products li.product .button {
    background: var(--p-maroon);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 700;
    transition: 0.3s;
}

.product-section .products li.product .button:hover {
    background: var(--p-maroon-light);
    transform: translateY(-3px);
}

.product-section .products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    padding: 0;
    margin: 0 auto;
}

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

@media (max-width:768px) {
    .product-section .products {
        grid-template-columns: 1fr !important;
    }
}
/* Product Card Content Fix */
.products li.product {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    justify-content: space-between;
}

.products li.product .woocommerce-loop-product__title {
    font-size: 1.4rem;
    color: var(--p-maroon);
    margin: 10px 0 5px 0;
    text-align: center;
}

.products li.product .price {
    font-weight: 700;
    color: var(--p-text-muted);
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 10px;
}

.products li.product .button {
    align-self: center; /* center the button inside card */
    text-align: center;
    margin-top: auto;
    padding: 10px 25px;
    border-radius: 50px;
    background: var(--p-maroon);
    color: #fff !important;
    text-transform: uppercase;
    font-weight: 700;
    transition: 0.3s;
}

.products li.product .button:hover {
    background: var(--p-maroon-light);
    transform: translateY(-3px);
}
