/* ===== RAKHIMART CUSTOM STYLES ===== */

/* Custom CSS Variables */
:root {
    --primary-color: #e9b43b;
    --primary-hover: #e9b43b;
    --primary-light: #fef2f2;
    --secondary-color: #f59e0b;
    --secondary-hover: #d97706;
    --cream-light: #fffbeb;
    --cream-medium: #fef3c7;
    --text-dark: #1c2630;
    --text-gray: #6b7280;
    --white: #ffffff;
    --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== GLOBAL STYLES ===== */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
}

/* ===== FOCUS OUTLINE MANAGEMENT ===== */
/* Remove default browser focus outline on mouse clicks */
*:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

/* Remove focus outline for mouse interactions on buttons and links */
button:focus:not(:focus-visible),
a:focus:not(:focus-visible),
.btn:focus:not(:focus-visible),
.nav-link:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

/* Maintain accessibility with visible focus for keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--text-dark) !important;
    outline-offset: 2px !important;
    box-shadow: none !important;
}

/* Enhanced focus for form elements */
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary-color) !important;
    outline-offset: 2px !important;
    border-color: var(--primary-color) !important;
}

/* Enhanced focus for interactive elements */
button:focus-visible,
a:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible {
    outline: 2px solid var(--primary-color) !important;
    outline-offset: 2px !important;
}

/* ===== CUSTOM BUTTONS ===== */
.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

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

.btn-secondary-custom {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

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

.btn-outline-custom {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

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

/* ===== CUSTOM CARDS ===== */
.card-custom {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
    border: none;
    overflow: hidden;
}

.card-custom:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.card-custom .card-img-top {
    transition: transform var(--transition-medium);
    margin-bottom: 0.625rem;
}

.card-custom:hover .card-img-top {
    transform: scale(1.05);
}

.card-custom .card-body {
    padding: 1.5rem;
}

.card-custom .card-title {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

/* ===== FILTERS SIDEBAR ===== */
.filters-sidebar {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    padding: 0;
    overflow: hidden;
}

.filters-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: var(--white);
    padding: 20px;
    text-align: center;
}

.filters-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.filter-section {
    padding: 20px;
    border-bottom: 1px solid #f3f4f6;
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-section-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.filter-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 0;
    transition: all var(--transition-fast);
    position: relative;
}

.filter-option:hover {
    transform: translateX(5px);
}

.filter-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    height: 18px;
    width: 18px;
    background-color: #f3f4f6;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    transition: all var(--transition-fast);
}

.checkmark.radio {
    border-radius: 50%;
}

.filter-option input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkmark.radio:after {
    left: 4px;
    top: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
    border: none;
}

.filter-option input:checked ~ .checkmark:after {
    display: block;
}

.option-text {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.filter-option:hover .option-text {
    color: var(--primary-color);
}

.apply-filters-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: var(--white);
    border: none;
    padding: 15px 20px;
    border-radius: 0 0 16px 16px;
    font-weight: 600;
    font-size: 0.95rem;
    width: 100%;
    transition: all var(--transition-fast);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apply-filters-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: var(--white);
}

/* ===== TAG BADGES ===== */

.tag-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 2px 10px;
    color: #FFFFFF;
}

.tag-premium {
    background-color: #f3e8ff;
    color: #7c3aed;
}

.tag-kids {
    background-color: #fce7f3;
    color: #be185d;
}

.tag-addon {
    background-color: #fef3c7;
    color: #92400e;
}

.tag-traditional {
    background-color: #dcfce7;
    color: #166534;
}

/* ===== NAVBAR STYLES ===== */
.navbar-custom {
    background: var(--white);
    box-shadow: var(--shadow-light);
    transition: all var(--transition-fast);
}

.navbar-custom .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.navbar-custom .nav-link {
    font-weight: 500;
    color: var(--text-gray);
    transition: color var(--transition-fast);
    position: relative;
}

.navbar-custom .nav-link:hover {
    color: var(--primary-color);
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-fast);
}

