/**
 * MAGGWEAR E-TICARET - Premium UI Enhancements
 *
 * Layered ON TOP of style.css. No base rules duplicated.
 * Requires: --primary, --accent, --font-family and other vars from style.css
 *
 * @author  MaggWear Team
 * @version 1.0.0
 */

/* ================================================================
   PREMIUM CUSTOM PROPERTIES
   ================================================================ */
:root {
    --pm-gradient-start: #0f172a;
    --pm-gradient-mid: #1e293b;
    --pm-gradient-end: #0f3460;
    --pm-accent-gradient: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    --pm-gold: #f0c27f;
    --pm-gold-end: #f97316;
    --pm-glass-bg: rgba(255, 255, 255, 0.12);
    --pm-glass-border: rgba(255, 255, 255, 0.18);
    --pm-glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    --pm-blur: 16px;
    --pm-radius-lg: 16px;
    --pm-radius-xl: 24px;
    --pm-ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --pm-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --pm-duration: 0.5s;
    --pm-duration-fast: 0.3s;
    --pm-shimmer: linear-gradient(
        110deg,
        transparent 25%,
        rgba(255, 255, 255, 0.3) 37%,
        transparent 63%
    );
}

/* ================================================================
   1. ANIMATED GRADIENT BACKGROUNDS - HERO
   ================================================================ */
.hero-section.premium-hero {
    background: linear-gradient(
        -45deg,
        var(--pm-gradient-start),
        var(--pm-gradient-mid),
        var(--pm-gradient-end),
        #0f172a
    );
    background-size: 400% 400%;
    animation: pmGradientShift 12s ease infinite;
}

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

.hero-section.premium-hero .hero-overlay {
    background: radial-gradient(
        ellipse at 30% 50%,
        rgba(249, 115, 22, 0.12) 0%,
        transparent 70%
    );
}

/* ================================================================
   2. GLASS MORPHISM EFFECTS
   ================================================================ */
.glass-card {
    background: var(--pm-glass-bg);
    backdrop-filter: blur(var(--pm-blur));
    -webkit-backdrop-filter: blur(var(--pm-blur));
    border: 1px solid var(--pm-glass-border);
    border-radius: var(--pm-radius-lg);
    box-shadow: var(--pm-glass-shadow);
}

.glass-card-light {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--pm-radius-lg);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.glass-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--pm-duration-fast) ease, visibility var(--pm-duration-fast) ease;
}

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

/* ================================================================
   3. PREMIUM PRODUCT CARD HOVER - 3D TILT, IMAGE ZOOM, QUICK VIEW
   ================================================================ */
.product-card.premium-card {
    perspective: 800px;
    transform-style: preserve-3d;
}

.product-card.premium-card .product-card-image {
    overflow: hidden;
    position: relative;
}

.product-card.premium-card .product-card-image img {
    transition: transform 0.6s var(--pm-ease-out-expo);
}

.product-card.premium-card:hover .product-card-image img {
    transform: scale(1.1);
}

.product-card.premium-card .product-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.55) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity var(--pm-duration-fast) ease;
    pointer-events: none;
}

.product-card.premium-card:hover .product-card-image::after {
    opacity: 1;
}

.pm-quick-view {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translate(-50%, 20px);
    opacity: 0;
    z-index: 3;
    padding: 8px 22px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    border: 2px solid var(--white);
    border-radius: 30px;
    color: var(--white);
    background: transparent;
    cursor: pointer;
    transition:
        opacity var(--pm-duration-fast) ease,
        transform var(--pm-duration-fast) var(--pm-ease-spring),
        background var(--pm-duration-fast) ease;
}

.product-card.premium-card:hover .pm-quick-view {
    opacity: 1;
    transform: translate(-50%, 0);
}

.pm-quick-view:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

/* ================================================================
   4. PAGE TRANSITION KEYFRAMES
   ================================================================ */
@keyframes pmFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

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

