/* Custom Styles for ÉVORA Website */

/* Prevent horizontal scroll globally */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Ensure all containers respect viewport width */
* {
    box-sizing: border-box;
}

/* Responsive product card widths */
.w-75 {
    width: 280px;
}

@media (max-width: 640px) {
    .w-75 {
        width: 200px;
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .w-75 {
        width: 240px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .w-75 {
        width: 260px;
    }
}

@media (min-width: 1025px) {
    .w-75 {
        width: 280px;
    }
}

/* Common Background Colors */
.bg-evora-beige {
    background-color: #F6F4F0;
}

/* Announcement Bar */
.announcement-bar {
    background: #24150E;
}

/* Header Background */
.header-bg {
    background-color: #f8f6f0;
}

/* Banner Background */
.banner-bg {
    background-color: #f8f6f0;
}

/* Banner Section Mobile Responsive */
.banner-section {
    position: relative;
    overflow: hidden;
}

.banner-section img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    object-position: center;
}

/* Desktop banner height */
@media (min-width: 768px) {
    .banner-section img {
        height: 100vh;
    }
}

/* Mobile responsive banner adjustments */
@media (max-width: 768px) {
    .banner-section img {
        height: 60vh;
    }

    .banner-section .text-2xl {
        font-size: 1.5rem;
    }

    .banner-section .text-sm {
        font-size: 0.875rem;
    }

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

@media (max-width: 640px) {
    .banner-section img {
        height: 50vh;
    }

    .banner-section .text-2xl {
        font-size: 1.25rem;
    }

    .banner-section .text-sm {
        font-size: 0.75rem;
    }

    .banner-section .px-4 {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .banner-section .mb-6 {
        margin-bottom: 1rem;
    }

    .banner-section .mb-3 {
        margin-bottom: 0.5rem;
    }
}

/* Banner carousel mobile touch improvements */
.banner-carousel {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.banner-slide {
    scroll-snap-align: start;
}

/* Banner dots mobile touch improvements */
.banner-dot {
    min-width: 12px;
    min-height: 12px;
    cursor: pointer;
}

@media (max-width: 640px) {
    .banner-dot {
        min-width: 10px;
        min-height: 10px;
    }
}

/* Logo Text */
.logo-text {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
}

/* Navigation Text */
.nav-text {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    letter-spacing: 0.15em;
}

/* Product Scroll - Hide scrollbar */
.product-scroll::-webkit-scrollbar {
    display: none;
}

.product-scroll {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Best Sellers Carousel - Hide scrollbar */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Cart Icon Styles */
.cart-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.cart-badge {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    border-radius: 50%;
    background-color: #ef4444;
    color: white;
    position: absolute;
    top: -8px;
    right: -8px;
    z-index: 20;
}

/* Ensure cart icon is always visible */
.cart-icon svg {
    display: block !important;
    width: 24px;
    height: 24px;
}

/* Form validation styles */
.form-field-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.form-section-highlight {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.3) !important;
    transition: box-shadow 0.3s ease;
}

/* State dropdown styles */
select[name="state"] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select[name="state"]:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%235A3E28' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

/* Custom scrollbar for dropdown */
select[name="state"] option {
    padding: 8px 12px;
}

/* Hover effect for dropdown options */
select[name="state"] option:hover {
    background-color: #f3f4f6;
}

/* Phone input with country code styles */
#country-code {
    min-width: 60px;
    text-align: center;
    font-weight: 500;
    border-color: #d1d5db;
    height: 100%;
}

#country-code:focus {
    border-color: #5A3E28;
    box-shadow: 0 0 0 3px rgba(90, 62, 40, 0.1);
}

/* Country dropdown styles */
select[name="country"] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select[name="country"]:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%235A3E28' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

/* Reviews scrolling animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-scroll {
    animation: scroll 30s linear infinite;
}

.animate-scroll:hover {
    animation-play-state: paused;
}

/* Reviews Scroll - Hide scrollbar */
.reviews-scroll {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.reviews-scroll::-webkit-scrollbar {
    display: none;
}

/* Reviews Carousel Improvements */
#reviews-carousel {
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    display: flex;
    gap: 1rem;
    animation: scrollReviews 20s linear infinite;
    animation-play-state: running;
    will-change: transform;
    transform: translateZ(0);
}

#reviews-carousel::-webkit-scrollbar {
    display: none;
}

#reviews-carousel>div {
    scroll-snap-align: start;
    flex-shrink: 0;
}