.navbar-custom .nav-link:hover::after {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero-section {
    /*background: linear-gradient(135deg, var(--primary-light) 0%, var(--cream-medium) 100%);*/
    background-color: var(--white);
    padding: 80px 0 70px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    color: var(--text-dark);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    /*margin-bottom: 2rem;*/
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.4s both;
}

/* ===== SECTION STYLES ===== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Small variant for section titles */
.section-title-small {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* ===== PRODUCT CARDS ===== */
.product-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
    border: none;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-heavy);
}

.product-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform var(--transition-medium);
    margin-bottom: 0.625rem;
}

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

.product-card .card-body {
    padding: 1.5rem;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.star-filled {
    color: #fbbf24;
}

/* ===== WISHLIST BUTTON ===== */
.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-fast);
    cursor: pointer;
    z-index: 2;
}

.wishlist-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-heavy);
}

.wishlist-btn i {
    color: var(--text-gray);
    font-size: 1.1rem;
    transition: all var(--transition-fast);
}

.wishlist-btn:hover i {
    color: var(--primary-color);
}

.wishlist-btn i.bi-heart-fill {
    color: var(--primary-color);
}

/* ===== PRODUCT ACTIONS ===== */
.product-actions {
    margin-top: auto;
    padding-top: 1rem;
}

.add-to-cart-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: var(--white);
}

/* ===== CUSTOM PAGINATION ===== */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.custom-pagination {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 6px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.custom-pagination .page-item {
    margin: 0;
}

.custom-pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--white);
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-medium);
    border: 2px solid #e5e7eb;
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

/* Special styling for navigation arrows */
.custom-pagination .page-item:first-child .page-link {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    min-width: 48px;
}

.custom-pagination .page-item:last-child .page-link {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    min-width: 48px;
}

/* Enhanced styling for navigation arrows */
.custom-pagination .page-item:first-child .page-link,
.custom-pagination .page-item:last-child .page-link {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-color: #cbd5e1;
    font-weight: 700;
}

.custom-pagination .page-item:first-child .page-link:hover,
.custom-pagination .page-item:last-child .page-link:hover {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.custom-pagination .page-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(233, 180, 59, 0.1), transparent);
    transition: left var(--transition-medium);
}

.custom-pagination .page-link:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.custom-pagination .page-link:hover::before {
    left: 100%;
}

.custom-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-medium);
    transform: scale(1.05);
}

.custom-pagination .page-item.active .page-link::before {
    display: none;
}

.custom-pagination .page-item.disabled .page-link {
    background: #f8fafc;
    color: #cbd5e1;
    cursor: not-allowed;
    box-shadow: none;
    border-color: #e2e8f0;
}

.custom-pagination .page-item.disabled .page-link:hover {
    transform: none;
    box-shadow: none;
    background: #f8fafc;
    color: #cbd5e1;
}

.custom-pagination .page-link.dots {
    background: transparent;
    border: none;
    box-shadow: none;
    cursor: default;
    min-width: auto;
    padding: 0 8px;
    font-weight: 500;
    color: var(--text-gray);
}

.custom-pagination .page-link.dots:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
    color: var(--text-gray);
}