@keyframes pmFadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pmSlideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes pmScaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pmRotateIn {
    from {
        opacity: 0;
        transform: rotate(-5deg) scale(0.95);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

.pm-fade-in      { animation: pmFadeIn var(--pm-duration) var(--pm-ease-out-expo) both; }
.pm-fade-in-up   { animation: pmFadeInUp var(--pm-duration) var(--pm-ease-out-expo) both; }
.pm-fade-in-down { animation: pmFadeInDown var(--pm-duration) var(--pm-ease-out-expo) both; }
.pm-slide-left   { animation: pmSlideInLeft var(--pm-duration) var(--pm-ease-out-expo) both; }
.pm-slide-right  { animation: pmSlideInRight var(--pm-duration) var(--pm-ease-out-expo) both; }
.pm-scale-in     { animation: pmScaleIn var(--pm-duration) var(--pm-ease-out-expo) both; }

/* Staggered children delay helpers */
.pm-stagger > :nth-child(1)  { animation-delay: 0.05s; }
.pm-stagger > :nth-child(2)  { animation-delay: 0.10s; }
.pm-stagger > :nth-child(3)  { animation-delay: 0.15s; }
.pm-stagger > :nth-child(4)  { animation-delay: 0.20s; }
.pm-stagger > :nth-child(5)  { animation-delay: 0.25s; }
.pm-stagger > :nth-child(6)  { animation-delay: 0.30s; }
.pm-stagger > :nth-child(7)  { animation-delay: 0.35s; }
.pm-stagger > :nth-child(8)  { animation-delay: 0.40s; }

/* ================================================================
   5. SCROLL-TRIGGERED ANIMATION CLASSES
   ================================================================ */
.animate-on-scroll {
    opacity: 0;
    transition:
        opacity 0.7s var(--pm-ease-out-expo),
        transform 0.7s var(--pm-ease-out-expo);
    will-change: opacity, transform;
}

.animate-on-scroll.fade-up {
    transform: translateY(40px);
}

.animate-on-scroll.fade-down {
    transform: translateY(-40px);
}

.animate-on-scroll.fade-left {
    transform: translateX(-40px);
}

.animate-on-scroll.fade-right {
    transform: translateX(40px);
}

.animate-on-scroll.zoom-in {
    transform: scale(0.9);
}

.animate-on-scroll.is-visible,
.animate-on-scroll.visible,
.animate-on-scroll.animated {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* delay helpers for scroll animations */
.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

/* ================================================================
   6. PREMIUM BUTTONS
   ================================================================ */
.btn-premium {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    border: none;
    border-radius: 50px;
    background: var(--pm-accent-gradient);
    color: var(--white);
    overflow: hidden;
    cursor: pointer;
    transition:
        transform var(--pm-duration-fast) var(--pm-ease-spring),
        box-shadow var(--pm-duration-fast) ease;
    z-index: 0;
}

.btn-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--pm-shimmer);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity var(--pm-duration-fast) ease;
    z-index: 1;
    pointer-events: none;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.35);
    color: var(--white);
}

.btn-premium:hover::before {
    opacity: 1;
    animation: pmShimmer 1.2s ease infinite;
}

.btn-premium:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
}

@keyframes pmShimmer {
    from { background-position: 200% 0; }
    to   { background-position: -200% 0; }
}

.btn-premium-outline {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 32px;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid var(--accent);
    border-radius: 50px;
    background: transparent;
    color: var(--accent);
    overflow: hidden;
    cursor: pointer;
    transition:
        color var(--pm-duration-fast) ease,
        background var(--pm-duration-fast) ease,
        transform var(--pm-duration-fast) var(--pm-ease-spring),
        box-shadow var(--pm-duration-fast) ease;
}

.btn-premium-outline:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.3);
}

.btn-premium-dark {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    cursor: pointer;
    overflow: hidden;
    transition:
        transform var(--pm-duration-fast) var(--pm-ease-spring),
        box-shadow var(--pm-duration-fast) ease;
}

.btn-premium-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.4);
    color: var(--white);
}

/* ================================================================
   7. MODERN FORM INPUTS - FLOATING LABELS & FOCUS GLOW
   ================================================================ */