/* Horizontal scrolling animation */
@keyframes scrollReviews {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
#reviews-carousel:hover {
    animation-play-state: paused;
}

/* Add subtle gradient fade to indicate scrollable content */
#reviews-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(90, 62, 40, 0.1));
    pointer-events: none;
    z-index: 1;
}

/* Add gradient fade on the left side as well for better visual indication */
#reviews-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 100%;
    background: linear-gradient(to left, transparent, rgba(90, 62, 40, 0.1));
    pointer-events: none;
    z-index: 1;
}

/* Responsive review card widths */
@media (max-width: 640px) {

    #reviews-carousel .w-64,
    #reviews-carousel .w-72,
    #reviews-carousel .w-80 {
        width: 280px;
        min-width: 280px;
    }
}

@media (min-width: 641px) and (max-width: 768px) {

    #reviews-carousel .w-64,
    #reviews-carousel .w-72,
    #reviews-carousel .w-80 {
        width: 320px;
        min-width: 320px;
    }
}

@media (min-width: 769px) {

    #reviews-carousel .w-64,
    #reviews-carousel .w-72,
    #reviews-carousel .w-80 {
        width: 320px;
        min-width: 320px;
    }
}

/* Animated underline effect like Kinn Studio */
.animated-underline {
    position: relative;
    display: inline-block;
}

.animated-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease-in-out;
}

.animated-underline:hover::after {
    width: 100%;
}

/* Autofill styling for email input */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #DCDAD4 inset !important;
    -webkit-text-fill-color: #5A3E28 !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Announcement bar sliding animation like Aevi */
@keyframes slideAnnouncement {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.announcement-slide {
    animation: slideAnnouncement 30s linear infinite;
    white-space: nowrap;
    display: inline-block;
    width: max-content;
}

.announcement-container {
    overflow: hidden;
    position: relative;
}

.announcement-slide span {
    display: inline-block;
}

/* Dropdown Menu Styles */
.mega-menu {
    transform: translateY(-10px);
    transition: all 0.3s ease;
    /* Fix horizontal overflow */
    max-width: 100vw;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
}

.group:hover .mega-menu {
    transform: translateX(-50%) translateY(0);
}

/* Ensure dropdown appears above other content */
.dropdown-container {
    position: relative;
    z-index: 1000;
}

/* Smooth transitions for dropdown arrows */
.dropdown-arrow {
    transition: transform 0.3s ease;
}

.group:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Hover effects for menu items */
.menu-item {
    position: relative;
    transition: color 0.2s ease;
}

.menu-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transition: width 0.2s ease;
}

.menu-item:hover::after {
    width: 100%;
}