/* Pagination wrapper styling */
.pagination-wrapper {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Responsive pagination adjustments */
@media (max-width: 768px) {
    .custom-pagination {
        gap: 4px;
    }

    .custom-pagination .page-link {
        min-width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .custom-pagination .page-item:first-child .page-link,
    .custom-pagination .page-item:last-child .page-link {
        min-width: 44px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .custom-pagination {
        gap: 3px;
    }

    .custom-pagination .page-link {
        min-width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .custom-pagination .page-item:first-child .page-link,
    .custom-pagination .page-item:last-child .page-link {
        min-width: 40px;
        border-radius: 8px;
    }
}

/* ===== FOOTER STYLES ===== */
.footer-custom {
    background: linear-gradient(135deg, #060e18 0%, #1c2630 100%);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-custom h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-custom a {
    color: #d1d5db;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-custom a:hover {
    color: var(--white);
}

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

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

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

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

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

/* ===== UTILITY CLASSES ===== */
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease;
}

.animate-bounce {
    animation: bounce 1s infinite;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

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

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

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

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn-primary-custom,
    .btn-secondary-custom,
    .btn-outline-custom {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-section {
        padding: 75px 0 30px 0;
    }

    .product-card .card-body {
        padding: 1rem;
    }
}

/* ===== LOADING ANIMATIONS ===== */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ===== SCROLL ANIMATIONS ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

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

/* ===== PRODUCT DETAIL PAGE STYLES ===== */

/* Breadcrumb Section */
.breadcrumb-section {
    background: var(--white);
    border-bottom: 1px solid #e5e7eb;
}

.custom-breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.custom-breadcrumb .breadcrumb-item {
    font-size: 0.9rem;
}

.custom-breadcrumb .breadcrumb-item a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.custom-breadcrumb .breadcrumb-item a:hover {
    color: var(--primary-color);
}

.custom-breadcrumb .breadcrumb-item.active {
    color: var(--text-dark);
    font-weight: 500;
}

.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: var(--text-gray);
    margin: 0 8px;
}

/* Product Gallery */
.product-gallery {
    background: var(--white);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-medium);
}

.main-image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.main-product-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform var(--transition-medium);
}

.main-product-image:hover {
    transform: scale(1.02);
}

.wishlist-btn-large {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.wishlist-btn-large:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-heavy);
}

.wishlist-btn-large i {
    font-size: 1.2rem;
    color: var(--text-gray);
    transition: color var(--transition-fast);
}

.wishlist-btn-large:hover i {
    color: var(--primary-color);
}

.wishlist-btn-large.active i {
    color: var(--primary-color);
}

.thumbnail-gallery {
    margin-top: 15px;
}

.thumbnail-image {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
}

.thumbnail-image:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.thumbnail-image.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-light);
}

/* Product Info */
.product-info {
    background: var(--white);
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--shadow-medium);
    height: fit-content;
}

.product-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.product-rating-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.product-rating-display {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star-filled {
    color: #fbbf24;
    font-size: 1.1rem;
}

.rating-text {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.stock-badge {
    background: #dcfce7;
    color: #166534;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.current-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 1.5rem;
    color: var(--text-gray);
    text-decoration: line-through;
    margin-left: 10px;
}

.discount-badge {
    background: #dcfce7;
    color: #166534;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 10px;
}

.description-text {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 0;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--text-gray);
}

.feature-icon {
    color: #10b981;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Purchase Actions */
.purchase-actions {
    margin-bottom: 20px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.quantity-btn {
    background: var(--white);
    border: none;
    padding: 10px 14px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.quantity-btn:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.quantity-display {
    padding: 10px 16px;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    font-weight: 600;
    color: var(--text-dark);
    min-width: 50px;
    text-align: center;
}

.btn-primary-custom {
    white-space: nowrap;
    min-width: 120px;
}

.btn-secondary-custom {
    white-space: nowrap;
    min-width: 100px;
}

.btn-primary-custom.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Product Benefits */
.product-benefits {
    border-top: 1px solid #e5e7eb;
    padding-top: 12px !important; /* reduced top padding */
    margin-top: 10px !important; /* reduce space from above */
}

.benefit-item {
    padding: 15px 10px;
}

.benefit-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.benefit-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.benefit-subtitle {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin: 0;
}

/* Related Products */
.related-products {
    background: var(--white);
    border-radius: 16px;
   /* margin-top: 30px;*/
    padding: 30px;
    box-shadow: var(--shadow-medium);
}

.section-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 30px;
}

/* Product Card Styles for Related Products */
.product-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
    border: none;
    overflow: hidden;
    cursor: pointer;
    height: 100%;
}

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

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

.product-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    transition: opacity 0.2s ease-in-out;
}

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



.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
}

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.wishlist-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-medium);
}

