/* Makkadamia Shared Design System */

/* --- 1. Noise & Texture Overlays --- */
.bg-structure {
  background-image: radial-gradient(
    circle,
    rgba(30, 58, 138, 0.15) 1px,
    transparent 1px
  );
  background-size: 40px 40px;
}

.bg-blade {
  position: fixed;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.03) 0%,
    rgba(59, 130, 246, 0.02) 100%
  );
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
  pointer-events: none;
  z-index: 1;
}

/* Noise Filter Class - Apply to a fixed div */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.05;
  filter: url(#makkadamia-noise);
}

/* --- 2. Animations --- */

/* Reveal on Scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}

/* Marquee Animation */
@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

/* --- 3. Utilities --- */
.logo-diamond::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background: currentColor;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  margin-right: 12px;
  vertical-align: middle;
}

.mkd-footer-logo-wrap {
  display: inline-block;
  max-width: 100%;
}

.mkd-footer-logo {
  display: block;
  width: min(520px, 100%);
  max-width: 100%;
  height: auto !important;
  object-fit: contain;
}

/* --- 4. Mobile Menu --- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: rgba(248, 250, 252, 0.98);
  backdrop-filter: blur(10px);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mobile-menu.open {
  transform: translateX(0);
}

.menu-toggle {
  z-index: 101;
  position: relative;
  width: 30px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: all 0.3s ease;
}

/* Hamburger Animation */
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- 5. Slide-out Cart --- */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(23, 37, 84, 0.4); /* cobalt-dark/40 */
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.side-cart {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 450px;
    height: 100vh;
    background: #f8fafc; /* canvas */
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(30, 58, 138, 0.1);
}

.side-cart.open {
    transform: translateX(0);
}

.cart-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(30, 58, 138, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

.cart-footer {
    padding: 2rem;
    border-top: 1px solid rgba(30, 58, 138, 0.1);
    background: white;
}

/* --- 6. Accessibility Utilities --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #1e3a8a;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 9999;
    font-weight: bold;
}

.skip-link:focus {
    top: 0;
}

/* Focus Visible States */
*:focus-visible {
    outline: 3px solid #3b82f6;
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid #3b82f6;
    outline-offset: 2px;
}

/* --- 7. Loading States & Animations --- */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.6s linear infinite;
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: pulse 1.5s ease-in-out infinite;
    border-radius: 4px;
}

/* --- 8. Toast Notifications --- */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
}

.toast {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(30, 58, 138, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 300px;
    pointer-events: auto;
    animation: slideInUp 0.3s ease-out;
    border-left: 4px solid #1e3a8a;
}

.toast.success {
    border-left-color: #10b981;
}

.toast.error {
    border-left-color: #ef4444;
}

.toast.warning {
    border-left-color: #f59e0b;
}

.toast-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: bold;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    color: #1e3a8a;
}

.toast-message {
    font-size: 0.875rem;
    color: #4a3728;
}

.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 1.25rem;
    color: #9ca3af;
    transition: color 0.2s;
}

.toast-close:hover {
    color: #1e3a8a;
}

/* --- 9. Search Bar --- */
.search-container {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: 2px solid rgba(30, 58, 138, 0.15);
    border-radius: 12px;
    background: white;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

.search-results {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid rgba(30, 58, 138, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(30, 58, 138, 0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 1rem;
    border-bottom: 1px solid rgba(30, 58, 138, 0.05);
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-result-item:hover {
    background: rgba(30, 58, 138, 0.03);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.search-result-info {
    flex: 1;
}

.search-result-title {
    font-weight: bold;
    font-size: 0.875rem;
    color: #1e3a8a;
    margin-bottom: 0.25rem;
}

.search-result-price {
    font-size: 0.875rem;
    color: #d4a373;
    font-weight: bold;
}

/* --- 10. Cart Badge --- */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    animation: fadeIn 0.3s ease-out;
}

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

/* --- 11. Floating Mobile Button --- */
.floating-mobile-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: #1e3a8a;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.3);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: bold;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 50;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.floating-mobile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(30, 58, 138, 0.4);
}

.floating-mobile-btn:active {
    transform: translateY(0);
}

@media (min-width: 768px) {
    .floating-mobile-btn {
        display: none;
    }
}

/* --- 12. Glass Panel (for widgets) --- */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(30, 58, 138, 0.1);
    position: relative;
    overflow: hidden;
}

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

.glass-panel:hover::before {
    left: 100%;
}

.scan {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.8s ease;
}

.glass-panel:hover .scan {
    left: 100%;
}

/* --- 13. Hover Lift Effect --- */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(30, 58, 138, 0.15);
}

/* --- 14. Tech Tag (small labels) --- */
.tech-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(30, 58, 138, 0.1);
    border: 1px solid rgba(30, 58, 138, 0.2);
    border-radius: 6px;
    font-family: 'Space Mono', monospace;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
    color: #1e3a8a;
}