.pm-form-group {
    position: relative;
    margin-bottom: 24px;
}

.pm-form-group .pm-input {
    width: 100%;
    padding: 16px 16px 8px;
    font-size: 14px;
    font-family: var(--font-family);
    border: 2px solid var(--gray-300);
    border-radius: 12px;
    background: var(--white);
    color: var(--body-color);
    outline: none;
    transition:
        border-color var(--pm-duration-fast) ease,
        box-shadow var(--pm-duration-fast) ease;
}

.pm-form-group .pm-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}

.pm-form-group .pm-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--gray-500);
    pointer-events: none;
    transition:
        top var(--pm-duration-fast) ease,
        font-size var(--pm-duration-fast) ease,
        color var(--pm-duration-fast) ease;
    background: var(--white);
    padding: 0 4px;
}

.pm-form-group .pm-input:focus ~ .pm-label,
.pm-form-group .pm-input:not(:placeholder-shown) ~ .pm-label {
    top: 0;
    font-size: 11px;
    color: var(--accent);
    font-weight: 600;
}

.pm-form-group textarea.pm-input ~ .pm-label {
    top: 16px;
    transform: none;
}

.pm-form-group textarea.pm-input:focus ~ .pm-label,
.pm-form-group textarea.pm-input:not(:placeholder-shown) ~ .pm-label {
    top: -8px;
    transform: none;
}

/* ================================================================
   8. ENHANCED NAVIGATION - STICKY BLUR, DROPDOWN ANIM
   ================================================================ */
.main-header.pm-sticky {
    position: sticky;
    top: 0;
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    background: rgba(15, 23, 42, 0.88);
    transition: background var(--pm-duration-fast) ease;
}

.main-header.pm-sticky.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.main-header .dropdown-menu.pm-dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition:
        opacity var(--pm-duration-fast) var(--pm-ease-out-expo),
        transform var(--pm-duration-fast) var(--pm-ease-out-expo),
        visibility var(--pm-duration-fast) ease;
    display: block !important;
    pointer-events: none;
}

.main-header .dropdown:hover .dropdown-menu.pm-dropdown,
.main-header .dropdown-menu.pm-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.main-header .dropdown-menu.pm-dropdown .dropdown-item {
    position: relative;
    padding-left: 20px;
    transition:
        padding-left var(--pm-duration-fast) ease,
        color var(--pm-duration-fast) ease,
        background var(--pm-duration-fast) ease;
}

.main-header .dropdown-menu.pm-dropdown .dropdown-item:hover {
    padding-left: 26px;
    background: rgba(249, 115, 22, 0.06);
    color: var(--accent);
}

/* ================================================================
   9. PRODUCT IMAGE GALLERY - ZOOM LENS & THUMBNAILS
   ================================================================ */
.pm-gallery {
    position: relative;
}

.pm-gallery-main {
    position: relative;
    overflow: hidden;
    border-radius: var(--pm-radius-lg);
    cursor: zoom-in;
}

.pm-gallery-main img {
    transition: transform 0.4s ease;
    transform-origin: var(--zoom-x, 50%) var(--zoom-y, 50%);
}

.pm-gallery-main:hover img {
    transform: scale(1.8);
}

.pm-gallery-main::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: var(--pm-radius-lg);
    transition: border-color var(--pm-duration-fast) ease;
    pointer-events: none;
}

.pm-gallery-main:hover::after {
    border-color: var(--accent);
}

.pm-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.pm-gallery-thumb {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.6;
    transition:
        opacity var(--pm-duration-fast) ease,
        border-color var(--pm-duration-fast) ease,
        transform var(--pm-duration-fast) var(--pm-ease-spring);
}

.pm-gallery-thumb:hover,
.pm-gallery-thumb.active {
    opacity: 1;
    border-color: var(--accent);
    transform: scale(1.08);
}

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

/* ================================================================
   10. CART PAGE - SLIDE DELETE & QUANTITY COUNTER
   ================================================================ */
