:root {
    --color-primary: #111111;
    --color-secondary: #f3f4f6;
    --color-accent: #be4904;
    --color-accent-dark: #9c3d03;
    --color-accent-light: #d96019;
    --color-text-primary: #111111;
    --color-text-secondary: #4b5563;
    --color-border-light: #d1d5db;
    --color-bg-light: #f9fafb;
}

/* Page Loader */
.pageLoader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.pageLoader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 auto;
    border: 3px solid var(--color-border-light);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 0.8s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Global Button Rounded Corners */
button,
[type="button"],
[type="submit"],
[type="reset"] {
    border-radius: 0.5rem;
}

/* Product Action Buttons */
.product-actions button,
.product-actions a {
    border-radius: 0.5rem !important;
}

/* Modern Button Styles */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, #2d2d2d 100%);
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.75rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #2d2d2d 0%, var(--color-primary) 100%);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: transparent;
    color: var(--color-primary);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.75rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--color-primary);
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--color-primary);
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.btn-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.75rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(190, 73, 4, 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(190, 73, 4, 0.4);
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
}

/* Modern Form Inputs */
.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--color-border-light);
    background-color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(190, 73, 4, 0.12);
}

.form-input::placeholder {
    color: #9ca3af;
}

/* Modern Card Styles */
.card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Editorial Headlines */
.headline-editorial {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    letter-spacing: -0.02em;
}

/* Modern Product Card */
.product-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-card .product-actions {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

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

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

/* Swiper Slide Styles for uniform height */
.swiper-slide {
    height: auto;
}

.swiper-slide .product-card {
    height: 100%;
}

.swiper-slide > a,
.swiper-slide > div {
    height: 100%;
}

/* Stars Rating */
.stars i {
    color: var(--color-accent);
}

/* Swiper Custom Styles */
.swiper-button-next,
.swiper-button-prev {
    color: var(--color-primary) !important;
    width: 52px !important;
    height: 52px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 50% !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--color-primary) !important;
    color: #fff !important;
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 16px !important;
    font-weight: bold !important;
}

.swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active {
    background: #fff !important;
    transform: scale(1.2);
}

/* Modern Badge Styles */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 2rem;
    backdrop-filter: blur(10px);
}

.badge-sale {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(190, 73, 4, 0.3);
}

.badge-new {
    background: linear-gradient(135deg, var(--color-primary) 0%, #2d2d2d 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Modern Input Field (for compatibility) */
.input-field {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--color-border-light);
    background-color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
}

.input-field:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(190, 73, 4, 0.12);
}

/* Glass Effect for Modern UI */
.glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--color-accent);
    color: #fff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-dark);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Hero Section Enhancement */
.hero-gradient {
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
}

/* Section Transitions */
section {
    position: relative;
}

/* Link Hover Effect */
a {
    transition: color 0.3s ease;
}

/* Image Hover Effects */
.img-zoom {
    overflow: hidden;
    border-radius: 0.75rem;
}

.img-zoom img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Focus States for Accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Subtle Text Gradients */
.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

button{
/*    rounded-md*/
    border-radius: 0.375rem !important;
}

/* Keep loading indicators for component-level loading states */
[wire\:loading] .animate-spin {
    color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

input[type="radio"]:checked,
input[type="checkbox"]:checked {
    accent-color: var(--color-primary) !important;
}
input[type="radio"],
input[type="checkbox"] {
    accent-color: var(--color-primary);
}