/* --- 15. Form Validation States --- */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(30, 58, 138, 0.15);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input.error,
.form-textarea.error {
    border-color: #ef4444;
}

.form-input.success,
.form-textarea.success {
    border-color: #10b981;
}

.form-error,
.form-success {
    font-size: 0.75rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-error {
    color: #ef4444;
}

.form-success {
    color: #10b981;
}

/* --- 16. Active Nav Indicator --- */
.nav-link {
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 3px;
    background: #d4a373;
    border-radius: 2px;
}

.nav-link.active {
    color: #d4a373 !important;
}

/* --- 17. Trust Badges --- */
.trust-badges {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 0;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(30, 58, 138, 0.05);
    border: 1px solid rgba(30, 58, 138, 0.1);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #1e3a8a;
}

.trust-badge-icon {
    font-size: 1.25rem;
    color: #10b981;
}

/* --- 18. Product Quick Actions --- */
.product-quick-actions {
    display: flex;
    gap: 0.5rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-quick-actions {
    opacity: 1;
}

.quick-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.quick-action-btn:hover {
    background: #1e3a8a;
    color: white;
    transform: scale(1.1);
}

/* --- 19. Responsive Utilities --- */
@media (max-width: 768px) {
    .toast-container {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }

    .toast {
        min-width: auto;
        width: 100%;
    }

    .search-container {
        max-width: 100%;
    }
}

/* ============================================
   NIVEL 1 - ANIMACIONES BÁSICAS (Impacto Rápido)
   ============================================ */

/* --- 20. Enhanced Product Card Hover --- */
.product-card-enhanced {
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.3s ease;
}

.product-card-enhanced:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(30, 58, 138, 0.15),
                0 10px 20px rgba(30, 58, 138, 0.1);
    border-color: #1e3a8a;
}

.product-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.03) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.product-card-enhanced:hover::before {
    opacity: 1;
}

/* --- 21. Image Zoom Effect --- */
.img-zoom-container {
    overflow: hidden;
    position: relative;
}

.img-zoom {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1),
                filter 0.4s ease;
    will-change: transform;
}

.img-zoom-container:hover .img-zoom,
.product-card-enhanced:hover .img-zoom {
    transform: scale(1.08);
    filter: brightness(1.02) saturate(1.05);
}

/* Overlay on image hover */
.img-zoom-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 58, 138, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.img-zoom-container:hover::after {
    opacity: 1;
}

/* --- 22. Animated Underline Navigation --- */
.nav-link-animated {
    position: relative;
    display: inline-block;
}

.nav-link-animated::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4a373, #1e3a8a);
    transition: width 0.3s cubic-bezier(0.23, 1, 0.32, 1),
                left 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
}

.nav-link-animated:hover::after {
    width: 100%;
    left: 0;
}

.nav-link-animated.active::after {
    width: 100%;
    left: 0;
    background: #d4a373;
}

/* Variant: Underline from left */
.nav-link-underline-left::after {
    left: 0;
}

.nav-link-underline-left:hover::after {
    width: 100%;
}

/* --- 23. Button Ripple Effect --- */
.btn-ripple {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn-ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
    opacity: 0;
    z-index: -1;
}

.btn-ripple:active::before {
    width: 300px;
    height: 300px;
    opacity: 1;
    transition: width 0s, height 0s, opacity 0s;
}

/* Alternative: Shine sweep effect */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    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 ease;
}

.btn-shine:hover::after {
    left: 100%;
}

/* Button hover lift */
.btn-hover-lift {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.25);
}

.btn-hover-lift:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.2);
}