.pm-cart-item {
    transition:
        transform 0.4s var(--pm-ease-out-expo),
        opacity 0.4s ease,
        max-height 0.4s ease;
    overflow: hidden;
}

.pm-cart-item.removing {
    transform: translateX(-100%);
    opacity: 0;
    max-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.pm-qty-counter {
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--gray-300);
    border-radius: 50px;
    overflow: hidden;
    background: var(--white);
}

.pm-qty-counter button {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    transition:
        background var(--pm-duration-fast) ease,
        color var(--pm-duration-fast) ease;
}

.pm-qty-counter button:hover {
    background: var(--accent);
    color: var(--white);
}

.pm-qty-counter button:active {
    transform: scale(0.9);
}

.pm-qty-counter .pm-qty-value {
    width: 44px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    border: none;
    outline: none;
    background: transparent;
    color: var(--body-color);
}

/* ================================================================
   11. CONTACT PAGE - ANIMATED CARDS WITH ICON BOUNCE
   ================================================================ */
.pm-contact-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: var(--pm-radius-lg);
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition:
        transform var(--pm-duration-fast) var(--pm-ease-spring),
        box-shadow var(--pm-duration-fast) ease;
}

.pm-contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.pm-contact-card .pm-contact-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--pm-accent-gradient);
    color: var(--white);
    font-size: 24px;
    margin-bottom: 16px;
    transition: transform var(--pm-duration-fast) var(--pm-ease-spring);
}

.pm-contact-card:hover .pm-contact-icon {
    animation: pmIconBounce 0.5s var(--pm-ease-spring);
}

@keyframes pmIconBounce {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.25); }
    50%  { transform: scale(0.95); }
    70%  { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.pm-contact-card .pm-contact-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--primary);
}

.pm-contact-card .pm-contact-text {
    font-size: 14px;
    color: var(--gray-600);
    margin: 0;
}

/* ================================================================
   12. NEWSLETTER SECTION - GRADIENT BG WITH ANIMATED DOTS
   ================================================================ */
.newsletter-section.pm-newsletter {
    position: relative;
    background: linear-gradient(135deg, var(--pm-gradient-start) 0%, var(--pm-gradient-end) 100%);
    overflow: hidden;
}

.pm-newsletter-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.pm-newsletter-particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: pmParticleFloat linear infinite;
}

.pm-newsletter-particles span:nth-child(1) { left: 10%; animation-duration: 8s;  top: 20%; }
.pm-newsletter-particles span:nth-child(2) { left: 25%; animation-duration: 12s; top: 60%; width: 4px; height: 4px; }
.pm-newsletter-particles span:nth-child(3) { left: 40%; animation-duration: 10s; top: 35%; width: 8px; height: 8px; }
.pm-newsletter-particles span:nth-child(4) { left: 55%; animation-duration: 14s; top: 75%; }
.pm-newsletter-particles span:nth-child(5) { left: 70%; animation-duration: 9s;  top: 15%; width: 5px; height: 5px; }
.pm-newsletter-particles span:nth-child(6) { left: 85%; animation-duration: 11s; top: 50%; width: 3px; height: 3px; }
.pm-newsletter-particles span:nth-child(7) { left: 15%; animation-duration: 13s; top: 80%; width: 7px; height: 7px; }
.pm-newsletter-particles span:nth-child(8) { left: 60%; animation-duration: 7s;  top: 40%; }

@keyframes pmParticleFloat {
    0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translateY(-120px) rotate(360deg); opacity: 0; }
}

/* ================================================================
   13. LOADING SKELETON PLACEHOLDERS
   ================================================================ */
.pm-skeleton {
    position: relative;
    overflow: hidden;
    background: var(--gray-200);
    border-radius: 6px;
}

.pm-skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.5) 50%,
        transparent 100%
    );
    animation: pmSkeletonPulse 1.5s ease infinite;
}

@keyframes pmSkeletonPulse {
    from { transform: translateX(-100%); }
    to   { transform: translateX(100%); }
}