.wishlist-btn i {
    font-size: 1rem;
    color: var(--text-gray);
    transition: color var(--transition-fast);
}

.wishlist-btn:hover i {
    color: var(--primary-color);
}

.wishlist-btn.active i {
    color: var(--primary-color);
}

.product-card-body {
    padding: 20px;
}

.product-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-card-subtitle {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.product-card-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Responsive Design for Product Detail */
@media (max-width: 992px) {
    .product-title {
        font-size: 2rem;
    }

    .current-price {
        font-size: 2rem;
    }

    .product-info {
        padding: 20px;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 1.75rem;
    }

    .current-price {
        font-size: 1.75rem;
    }

    .product-pricing {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .purchase-actions .d-flex {
        flex-wrap: wrap;
        gap: 10px;
    }

    .quantity-selector {
        order: 1;
        width: 100%;
        justify-content: center;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        flex: 1;
        min-width: auto;
    }

    .main-product-image {
        height: 300px;
    }

    .thumbnail-image {
        height: 60px;
    }
}

@media (max-width: 576px) {
    .product-title {
        font-size: 1.5rem;
    }

    .current-price {
        font-size: 1.5rem;
    }

    .product-info {
        padding: 15px;
    }

    .main-product-image {
        height: 250px;
    }

    .product-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .btn-primary-custom.btn-sm {
        width: 100%;
    }
}

/* ===== LOGIN & SIGNUP PAGE STYLES ===== */

/* Login Section */
.login-section {
    background: linear-gradient(135deg, var(--cream-light) 0%, var(--white) 100%);
    min-height: 100vh;
}

.login-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-heavy);
    padding: 40px;
    height: 100%;
}

.login-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.login-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.login-form {
    margin-top: 30px;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.custom-input {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: var(--white);
}

.custom-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
    outline: none;
}

.form-check-input {
    border: 2px solid #e5e7eb;
    border-radius: 4px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

.form-check-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
    outline: none;
}

.form-check-input:hover {
    border-color: var(--primary-color);
}

.form-check-label {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-left: 8px;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
}

.form-check-label span {
    display: inline;
    white-space: normal;
    font-weight: 400;
    color: var(--text-gray);
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.form-check-input {
    margin-top: 2px;
}

.forgot-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.forgot-link:hover {
    color: var(--primary-hover);
}

.divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.divider span {
    background: var(--white);
    padding: 0 15px;
    color: var(--text-gray);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.btn-social {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: var(--white);
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-social:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

.btn-google {
    color: #ea4335;
}

.btn-google:hover {
    background: #fef2f2;
    border-color: #ea4335;
}

.btn-facebook {
    color: #1877f2;
}

.btn-facebook:hover {
    background: #f0f8ff;
    border-color: #1877f2;
}

.signup-text {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin: 0;
}

.signup-link {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.signup-link:hover {
    color: var(--primary-hover);
}

.form-check {
    gap: 10px;
    align-items: flex-start;
}

/* Benefits Card */
.benefits-card {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--cream-medium) 100%);
    border-radius: 16px;
    padding: 40px;
    height: 100%;
    box-shadow: var(--shadow-medium);
}

.benefits-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 30px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-fast);
}

.benefit-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-medium);
}

.benefit-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.benefit-item span {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
}

/* Benefit Icon Wrappers for Login & Signup Pages */
.benefit-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 15px;
}

.benefit-icon-wrapper .benefit-icon {
    font-size: 1.2rem;
    margin: 0;
}

.benefit-icon-green {
    background: #dcfce7;
    color: #16a34a;
}

.benefit-icon-blue {
    background: #dbeafe;
    color: #2563eb;
}

.benefit-icon-purple {
    background: #f3e8ff;
    color: #9333ea;
}

.benefit-icon-gold {
    background: #fef3c7;
    color: #d97706;
}

