/* ======================================================
   BASIC LAYOUT
====================================================== */

:root {
  --primary-orange:#FF9500;;
  --primary-orange-glossy: linear-gradient(180deg, #ffc766 0%, #ff9f43 50%, #e68a2c 100%);
  --site-bg: #f6f4f1;
}

/* ======================================================
   GLOBAL BACKGROUND - ENSURES BEIGE ON ALL PAGES
====================================================== */

html {
  margin-top: 0 !important;
  background-color: var(--site-bg);
  scroll-behavior: smooth;
}

/* Prevent scroll jumping when redirected to newsletter */
html:has(#newsletter-section:target) {
    scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  color: #222;
  background-color: var(--site-bg);
  min-height: 100vh;
  animation: fadeIn 0.4s ease-in;
}

#wpadminbar { 
	display: none !important; 
}

body.admin-bar {
  margin-top: 0 !important;
}


/* Keep white backgrounds only on content cards */
.shop-card,
.product-card,
.featured-slide,
.legal-container,
.mini-cart-dropdown,
.user-dropdown,
.blog-card-row {
  background-color: #ffffff;
}

.site-footer {
  background: #fff;
  border-top: 1px solid #eee;
  margin-top: 4rem;
}

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

.container {
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
}


/* =================================
   PREMIUM HEADER STYLES - FIXED
================================= */
.site-header {
  background: linear-gradient(
    90deg,
    #f5e28a 12%,
    #d4af37 28%,
    #b8962e 50%,
    #cdae51 72%,
    #e3b64b 100%
  );
  color: #faf8f5;
  position: sticky;
  top: 0;
  z-index: 9999;
  transition: all 0.3s ease;
}

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

.header-logo {
  flex-shrink: 0;
}