.pm-skeleton-text {
    height: 14px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.pm-skeleton-text:last-child {
    width: 70%;
}

.pm-skeleton-title {
    height: 22px;
    width: 60%;
    margin-bottom: 16px;
    border-radius: 6px;
}

.pm-skeleton-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--pm-radius-lg);
}

.pm-skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.pm-skeleton-btn {
    height: 44px;
    width: 140px;
    border-radius: 50px;
}

/* ================================================================
   14. TOAST NOTIFICATIONS (PREMIUM VARIANT)
   ================================================================ */
.pm-toast-notification {
    position: fixed;
    top: 24px;
    right: 24px;
    min-width: 320px;
    max-width: 420px;
    padding: 16px 20px;
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    z-index: 9999;
    transform: translateX(calc(100% + 30px));
    opacity: 0;
    transition:
        transform 0.5s var(--pm-ease-out-expo),
        opacity 0.5s ease;
}

.pm-toast-notification.visible {
    transform: translateX(0);
    opacity: 1;
}

.pm-toast-notification.hiding {
    transform: translateX(calc(100% + 30px));
    opacity: 0;
}

.pm-toast-notification .pm-toast-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.pm-toast-notification.success .pm-toast-icon {
    background: rgba(39, 174, 96, 0.12);
    color: var(--success);
}

.pm-toast-notification.error .pm-toast-icon {
    background: rgba(249, 115, 22, 0.12);
    color: var(--danger);
}

.pm-toast-notification.warning .pm-toast-icon {
    background: rgba(243, 156, 18, 0.12);
    color: var(--warning);
}

.pm-toast-notification.info .pm-toast-icon {
    background: rgba(52, 152, 219, 0.12);
    color: var(--info);
}

.pm-toast-notification .pm-toast-body {
    flex: 1;
    min-width: 0;
}

.pm-toast-notification .pm-toast-title {
    font-weight: 700;
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 2px;
}

.pm-toast-notification .pm-toast-text {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.4;
}

.pm-toast-notification .pm-toast-close {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--gray-500);
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: background var(--pm-duration-fast) ease;
}

.pm-toast-notification .pm-toast-close:hover {
    background: var(--gray-100);
}

.pm-toast-notification .pm-toast-progress {
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 3px;
    border-radius: 3px;
    background: var(--gray-200);
    overflow: hidden;
}

.pm-toast-notification .pm-toast-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border-radius: 3px;
    background: var(--accent);
    animation: pmToastCountdown 4s linear forwards;
}

@keyframes pmToastCountdown {
    from { transform: scaleX(1); transform-origin: left; }
    to   { transform: scaleX(0); transform-origin: left; }
}

/* ================================================================
   15. BREADCRUMB - MODERN SEPARATOR ARROWS
   ================================================================ */
.breadcrumb-section .breadcrumb.pm-breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb.pm-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 2px solid var(--gray-400);
    border-right: 2px solid var(--gray-400);
    transform: rotate(45deg);
    margin-right: 8px;
    vertical-align: middle;
    padding: 0;
    /* reset default BS character */
    float: none;
}

.breadcrumb.pm-breadcrumb .breadcrumb-item a {
    color: var(--gray-600);
    font-weight: 500;
    font-size: 13px;
    transition: color var(--pm-duration-fast) ease;
}

.breadcrumb.pm-breadcrumb .breadcrumb-item a:hover {
    color: var(--accent);
}

.breadcrumb.pm-breadcrumb .breadcrumb-item.active {
    font-weight: 600;
    color: var(--primary);
    font-size: 13px;
}

/* ================================================================
   16. BADGE / PILL - SALE PULSE ANIMATION
   ================================================================ */
.pm-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 50px;
    line-height: 1.4;
}

.pm-badge-sale {
    background: var(--accent);
    color: var(--white);
    animation: pmPulse 2s ease-in-out infinite;
}