/* --- 24. Button Scale Press --- */
.btn-press {
    transition: transform 0.15s ease;
}

.btn-press:active {
    transform: scale(0.97);
}

/* --- 25. Card Hover Glow --- */
.card-glow {
    transition: box-shadow 0.4s ease;
}

.card-glow:hover {
    box-shadow: 0 0 30px rgba(30, 58, 138, 0.15),
                0 0 60px rgba(59, 130, 246, 0.1);
}

/* --- 26. Icon Bounce on Hover --- */
.icon-bounce {
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.icon-bounce:hover {
    transform: scale(1.2);
}

.icon-bounce:hover i,
.icon-bounce:hover svg {
    animation: iconBounce 0.4s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* --- 27. Focus Ring Animation --- */
.focus-ring-animated:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4);
    animation: focusPulse 1.5s ease infinite;
}

@keyframes focusPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.2); }
}

/* --- 28. Stagger Animation Delays --- */
.stagger-1 { animation-delay: 0.05s; }
.stagger-2 { animation-delay: 0.1s; }
.stagger-3 { animation-delay: 0.15s; }
.stagger-4 { animation-delay: 0.2s; }
.stagger-5 { animation-delay: 0.25s; }
.stagger-6 { animation-delay: 0.3s; }
.stagger-7 { animation-delay: 0.35s; }
.stagger-8 { animation-delay: 0.4s; }

/* --- 29. Quick Action Button Enhanced --- */
.quick-action-btn-enhanced {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.15);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateY(10px);
    opacity: 0;
}

.product-card-enhanced:hover .quick-action-btn-enhanced {
    transform: translateY(0);
    opacity: 1;
}

.quick-action-btn-enhanced:nth-child(1) { transition-delay: 0s; }
.quick-action-btn-enhanced:nth-child(2) { transition-delay: 0.05s; }
.quick-action-btn-enhanced:nth-child(3) { transition-delay: 0.1s; }

.quick-action-btn-enhanced:hover {
    background: #1e3a8a;
    color: white;
    transform: translateY(0) scale(1.15);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
}