/* NAVIGATION - DESKTOP DEFAULT (VISIBLE) */
.header-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header-nav .nav-menu {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

/* ONLY top-level items should be flex */
.header-nav > .nav-menu > li {
  position: relative;
}

/* Top-level links styling */
.header-nav > .nav-menu > li > a {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 900;
  padding: 10px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffff;
  backdrop-filter: blur(10px);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.header-nav > .nav-menu > li > a:hover {
  color: #231501;
  transform: translateY(6px);
}

.header-nav li.current-menu-item {
  display: none;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.user-icon-wrapper,
.cart-icon-wrapper {
  position: relative;
}

.icon {
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.3s ease;
  padding: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  width: 30px;
  height: 30px;
}

.icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ff4757;
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
}

.menu-toggle {
  display: none;
  background: var(--primary-orange);
  border: none;
  color: #ffffff;
  font-size: 28px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}


/* ========================================
   COMPLETE DROPDOWN & MOBILE NAVIGATION FIX
   Add this AFTER your existing navbar CSS
   ======================================== */

/* ========== DESKTOP DROPDOWN STYLES ========== */
@media (min-width: 992px) {
    /* FIRST LEVEL DROPDOWN (Shop -> Customized Product, Digital Template, etc.) */
    .header-nav > .nav-menu > li.menu-item-has-children > .sub-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 250px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        border-radius: 12px;
        padding: 10px 0;
        margin-top: 10px;
        display: none;
        opacity: 0;
        z-index: 1000;
        list-style: none;
    }

    /* NESTED DROPDOWN (Customized Product -> Apparel, Cap, Mug) */
    .header-nav .sub-menu li.menu-item-has-children {
        position: relative;
    }

    .header-nav .sub-menu li.menu-item-has-children > .sub-menu {
        position: absolute;
        top: 0;
        left: 100%; /* Position to the RIGHT - prevents blocking siblings */
        min-width: 220px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        border-radius: 12px;
        padding: 10px 0;
        margin-left: 8px;
        display: none;
        opacity: 0;
        z-index: 1001; /* Higher than parent dropdown */
        list-style: none;
    }

    /* Submenu items styling */
    .header-nav .sub-menu {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .header-nav .sub-menu li {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .header-nav .sub-menu li a {
        display: block;
        padding: 12px 20px;
        color: #333;
        text-decoration: none;
        font-family: 'Montserrat', sans-serif;
        font-size: 16px;
        font-weight: 600;
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    .header-nav .sub-menu li a:hover {
        background: rgba(241, 169, 105, 0.15);
        color: var(--primary-orange, #f1a969);
        padding-left: 25px;
    }

	
    .header-nav > .nav-menu > li.menu-item-has-children > a::after {
    display: none !important;
}

/* Show arrows ONLY for submenu items that have children (like Customized Product) */
.header-nav .sub-menu li.menu-item-has-children > a::after {
    content: '\25B8'; /* Right arrow using Unicode escape */
    float: right;
    margin-left: 15px;
    font-size: 12px;
    opacity: 0.7;
}

/* Mobile - show down arrow for all expandable items */
@media (max-width: 991px) {
    .header-nav .sub-menu li.menu-item-has-children > a::after {
        content: '\25BE'; /* Down arrow for mobile */
    }
}

    /* Hover state for nested menu items with children */
    .header-nav .sub-menu li.menu-item-has-children:hover > a {
        background: rgba(241, 169, 105, 0.15);
        color: var(--primary-orange, #f1a969);
    }

    /* Smooth transitions */
    .header-nav .sub-menu {
        transition: opacity 0.2s ease;
    }
}

/* Adjust for narrower desktop screens */
@media (min-width: 992px) and (max-width: 1400px) {
    /* If dropdown would go off right side, position it to the left */
    .header-nav .nav-menu > li:nth-last-child(-n+2) .sub-menu li.menu-item-has-children > .sub-menu {
        left: auto;
        right: 100%;
        margin-left: 0;
        margin-right: 8px;
    }
    
    .header-nav .nav-menu > li:nth-last-child(-n+2) .sub-menu li.menu-item-has-children > a::after {
        content: ' \25B8';
        float: left;
        margin-right: 15px;
        margin-left: 0;
    }
}

/* ========== MOBILE NAVIGATION ========== */
@media (max-width: 991px) {
    /* Show hamburger menu */
    .menu-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }

    /* Hide navigation by default on mobile */
    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-orange, #f1a969);
        flex-direction: column;
        z-index: 999;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }

    /* Show when active (toggled by JS) */
    .header-nav.active {
        display: flex !important;
    }

    /* Stack menu items vertically */
    .header-nav .nav-menu {
        flex-direction: column;
        width: 100%;
        padding: 0;
        gap: 0;
    }

    /* Full width menu items */
    .header-nav .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .header-nav .nav-menu li:last-child {
        border-bottom: none;
    }

    /* Reset top-level link styling for mobile */
    .header-nav > .nav-menu > li > a {
        display: block;
        padding: 15px 20px;
        background: transparent;
        border: none;
        backdrop-filter: none;
        border-radius: 0;
        font-size: 18px;
        color: white;
    }

    .header-nav > .nav-menu > li > a:hover {
        transform: none;
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }

    /* Submenus on mobile */
    .header-nav .sub-menu,
    .header-nav .sub-menu li.menu-item-has-children > .sub-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        margin: 0;
        padding-left: 20px;
        background: rgba(0, 0, 0, 0.1);
        display: none; /* Will be toggled by JS */
        opacity: 1;
        min-width: 0;
        width: 100%;
    }

    /* Mobile submenu links */
    .header-nav .sub-menu li a {
        padding: 12px 20px;
        color: white;
        font-size: 16px;
    }

    .header-nav .sub-menu li a:hover {
        background: rgba(255, 255, 255, 0.1);
        padding-left: 20px;
        color: white;
    }

    /* Mobile arrows - all point down */
    .header-nav > .nav-menu > li.menu-item-has-children > a::after,
    .header-nav .sub-menu li.menu-item-has-children > a::after {
        content: ' \25BE';
        float: right;
        opacity: 0.7;
        margin-left: 10px;
    }

    /* Hide decorative elements on mobile */
    .header-nav a::before {
        display: none;
    }
}

/* Very small mobile screens */
@media (max-width: 480px) {
    .header-nav {
        padding: 15px;
    }

    .header-nav > .nav-menu > li > a {
        padding: 12px 15px;
        font-size: 16px;
    }

    .header-nav .sub-menu li a {
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* USER DROPDOWN */
.user-dropdown {
  position: absolute;
  top: calc(100% + 15px);
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  z-index: 1000;
  overflow: hidden;
}

.user-dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 15px;
  width: 12px;
  height: 12px;
  background: white;
  transform: rotate(45deg);
}

.user-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown-header {
  padding: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.user-dropdown-header strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.user-dropdown-header .user-role {
  font-size: 12px;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.user-dropdown-links {
  padding: 8px 0;
}

.user-dropdown-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.user-dropdown-links a:hover {
  background: linear-gradient(90deg, #f8f9ff 0%, #f0f1ff 100%);
  color: #667eea;
  padding-left: 24px;
}

.user-dropdown-links a span {
  font-size: 18px;
}

/* MINI CART DROPDOWN */
.mini-cart-dropdown {
  position: absolute;
  top: calc(100% + 15px);
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  min-width: 320px;
  max-width: 400px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  z-index: 1000;
  overflow: hidden;
}

.mini-cart-dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 15px;
  width: 12px;
  height: 12px;
  background: white;
  transform: rotate(45deg);
}

.mini-cart-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mini-cart-items {
  max-height: 300px;
  overflow-y: auto;
  padding: 16px;
}

.mini-cart-items::-webkit-scrollbar {
  width: 6px;
}

.mini-cart-items::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.mini-cart-items::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.mini-cart-items::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.mini-cart-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s ease;
}

.mini-cart-item:hover {
  background: #f8f9ff;
}

.mini-cart-item:last-child {
  border-bottom: none;
}

.mini-cart-item-image {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}

.mini-cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-cart-item-details {
  flex: 1;
}

.mini-cart-item-name {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
  color: #333;
}

.mini-cart-item-quantity {
  font-size: 13px;
  color: #666;
}

.mini-cart-total {
  padding: 16px 20px;
  border-top: 2px solid #f0f0f0;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  background: #f8f9ff;
}

.mini-cart-buttons {
  padding: 16px;
  display: flex;
  gap: 10px;
}

.mini-cart-buttons .button {
  flex: 1;
  padding: 12px 20px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mini-cart-buttons .view-cart {
  background: #f0f1ff;
  color: #667eea;
}

.mini-cart-buttons .view-cart:hover {
  background: #e0e2ff;
}

.mini-cart-buttons .checkout {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.mini-cart-buttons .checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.mini-cart-empty {
  padding: 40px 20px;
  text-align: center;
  color: #999;
  font-size: 14px;
}

/* MOBILE RESPONSIVE - THIS IS THE KEY FIX */
@media (max-width: 991px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary-orange);
    flex-direction: column;
    z-index: 999;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 20px;
  }

  .header-nav.active {
    display: flex !important;
  }
  
  .header-nav .nav-menu {
    flex-direction: column;
    width: 100%;
    padding: 0;
    gap: 0;
  }
  
  .header-nav .nav-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .header-nav .nav-menu li:last-child {
    border-bottom: none;
  }
  
  .header-nav .nav-menu a {
    display: block;
    padding: 15px 20px;
  }

  .header-nav a::before {
    display: none;
  }
}

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

  .header-logo a {
    font-size: 20px;
  }

  .header-icons {
    gap: 12px;
  }

  .icon {
    width: 30px;
    height: 30px;
    font-size: 20px;
  }

  .mini-cart-dropdown {
    min-width: 280px;
  }
}



/*HERO CONTAINER */
.hero-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 10px;
  background: transparent; /* Remove background color */
} 

/* Each slide - FIXED POSITIONING */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-slide.active {
  display: block;
  opacity: 1;
  position: relative; /* Active slide determines carousel height */
}

/* Images & Videos */
.hero-slide img,
.hero-slide video {
  width: 100%;
  height: auto; /* CHANGED: auto instead of 100% to maintain aspect ratio */
  object-fit: contain;
  display: block;
}

/* OVERLAY CONTAINER */
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

/* TEXT — FORCE VISIBILITY */
.hero-overlay h1,
.hero-overlay p {
  color: #fff;
  margin-bottom: 1rem;
} 

/* BUTTONS */
.hero-overlay a {
  color: #fff;
  text-decoration: none;
}

.hero-actions {
  display: flex;
  gap: 1rem;
} 

.hero-actions .btn.primary {
  background: linear-gradient(90deg, #ff9f43, #ff8c1a);
  color: #fff;
  padding: 12px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.35s ease;
  box-shadow: 0 6px 18px rgba(255,159,67,0.35);
}

.hero-actions .btn.primary:hover {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--primary-orange);
  font-weight: 800;
  backdrop-filter: blur(6px);
}

.hero-actions .btn.secondary {
  color: #fff;
  transition: all 0.3s ease;
}

.hero-actions .btn.secondary:hover {
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--primary-orange);
  font-weight: 800;
  backdrop-filter: blur(6px);
}

/* Overlay arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 3;
  border-radius: 50%;
  transition: background 0.3s;
}

.hero-arrow:hover {
  background: rgba(0,0,0,0.7);
}

.hero-arrow.prev {
  left: 1rem;
}

.hero-arrow.next {
  right: 1rem;
}

/* Dots container */
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

/* Each dot */
.hero-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(171, 118, 39, 0.5);
  display: inline-block;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* Active dot progress bar */
.hero-dots span.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #ff9f43;
  animation: progressBar 15s linear forwards;
}

@keyframes progressBar {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* Special styling for first slide buttons (all screens) */
.hero-slide:first-child .hero-actions .btn.secondary {
  border: 2px solid #fff;
  padding: 12px 26px;
  border-radius: 30px;
}

.hero-slide:first-child .hero-overlay {
  margin-top: 50px;
}

/* TABLET/MEDIUM SCREENS */
@media (max-width: 768px) {
  .hero-overlay {
    margin-top: 0 !important;
    padding: 1rem;
  }
  
  .hero-overlay h1 {
    font-size: 1.5rem !important;
  }
  
  .hero-overlay p {
    font-size: 1rem !important;
  }
  
  .hero-actions {
    gap: 0.5rem;
  }
  
  .hero-actions .btn.primary,
  .hero-actions .btn.secondary {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  
  .hero-actions .btn.primary {
    box-shadow: 0 4px 12px rgba(255,159,67,0.3);
  }
  
  .hero-slide:first-child .hero-overlay {
    margin-top: 0 !important;
  }
  
  .hero-slide:first-child .hero-actions {
    gap: 0.5rem !important;
  }
  
  .hero-slide:first-child .hero-actions .btn.primary,
  .hero-slide:first-child .hero-actions .btn.secondary {
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
  }
}

/* MOBILE/SMALL SCREENS */
@media (max-width: 480px) {
  .hero-actions {
    gap: 0.4rem;
  }
  
  .hero-actions .btn.primary,
  .hero-actions .btn.secondary {
    padding: 6px 12px;
    font-size: 0.75rem;
    border-radius: 20px;
  }
  
  .hero-actions .btn.primary {
    box-shadow: 0 3px 10px rgba(255,159,67,0.25);
  }
  
  .hero-slide:first-child .hero-actions {
    gap: 0.4rem !important;
  }
  
  .hero-slide:first-child .hero-actions .btn.primary,
  .hero-slide:first-child .hero-actions .btn.secondary {
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
    border-radius: 20px !important;
  }
}


/* =========================
   MOBILE RESPONSIVE
========================= */

/* PRODUCT GRID */
.products-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.product-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.product-card {
  text-align: center;
  transition: transform .2s ease;
  background: #fff;
}

.product-card img {
  width: 100%;
  border-radius: 8px;
}

.product-card h3 {
  font-size: 1rem;
  margin: .8rem 0;
  font-weight: bold;
}

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

.cart-icon-wrapper {
  position: relative;
  display: inline-block;
}

.cart-icon {
  position: relative;
  display: inline-block;
  cursor: pointer;
  padding: 10px;
}




/* SHOP PREVIEW */
.shop-section {
  padding: 1rem 0;
	margin-top: 1rem;
}

.shop-group {
  margin-bottom: 1rem;
}

.shop-title {
  font-size: 1.9rem;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}

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

.shop-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}

.shop-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0,0,0,.12);
}