/* Responsive Design for Login */
@media (max-width: 768px) {
    .login-title {
        font-size: 2rem;
    }

    .login-card {
        padding: 30px 20px;
    }

    .benefits-card {
        padding: 30px 20px;
        margin-top: 20px;
    }

    .benefits-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .login-title {
        font-size: 1.75rem;
    }

    .login-card {
        padding: 25px 15px;
    }

    .benefits-card {
        padding: 25px 15px;
    }

    .benefit-item {
        padding: 12px;
    }

    .benefit-icon {
        font-size: 1.25rem;
    }
}

/* ===== PRODUCT DETAIL BENEFIT CARDS (Enhanced & Compact) ===== */
.product-benefit-item {
    background: linear-gradient(135deg, #fff 80%, #fef3c7 100%);
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.07);
    border: 1.5px solid #fde68a;
    padding: 16px 6px 10px 6px; /* reduced padding */
    min-height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.2s, transform 0.2s;
}

.product-benefit-item:hover {
    box-shadow: 0 8px 32px rgba(220, 38, 38, 0.13);
    transform: translateY(-4px) scale(1.03);
}

.product-benefit-icon {
    font-size: 2.4rem;
    color: var(--primary-color);
    filter: drop-shadow(0 2px 6px #fde68a);
    transition: color 0.2s;
}

.product-benefit-title {
    font-weight: 700;
    font-size: 1.01rem; /* slightly smaller */
    color: #b91c1c;
    margin-bottom: 3px;
    letter-spacing: 0.01em;
}

.product-benefit-subtitle {
    font-size: 0.98rem;
    color: #7c7c7c;
    margin-bottom: 0;
    margin-top: 0;
    line-height: 1.3;
    font-weight: 500;
}

/* Product Tag Styles */
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}


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

@media (max-width: 768px) {
    .tag-badge {
        font-size: 10px;
        padding: 3px 6px;
    }
}

/* Product Information Styles */
.product-information {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.info-section-title {
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
}

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

.info-label {
    font-weight: 600;
    color: #555;
    font-size: 0.9rem;
}

.info-value {
    color: #333;
    font-weight: 500;
    text-align: right;
}

/* Enquiry Form Styles */
.enquiry-form {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.enquiry-form {
    max-width: 100%;
}

.enquiry-form .form-label {
    font-weight: 500;
}

.enquiry-form .btn-primary {
    background-color: #e9b43b; /* Tile brand color */
    border: none;
}

.enquiry-form .btn-primary:hover {
    background-color: #e9b43b;
}

.enquiry-form .shadow {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .info-value {
        text-align: left;
    }

    .enquiry-form {
        padding: 15px;
    }
}

/* ===== PRODUCT IMAGE MAGNIFY EFFECT ===== */
.magnify-container {
    position: relative;
    overflow: hidden;
    cursor: crosshair;
    z-index: 1;
}

.magnify-container img {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

/* Magnified image container - positioned over the main image */
.magnified-view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
    box-shadow: none;
    background-repeat: no-repeat;
    background-size: 800px 800px;
    background-position: center;
    z-index: 1001;
    display: none;
    transition: all 0.1s ease-out;
    background-color: transparent;
    pointer-events: none;
    overflow: hidden;
    /* Ensure it stays within the container bounds */
    max-width: 100%;
    max-height: 100%;
    box-sizing: border-box;
}

.magnified-view.active {
    display: block;
}

/* Ensure product badges stay above magnified view */
.product-badges {
    z-index: 1002;
    position: relative;
}

/* Magnify instruction styling */
.magnify-instruction {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.magnify-instruction:hover {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .magnified-view {
        background-size: 600px 600px;
    }
}

@media (max-width: 768px) {
    .magnified-view {
        background-size: 500px 500px;
    }
}

@media (max-width: 768px) {
    /* Hide magnified view on mobile devices */
    .magnified-view {
        display: none !important;
    }

    .magnify-container {
        cursor: default;
    }

    .magnify-instruction {
        display: none !important;
    }
}