/* --- 30. Badge Pulse --- */
.badge-pulse {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Badge pop-in animation */
.badge-pop {
    animation: badgePop 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes badgePop {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

/* ============================================
   NIVEL 2 - COMMERCIAL COMPONENTS
   ============================================ */

/* --- 31. Commercial Badges --- */
.badge-discount {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.75rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.badge-save {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: #fef3c7;
    color: #92400e;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    border: 1px solid #fcd34d;
}

/* --- 32. Price Styling --- */
.price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.price-original {
    font-size: 0.875rem;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 500;
}

.price-discount {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ef4444;
}

/* --- 33. Promo Banner --- */
.promo-banner {
    background: linear-gradient(90deg, #1e3a8a 0%, #3b82f6 50%, #1e3a8a 100%);
    background-size: 200% 100%;
    animation: promoBannerGradient 8s ease infinite;
    color: white;
    padding: 0.75rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    position: relative;
    z-index: 60;
}

@keyframes promoBannerGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.promo-banner p {
    margin: 0;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.promo-banner strong {
    color: #fcd34d;
}

.promo-close {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    padding: 0.25rem;
    line-height: 1;
}

.promo-close:hover {
    opacity: 1;
}

/* --- 34. Certifications Section --- */
.certification-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2rem;
    background: white;
    border: 1px solid rgba(30, 58, 138, 0.1);
    border-radius: 12px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.certification-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(30, 58, 138, 0.1);
    border-color: #1e3a8a;
}

.certification-logo img {
    max-height: 50px;
    width: auto;
}

.certification-logo span {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #1e3a8a;
}

/* --- 35. Lifestyle Grid --- */
.lifestyle-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 16/9;
}

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

.lifestyle-card:hover img {
    transform: scale(1.08);
}

.lifestyle-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(23, 37, 84, 0.9) 0%, rgba(23, 37, 84, 0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: white;
}

.lifestyle-card-overlay h3 {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.lifestyle-card-overlay p {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.lifestyle-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #d4a373;
    transition: gap 0.3s ease;
}

.lifestyle-card:hover .lifestyle-card-link {
    gap: 1rem;
}

/* --- 36. Values Grid --- */
.value-item {
    text-align: center;
    padding: 1.5rem 1rem;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-4px);
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: rgba(30, 58, 138, 0.05);
    border: 2px solid rgba(30, 58, 138, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #1e3a8a;
    transition: all 0.3s ease;
}

.value-item:hover .value-icon {
    background: #1e3a8a;
    color: white;
    border-color: #1e3a8a;
}

.value-item h4 {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #1e3a8a;
    margin: 0;
}

/* --- 37. Hero Full-Width Banner --- */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-banner-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(23, 37, 84, 0.85) 0%,
        rgba(30, 58, 138, 0.75) 50%,
        rgba(23, 37, 84, 0.9) 100%
    );
    z-index: 1;
}

.hero-banner-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.hero-banner-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.hero-banner-tag i {
    color: #d4a373;
}

.hero-banner h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-banner h1 span {
    color: #d4a373;
}

.hero-banner-subtitle {
    font-size: 1.125rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-banner-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-banner-cta-primary {
    background: #d4a373;
    color: #172554;
    padding: 1rem 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-banner-cta-primary:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.hero-banner-cta-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-banner-cta-secondary:hover {
    background: white;
    color: #1e3a8a;
    border-color: white;
    transform: translateY(-3px);
}

.hero-banner-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-banner-trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.hero-banner-trust-item i {
    font-size: 1.5rem;
    color: #d4a373;
}

/* Decorative elements */
.hero-banner-deco {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.hero-banner-deco-1 {
    top: 10%;
    left: 5%;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-banner-deco-2 {
    bottom: 15%;
    right: 8%;
    width: 80px;
    height: 80px;
    background: rgba(212, 163, 115, 0.1);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: float 8s ease-in-out infinite reverse;
}

.hero-banner-deco-3 {
    top: 20%;
    right: 12%;
    font-size: 4rem;
    opacity: 0.05;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    opacity: 0.6;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator span {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-family: 'Space Mono', monospace;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-banner {
        min-height: 100vh;
    }

    .hero-banner-trust {
        gap: 1rem;
    }

    .hero-banner-trust-item span {
        display: none;
    }

    .hero-banner-ctas {
        flex-direction: column;
        align-items: center;
    }

    .hero-banner-cta-primary,
    .hero-banner-cta-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* --- 38. Animated Counters --- */
.counter-number {
    display: inline-block;
    font-variant-numeric: tabular-nums;
}

.counter-number.counting {
    animation: countPulse 0.1s ease;
}

@keyframes countPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* --- 39. Product Carousel --- */
.product-carousel-section {
    position: relative;
    overflow: hidden;
}

.product-carousel-wrapper {
    position: relative;
}

.product-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0 2rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.product-carousel::-webkit-scrollbar {
    display: none;
}

.product-carousel-item {
    flex: 0 0 300px;
    scroll-snap-align: start;
    background: white;
    border: 1px solid rgba(30, 58, 138, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-carousel-item:first-child {
    margin-left: 2rem;
}

.product-carousel-item:last-child {
    margin-right: 2rem;
}

.product-carousel-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.15);
    border-color: #1e3a8a;
}

.product-carousel-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-carousel-item:hover .product-carousel-image img {
    transform: scale(1.08);
}

.product-carousel-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

.product-carousel-content {
    padding: 1.5rem;
}

.product-carousel-title {
    font-size: 1.125rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #1e3a8a;
    margin-bottom: 0.5rem;
}

.product-carousel-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.product-carousel-btn {
    display: block;
    width: 100%;
    padding: 0.875rem;
    background: #1e3a8a;
    color: white;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
}

.product-carousel-btn:hover {
    background: #172554;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: white;
    border: 2px solid rgba(30, 58, 138, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: #1e3a8a;
    font-size: 1.25rem;
}

.carousel-nav:hover {
    background: #1e3a8a;
    color: white;
    border-color: #1e3a8a;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav-prev {
    left: 1rem;
}

.carousel-nav-next {
    right: 1rem;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(30, 58, 138, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot.active,
.carousel-dot:hover {
    background: #1e3a8a;
    transform: scale(1.2);
}

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

    .product-carousel-item {
        flex: 0 0 280px;
    }

    .product-carousel-item:first-child {
        margin-left: 1rem;
    }

    .product-carousel-item:last-child {
        margin-right: 1rem;
    }
}

/* --- 40. Instagram Feed --- */
.instagram-feed {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
}

.instagram-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.3s ease;
}

.instagram-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.instagram-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 2rem;
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

.instagram-cta {
    text-align: center;
    padding: 2rem;
}

.instagram-cta a {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #1e3a8a;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.instagram-cta a:hover {
    color: #d4a373;
    gap: 1rem;
}

.instagram-cta i {
    font-size: 1.5rem;
}

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

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

/* ============================================
   TIENDA PAGE COMPONENTS
   ============================================ */

/* --- 41. Shop Hero Banner --- */
.shop-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 40%, #3b82f6 70%, #1d4ed8 100%);
    background-size: 300% 300%;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: shopHeroGradient 10s ease-in-out infinite;
}

/* --- 41.1 Cart Layout Tweaks --- */
.woocommerce-cart-form .quantity {
    display: inline-flex;
    align-items: center;
    border: 2px solid #1e3a8a;
}

.woocommerce-cart-form .quantity .qty {
    width: 56px;
    padding: 0.5rem 0.75rem;
    border: 0;
    text-align: center;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    color: #1e3a8a;
    background: transparent;
}

.woocommerce-cart-form .quantity .qty:focus {
    outline: none;
}

.woocommerce-checkout .input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(30, 58, 138, 0.2);
    background: #fff;
    color: #1e3a8a;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
}

.woocommerce-checkout .form-row {
    margin-bottom: 1rem;
}

.woocommerce-checkout textarea {
    min-height: 120px;
}

.woocommerce-checkout .woocommerce-checkout-review-order table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.woocommerce-checkout .woocommerce-checkout-review-order th,
.woocommerce-checkout .woocommerce-checkout-review-order td {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(30, 58, 138, 0.15);
}

.woocommerce-checkout .woocommerce-checkout-review-order .order-total th,
.woocommerce-checkout .woocommerce-checkout-review-order .order-total td {
    font-size: 1.1rem;
    font-weight: 900;
    color: #1e3a8a;
}

.woocommerce-checkout .woocommerce-checkout-payment .payment_box {
    border: 1px solid rgba(30, 58, 138, 0.15);
    background: rgba(30, 58, 138, 0.05);
    padding: 1rem;
    margin-top: 0.75rem;
}

.woocommerce-checkout .woocommerce-checkout-payment ul.payment_methods {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    border: 1px solid rgba(30, 58, 138, 0.15);
    background: #fff;
}

.woocommerce-checkout .woocommerce-checkout-payment ul.payment_methods > li {
    margin: 0;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(30, 58, 138, 0.12);
}

.woocommerce-checkout .woocommerce-checkout-payment ul.payment_methods > li:last-child {
    border-bottom: 0;
}

.woocommerce-checkout .woocommerce-checkout-payment ul.payment_methods input[type="radio"] {
    margin-right: 0.45rem;
    vertical-align: top;
    margin-top: 0.2rem;
}

.woocommerce-checkout .woocommerce-checkout-payment ul.payment_methods label {
    display: inline;
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.45;
    color: #1e3a8a;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.woocommerce-checkout .woocommerce-checkout-payment .payment_box,
.woocommerce-checkout .woocommerce-checkout-payment .payment_box * {
    white-space: normal !important;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.woocommerce-checkout .woocommerce-checkout-payment .payment_box p {
    margin: 0.5rem 0 0;
    color: #1e3a8a;
    line-height: 1.6;
}

.woocommerce-checkout .woocommerce-checkout-payment .mkd-bacs-details {
    margin-top: 0.9rem;
    padding-top: 0.8rem;
    border-top: 1px dashed rgba(30, 58, 138, 0.25);
}

.woocommerce-checkout .woocommerce-checkout-payment .mkd-bacs-heading {
    margin: 0 0 0.5rem;
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.72rem;
    color: #1e3a8a;
}

.woocommerce-checkout .woocommerce-checkout-payment .mkd-bacs-account + .mkd-bacs-account {
    margin-top: 0.85rem;
}

.woocommerce-checkout .woocommerce-checkout-payment .mkd-bacs-account h4 {
    margin: 0 0 0.45rem;
    font-size: 0.9rem;
    font-weight: 800;
    color: #172554;
}

.woocommerce-checkout .woocommerce-checkout-payment .mkd-bacs-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-checkout .woocommerce-checkout-payment .mkd-bacs-list li {
    margin: 0.2rem 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #1e3a8a;
}

.woocommerce-checkout .woocommerce-checkout-payment .mkd-bacs-list li span {
    color: #4a3728;
}

/* --- 41.2 Pagination (Shop/Blog/Archive) --- */
.mkd-pagination .page-numbers,
.navigation.pagination .page-numbers {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.mkd-pagination .page-numbers li,
.navigation.pagination .page-numbers li {
    margin: 0;
}

.mkd-pagination .page-numbers a,
.mkd-pagination .page-numbers span,
.navigation.pagination .page-numbers a,
.navigation.pagination .page-numbers span {
    min-width: 44px;
    height: 44px;
    padding: 0 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(30, 58, 138, 0.25);
    background: #fff;
    color: #1e3a8a;
    font-family: 'Space Mono', monospace;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mkd-pagination .page-numbers a:hover,
.navigation.pagination .page-numbers a:hover {
    background: #1e3a8a;
    border-color: #1e3a8a;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.2);
}

.mkd-pagination .page-numbers .current,
.navigation.pagination .page-numbers .current {
    background: #1e3a8a;
    border-color: #1e3a8a;
    color: #fff;
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.2);
}

.mkd-pagination .page-numbers .dots,
.navigation.pagination .page-numbers .dots {
    border-style: dashed;
    color: #4a3728;
    background: #f8fafc;
}

.woocommerce-checkout .woocommerce-checkout-payment .place-order .button {
    width: 100%;
    padding: 1.25rem;
    background: #1e3a8a;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 0;
    cursor: pointer;
}

.woocommerce-checkout .woocommerce-checkout-payment .place-order .button:hover {
    background: #172554;
}

/* --- 41.2 Single Product Variations (Button Style) --- */
.mkd-product-price {
    font-size: 2.5rem;
    color: #1f2937;
}

.mkd-variation-select {
    position: absolute;
    left: -9999px;
}

.woocommerce-variation-price {
    display: none;
}

.reset_variations {
    display: none !important;
}

.single-product form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.single-product .variations_form .woocommerce-variation-add-to-cart {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.single-product form.cart .quantity {
    margin: 0;
}

.single-product form.cart .quantity input.qty {
    width: 90px;
    height: 52px;
    background: #e5e7eb;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: center;
    color: #1f2937;
}

.single-product form.cart .single_add_to_cart_button {
    background: #1f2937;
    color: #fff;
    padding: 0.85rem 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 0;
    cursor: pointer;
    border-radius: 6px;
}

.single-product form.cart .single_add_to_cart_button:hover {
    background: #111827;
}

.mkd-variation-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.mkd-variation-btn {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(30, 58, 138, 0.2);
    background: #fff;
    color: #1f2937;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.8rem;
    border-radius: 6px;
    cursor: pointer;
}

.mkd-variation-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(30, 58, 138, 0.35);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.mkd-variation-btn:focus-visible {
    outline: 3px solid rgba(59, 130, 246, 0.35);
    outline-offset: 2px;
}

.mkd-variation-btn.is-active {
    background: #1e3a8a;
    color: #fff;
    border-color: #1e3a8a;
    box-shadow: 0 6px 16px rgba(30, 58, 138, 0.2);
}

.mkd-variation-btn.is-disabled,
.mkd-variation-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.mkd-add-to-cart .quantity .qty {
    background: #e5e7eb;
    border-radius: 4px;
}

.mkd-add-to-cart .single_add_to_cart_button {
    background: #1f2937;
    color: #fff;
    padding: 0.85rem 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 0;
    cursor: pointer;
    border-radius: 6px;
}

.mkd-add-to-cart .single_add_to_cart_button:hover {
    background: #111827;
}

.mkd-qty {
    display: inline-flex;
    align-items: center;
    border: 2px solid #1e3a8a;
}

.mkd-qty .quantity {
    border: 0;
}

.mkd-qty-btn {
    padding: 0.5rem 0.75rem;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    color: #1e3a8a;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.mkd-qty-btn:hover {
    background: #1e3a8a;
    color: #fff;
}

/* --- 41.3 Thank You Page --- */
.mkd-thankyou__hero-card {
    background: #fff;
    border: 1px solid rgba(30, 58, 138, 0.15);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.mkd-thankyou__logo {
    width: min(320px, 100%);
    height: auto;
    margin: 0 auto 1rem;
}

.mkd-thankyou__hero-card h2 {
    margin: 0 0 0.5rem;
    color: #1e3a8a;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.mkd-thankyou__hero-card p {
    margin: 0;
    color: #4a3728;
}

.mkd-thankyou .woocommerce-thankyou-order-received {
    margin-bottom: 1.25rem;
    font-family: 'Space Mono', monospace;
    color: #1e3a8a;
    font-weight: 700;
}

.mkd-thankyou__details {
    margin: 1.5rem 0 2rem;
    padding: 1.5rem;
    border: 1px solid rgba(30, 58, 138, 0.15);
    background: #fff;
}

.mkd-thankyou__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.mkd-thankyou__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.2rem;
    border-radius: 6px;
    border: 1px solid rgba(30, 58, 138, 0.2);
    background: #fff;
    color: #1e3a8a;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.75rem;
    text-decoration: none;
}

.mkd-thankyou__btn--primary {
    background: #1e3a8a;
    border-color: #1e3a8a;
    color: #fff;
}

.mkd-thankyou__btn:hover {
    background: #172554;
    border-color: #172554;
    color: #fff;
}

.mkd-thankyou__cod-note {
    margin-bottom: 1rem;
    border-left: 4px solid #d4a373;
    background: #fef3e7;
    color: #4a3728;
    padding: 0.9rem 1rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .mkd-thankyou__actions {
        flex-direction: column;
    }

    .mkd-thankyou__btn {
        width: 100%;
    }
}

/* --- 41.4 Floating WhatsApp Button --- */
.mkd-floating-whatsapp {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 80;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    animation: mkd-wa-float 2.6s ease-in-out infinite;
}

.mkd-floating-whatsapp__label {
    background: #111827;
    color: #fff;
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateX(8px);
    transition: all 0.2s ease;
}

.mkd-floating-whatsapp__icon {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: #22c55e;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    box-shadow: 0 10px 26px rgba(34, 197, 94, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.mkd-floating-whatsapp__icon::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 999px;
    border: 2px solid rgba(34, 197, 94, 0.5);
    animation: mkd-wa-ring 1.8s ease-out infinite;
}

.mkd-floating-whatsapp:hover .mkd-floating-whatsapp__label {
    opacity: 1;
    transform: translateX(0);
}

.mkd-floating-whatsapp:hover .mkd-floating-whatsapp__icon {
    transform: scale(1.06);
    background: #16a34a;
    box-shadow: 0 14px 32px rgba(22, 163, 74, 0.45);
}

.mkd-floating-whatsapp:focus-visible {
    outline: 3px solid rgba(34, 197, 94, 0.35);
    outline-offset: 3px;
    border-radius: 999px;
}

@keyframes mkd-wa-ring {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

@keyframes mkd-wa-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

body.woocommerce-cart .mkd-floating-whatsapp {
    bottom: 5.5rem;
}

@media (max-width: 768px) {
    .mkd-floating-whatsapp {
        right: 1rem;
        bottom: 1rem;
    }

    .mkd-floating-whatsapp__label {
        display: none;
    }

    .mkd-floating-whatsapp__icon {
        width: 54px;
        height: 54px;
        font-size: 1.7rem;
    }
}

.shop-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.shop-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    position: relative;
}

.shop-hero p {
    opacity: 0.8;
    font-size: 1rem;
    position: relative;
}

@keyframes shopHeroGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
}

.breadcrumb a {
    opacity: 0.6;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb span {
    opacity: 0.4;
}

/* --- 42. Shop Toolbar --- */
.shop-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(30, 58, 138, 0.1);
    margin-bottom: 2rem;
}

.shop-toolbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.shop-toolbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-count {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #4a3728;
    opacity: 0.7;
}

.product-count strong {
    color: #1e3a8a;
    opacity: 1;
}

/* Sort Dropdown */
.sort-select {
    appearance: none;
    background: white;
    border: 1px solid rgba(30, 58, 138, 0.15);
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    border-radius: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231e3a8a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.sort-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* View Toggle */
.view-toggle {
    display: flex;
    border: 1px solid rgba(30, 58, 138, 0.15);
    border-radius: 8px;
    overflow: hidden;
}

.view-toggle-btn {
    padding: 0.75rem 1rem;
    background: white;
    border: none;
    cursor: pointer;
    color: #1e3a8a;
    opacity: 0.5;
    transition: all 0.3s;
}

.view-toggle-btn:hover {
    opacity: 0.8;
}

.view-toggle-btn.active {
    background: #1e3a8a;
    color: white;
    opacity: 1;
}

/* --- 43. Filter Pills --- */
.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-pill {
    padding: 0.625rem 1.25rem;
    background: white;
    border: 1px solid rgba(30, 58, 138, 0.15);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    color: #1e3a8a;
}

.filter-pill:hover {
    border-color: #1e3a8a;
    transform: translateY(-2px);
}

.filter-pill.active {
    background: #1e3a8a;
    color: white;
    border-color: #1e3a8a;
}

.filter-pill .count {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.125rem 0.5rem;
    background: rgba(30, 58, 138, 0.1);
    border-radius: 50px;
    font-size: 0.625rem;
}

.filter-pill.active .count {
    background: rgba(255, 255, 255, 0.2);
}

/* --- 44. Shop Sidebar --- */
.shop-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: white;
    border: 1px solid rgba(30, 58, 138, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-widget-title {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #1e3a8a;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(30, 58, 138, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-widget-title i {
    color: #d4a373;
}

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

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #4a3728;
    transition: all 0.3s;
}

.category-list a:hover,
.category-list a.active {
    background: rgba(30, 58, 138, 0.05);
    color: #1e3a8a;
}

.category-list a.active {
    font-weight: 700;
}

.category-count {
    font-family: 'Space Mono', monospace;
    font-size: 0.625rem;
    background: rgba(30, 58, 138, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
}

/* Price Range */
.price-range {
    margin-top: 1rem;
}

.price-inputs {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.price-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid rgba(30, 58, 138, 0.15);
    border-radius: 8px;
    font-size: 0.875rem;
    text-align: center;
}

.price-input:focus {
    outline: none;
    border-color: #3b82f6;
}

/* --- 45. Product Card Enhanced for Shop --- */
.shop-product-card {
    background: white;
    border: 1px solid rgba(30, 58, 138, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.shop-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.12);
    border-color: #1e3a8a;
}

.shop-product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.shop-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.shop-product-card:hover .shop-product-image img {
    transform: scale(1.08);
}

.shop-product-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 2;
}

.shop-product-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    z-index: 2;
}

.shop-product-card:hover .shop-product-actions {
    opacity: 1;
    transform: translateX(0);
}

.shop-action-btn {
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: #1e3a8a;
}

.shop-action-btn:hover {
    background: #1e3a8a;
    color: white;
    transform: scale(1.1);
}

.shop-product-content {
    padding: 1.25rem;
}

.shop-product-category {
    font-family: 'Space Mono', monospace;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #d4a373;
    margin-bottom: 0.5rem;
}

.shop-product-title {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #1e3a8a;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.shop-product-card:hover .shop-product-title {
    color: #3b82f6;
}

.shop-product-price {
    font-size: 1.125rem;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.shop-product-btn {
    display: block;
    width: 100%;
    padding: 0.875rem;
    background: #1e3a8a;
    color: white;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.shop-product-btn:hover {
    background: #172554;
}

/* List View */
.products-list .shop-product-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-radius: 12px;
}

.products-list .shop-product-image {
    aspect-ratio: 1;
    border-radius: 12px 0 0 12px;
}

.products-list .shop-product-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
}

.products-list .shop-product-btn {
    width: auto;
    align-self: flex-start;
    padding: 0.75rem 2rem;
}

@media (max-width: 768px) {
    .shop-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-toolbar-left,
    .shop-toolbar-right {
        justify-content: space-between;
    }

    .products-list .shop-product-card {
        grid-template-columns: 1fr;
    }

    .products-list .shop-product-image {
        border-radius: 12px 12px 0 0;
    }
}
