/*
 * ZiZi Organic Custom Styles
 * Professional, modern design with purple/pink color scheme
 */

/* ===================================
   CSS VARIABLES - Purple/Pink Theme
   =================================== */
:root {
    --primary-purple: #8B5CF6;
    --primary-pink: #EC4899;
    --dark-purple: #6D28D9;
    --light-purple: #A78BFA;
    --light-pink: #F9A8D4;
    --gradient-primary: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    --gradient-secondary: linear-gradient(135deg, #6D28D9 0%, #8B5CF6 100%);
    --gradient-accent: linear-gradient(135deg, #EC4899 0%, #F9A8D4 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(139, 92, 246, 0.9) 0%, rgba(236, 72, 153, 0.9) 100%);

    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --border-color: #E5E7EB;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-purple: 0 10px 30px -5px rgba(139, 92, 246, 0.3);
    --shadow-pink: 0 10px 30px -5px rgba(236, 72, 153, 0.3);

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* ===================================
   ANIMATIONS
   =================================== */

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

/* Slide Up Animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

/* Float Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float {
    animation: float 3s ease-in-out infinite;
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Shimmer Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Spinner Loading Animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    border: 3px solid rgba(139, 92, 246, 0.1);
    border-top-color: var(--primary-purple);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 0.8s linear infinite;
}

/* Scale Up Animation */
@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scale-up {
    animation: scaleUp 0.4s ease-out;
}

/* Slide In From Left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

/* Slide In From Right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* Bounce Animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.bounce {
    animation: bounce 1s ease-in-out infinite;
}

/* ===================================
   GRADIENT BACKGROUNDS
   =================================== */
.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-secondary {
    background: var(--gradient-secondary);
}

.bg-gradient-accent {
    background: var(--gradient-accent);
}

.bg-gradient-overlay {
    position: relative;
}

.bg-gradient-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    z-index: 1;
}

.bg-gradient-overlay > * {
    position: relative;
    z-index: 2;
}

/* Animated Gradient */
.bg-gradient-animated {
    background: linear-gradient(270deg, #8B5CF6, #EC4899, #A78BFA);
    background-size: 600% 600%;
    animation: gradientShift 8s ease infinite;
}

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

/* ===================================
   BUTTON STYLES
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.5;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-purple);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), var(--shadow-purple);
}

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

.btn-secondary {
    background: white;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.btn-secondary:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-purple);
}

.btn-outline {
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.btn-outline:hover {
    background: var(--primary-purple);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-pink {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow-pink);
}

.btn-pink:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), var(--shadow-pink);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.btn-disabled,
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ===================================
   FORM STYLING
   =================================== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all var(--transition-normal);
    background-color: white;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #9CA3AF;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    border-color: #EF4444;
}

.form-error:focus {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-error-message {
    color: #EF4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.form-success {
    border-color: #10B981;
}

.form-success:focus {
    border-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Custom Checkbox */
.custom-checkbox {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.custom-checkbox .checkmark {
    position: relative;
    height: 20px;
    width: 20px;
    border: 2px solid var(--border-color);
    border-radius: 0.25rem;
    margin-right: 0.5rem;
    transition: all var(--transition-fast);
}

.custom-checkbox:hover input ~ .checkmark {
    border-color: var(--primary-purple);
}

.custom-checkbox input:checked ~ .checkmark {
    background: var(--gradient-primary);
    border-color: var(--primary-purple);
}

.custom-checkbox .checkmark::after {
    content: '';
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark::after {
    display: block;
}

/* Custom Radio */
.custom-radio {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.custom-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.custom-radio .radiomark {
    position: relative;
    height: 20px;
    width: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: all var(--transition-fast);
}

.custom-radio:hover input ~ .radiomark {
    border-color: var(--primary-purple);
}

.custom-radio input:checked ~ .radiomark {
    border-color: var(--primary-purple);
}

.custom-radio .radiomark::after {
    content: '';
    position: absolute;
    display: none;
    top: 3px;
    left: 3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gradient-primary);
}

.custom-radio input:checked ~ .radiomark::after {
    display: block;
}

/* ===================================
   CARD STYLES
   =================================== */
.card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-gradient {
    background: var(--gradient-primary);
    color: white;
}

.card-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

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

.card-img-wrapper {
    overflow: hidden;
    position: relative;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.card-text {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===================================
   PRODUCT HOVER EFFECTS
   =================================== */
.product-card {
    position: relative;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-purple);
}

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

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 2rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform var(--transition-normal);
    z-index: 2;
}

.product-card:hover .product-overlay {
    transform: translateY(0);
}

.product-overlay-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.product-quick-view,
.product-add-to-cart,
.product-wishlist {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
}

.product-quick-view:hover,
.product-add-to-cart:hover,
.product-wishlist:hover {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

.product-content {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.75rem;
    color: var(--primary-purple);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.product-rating .stars {
    color: #FBBF24;
}

.product-rating .count {
    font-size: 0.875rem;
    color: var(--text-light);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-price-current {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-price-old {
    font-size: 1.125rem;
    color: var(--text-light);
    text-decoration: line-through;
}

/* ===================================
   WOOCOMMERCE CUSTOM STYLES
   =================================== */

/* WooCommerce Buttons */
.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-purple);
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), var(--shadow-purple);
    opacity: 0.9;
}

.woocommerce .button.alt,
.woocommerce button.button.alt {
    background: var(--gradient-accent);
    box-shadow: var(--shadow-pink);
}

/* WooCommerce Product */
.woocommerce ul.products li.product {
    transition: all var(--transition-normal);
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: var(--text-dark);
    font-weight: 700;
}

.woocommerce ul.products li.product .price {
    color: var(--primary-purple);
    font-weight: 700;
}

.woocommerce ul.products li.product .price del {
    color: var(--text-light);
    opacity: 0.7;
}

.woocommerce ul.products li.product .price ins {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

/* WooCommerce Sale Badge */
.woocommerce span.onsale {
    background: var(--gradient-accent);
    color: white;
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    font-weight: 700;
    box-shadow: var(--shadow-pink);
}

/* WooCommerce Star Rating */
.woocommerce .star-rating {
    color: #FBBF24;
}

.woocommerce .star-rating::before {
    color: #E5E7EB;
}

/* WooCommerce Cart */
.woocommerce-cart .cart-collaterals {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 1rem;
}

.woocommerce table.shop_table {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.woocommerce table.shop_table th {
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem;
}

.woocommerce table.shop_table td {
    padding: 1rem;
}

/* WooCommerce Checkout */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: all var(--transition-normal);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    outline: none;
}

/* WooCommerce Messages */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    border-left: 4px solid;
}

.woocommerce-message {
    background: #D1FAE5;
    border-color: #10B981;
    color: #065F46;
}

.woocommerce-info {
    background: #DBEAFE;
    border-color: #3B82F6;
    color: #1E40AF;
}

.woocommerce-error {
    background: #FEE2E2;
    border-color: #EF4444;
    color: #991B1B;
}

/* WooCommerce Pagination */
.woocommerce nav.woocommerce-pagination ul {
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none;
    margin: 0 0.25rem;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 2px solid var(--border-color);
    transition: all var(--transition-fast);
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-purple);
}

/* ===================================
   SMOOTH TRANSITIONS
   =================================== */
.transition-fast {
    transition: all var(--transition-fast);
}

.transition-normal {
    transition: all var(--transition-normal);
}

.transition-slow {
    transition: all var(--transition-slow);
}

.transition-transform {
    transition: transform var(--transition-normal);
}

.transition-opacity {
    transition: opacity var(--transition-normal);
}

.transition-colors {
    transition: background-color var(--transition-normal), color var(--transition-normal), border-color var(--transition-normal);
}

/* ===================================
   LOADING STATES
   =================================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(139, 92, 246, 0.1);
    border-top-color: var(--primary-purple);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loading-dots {
    display: flex;
    gap: 0.5rem;
}

.loading-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gradient-primary);
    animation: bounce 1.4s infinite ease-in-out both;
}

.loading-dots .dot:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots .dot:nth-child(2) {
    animation-delay: -0.16s;
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 0.5rem;
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-title {
    height: 1.5rem;
    width: 60%;
    margin-bottom: 1rem;
}

.skeleton-image {
    width: 100%;
    aspect-ratio: 16/9;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-purple {
    box-shadow: var(--shadow-purple);
}

.shadow-pink {
    box-shadow: var(--shadow-pink);
}

.hover-lift {
    transition: transform var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-scale {
    transition: transform var(--transition-normal);
}

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

.hover-rotate {
    transition: transform var(--transition-normal);
}

.hover-rotate:hover {
    transform: rotate(5deg);
}

.overlay-dark {
    position: relative;
}

.overlay-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.overlay-dark > * {
    position: relative;
    z-index: 2;
}

/* ===================================
   MOBILE-SPECIFIC STYLES
   =================================== */
@media (max-width: 768px) {
    /* Mobile Typography */
    .mobile-text-sm {
        font-size: 0.875rem;
    }

    .mobile-text-base {
        font-size: 1rem;
    }

    .mobile-text-lg {
        font-size: 1.125rem;
    }

    /* Mobile Spacing */
    .mobile-p-4 {
        padding: 1rem;
    }

    .mobile-py-8 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .mobile-px-4 {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Mobile Product Cards */
    .product-card {
        margin-bottom: 1rem;
    }

    .product-card:hover {
        transform: translateY(-4px);
    }

    .product-content {
        padding: 1rem;
    }

    .product-title {
        font-size: 1rem;
    }

    .product-price-current {
        font-size: 1.25rem;
    }

    /* Mobile Buttons */
    .btn {
        width: 100%;
        justify-content: center;
    }

    .mobile-btn-block {
        display: block;
        width: 100%;
    }

    /* Mobile Forms */
    .form-input,
    .form-textarea,
    .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Mobile Cards */
    .card {
        margin-bottom: 1rem;
    }

    /* Mobile Navigation */
    .mobile-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        transition: left var(--transition-normal);
        z-index: 1000;
        box-shadow: var(--shadow-xl);
    }

    .mobile-menu.active {
        left: 0;
    }

    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition-normal);
        z-index: 999;
    }

    .mobile-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    /* Disable hover effects on mobile */
    .product-card:hover .product-overlay {
        transform: translateY(100%);
    }

    /* Mobile-friendly tap targets */
    .mobile-tap-target {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .product-card {
        margin-bottom: 1.5rem;
    }

    .btn {
        font-size: 0.9375rem;
    }
}

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

.focus-visible:focus {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================================
   CUSTOM SCROLLBAR
   =================================== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-purple) var(--bg-light);
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
    .no-print {
        display: none !important;
    }

    body {
        background: white;
    }

    .product-card,
    .card {
        box-shadow: none;
        border: 1px solid var(--border-color);
        break-inside: avoid;
    }
}