/* Best Sellers Horizontal Scroll - Like Rocksbox */
.bestsellers-scroll-container {
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.bestsellers-scroll-container::-webkit-scrollbar {
    display: none;
}

.bestsellers-scroll {
    scroll-behavior: smooth;
    display: flex;
    gap: 24px;
    padding-bottom: 16px;
    min-width: max-content;
}

.product-item {
    scroll-snap-align: start;
    flex-shrink: 0;
}

/* Arrow Navigation Styles - Like Rocksbox */
.scroll-arrow {
    transition: all 0.2s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
    z-index: 20;
    pointer-events: auto;
}

.scroll-arrow {
    /* No hover effects */
}

.scroll-arrow:active {
    transform: translateY(-50%) scale(0.98);
}

.scroll-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.scroll-arrow-left {
    left: 16px;
}

.scroll-arrow-right {
    right: 16px;
}

/* Show arrows on hover */
.bestsellers-scroll-container:hover .scroll-arrow:not(:disabled) {
    opacity: 1;
}

/* Ensure arrows are always clickable when visible */
.scroll-arrow[style*="opacity: 1"],
.scroll-arrow[style*="opacity: 0.3"] {
    pointer-events: auto;
}

/* Bestsellers Navigation Arrows */
#scrollLeftNew,
#scrollRightNew {
    transition: all 0.2s ease;
    cursor: pointer;
    display: block !important;
    /* Force visibility for debugging */
    opacity: 1 !important;
    /* Force opacity for debugging */
}

#scrollLeftNew,
#scrollRightNew {
    /* No hover effects */
}

#scrollLeftNew:active,
#scrollRightNew:active {
    transform: scale(0.95);
}

/* Debug: Make arrows always visible */
#scrollLeftNew,
#scrollRightNew {
    /* Removed debug styling */
}

/* Product card styles */
.product-item {
    position: relative;
    cursor: pointer;
}

.product-item .relative {
    /* No hover effects */
}

/* Quick add button (hidden by default) */
.quick-add-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px;
    opacity: 0;
    border-top: 1px solid #f3f4f6;
    display: none;
}

/* NEW tag styling */
.bg-brown-600 {
    background-color: #92400e;
}

/* Price styling */
.line-through {
    text-decoration: line-through;
}

/* Product info styles */
.product-item .mt-3 {
    /* No hover effects */
}

/* Product item elements */
.product-item * {
    /* No transitions */
}