.shop-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.shop-info {
  padding: 14px;
}

.shop-info h3 {
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.shop-info p {
  font-size: .85rem;
  color: #666;
  margin-bottom: 6px;
}

.price {
  font-weight: 600;
}

.shop-more {
  margin-top: 1.8rem;
  display: flex;
  justify-content: center;
}

.more-btn {
  display: inline-block;
  padding: 12px 34px;
  background: var(--primary-orange-glossy);
  color: #fff;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.25s ease, transform 0.25s ease;
}

.more-btn:hover {
  background: rgba(241, 169, 105, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--primary-orange);
  font-weight: 800;
  backdrop-filter: blur(10px);
  transform: translate(3px);
}

@media (max-width: 768px) {
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop-image img {
    height: 240px;
  }
}

@media (max-width: 480px) {
	
}




/* FEATURED ITEMS CAROUSEL */
.featured-carousel {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 48px;
  font-weight: 800;
  color: #2d3748;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

.featured-wrapper {
  position: relative;
  overflow: hidden;
}

.featured-slides {
  position: relative;
  width: 100%;
  min-height: 500px;
}

.featured-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.featured-slide.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  opacity: 1;
  animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateX(30px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.featured-left {
  position: relative;
  overflow: hidden;
  background: #000;
}

.featured-left video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-right {
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.featured-right h2 {
  font-size: 36px;
  font-weight: 700;
  color: #2d3748;
  margin: 0;
  line-height: 1.2;
}

.featured-right p {
  font-size: 16px;
  line-height: 1.8;
  color: #4a5568;
  margin: 0;
}

.featured-price {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-orange);
  display: block;
  margin-top: 10px;
}

.add-cart-btn {
  display: inline-block;
  padding: 16px 40px;
  background: var(--primary-orange-glossy);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  max-width: 200px;
  transition: 
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    backdrop-filter 0.6s ease
  
 
}

.add-cart-btn:hover {
  transform: translateY(-2px);
  background: rgba(241, 169, 105, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--primary-orange);
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.featured-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #a0aec0;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 28px;
  color: #2d3748;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-arrow:hover {
  background: var(--primary-orange-glossy);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.featured-arrow.prev { left: 20px; }
.featured-arrow.next { right: 20px; }

.featured-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.featured-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cbd5e0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.featured-dot.active {
  background: var(--primary-orange-glossy);
  width: 32px;
  border-radius: 6px;
}

@media (max-width: 968px) {
  .featured-slide.active {
    grid-template-columns: 1fr;
  }

  .featured-left {
    min-height: 300px;
  }

  .featured-right {
    padding: 40px 30px;
  }

  .featured-right h2 {
    font-size: 28px;
  }

  .section-title h2 {
    font-size: 36px;
  }
}

@media (max-width: 576px) {
  .featured-carousel {
    padding: 50px 0;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .featured-right h2 {
    font-size: 24px;
  }

  .featured-right p {
    font-size: 14px;
  }

  .featured-price {
    font-size: 26px;
  }

  .featured-arrow {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .featured-arrow.prev { left: 10px; }
  .featured-arrow.next { right: 10px; }
}


/* NEWSLETTER */

.newsletter-section {
  padding: 80px 0;
  background: #FF9500;
  /* background: #FF8C00;  */
  position: relative;
  overflow: hidden;
  transition: opacity 0.3s ease-in-out;
}

#newsletter-section:target {
    scroll-margin-top: 80px; 
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.newsletter-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.newsletter-content h2 {
  font-size: 42px;
  font-weight: 700;
  color: white;
  margin-bottom: 15px;
  line-height: 1.2;
}

.newsletter-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 35px;
  line-height: 1.6;
}

.newsletter-form {
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 24px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.newsletter-input {
  width: 100%;
  padding: 18px 24px;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  font-size: 16px;
  color: #2d3748;
  background: white;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.newsletter-input:hover {
  border-color: #cbd5e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.newsletter-input:focus {
  border-color: var(--primary-orange-glossy);
  background: white;
  box-shadow: 
    0 0 0 3px rgba(255, 138, 76, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.newsletter-input::placeholder {
  color: #a0aec0;
}

.newsletter-btn {
  padding: 18px 40px;
  background: var(--primary-orange-glossy);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  box-shadow: 
    0 4px 15px rgba(255, 138, 76, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.newsletter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.newsletter-btn:hover::before {
  left: 100%;
}

.newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 25px rgba(255, 138, 76, 0.5),
    0 4px 12px rgba(0, 0, 0, 0.15);
}

.newsletter-btn:active {
  transform: translateY(0);
  box-shadow: 
    0 2px 10px rgba(255, 138, 76, 0.3),
    0 1px 4px rgba(0, 0, 0, 0.1);
}

.newsletter-message {
  padding: 12px 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.newsletter-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 2px solid #c3e6cb;
}

.newsletter-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 2px solid #f5c6cb;
}

.newsletter-message.info {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 2px solid #bee5eb;
}

#newsletter-section {
  scroll-margin-top: 20px; 
}

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

@media (max-width: 768px) {
  .newsletter-section {
    padding: 60px 0;
  }

  .newsletter-content h2 {
    font-size: 32px;
  }

  .newsletter-content p {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .form-group {
    padding: 25px 20px;
    border-radius: 20px;
  }

  .newsletter-input {
    padding: 16px 20px;
    border-radius: 12px;
  }

  .newsletter-btn {
    padding: 16px 30px;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .newsletter-content h2 {
    font-size: 26px;
  }

  .newsletter-content p {
    font-size: 14px;
  }

  .form-group {
    padding: 20px 15px;
  }

  .newsletter-input {
    font-size: 14px;
    padding: 14px 18px;
  }

  .newsletter-btn {
    font-size: 14px;
    padding: 14px 28px;
  }
}


/* FOOTER */

.site-footer {
  background: linear-gradient(
  90deg,
   #f5e28a 12%,
  #d4af37 28%,
  #b8962e 50%,
  #cdae51 72%,
  #e3b64b 100%
 
);

}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  align-items: start;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.footer-col {
  min-width: 0;
}

.contact-item svg {
  min-width: 20px;
  min-height: 20px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #6d4317;
  font-weight: 700;
}

.footer-col p {
  font-size: 0.95rem;
  color: #6d4317;
  font-weight: 500;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-col a {
  color: #6d4317;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #667eea;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #6d4317;
  font-size: 0.95rem;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: #667eea;
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: #667eea;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  color: #718096;
  border-top: 1px solid #eee;
  background: #f7fafc;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.whatsapp-icon {
background: #25D366 !important;
  color: #ffff !important;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f7fafc;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-icons svg {
  width: 20px;
  height: 20px;
  transition: color 0.3s ease;
}

.social-icons a:nth-child(1):hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icons a:nth-child(1):hover svg {
  color: white;
}

.social-icons a:nth-child(2):hover {
  background: #1877f2;
}

.social-icons a:nth-child(2):hover svg {
  color: white;
}

.social-icons a:nth-child(3):hover {
  background: #000000  !important;
}

.social-icons  a:nth-child(3):hover svg {
  fill: #ffff  !important;
}

.social-icons a:nth-child(4):hover {
  background: #000000  !important;
}

.social-icons a:nth-child(4):hover svg {
  color: #ffff  !important;
}


@media (max-width: 968px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .footer-col:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 576px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }

  .footer-col:last-child {
    grid-column: span 1;
  }

  .footer-col h4 {
    font-size: 1.1rem;
  }
}


/* SHOP CATEGORY & PRODUCT PAGES */
.shop-category-page {
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 20px;
}

.page-title {
  font-size: 42px;
  margin-bottom: 40px;
  text-align: center;
  color: #333;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.product-image {
  width: 100%;
  height: 350px;
  overflow: hidden;
  position: relative;
  background: #f5f5f5;
}

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

.product-info {
  padding: 20px;
}

.product-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.product-price {
  font-size: 24px;
  font-weight: bold;
  color: #0066cc;
  margin-bottom: 15px;
}

.design-options {
  margin-bottom: 15px;
}

.design-label {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.design-thumbnails {
  display: flex;
  gap: 8px;
}

.design-thumb {
  width: 50px;
  height: 50px;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.3s;
}

.design-thumb:hover {
  border-color: #0066cc;
}

.design-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.color-preview {
  margin-bottom: 15px;
}

.color-dots {
  display: flex;
  gap: 6px;
}

.color-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #ddd;
}

.view-details-btn {
  width: 100%;
  padding: 12px;
  background: #0066cc;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.view-details-btn:hover {
  background: #0052a3;
}

.setup-instructions {
  text-align: center;
  padding: 60px 20px;
  background: #f8f9fa;
  border-radius: 12px;
}

.setup-instructions h3 {
  color: #dc3545;
  margin-bottom: 20px;
}

.setup-instructions code {
  background: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  color: #0066cc;
}

.product-detail-page {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.product-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.product-images-section {
  position: sticky;
  top: 20px;
  height: fit-content;
}

.main-product-image {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f5;
}

.main-product-image img {
  width: 100%;
  height: auto;
  display: block;
}

.design-selector {
  margin-bottom: 30px;
}

.design-thumbnail {
  cursor: pointer;
  border: 3px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.design-thumbnail:hover, .design-thumbnail.active {
  border-color: #0066cc;
}

.design-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

.product-details h1 {
  font-size: 36px;
  margin-bottom: 15px;
}

.variation-section {
  margin-bottom: 30px;
}

.variation-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.color-swatches {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.color-swatch {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s;
}

.color-swatch:hover {
  transform: scale(1.1);
}

.color-swatch.active {
  border-color: #333;
  box-shadow: 0 0 0 2px #fff, 0 0 0 5px #333;
}

.color-swatch.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.size-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.size-button {
  padding: 12px 24px;
  border: 2px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  background: white;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s;
}

.size-button:hover {
  border-color: #0066cc;
}

.size-button.active {
  border-color: #0066cc;
  background: #0066cc;
  color: white;
}

.size-button.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.quantity-section {
  margin-bottom: 30px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 12px;
}

.qty-btn {
  width: 45px;
  height: 45px;
  border: 2px solid #ddd;
  background: white;
  cursor: pointer;
  font-size: 20px;
  border-radius: 6px;
  font-weight: bold;
}

.qty-btn:hover {
  background: #f5f5f5;
}

.qty-input {
  width: 80px;
  height: 45px;
  text-align: center;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 600;
}

.add-to-cart-button {
  width: 100%;
  padding: 18px;
  background: #0066cc;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
  margin-bottom: 20px;
}

.add-to-cart-button:hover {
  background: #0052a3;
}

.add-to-cart-button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.stock-status {
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
}

.in-stock {
  background: #d4edda;
  color: #155724;
}

.out-of-stock {
  background: #f8d7da;
  color: #721c24;
}

.error-msg, .success-msg {
  margin-top: 15px;
  font-weight: 600;
}

.error-msg {
  color: #dc3545;
}

.success-msg {
  color: #28a745;
}

@media (max-width: 768px) {
  .product-container {
    grid-template-columns: 1fr;
  }
  
  .product-images-section {
    position: relative;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }
}

.blog-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 24px;
  min-height: 400px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  max-width: 900px;
  margin: 0 auto 30px;
}


/* Legal page */

.legal-page {
  padding: 80px 20px;
  background: #fafafa;
}

.legal-container {
  max-width: 820px;
  margin: auto;
  background: #fff;
  padding: 60px;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.legal-container h1 {
  font-size: 36px;
  margin-bottom: 30px;
}

.legal-content h2 {
  margin-top: 40px;
  font-size: 22px;
}

.legal-content p {
  line-height: 1.9;
  margin: 14px 0;
  color: #333;
}



/* ========================================
   PREMIUM WOOCOMMERCE DASHBOARD - WITH TOP WELCOME HEADER
   ======================================== */


/* WOOCOMMERCE ACCOUNT PAGE STYLES */
.woocommerce-account header,
.woocommerce-account footer {
  display: none !important;
}

.woocommerce-account {
  padding-top: 0 !important;
  margin: 0 !important;
}

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

.woocommerce-account header.site-header,
.woocommerce-account footer.site-footer,
body.woocommerce-account .site-header,
body.woocommerce-account header.site-header {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

body.woocommerce-account .entry-header,
body.woocommerce-account .entry-title {
  display: none !important;
}

.woocommerce-MyAccount-navigation {
  display: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation,
nav.woocommerce-MyAccount-navigation {
  display: none !important;
}

body.woocommerce-account .site-main,
body.woocommerce-account .content-area,
body.woocommerce-account article,
body.woocommerce-account .entry-content,
body.woocommerce-account .woocommerce,
body.woocommerce-account .site-content,
body.woocommerce-account .container,
body.woocommerce-account main.container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.woocommerce-account .premium-dashboard-layout {
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
}

.premium-dashboard-layout {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 1 !important;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f8f9fa;
  width: 100%;
  margin: 0;
  padding: 0;
}

.woocommerce-account .woocommerce {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce-MyAccount-content {
  width: 100%;
}


/* Hide header and footer only on My Account pages */
.woocommerce-account header,
.woocommerce-account footer {
    display: none !important;
}

/* Optional: remove top/bottom padding/margin to make it full-page */
.woocommerce-account {
    padding-top: 0 !important;
    margin: 0 !important;
} 


/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} 

/* Hide default WooCommerce header/footer */
.woocommerce-account header.site-header,
.woocommerce-account footer.site-footer,
body.woocommerce-account .site-header,
body.woocommerce-account header.site-header {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Hide theme's entry header on My Account page */
body.woocommerce-account .entry-header {
    display: none !important;
}

body.woocommerce-account .entry-title {
    display: none !important;
}

.woocommerce-account {
    padding: 0 !important;
    margin: 0 !important;
}

/* Hide any default WooCommerce account navigation/menu */
.woocommerce-account .woocommerce-MyAccount-navigation,
nav.woocommerce-MyAccount-navigation {
    display: none !important;
} 

/* Force full width and remove theme containers */
body.woocommerce-account .site-main,
body.woocommerce-account .content-area,
body.woocommerce-account article,
body.woocommerce-account .entry-content,
body.woocommerce-account .woocommerce,
body.woocommerce-account .site-content,
body.woocommerce-account .container,
body.woocommerce-account main.container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
} 

/* Break out of theme constraints */
body.woocommerce-account .premium-dashboard-layout {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}

/* Ensure premium layout is visible */
.premium-dashboard-layout {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Main Layout Container */
.premium-dashboard-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f8f9fa;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Force full width for WooCommerce wrapper */
.woocommerce-account .woocommerce {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-MyAccount-content {
    width: 100%;
} 

/* ========================================
   WELCOME HEADER SECTION (TOP OF PAGE)
   ======================================== */
body.woocommerce-account::before {
    content: '';
    display: block;
    height: 0;
}

.welcome-header-section {
    background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%) !important;
    padding: 50px 50px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    box-shadow: 0 4px 20px rgba(255, 140, 66, 0.2) !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 999999 !important;
    width: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: auto !important;
    pointer-events: all !important;
}

/* Avatar first, then content below */
.welcome-header-section .welcome-avatar {
    order: 1;
    margin-bottom: 20px !important;
}

.welcome-header-section .welcome-content {
    order: 2;
}

/* Force display of all children */
.welcome-header-section,
.welcome-header-section * {
    visibility: visible !important;
    opacity: 1 !important;
}

.welcome-header-section .welcome-content,
.welcome-header-section .welcome-avatar {
    display: block !important;
}  

/* Push content down to account for header */
body.woocommerce-account .premium-dashboard-layout {
    padding-top: 280px !important;
}

body.woocommerce-account .dashboard-wrapper-content {
    margin-top: 0 !important;
}

body.woocommerce-account {
    padding-top: 0 !important;
    position: relative !important;
}

.welcome-content {
    display: block !important;
    visibility: visible !important;
}

.welcome-content h1 {
    font-family: 'Playfair Display', serif !important;
    font-size: 42px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 0 8px 0 !important;
    display: block !important;
    visibility: visible !important;
}

.welcome-content p {
    font-size: 18px !important;
    color: rgba(255,255,255,0.9) !important;
    margin: 0 !important;
    display: block !important;
    visibility: visible !important;
} 

/* Welcome Avatar */
.welcome-avatar {
    position: relative !important;
    display: block !important;
    visibility: visible !important;
}

.avatar-upload-form {
    position: relative !important;
    display: inline-block !important;
    visibility: visible !important;
}

.avatar-label {
    position: relative !important;
    cursor: pointer !important;
    display: inline-block !important;
    visibility: visible !important;
}

.avatar-label input[type="file"] {
    display: none !important;
}

.avatar {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 4px solid rgba(255,255,255,0.3) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    cursor: pointer !important;
    transition: transform 0.3s ease !important;
    display: block !important;
    visibility: visible !important;
}

.avatar:hover {
    transform: scale(1.05);
}

.avatar-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 11px;
    text-align: center;
    padding: 4px 0;
    border-radius: 0 0 50% 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.avatar-label:hover .avatar-overlay {
    opacity: 1;
}

/* ========================================
   CONTENT WRAPPER (SIDEBAR + MAIN)
   ======================================== */
.dashboard-wrapper-content {
    display: flex;
    flex: 1;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
    gap: 0;
} 

/* ========================================
   LEFT SIDEBAR
   ======================================== */
.dashboard-sidebar {
    width: 300px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    color: #fff;
    min-height: calc(100vh - 160px);
    overflow-y: auto;
    box-shadow: 6px 0 30px rgba(0,0,0,0.15);
    position: relative;
    flex-shrink: 0;
}

.dashboard-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, rgba(255,140,66,0.3) 0%, transparent 100%);
} 

/* Sidebar Header */
.sidebar-header {
    padding: 35px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.02);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    font-size: 36px;
    filter: drop-shadow(0 2px 8px rgba(255,140,66,0.3));
}

.sidebar-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: 0.5px;
} 

/* Sidebar Navigation */
.sidebar-nav {
    padding: 25px 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 25px;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-size: 15px;
    font-weight: 600;
    margin: 4px 15px;
    border-radius: 12px;
}

.nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    background: #FF8C42;
    border-radius: 0 4px 4px 0;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
    transform: translateX(4px);
}

.nav-item:hover::before {
    width: 4px;
    height: 70%;
}

.nav-item.active {
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.2) 0%, rgba(255, 107, 53, 0.15) 100%);
    color: #FF8C42;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.15);
}

.nav-item.active::before {
    width: 4px;
    height: 70%;
    background: #FF8C42;
    box-shadow: 0 0 10px rgba(255, 140, 66, 0.5);
}

.nav-icon {
    font-size: 22px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.nav-item:hover .nav-icon {
    transform: scale(1.1);
}

.nav-item.active .nav-icon {
    transform: scale(1.15);
    filter: drop-shadow(0 2px 4px rgba(255, 140, 66, 0.3));
}

.nav-text {
    flex: 1;
    letter-spacing: 0.3px;
}

.nav-badge {
    background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%);
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 140, 66, 0.3);
    min-width: 24px;
    text-align: center;
}

.nav-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    margin: 20px 25px;
}

.logout-item {
    color: rgba(239, 68, 68, 0.8);
    margin-top: 15px;
}

.logout-item:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.logout-item .nav-icon {
    color: #ef4444;
} 

/* ========================================
   MAIN CONTENT AREA
   ======================================== */
.dashboard-main {
    flex: 1;
    min-height: calc(100vh - 160px);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Dashboard Content */
.dashboard-content {
    padding: 40px 20px;
    max-width: 1400px;
}

/* Stats Card */
.stats-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-item {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.stat-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #FF8C42;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: #6c757d;
    margin-top: 4px;
}

/* Quick Actions Section */
 .quick-actions {
    margin-top: 40px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 25px;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.action-card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 140, 66, 0.15);
    border-color: #FF8C42;
}

.action-card-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.action-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 8px 0;
}

.action-card p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
} 

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .dashboard-sidebar {
        width: 240px;
    }
    
    .dashboard-content {
        padding: 30px 30px;
    }
}

@media (max-width: 768px) {
    .welcome-header-section {
        flex-direction: column;
        gap: 20px;
        padding: 30px 20px;
        text-align: center;
    }

    .welcome-content h1 {
        font-size: 32px;
    }
    
    .avatar {
        width: 100px;
        height: 100px;
    }
    
    .dashboard-sidebar {
        width: 100%;
        min-height: auto;
    }
    
    .dashboard-main {
        width: 100%;
    }
    
    .dashboard-content {
        padding: 20px;
    }
    
    .stats-card {
        grid-template-columns: 1fr;
    }
    
    .action-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .welcome-content h1 {
        font-size: 28px;
    }
    
    .welcome-content p {
        font-size: 16px;
    }
    
    .avatar {
        width: 80px;
        height: 80px;
    }
    
    .section-title {
        font-size: 22px;
    }
} 



/* ============================================
   WooCommerce Edit Account Form - Proper Spacing
============================================ */

/* Form Container */
.woocommerce-EditAccountForm {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

/* Form Rows - General spacing */
.woocommerce-form-row {
    margin-bottom: 25px;
}

/* Two columns layout for first/last name */
.form-row-first {
    width: 48%;
    float: left;
    margin-right: 4%;
}

.form-row-last {
    width: 48%;
    float: right;
}

/* Full width fields */
.form-row-wide {
    width: 100%;
    clear: both;
}

/* Clear floats */
.clear {
    clear: both;
    height: 0;
    line-height: 0;
}

/* Labels */
.woocommerce-EditAccountForm label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

/* Required asterisk */
.required {
    color: #ff0000;
    font-weight: bold;
}

/* Input fields */
.woocommerce-Input,
.input-text {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.woocommerce-Input:focus,
.input-text:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 1px #0073aa;
}

/* Helper text below fields */
.woocommerce-form-row em {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #666;
    font-style: normal;
}

/* Password change section */
fieldset {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 25px;
    margin: 30px 0;
    background: #f9f9f9;
}

fieldset legend {
    font-weight: 700;
    font-size: 16px;
    padding: 0 10px;
    color: #333;
}

fieldset .woocommerce-form-row {
    margin-bottom: 20px;
}

fieldset .woocommerce-form-row:last-child {
    margin-bottom: 0;
}

/* Submit button */
.woocommerce-EditAccountForm button[type="submit"] {
    background: #0073aa;
    color: #ffffff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.woocommerce-EditAccountForm button[type="submit"]:hover {
    background: #005a87;
}

/* Responsive design */
@media (max-width: 768px) {
    .woocommerce-EditAccountForm {
        padding: 25px 20px;
    }
    
    .form-row-first,
    .form-row-last {
        width: 100%;
        float: none;
        margin-right: 0;
    }
    
    fieldset {
        padding: 20px 15px;
    }
}

/* Success/Error messages spacing */
.woocommerce-message,
.woocommerce-error {
    margin-bottom: 25px;
}


/* ============================================
   WooCommerce Address Pages - Inline Forms
   Add to: wp-content/themes/your-theme/style.css
============================================ */

/* ==================== INLINE ADDRESS FORMS ==================== */

.addresses-wrapper-inline {
    max-width: 1200px;
    margin: 0 auto 40px;
}

.addresses-intro {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-left: 4px solid #0073aa;
    border-radius: 4px;
}

/* Stacked layout for billing/shipping forms */
.woocommerce-Addresses-inline {
    display: block;
    max-width: 800px;
    margin: 0 auto;
}

/* Individual address form container */
.woocommerce-Address-inline {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.woocommerce-Address-inline:last-child {
    margin-bottom: 0;
}

.address-form-title {
    margin: 0 0 25px;
    font-size: 22px;
    font-weight: 600;
    color: #333;
    padding-bottom: 15px;
    border-bottom: 2px solid #0073aa;
}

/* Form styling */
.edit-address-form-inline {
    width: 100%;
}

.woocommerce-address-fields__field-wrapper {
    display: block;
}

/* Individual form fields */
.woocommerce-address-fields__field-wrapper p {
    margin-bottom: 20px;
}

.woocommerce-address-fields__field-wrapper label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 13px;
    color: #333;
}

.woocommerce-address-fields__field-wrapper .required {
    color: #ff0000;
}

/* Input fields */
.woocommerce-address-fields__field-wrapper input[type="text"],
.woocommerce-address-fields__field-wrapper input[type="email"],
.woocommerce-address-fields__field-wrapper input[type="tel"],
.woocommerce-address-fields__field-wrapper select,
.woocommerce-address-fields__field-wrapper textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;
    font-family: inherit;
}

.woocommerce-address-fields__field-wrapper input:focus,
.woocommerce-address-fields__field-wrapper select:focus,
.woocommerce-address-fields__field-wrapper textarea:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 1px #0073aa;
}

/* Select dropdown */
.woocommerce-address-fields__field-wrapper select {
    background-color: #ffffff;
    cursor: pointer;
    appearance: auto;
}

/* Two column layout for some fields */
.woocommerce-address-fields__field-wrapper .form-row-first {
    width: 48%;
    float: left;
    margin-right: 4%;
}

.woocommerce-address-fields__field-wrapper .form-row-last {
    width: 48%;
    float: right;
}

.woocommerce-address-fields__field-wrapper .form-row-wide {
    width: 100%;
    clear: both;
}

/* Clear floats */
.woocommerce-address-fields__field-wrapper::after {
    content: "";
    display: table;
    clear: both;
}

/* Submit button */
.form-submit-wrapper {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    text-align: right;
    clear: both;
}

.edit-address-form-inline button[type="submit"] {
    background: #0073aa;
    color: #ffffff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.edit-address-form-inline button[type="submit"]:hover {
    background: #005a87;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.3);
}

/* ==================== EDIT ADDRESS FORM PAGE ==================== */
/* (When clicking edit button - fallback) */

.edit-address-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.edit-address-form h3 {
    margin: 0 0 30px;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    padding-bottom: 15px;
    border-bottom: 2px solid #0073aa;
}

/* ==================== RESPONSIVE DESIGN ==================== */

@media (max-width: 968px) {
    /* Stack forms on tablet/mobile */
    .woocommerce-Addresses-inline {
        grid-template-columns: 1fr;
    }
    
    .woocommerce-Address-inline {
        padding: 25px 20px;
    }
    
    .address-form-title {
        font-size: 20px;
    }
}

@media (max-width: 600px) {
    /* Stack two-column fields on mobile */
    .woocommerce-address-fields__field-wrapper .form-row-first,
    .woocommerce-address-fields__field-wrapper .form-row-last {
        width: 100%;
        float: none;
        margin-right: 0;
    }
    
    /* Full width submit button */
    .form-submit-wrapper {
        text-align: center;
    }
    
    .edit-address-form-inline button[type="submit"] {
        width: 100%;
    }
    
    .addresses-intro {
        font-size: 14px;
        padding: 12px 15px;
    }
}

/* Success/Error messages */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    margin-bottom: 25px;
}

/* Optional: Hide default validation messages styling */
.woocommerce-invalid {
    border-color: #e74c3c !important;
}

.woocommerce-validated {
    border-color: #27ae60 !important;
}


/* ============================================
   WooCommerce Downloads - Button Styling Only
   Add to: wp-content/themes/your-theme/style.css
============================================ */

/* Download button styling */
.woocommerce-MyAccount-downloads-file.button,
.woocommerce-table--order-downloads .download-file a {
    display: inline-block;
    background: #0073aa;
    color: #ffffff !important;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.3s;
}

.woocommerce-MyAccount-downloads-file.button:hover,
.woocommerce-table--order-downloads .download-file a:hover {
    background: #005a87;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.3);
}

/* "Go shop" button styling */
.woocommerce-info .button,
.woocommerce-message .button {
    display: inline-block;
    background: #0073aa;
    color: #ffffff !important;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.3s;
    margin-right: 15px;
}

.woocommerce-info .button:hover,
.woocommerce-message .button:hover {
    background: #005a87;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.3);
}



/* =====================================================
   MY ACCOUNT - MOBILE & TABLET RESPONSIVE FIX
   ===================================================== */

/* TABLET & MOBILE: Fix welcome header positioning */
@media (max-width: 1024px) {

    /* Make header flow naturally — not absolute */
    .welcome-header-section {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* Remove padding-top that was compensating for absolute header */
    body.woocommerce-account .premium-dashboard-layout {
        padding-top: 0 !important;
    }

    /* Stack sidebar and content vertically */
    .dashboard-wrapper-content {
        flex-direction: column !important;
        width: 100% !important;
    }

    /* Sidebar full width */
    .dashboard-sidebar {
        width: 100% !important;
        min-height: auto !important;
    }

    /* Main content full width */
    .dashboard-main {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px !important;
    }
}

/* TABLET (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {

    .welcome-header-section {
        padding: 40px 30px !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 30px !important;
    }

    .welcome-content h1 {
        font-size: 34px !important;
    }

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

    .stats-card {
        grid-template-columns: repeat(2, 1fr) !important;
    }

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

/* MOBILE (max 768px) */
@media (max-width: 768px) {

    /* Welcome header stacks vertically, centered */
    .welcome-header-section {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 30px 20px !important;
        gap: 15px !important;
    }

    .welcome-avatar {
        order: 1 !important;
    }

    .welcome-content {
        order: 2 !important;
    }

    .welcome-content h1 {
        font-size: 28px !important;
    }

    .welcome-content p {
        font-size: 15px !important;
    }

    .avatar {
        width: 90px !important;
        height: 90px !important;
    }

    /* Dashboard */
    .dashboard-content {
        padding: 15px !important;
    }

    .dashboard-main {
        padding: 10px !important;
    }

    /* Stats — single column */
    .stats-card {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Action grid — single column */
    .action-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Orders table — scrollable */
    .woocommerce-orders-table,
    table.woocommerce-orders-table {
        display: block !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        font-size: 13px !important;
    }

    .woocommerce-orders-table td,
    .woocommerce-orders-table th {
        padding: 8px 6px !important;
        white-space: nowrap !important;
    }

    /* Downloads table — scrollable */
    .woocommerce-table--order-downloads {
        display: block !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* Addresses — stack vertically */
    .woocommerce-Addresses {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    .woocommerce-Addresses .woocommerce-Address {
        width: 100% !important;
        float: none !important;
        margin: 0 !important;
    }

    /* Account details form — full width fields */
    .woocommerce-EditAccountForm .form-row-first,
    .woocommerce-EditAccountForm .form-row-last {
        width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
        clear: both !important;
    }

    /* Billing/Shipping form fields */
    .woocommerce-address-fields .form-row-first,
    .woocommerce-address-fields .form-row-last {
        width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
    }

    /* Sidebar nav menu horizontal scroll on mobile */
    .sidebar-nav {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .nav-items {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        padding-bottom: 5px !important;
        gap: 5px !important;
    }

    .nav-item {
        flex-shrink: 0 !important;
        min-width: max-content !important;
    }

    /* Section titles */
    .section-title {
        font-size: 20px !important;
    }
}

/* SMALL MOBILE (max 480px) */
@media (max-width: 480px) {

    .welcome-content h1 {
        font-size: 22px !important;
    }

    .welcome-content p {
        font-size: 13px !important;
    }

    .avatar {
        width: 70px !important;
        height: 70px !important;
    }

    .welcome-header-section {
        padding: 20px 15px !important;
    }

    .dashboard-content {
        padding: 10px !important;
    }

    .stat-item {
        padding: 15px !important;
        gap: 12px !important;
    }

    .stat-item .stat-icon {
        font-size: 28px !important;
    }

    .stat-item .stat-number {
        font-size: 22px !important;
    }

    .action-card {
        padding: 20px 15px !important;
    }

    .section-title {
        font-size: 18px !important;
    }
}

/* =====================================================
   CHECKOUT - SHIPPING COUNTRY LOCKED STYLING
   ===================================================== */

/* Make Namibia-only shipping visually clear */
#shipping_country_field select,
#shipping_country {
    background-color: #f8f8f8 !important;
    color: #555 !important;
    cursor: default !important;
    pointer-events: none !important;
    border-color: #ddd !important;
}

#shipping_country_field label::after {
    content: ' (Namibia only)';
    color: #999;
    font-size: 12px;
    font-weight: normal;
}