@keyframes pmPulse {
    0%   { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.5); }
    70%  { box-shadow: 0 0 0 10px rgba(249, 115, 22, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

.pm-badge-new {
    background: linear-gradient(135deg, #00b894, #00cec9);
    color: var(--white);
}

.pm-badge-hot {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: var(--white);
}

.pm-badge-stock-low {
    background: rgba(243, 156, 18, 0.12);
    color: #d68910;
}

/* ================================================================
   17. CUSTOM SCROLLBAR (WEBKIT)
   ================================================================ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--gray-400) var(--gray-100);
}

/* ================================================================
   18. IMAGE LAZY-LOAD FADE-IN
   ================================================================ */
.pm-lazy {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.pm-lazy.loaded {
    opacity: 1;
}

img[loading="lazy"].pm-lazy-img {
    opacity: 0;
    transition: opacity 0.6s var(--pm-ease-out-expo);
}

img[loading="lazy"].pm-lazy-img.loaded {
    opacity: 1;
}

/* ================================================================
   19. PRICE DISPLAY - STRIKETHROUGH ANIMATION FOR SALE
   ================================================================ */
.pm-price-group {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.pm-price-current {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 800;
    color: var(--accent);
}

.pm-price-old {
    position: relative;
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    color: var(--gray-500);
}

.pm-price-old::after {
    content: '';
    position: absolute;
    left: -4px;
    right: -4px;
    top: 50%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    animation: pmStrikethrough 0.5s 0.3s var(--pm-ease-out-expo) forwards;
}

@keyframes pmStrikethrough {
    to { transform: scaleX(1); }
}

.pm-price-discount {
    display: inline-block;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
    background: var(--accent);
    border-radius: 50px;
}

/* ================================================================
   20. TESTIMONIAL / REVIEW CARDS WITH STAR RATINGS
   ================================================================ */
.pm-testimonial-card {
    padding: 28px;
    border-radius: var(--pm-radius-lg);
    background: var(--white);
    border: 1px solid var(--gray-200);
    position: relative;
    transition:
        transform var(--pm-duration-fast) var(--pm-ease-spring),
        box-shadow var(--pm-duration-fast) ease;
}

.pm-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.pm-testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 72px;
    line-height: 1;
    color: var(--gray-200);
    font-family: Georgia, serif;
    pointer-events: none;
}

.pm-testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 12px;
}

.pm-testimonial-stars .star {
    color: #f1c40f;
    font-size: 14px;
}

.pm-testimonial-stars .star.empty {
    color: var(--gray-300);
}

.pm-testimonial-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 16px;
    font-style: italic;
}

.pm-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pm-testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gray-200);
}

.pm-testimonial-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 0;
}

.pm-testimonial-role {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 0;
}

/* ================================================================
   21. FEATURE ICONS - CIRCULAR GRADIENT BACKGROUNDS
   ================================================================ */
.pm-feature-icon {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 28px;
    color: var(--white);
    flex-shrink: 0;
    transition: transform var(--pm-duration-fast) var(--pm-ease-spring);
}

.pm-feature-icon:hover {
    transform: scale(1.1) rotate(-5deg);
}

.pm-feature-icon-accent {
    background: var(--pm-accent-gradient);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.25);
}

.pm-feature-icon-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--pm-gradient-end) 100%);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}

.pm-feature-icon-success {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    box-shadow: 0 8px 20px rgba(39, 174, 96, 0.25);
}

.pm-feature-icon-info {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.25);
}

.pm-feature-icon-gold {
    background: linear-gradient(135deg, var(--pm-gold) 0%, #f7dc6f 100%);
    box-shadow: 0 8px 20px rgba(240, 194, 127, 0.3);
    color: var(--primary);
}

.pm-feature-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    border-radius: var(--pm-radius-lg);
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition:
        transform var(--pm-duration-fast) var(--pm-ease-spring),
        box-shadow var(--pm-duration-fast) ease;
}

.pm-feature-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.pm-feature-box .pm-feature-title {
    font-weight: 700;
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 6px;
}

.pm-feature-box .pm-feature-desc {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 0;
    line-height: 1.6;
}

/* ================================================================
   22. FOOTER - GRADIENT TOP BORDER
   ================================================================ */