/* Best Sellers Product Image Hover Animation */
.product-image-main {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.product-image-hover {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* Product image styles - no hover effects */
.flex-shrink-0 .group .product-image-main {
    opacity: 1;
}

.flex-shrink-0 .group .product-image-hover {
    opacity: 0;
}

/* Product card styles */
.flex-shrink-0 .group .relative {
    /* No hover effects */
}

/* Mobile Menu Styles */
.mobile-menu-open {
    overflow: hidden;
}

/* Mobile menu slide animation */
#mobile-menu .transform {
    transition: transform 0.3s ease-in-out;
}

/* Responsive navigation adjustments */
@media (max-width: 768px) {
    .nav-text {
        font-size: 0.875rem;
    }

    /* Ensure mega menus don't overflow on mobile */
    .mega-menu {
        max-width: 100vw;
        overflow-x: hidden;
        left: 0;
        transform: translateY(-10px);
    }

    .group:hover .mega-menu {
        transform: translateY(0);
    }

    /* Adjust mega menu grid for mobile */
    .mega-menu .grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .mega-menu .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Additional responsive adjustments */
@media (max-width: 640px) {

    /* Mobile navigation adjustments */
    .nav-text {
        font-size: 0.75rem;
    }

    /* Mobile button adjustments */
    .mobile-menu-btn svg {
        width: 1.5rem;
        height: 1.5rem;
    }
}

/* Large screen optimizations */
@media (min-width: 1280px) {

    /* Enhanced spacing for large screens */
    .py-16 {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}



/* Category Section Hover Effects */
.category-section .group {
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.category-section .group img {
    transition: all 0.3s ease-in-out;
}

.category-section .group img {
    /* No hover effects */
}

.category-section .group h3 {
    transition: all 0.3s ease-in-out;
    text-decoration: underline;
    text-decoration-color: #AB8C52;
    text-underline-offset: 2px;
}

/* Bestsellers Page Specific Styles */
.filter-btn {
    font-weight: 300;
}

.filter-btn.active {
    color: #5A3E28;
}

.filter-btn {
    /* No hover effects */
}

/* Filter and Sort Section - Light font weight */
.filter-sort-section {
    border-color: #dddad4;
}

.filter-sort-section .text-sm {
    font-weight: 300;
}

.filter-sort-section .font-medium {
    font-weight: 300;
}

/* Filter section styling */
.filter-section {
    background-color: white;
    border-top: 1px solid #dddad4;
    border-bottom: 1px solid #dddad4;
}

/* Filter and Sort Section border color */
.filter-sort-section {
    border-color: #dddad4;
}

/* Filter toggle button styling */
#filter-toggle {
    transition: all 0.2s ease;
}

#filter-toggle {
    /* No hover effects */
}

.product-card {
    /* No transitions */
}

.product-card .relative {
    /* No hover effects */
}

/* Wishlist button styles */
.wishlist-btn {
    backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    padding: 8px;
}

/* Add to bag button styles */
.add-to-bag-btn {
    /* No hover effects */
}

/* Load more button styles */
#load-more-btn {
    /* No hover effects */
}

#load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Newsletter section styles */
.newsletter-section input:focus {
    border-color: #5A3E28;
    box-shadow: 0 0 0 3px rgba(90, 62, 40, 0.1);
}

/* Responsive adjustments for bestsellers page */
@media (max-width: 768px) {
    .filter-btn {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }

    .product-card h3 {
        font-size: 0.875rem;
    }

    .add-to-bag-btn {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
}

/* Animation for product cards appearing */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Stagger animation for product cards */
.product-card:nth-child(1) {
    animation-delay: 0.1s;
}

.product-card:nth-child(2) {
    animation-delay: 0.2s;
}

.product-card:nth-child(3) {
    animation-delay: 0.3s;
}

.product-card:nth-child(4) {
    animation-delay: 0.4s;
}

.product-card:nth-child(5) {
    animation-delay: 0.5s;
}

.product-card:nth-child(6) {
    animation-delay: 0.6s;
}

.product-card:nth-child(7) {
    animation-delay: 0.7s;
}

.product-card:nth-child(8) {
    animation-delay: 0.8s;
}

.product-card:nth-child(9) {
    animation-delay: 0.9s;
}

.product-card:nth-child(10) {
    animation-delay: 1.0s;
}

.product-card:nth-child(11) {
    animation-delay: 1.1s;
}

.product-card:nth-child(12) {
    animation-delay: 1.2s;
}

/* Footer Mobile Responsiveness */
@media (max-width: 640px) {

    /* Footer newsletter form improvements */
    footer .flex-col {
        gap: 0.25rem;
    }

    footer input[type="email"] {
        min-height: 44px;
        /* Touch-friendly height */
        font-size: 14px;
    }

    footer button {
        min-height: 44px;
        /* Touch-friendly height */
        min-width: 44px;
    }

    /* Footer social media icons touch improvements */
    footer .space-x-3 a {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Footer links touch improvements */
    footer ul li a {
        min-height: 24px;
        display: flex;
        align-items: center;
    }

    /* Reduce text spacing in footer */
    footer ul.space-y-2 {
        gap: 0.25rem;
    }

    footer ul.space-y-3 {
        gap: 0.375rem;
    }

    footer .space-y-2>*+* {
        margin-top: 0.25rem;
    }

    footer .space-y-3>*+* {
        margin-top: 0.375rem;
    }

    footer h3 {
        margin-bottom: 0.5rem;
    }

    footer p {
        margin-bottom: 0.5rem;
    }
}

/* Tablet footer adjustments */
@media (min-width: 641px) and (max-width: 768px) {
    footer .flex-col {
        gap: 0.5rem;
    }

    footer input[type="email"] {
        min-height: 48px;
    }

    footer button {
        min-height: 48px;
    }

    /* Reduce text spacing in footer */
    footer ul.space-y-2 {
        gap: 0.375rem;
    }

    footer ul.space-y-3 {
        gap: 0.5rem;
    }

    footer .space-y-2>*+* {
        margin-top: 0.375rem;
    }

    footer .space-y-3>*+* {
        margin-top: 0.5rem;
    }

    footer h3 {
        margin-bottom: 0.75rem;
    }

    footer p {
        margin-bottom: 0.75rem;
    }
}

/* Large screen footer optimizations */
@media (min-width: 1024px) {
    footer .grid {
        align-items: start;
    }

    footer .flex-row {
        align-items: stretch;
    }

    /* Reduce text spacing in footer */
    footer ul.space-y-2 {
        gap: 0.5rem;
    }

    footer ul.space-y-3 {
        gap: 0.75rem;
    }

    footer .space-y-2>*+* {
        margin-top: 0.5rem;
    }

    footer .space-y-3>*+* {
        margin-top: 0.75rem;
    }

    footer h3 {
        margin-bottom: 1rem;
    }

    footer p {
        margin-bottom: 1rem;
    }
}



/* ========================================
   ENHANCED PRODUCT DETAILS STYLING
   ======================================== */

/* Enhanced Product Details Container */
.product-details-container {
    background: linear-gradient(135deg, #F6F4F0 0%, #F8F6F0 100%);
}

/* Breadcrumb Link Styling */
.breadcrumb-link {
    position: relative;
    transition: all 0.3s ease;
}

.breadcrumb-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #5A3E28;
    transition: width 0.3s ease;
}

.breadcrumb-link:hover::after {
    width: 100%;
}

/* Thumbnail Navigation Styling */
.thumbnail-item {
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.thumbnail-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(90, 62, 40, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.thumbnail-item:hover::before {
    opacity: 1;
}

.thumbnail-item.active {
    border-color: #5A3E28;
}

.thumbnail-item.active::before {
    opacity: 0.2;
}

/* Carousel Navigation Button Styling */
.carousel-nav-btn {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(90, 62, 40, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.carousel-nav-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.carousel-nav-btn:active {
    transform: scale(0.95);
}

/* Thumbnail Dot Navigation Styling */
.thumbnail-dot {
    transition: all 0.3s ease;
    position: relative;
}

.thumbnail-dot.active {
    background-color: #5A3E28;
    transform: scale(1.2);
}

.thumbnail-dot::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.thumbnail-dot.active::before {
    border-color: #5A3E28;
}

/* Product Title Gradient Styling */
.product-title {
    background: linear-gradient(135deg, #5A3E28 0%, #8B7355 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Price Display Gradient Styling */
.price-display {
    background: linear-gradient(135deg, #5A3E28 0%, #8B7355 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Discount Badge Styling */
.discount-badge {
    background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.3);
}

/* Status Badge Styling */
.status-badge {
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(5, 150, 105, 0.3);
}

/* Feature Item Styling */
.feature-item {
    position: relative;
    padding-left: 1.5rem;
}

.feature-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

/* Action Button Styling */
.action-button {
    background: #5A3E28;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

/* Buy Now Button Styling */
.action-button.bg-primary {
    background: #5A3E28;
    border: 2px solid #5A3E28;
}

.action-button.bg-primary:hover {
    background: #8B7355;
    border-color: #8B7355;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(90, 62, 40, 0.3);
}

/* Add to Cart Button Styling */
.action-button.bg-white {
    background: white;
    border: 1px solid #5A3E28;
    color: #5A3E28;
}

.action-button.bg-white:hover {
    background: #5A3E28;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(90, 62, 40, 0.3);
}

.action-button::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 ease;
}

.action-button:hover::before {
    left: 100%;
}

.action-button:active {
    transform: translateY(0);
}

.action-button:disabled {
    background: linear-gradient(135deg, #9CA3AF 0%, #D1D5DB 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.action-button.success {
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

/* Product Tag Styling */
.product-tag {
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
    border: 1px solid #D1D5DB;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(90, 62, 40, 0.1), transparent);
    transition: left 0.3s ease;
}

.product-tag:hover::before {
    left: 100%;
}

.product-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-tag.bestseller {
    background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
    border-color: #93C5FD;
    color: #1E40AF;
}

.product-tag.new-arrival {
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
    border-color: #6EE7B7;
    color: #065F46;
}

/* Related Product Card Styling */
.related-product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

.related-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(90, 62, 40, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

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

.related-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.related-product-image {
    transition: all 0.3s ease;
}

.related-product-card:hover .related-product-image {
    transform: scale(1.05);
}

/* Zoom Indicator Styling */
.zoom-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-slide:hover .zoom-indicator {
    opacity: 1;
}

/* Status Info Box Styling */
.status-info-box {
    background: #fff;
    position: relative;
    overflow: hidden;
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
    .action-button {
        font-size: 16px;
        padding: 16px 24px;
    }

    .carousel-nav-btn {
        width: 40px;
        height: 40px;
    }

    .thumbnail-item {
        width: 60px;
        height: 60px;
    }
}

/* ========================================
   ENHANCED GLOBAL STYLES
   ======================================== */

/* Enhanced Button Styles for Global Use */
.btn-primary {
    background: linear-gradient(135deg, #5A3E28 0%, #8B7355 100%);
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(90, 62, 40, 0.3);
    color: white;
    font-weight: 500;
    border-radius: 8px;
}

.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 ease;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(90, 62, 40, 0.4);
}

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

.btn-secondary {
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
    border: 1px solid #D1D5DB;
    color: #374151;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-weight: 500;
    border-radius: 8px;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(90, 62, 40, 0.1), transparent);
    transition: left 0.3s ease;
}

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

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

.btn-success {
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

/* Enhanced Card Styles */
.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(90, 62, 40, 0.02) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Enhanced Badge Styles */
.badge {
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
    border: 1px solid #D1D5DB;
    color: #374151;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
}

.badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(90, 62, 40, 0.1), transparent);
    transition: left 0.3s ease;
}

.badge:hover::before {
    left: 100%;
}

.badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.badge-primary {
    background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
    border-color: #93C5FD;
    color: #1E40AF;
}

.badge-success {
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
    border-color: #6EE7B7;
    color: #065F46;
}

.badge-warning {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border-color: #F59E0B;
    color: #92400E;
}

.badge-danger {
    background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%);
    border-color: #F87171;
    color: #991B1B;
}

/* Enhanced Input Styles */
.input-enhanced {
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    transition: all 0.3s ease;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
}

.input-enhanced:focus {
    border-color: #5A3E28;
    box-shadow: 0 0 0 3px rgba(90, 62, 40, 0.1);
    outline: none;
}

.input-enhanced:hover {
    border-color: #D1D5DB;
}

/* Enhanced Link Styles */
.link-enhanced {
    position: relative;
    transition: all 0.3s ease;
    color: #5A3E28;
    text-decoration: none;
}

.link-enhanced::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #5A3E28;
    transition: width 0.3s ease;
}

.link-enhanced:hover::after {
    width: 100%;
}

.link-enhanced:hover {
    color: #8B7355;
}



/* High Contrast Mode Support */
@media (prefers-contrast: high) {

    .action-button,
    .btn-primary {
        border: 2px solid #5A3E28;
    }

    .btn-secondary {
        border: 2px solid #374151;
    }

    .badge {
        border: 1px solid #374151;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    .action-button,
    .btn-primary,
    .btn-secondary,
    .card,
    .badge,
    .product-tag,
    .related-product-card,
    .thumbnail-item,
    .carousel-nav-btn,
    .thumbnail-dot,
    .breadcrumb-link,
    .link-enhanced {
        transition: none;
    }

    .action-button::before,
    .btn-primary::before,
    .btn-secondary::before,
    .product-tag::before,
    .badge::before {
        display: none;
    }
}

/* ========================================
   ENHANCED PRODUCT DETAILS STYLING
   ======================================== */

/* Enhanced Product Details Container */
.product-details-container {
    background: linear-gradient(135deg, #F6F4F0 0%, #F8F6F0 100%);
}

/* Breadcrumb Link Styling */
.breadcrumb-link {
    position: relative;
    transition: all 0.3s ease;
}

.breadcrumb-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #5A3E28;
    transition: width 0.3s ease;
}

.breadcrumb-link:hover::after {
    width: 100%;
}

/* Thumbnail Navigation Styling */
.thumbnail-item {
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.thumbnail-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(90, 62, 40, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.thumbnail-item:hover::before {
    opacity: 1;
}

.thumbnail-item.active {
    border-color: #5A3E28;
}

.thumbnail-item.active::before {
    opacity: 0.2;
}

/* Carousel Navigation Button Styling */
.carousel-nav-btn {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(90, 62, 40, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.carousel-nav-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.carousel-nav-btn:active {
    transform: scale(0.95);
}

/* Thumbnail Dot Navigation Styling */
.thumbnail-dot {
    transition: all 0.3s ease;
    position: relative;
}

.thumbnail-dot.active {
    background-color: #5A3E28;
    transform: scale(1.2);
}

.thumbnail-dot::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.thumbnail-dot.active::before {
    border-color: #5A3E28;
}

/* Product Title Gradient Styling */
.product-title {
    background: linear-gradient(135deg, #5A3E28 0%, #8B7355 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Price Display Gradient Styling */
.price-display {
    background: linear-gradient(135deg, #5A3E28 0%, #8B7355 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Discount Badge Styling */
.discount-badge {
    background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.3);
}

/* Status Badge Styling */
.status-badge {
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(5, 150, 105, 0.3);
}

/* Feature Item Styling */
.feature-item {
    position: relative;
    padding-left: 1rem;
}

.feature-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.action-button:hover::before {
    left: 100%;
}

.action-button:hover {
    transform: translateY(-2px);
}

.action-button:active {
    transform: translateY(0);
}

.action-button:disabled {
    background: linear-gradient(135deg, #9CA3AF 0%, #D1D5DB 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.action-button.success {
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

/* Product Tag Styling */
.product-tag {
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
    border: 1px solid #D1D5DB;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(90, 62, 40, 0.1), transparent);
    transition: left 0.3s ease;
}

.product-tag:hover::before {
    left: 100%;
}

.product-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-tag.bestseller {
    background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
    border-color: #93C5FD;
    color: #1E40AF;
}

.product-tag.new-arrival {
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
    border-color: #6EE7B7;
    color: #065F46;
}

/* Related Product Card Styling */
.related-product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

.related-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(90, 62, 40, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

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

.related-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.related-product-image {
    transition: all 0.3s ease;
}

.related-product-card:hover .related-product-image {
    transform: scale(1.05);
}

/* Zoom Indicator Styling */
.zoom-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-slide:hover .zoom-indicator {
    opacity: 1;
}


/* Enhanced Button Styles for Global Use */
.btn-primary {
    background: #FEF3C7;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(90, 62, 40, 0.3);
    color: white;
    font-weight: 500;
    border-radius: 8px;
}

.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 ease;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(90, 62, 40, 0.4);
}

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

.btn-secondary {
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
    border: 1px solid #D1D5DB;
    color: #374151;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-weight: 500;
    border-radius: 8px;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(90, 62, 40, 0.1), transparent);
    transition: left 0.3s ease;
}

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

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

.btn-success {
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

/* Enhanced Card Styles */
.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(90, 62, 40, 0.02) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Enhanced Badge Styles */
.badge {
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
    border: 1px solid #D1D5DB;
    color: #374151;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
}

.badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(90, 62, 40, 0.1), transparent);
    transition: left 0.3s ease;
}

.badge:hover::before {
    left: 100%;
}

.badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.badge-primary {
    background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
    border-color: #93C5FD;
    color: #1E40AF;
}

.badge-success {
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
    border-color: #6EE7B7;
    color: #065F46;
}

.badge-warning {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border-color: #F59E0B;
    color: #92400E;
}

.badge-danger {
    background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%);
    border-color: #F87171;
    color: #991B1B;
}

/* Enhanced Input Styles */
.input-enhanced {
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    transition: all 0.3s ease;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
}

.input-enhanced:focus {
    border-color: #5A3E28;
    box-shadow: 0 0 0 3px rgba(90, 62, 40, 0.1);
    outline: none;
}

.input-enhanced:hover {
    border-color: #D1D5DB;
}

/* Enhanced Link Styles */
.link-enhanced {
    position: relative;
    transition: all 0.3s ease;
    color: #5A3E28;
    text-decoration: none;
}

.link-enhanced::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #5A3E28;
    transition: width 0.3s ease;
}

.link-enhanced:hover::after {
    width: 100%;
}

.link-enhanced:hover {
    color: #8B7355;
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {

    .action-button,
    .btn-primary,
    .btn-secondary {
        font-size: 16px;
        padding: 16px 24px;
    }

    .carousel-nav-btn {
        width: 40px;
        height: 40px;
    }

    .thumbnail-item {
        width: 60px;
        height: 60px;
    }

    .card {
        border-radius: 8px;
    }

    .badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
}

/* Mobile Checkout Button - Fixed Bottom */
@media (max-width: 768px) {

    /* Ensure body has proper spacing for fixed button *

    /* Fixed checkout button container */
    .mobile-checkout-fixed {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid #e5e7eb;
        padding: 12px 16px;
        z-index: 1000;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    }

    /* Checkout button styling for mobile */
    .mobile-checkout-fixed button {
        width: 100%;
        background: #5A3E28;
        color: white;
        padding: 12px 24px;
        font-weight: 600;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 0.025em;
        border: none;
        border-radius: 8px;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .mobile-checkout-fixed button:hover {
        background: #8B7355;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(90, 62, 40, 0.3);
    }

    .mobile-checkout-fixed button:active {
        transform: translateY(0);
    }

    /* Hide desktop checkout button on mobile */
    .desktop-checkout {
        display: none;
    }

    /* Mobile WhatsApp Info Styling */
    .mobile-whatsapp-info {
        padding: 8px 16px;
        background: #f0fdf4;
        border-top: 1px solid #bbf7d0;
        text-align: center;
    }

    .mobile-whatsapp-info .text-xs {
        font-size: 11px;
        line-height: 1.3;
    }
}

/* Desktop checkout button */
@media (min-width: 769px) {
    .mobile-checkout-fixed {
        display: none;
    }

    .desktop-checkout {
        display: block;
    }
}



/* High Contrast Mode Support */
@media (prefers-contrast: high) {

    .action-button,
    .btn-primary {
        border: 2px solid #5A3E28;
    }

    .btn-secondary {
        border: 2px solid #374151;
    }

    .badge {
        border: 1px solid #374151;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    .action-button,
    .btn-primary,
    .btn-secondary,
    .card,
    .badge,
    .product-tag,
    .related-product-card,
    .thumbnail-item,
    .carousel-nav-btn,
    .thumbnail-dot,
    .breadcrumb-link,
    .link-enhanced {
        transition: none;
    }

    .action-button::before,
    .btn-primary::before,
    .btn-secondary::before,
    .product-tag::before,
    .badge::before {
        display: none;
    }
}

/* Scroll to Top Button Styles */
.scroll-to-top-btn {
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.scroll-to-top-btn.show {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0);
}

.scroll-to-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(35, 31, 32, 0.3);
}

/* Responsive adjustments for scroll to top button */
@media (max-width: 768px) {
    .scroll-to-top-btn {
        bottom: 4rem;
        right: 1rem;
        padding: 0.75rem;
    }

    .scroll-to-top-btn svg {
        width: 1.25rem;
        height: 1.25rem;
    }
}