footer.pm-footer {
    position: relative;
}

footer.pm-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--accent) 0%,
        var(--pm-gold) 25%,
        var(--accent) 50%,
        var(--pm-gold) 75%,
        var(--accent) 100%
    );
    background-size: 200% 100%;
    animation: pmFooterBorder 6s linear infinite;
}

@keyframes pmFooterBorder {
    from { background-position: 0% 0%; }
    to   { background-position: 200% 0%; }
}

footer.pm-footer .pm-footer-heading {
    position: relative;
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 12px;
}

footer.pm-footer .pm-footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    border-radius: 3px;
    background: var(--accent);
}

footer.pm-footer .pm-footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    padding: 5px 0;
    transition:
        color var(--pm-duration-fast) ease,
        padding-left var(--pm-duration-fast) ease;
}

footer.pm-footer .pm-footer-link:hover {
    color: var(--white);
    padding-left: 6px;
}

/* ================================================================
   23. WHATSAPP FLOAT BUTTON - PULSE ANIMATION
   ================================================================ */
.pm-whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    font-size: 28px;
    text-decoration: none;
    z-index: 1050;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: transform var(--pm-duration-fast) var(--pm-ease-spring);
    animation: pmWhatsAppPulse 2.5s ease-in-out infinite;
}

.pm-whatsapp-float:hover {
    transform: scale(1.12);
    color: var(--white);
}

@keyframes pmWhatsAppPulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    50%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.pm-whatsapp-float .pm-wa-tooltip {
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    opacity: 0;
    white-space: nowrap;
    background: var(--primary);
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 8px;
    pointer-events: none;
    transition:
        opacity var(--pm-duration-fast) ease,
        transform var(--pm-duration-fast) var(--pm-ease-out-expo);
}

.pm-whatsapp-float:hover .pm-wa-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ================================================================
   24. BACK TO TOP BUTTON - SMOOTH REVEAL
   ================================================================ */
.pm-back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition:
        opacity var(--pm-duration-fast) ease,
        visibility var(--pm-duration-fast) ease,
        transform var(--pm-duration-fast) var(--pm-ease-out-expo),
        background var(--pm-duration-fast) ease;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.3);
}

.pm-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.pm-back-to-top:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.pm-back-to-top:active {
    transform: translateY(0);
}

/* ================================================================
   EXTRA: PREMIUM CARD REVEAL OVERLAY
   ================================================================ */
.pm-card-reveal {
    position: relative;
    overflow: hidden;
    border-radius: var(--pm-radius-lg);
}

.pm-card-reveal::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(249, 115, 22, 0.03) 0%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity var(--pm-duration-fast) ease;
    z-index: 1;
    pointer-events: none;
}

.pm-card-reveal:hover::before {
    opacity: 1;
}

/* ================================================================
   EXTRA: DIVIDER LINE WITH CENTER ACCENT
   ================================================================ */
.pm-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 32px 0;
}

.pm-divider::before,
.pm-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-300);
}

.pm-divider span {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ================================================================
   RESPONSIVE ADJUSTMENTS FOR PREMIUM STYLES
   ================================================================ */
@media (max-width: 991.98px) {
    .pm-toast-notification {
        left: 16px;
        right: 16px;
        min-width: auto;
        max-width: none;
        top: 16px;
    }

    .pm-whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 16px;
        left: 16px;
    }

    .pm-back-to-top {
        width: 42px;
        height: 42px;
        bottom: 16px;
        right: 16px;
    }

    .pm-whatsapp-float .pm-wa-tooltip {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .pm-gallery-thumbs {
        gap: 6px;
    }

    .pm-gallery-thumb {
        width: 56px;
        height: 56px;
    }

    .pm-contact-card {
        padding: 24px 16px;
    }

    .pm-feature-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .pm-testimonial-card {
        padding: 20px;
    }

    .pm-testimonial-card::before {
        font-size: 48px;
    }
}

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

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }

    .pm-lazy,
    .pm-lazy-img {
        opacity: 1;
    }
}
