/**
 * Project 39 Motorbike Parts Theme Styles
 * Based on Figma design from project-39.com
 */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --primary-color: #f97c30;
    --primary-red: #e74c3c;
    --dark-bg: #1a1a1a;
    --text-dark: #333;
    --text-light: #666;
    --text-color: #181818;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --gray-light: #f8f8f8;
    --cart-accent: #ff7019;
    --cart-accent-hover: #e66414;
    --cart-border: #e8e8e8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    color: var(--text-color);
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: "Montserrat", sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    color: var(--text-color);
}

.main-content {
    padding-top: calc(var(--sticky-topbar-height) + var(--sticky-header-height) + var(--sticky-nav-height));
}

@media (max-width: 992px) {
    .main-content {
        padding-top: 0;
    }
}

@media (min-width: 1200px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1624px;
    }
}

/* ============================================
   Product Page Styles
   ============================================ */

.product-page-wrapper {
    min-height: 100vh;
}

/* Product Images - Thumbnails left, main image right, height = right column only */
.product-page-wrapper .row.g-4.mb-5 {
    align-items: stretch;
}

/* Left column: height set by JS to match right section; overflow hidden so content fits only in that space */
.product-page-wrapper .row.g-4.mb-5>.product-images-col {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.product-images--thumbs-left {
    display: flex;
    gap: 1rem;
    width: 100%;
    flex: 1;
    min-height: 0;
    position: relative;
}

.product-gallery-sidebar {
    flex-shrink: 0;
    width: 92px;
}

.product-gallery-sidebar {
    max-height: 520px;
    overflow-y: auto;
    padding-right: 0px;
    scroll-behavior: smooth;
}

/* Modern Scrollbar */
.product-gallery-sidebar::-webkit-scrollbar {
    width: 6px;
}

.product-gallery-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.product-gallery-sidebar::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}

.product-gallery-sidebar::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.thumbnail-gallery--vertical {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-wrap: nowrap;
    margin: 0;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.thumbnail-gallery--vertical .thumbnail-item {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.product-gallery-main-wrap {
    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.product-gallery-main {
    /* flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column; */
}

/* Arrows beside image (no overlap) */
.product-gallery-main-wrap .gallery-arrow {
    position: static;
    transform: none;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
}

.product-gallery-main-wrap .gallery-arrow--prev,
.product-gallery-main-wrap .gallery-arrow--next {
    left: auto;
    right: auto;
}

.product-gallery-main .main-image-container {
    flex: 1;
    height: 402px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.main-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    max-width: 100%;
    width: 100%;
}

/* Prev/Next arrows - base (overridden in wrap to sit beside image) */
.gallery-arrow {

    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: background 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}

.gallery-arrow:hover {
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    color: var(--primary-color, #ff7019);
}

.gallery-arrow--prev {
    left: 12px;
}

.gallery-arrow--next {
    right: 12px;
}

.gallery-arrow:disabled,
.gallery-arrow.hidden {
    opacity: 0.4;
    pointer-events: none;
}

.product-gallery-main .zoom-wrapper {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
    overflow: hidden;
    padding: 1rem;
    box-sizing: border-box;
}

.product-gallery-main .main-product-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
    vertical-align: middle;
}

@media (max-width: 767px) {
    .product-images--thumbs-left {
        flex-direction: column;
    }

    .product-gallery-sidebar {
        width: 100%;
        order: 2;
    }

    .thumbnail-gallery--vertical {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        max-height: none;
    }

    .product-gallery-main {
        order: 1;
    }

    .product-gallery-main .main-image-container,
    .product-gallery-main .zoom-wrapper {
        min-height: 280px;
    }
}

/* Product Image Zoom Styles */
.product-image-zoom-wrapper {
    position: relative;
    overflow: hidden;
    cursor: crosshair;
    width: 100%;
    max-width: 100%;
    min-height: 400px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}

.product-main-image {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    display: block !important;
    transition: opacity 0.3s ease;
    object-fit: contain;
    pointer-events: none;
}

.product-zoom-preview {
    position: fixed;
    display: none;
    border: 3px solid #fff;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    pointer-events: none;
    background-color: #fff;
    overflow: hidden;
}

.thumbnail-gallery {
    margin-top: 15px;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.thumbnail-item {
    width: 80px;
    height: 80px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    transition: all 0.3s;
    flex-shrink: 0;
    pointer-events: auto;
}

.thumbnail-item img,
.thumbnail-img {
    pointer-events: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumbnail-item.active {
    border-color: var(--primary-color);
    border-width: 3px;
}

.thumbnail-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-info-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    position: sticky;
    top: 20px;
}

.product-title-main {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.product-meta-info {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-label {
    color: #6c757d;
    font-size: 0.9rem;
}

.meta-value {
    color: #2c3e50;
    font-weight: 600;
}

.product-rating-section {
    margin-bottom: 1.5rem;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    cursor: pointer;
}

.stars-rating {
    color: #ffc107;
    font-size: 1rem;
}

.stars-rating .filled {
    color: #ffc107;
}

.rating-number {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.1rem;
}

.rating-count {
    color: #6c757d;
    font-size: 0.9rem;
}

.view-reviews-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.view-reviews-link:hover {
    text-decoration: underline;
}

.no-reviews-text {
    color: #6c757d;
    font-size: 0.95rem;
}

.product-price-card {
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #ffe0e0;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.current-price {
    color: #f34444;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
}

.original-price {
    color: #999;
    font-size: 1.5rem;
    text-decoration: line-through;
}

.discount-badge {
    background: #f34444;
    color: #fff;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-variants-section {
    margin-bottom: 1.5rem;
}

.variant-group {
    margin-bottom: 1.25rem;
}

.variant-label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.variant-options {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.variant-btn,
.qv-static-color-btn {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    font-weight: 500;
}

.color-variant-btn {
    width: 48px;
    height: 48px;
    padding: 0;
    position: relative;
}

.color-variant-btn .color-text {
    font-size: 0.7rem;
    color: #333;
}

.size-variant-btn {
    min-width: 48px;
    height: 48px;
    padding: 0 18px;
    color: #2c3e50;
}

.variant-btn:hover,
.qv-static-color-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 112, 25, 0.2);
}

.variant-btn.active,
.qv-static-color-btn.active {
    border-color: var(--primary-color);
    border-width: 3px;
    box-shadow: 0 4px 12px rgba(255, 112, 25, 0.3);
}

.stock-status-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

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

.stock-icon.in-stock {
    color: #28a745;
}

.stock-icon.out-of-stock {
    color: #dc3545;
}

.stock-text {
    font-weight: 600;
    font-size: 1rem;
}

.stock-text.in-stock {
    color: #28a745;
}

.stock-text.out-of-stock {
    color: #dc3545;
}

.stock-quantity {
    color: #6c757d;
    font-size: 0.9rem;
}

.product-actions-section {
    margin-bottom: 1.5rem;
}

.delivery-info-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.delivery-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #2c3e50;
}

.delivery-header i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.pincode-check-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pincode-input-group {
    display: flex;
    gap: 0.5rem;
}

.pincode-input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.75rem;
    font-size: 0.95rem;
}

.btn-check-pincode {
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-check-pincode:hover {
    background: #e55a0a;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 112, 25, 0.3);
}

.delivery-result {
    padding: 0.75rem;
    background: #d4edda;
    border-radius: 6px;
    border: 1px solid #c3e6cb;
}

.delivery-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #155724;
}

.delivery-message i {
    color: #28a745;
}

.delivery-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.delivery-feature i {
    color: var(--primary-color);
}

.additional-actions-section {
    display: flex;
    gap: 0.75rem;
}

.action-btn {
    flex: 1;
    border: 2px solid #e0e0e0;
    background: #fff;
    color: #333;
    padding: 0.875rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.action-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 112, 25, 0.2);
}

/* Compact product info card – reduced height */
.product-info-card--compact {
    padding: 1rem 1.25rem;
}

.product-info-card--compact .product-title-main {
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
}

.product-info-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}

.product-info-row--head {
    margin-bottom: 0.5rem;
}

.product-info-card--compact .product-meta-info {
    margin-bottom: 0;
    gap: 1rem;
}

.product-info-row--rating-price {
    margin-bottom: 0.75rem;
    gap: 1.25rem;
}

.product-info-card--compact .product-rating-section {
    margin-bottom: 0;
}

.product-info-card--compact .product-rating-section .stars-rating {
    font-size: 0.85rem;
}

.product-info-card--compact .rating-number {
    font-size: 1rem;
}

.product-info-card--compact .product-price-card {
    padding: 0.5rem 0.75rem;
    margin-bottom: 0;
    border-radius: 8px;
}

.product-info-card--compact .current-price {
    font-size: 1.2rem;
}

.product-info-card--compact .original-price {
    font-size: 0.9rem;
}

.product-info-card--compact .product-variants-section {
    margin-bottom: 0.75rem;
}

.variant-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    align-items: flex-start;
}

.product-info-card--compact .variant-group {
    margin-bottom: 0;
}

.product-info-card--compact .variant-label {
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
}

.product-info-card--compact .color-variant-btn {
    width: 36px;
    height: 36px;
}

.product-info-card--compact .size-variant-btn {
    min-width: 38px;
    height: 36px;
    padding: 0 10px;
    font-size: 0.9rem;
}

.product-info-card--compact .variant-options {
    gap: 0.5rem;
}

.product-actions-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}

.product-info-card--compact .stock-status-card {
    padding: 0.5rem 0.75rem;
    margin-bottom: 0;
    border-radius: 6px;
    gap: 0.5rem;
}

.product-info-card--compact .stock-icon {
    font-size: 1rem;
}

.product-info-card--compact .stock-text,
.product-info-card--compact .stock-quantity {
    font-size: 0.85rem;
}

.quantity-selector-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-label {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
    color: #2c3e50;
}

.product-info-card--compact .input-group.input-group-sm {
    max-width: 110px;
}

.product-info-card--compact .input-group.input-group-sm .form-control {
    padding: 0.35rem 0.5rem;
    font-size: 0.85rem;
}

.product-info-card--compact .input-group.input-group-sm .btn {
    padding: 0.35rem 0.6rem;
}

.product-action-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.product-info-card--compact .btn-add-to-cart,
.product-info-card--compact .btn-buy-now {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.product-info-card--compact .btn-add-to-cart {
    background: #ff7019;
    color: #fff;
}

.product-info-card--compact .btn-add-to-cart i {
    color: #fff;
}

.product-info-card--compact .btn-buy-now {
    background: #f34444;
    color: #fff;
}

.product-info-card--compact .product-actions-section {
    margin-bottom: 0.75rem;
}

.product-info-card--compact .delivery-info-card {
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    border-radius: 8px;
}

.delivery-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}

.delivery-icon {
    color: var(--primary-color);
    font-size: 0.95rem;
}

.product-info-card--compact .pincode-input-group {
    flex: 1;
    min-width: 160px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-info-card--compact .pincode-input {
    padding: 0.4rem 0.6rem;
    font-size: 0.9rem;
}

.product-info-card--compact .btn-check-pincode {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
}

.delivery-feature-inline {
    font-size: 0.8rem;
    color: #6c757d;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.delivery-feature-inline i {
    color: var(--primary-color);
}

.product-info-card--compact .delivery-result {
    padding: 0.5rem 0.75rem;
    margin-top: 0.5rem;
}

.product-info-card--compact .additional-actions-section {
    margin-bottom: 0;
}

.product-info-card--compact .action-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
}

/* Product view: wishlist button */
.wishlist-btn {
    min-width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    transition: all 0.3s;
}

.wishlist-btn i {
    font-size: 20px;
    color: #666;
}

/* Product view: star colors */
.stars-rating .filled,
.stars-rating .fa-star.filled,
.stars-rating .fa-star-half-alt.filled {
    color: #fbbf24;
}

.stars-rating .fa-star:not(.filled),
.stars-rating .far.fa-star {
    color: #d1d5db;
}

/* Product view: stock status icon colors */
.stock-icon.in-stock {
    color: #10b981;
}

.stock-icon.out-of-stock {
    color: #ef4444;
}

.stock-text.in-stock {
    color: #10b981;
}

.stock-text.out-of-stock {
    color: #ef4444;
}

/* Product view: additional links (Refund Policy external icon) */
.product-link-item .fa-external-link-alt {
    font-size: 0.75rem;
}

/* Product view – moved from view.blade.php internal <style> */
.product-variants-section .color-variant-btn {
    padding: 0;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid #ddd;
    width: 38px;
    height: 36px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.product-variants-section .qv-static-color-btn {
    padding: 0;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid #ddd;
    width: 38px;
    height: 36px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.product-variants-section .color-variant-btn:hover {
    border-color: #f97c30;
    transform: scale(1.05);
}

.product-variants-section .color-variant-btn.active {
    border-color: #f97c30;
}

.product-variants-section .color-variant-btn img.color-variant-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-variants-section .color-variant-btn .color-variant-swatch {
    display: none;
}

.product-variants-section .qv-static-color-btn .color-variant-swatch {
    display: block;
    width: 100%;
    height: 100%;
}

.product-variants-section .color-variant-btn .variant-label-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 10px;
    text-align: center;
    padding: 2px 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.product-variants-section .color-variant-btn:hover .variant-label-overlay {
    transform: translateY(0);
}

@media (max-width: 767.98px) {
    .product-variants-section .variant-row {
        flex-direction: column;
        gap: 0.85rem;
    }

    .product-variants-section .variant-group {
        width: 100%;
        margin-bottom: 0;
    }

    .product-variants-section .variant-label {
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }

    .product-variants-section .variant-options {
        gap: 0.5rem;
    }

    .product-variants-section .color-variant-btn,
    .product-variants-section .qv-static-color-btn {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
    }

    .product-variants-section .size-variant-btn {
        min-width: 42px;
        height: 38px;
        padding: 0 12px;
        font-size: 0.85rem;
    }
}

.product-tabs-section-wrapper {
    margin-top: 3rem;
}

.product-tabs-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.product-tabs-nav {
    border-bottom: 2px solid #e5e7eb;
    padding: 0;
    margin: 0;
    background: #f9fafb;
}

.product-tabs-nav .nav-item {
    margin-bottom: 0;
}

.product-tabs-nav .nav-link {
    padding: 1rem 2rem;
    color: #6b7280;
    font-weight: 500;
    border: none;
    border-bottom: 3px solid transparent;
    background: transparent;
    transition: all 0.3s ease;
}

.product-tabs-nav .nav-link:hover {
    color: #f97c30;
    background: #fff;
    border-bottom-color: #f97c30;
}

.product-tabs-nav .nav-link.active {
    color: #f97c30;
    background: #fff;
    border-bottom-color: #f97c30;
    font-weight: 600;
}

.product-tabs-content {
    padding: 2rem;
}

.product-tabs-content .tab-pane {
    min-height: 200px;
}

.description-content-card {
    padding: 0;
}

.description-content-card .long-description {
    line-height: 1.8;
    color: #374151;
}

.description-content-card .short-description {
    font-size: 1.1rem;
    font-weight: 500;
    color: #111827;
}

.description-content-card .full-description {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .product-tabs-nav .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .product-tabs-content {
        padding: 1.5rem 1rem;
    }
}

.attribute-table table {
    margin-bottom: 0;
}

.attribute-table .attribute-label {
    width: 30%;
    background-color: #f9fafb;
    font-weight: 500;
}

.attribute-table .attribute-value {
    width: 70%;
}

.wishlist-btn:hover {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
}

.wishlist-btn:hover i {
    color: #ef4444 !important;
}

.compare-btn:hover {
    border-color: #f97c30;
    color: #f97c30;
}

.product-additional-links {
    padding-top: 1rem;
    margin-top: 1rem;
}

.product-link-item {
    display: inline-flex;
    align-items: center;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.product-link-item:hover {
    color: #f97c30;
    text-decoration: none;
}

.product-link-item.btn-link {
    text-decoration: none;
}

.product-link-item i {
    font-size: 0.875rem;
}

.breadcrumb-nav {
    margin-bottom: 1rem;
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-link {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: #f97c30;
    text-decoration: none;
}

.breadcrumb-separator {
    color: #d1d5db;
    font-size: 0.625rem;
    user-select: none;
    display: flex;
    align-items: center;
}

.breadcrumb-separator i {
    font-size: 0.625rem;
}

.breadcrumb-item-active {
    pointer-events: none;
}

.breadcrumb-current {
    color: #374151;
    font-size: 0.875rem;
    font-weight: 600;
}

@media (max-width: 768px) {

    .breadcrumb-link,
    .breadcrumb-current {
        font-size: 0.75rem;
    }

    .breadcrumb-separator {
        font-size: 0.5rem;
    }
}

.discount-badge.d-none,
.original-price.d-none {
    display: none !important;
}

.attribute-table .img-thumbnail {
    max-width: 100px;
    max-height: 100px;
}

.product-toast-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
}

.section-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-heading i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.product-highlights-description-section {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.product-highlights-section,
.product-description-section,
.delivery-returns-section,
.reviews-ratings-section,
.related-products-section {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.highlight-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s;
}

.highlight-card:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.highlight-icon-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.highlight-text {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.description-content-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
}

.long-description {
    color: #495057;
    line-height: 1.8;
}

.long-description h1,
.long-description h2,
.long-description h3.description-heading {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.long-description h1:first-child,
.long-description h2:first-child,
.long-description h3.description-heading:first-child {
    margin-top: 0;
}

.long-description p {
    line-height: 1.8;
    margin-bottom: 0px;
}

.long-description ul,
.long-description ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.long-description li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.usage-benefits,
.target-audience,
.specifications-in-description {
    margin-bottom: 1.5rem;
}

.subsection-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #495057;
}

.benefits-list li i {
    color: #28a745;
}

.target-audience p {
    color: #6c757d;
    line-height: 1.8;
}

.specifications-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 1rem;
}

.specifications-table {
    width: 100%;
    border-collapse: collapse;
}

.specifications-table tr {
    border-bottom: 1px solid #e0e0e0;
}

.specifications-table tr:last-child {
    border-bottom: none;
}

.spec-label {
    width: 30%;
    padding: 1rem 1.5rem;
    font-weight: 600;
    background: #f8f9fa;
    color: #2c3e50;
}

.spec-value {
    padding: 1rem 1.5rem;
    color: #495057;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.75rem;
    transition: all 0.3s;
}

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

.info-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.info-card-header i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.info-card-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #495057;
}

.info-list li i {
    color: #28a745;
    font-size: 0.85rem;
}

.reviews-summary-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.rating-overview {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: center;
}

.average-rating-display {
    text-align: center;
}

.rating-number-large {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stars-rating-large {
    color: #ffc107;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.total-reviews-text {
    color: #6c757d;
    font-size: 0.95rem;
}

.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-label {
    min-width: 70px;
    font-size: 0.9rem;
    color: #495057;
}

.progress-bar-container {
    flex: 1;
    height: 24px;
    background: #e9ecef;
    border-radius: 12px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffc107 0%, #ff9800 100%);
    border-radius: 12px;
    transition: width 0.5s ease;
}

.rating-percentage {
    min-width: 50px;
    text-align: right;
    color: #6c757d;
    font-size: 0.9rem;
}

.user-reviews-section {
    margin-top: 2rem;
}

.review-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.review-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.reviewer-name {
    color: #2c3e50;
    font-size: 1.1rem;
}

.review-rating {
    color: #ffc107;
    font-size: 0.9rem;
}

.review-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.review-content p {
    color: #495057;
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.review-images {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.review-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.no-reviews-card {
    text-align: center;
    padding: 3rem 2rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.no-reviews-card.large {
    padding: 4rem 2rem;
}

.no-reviews-card i {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.no-reviews-card h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.no-reviews-card p {
    color: #6c757d;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.no-related-products {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}

/* Related Products Slider Styles */
.related-products-slider-wrapper {
    position: relative;
}

.related-products-slider .slick-list {
    margin: 0 -10px;
}

.related-products-slider .product-card-carousel-item {
    padding: 0 10px;
}

.related-products-prev,
.related-products-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.related-products-prev {
    left: -50px;
}

.related-products-next {
    right: -50px;
}

.related-products-prev i,
.related-products-next i {
    font-size: 20px;
    color: #333;
}

.related-products-prev:hover i,
.related-products-next:hover i {
    color: var(--primary-color);
}

.related-products-prev .visually-hidden,
.related-products-next .visually-hidden {
    display: none;
}

/* ============================================
   Policy Pages Styles (Refund & Privacy)
   ============================================ */

/* Refund Policy Styles */
.refund-policy-content {
    padding: 60px 0;
    background: #f8f9fa;
    min-height: 70vh;
}

.refund-policy-wrapper {
    background: #ffffff;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.refund-policy-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.refund-policy-section {
    margin-bottom: 40px;
}

.refund-policy-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.refund-policy-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 25px;
    margin-bottom: 15px;
}

.refund-policy-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 15px;
}

.refund-policy-section ul,
.refund-policy-section ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.refund-policy-section li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 10px;
}

.refund-policy-section strong {
    color: #2c3e50;
    font-weight: 600;
}

.refund-policy-highlight {
    background: #fff5f5;
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 25px 0;
    border-radius: 4px;
}

.refund-policy-highlight p {
    margin-bottom: 0;
    color: #2c3e50;
    font-weight: 500;
}

/* Privacy Policy Styles */
.privacy-policy-content {
    padding: 60px 0;
    background: #f8f9fa;
    min-height: 70vh;
}

.privacy-policy-wrapper {
    background: #ffffff;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.privacy-policy-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.privacy-policy-section {
    margin-bottom: 40px;
}

.privacy-policy-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.privacy-policy-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 25px;
    margin-bottom: 15px;
}

.privacy-policy-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 15px;
}

.privacy-policy-section ul,
.privacy-policy-section ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.privacy-policy-section li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 10px;
}

.privacy-policy-section strong {
    color: #2c3e50;
    font-weight: 600;
}

.privacy-policy-highlight {
    background: #fff5f5;
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 25px 0;
    border-radius: 4px;
}

.privacy-policy-highlight p {
    margin-bottom: 0;
    color: #2c3e50;
    font-weight: 500;
}

/* Shared Contact Info Styles */
.contact-info {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
}

.contact-info h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .product-info-card {
        position: relative;
        top: 0;
    }

    .rating-overview {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .info-cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-page-wrapper {
        padding: 1rem 0;
    }

    .product-info-card,
    .product-highlights-section,
    .product-description-section,
    .product-highlights-description-section,
    .delivery-returns-section,
    .reviews-ratings-section,
    .related-products-section {
        padding: 1.5rem;
    }

    .product-title-main {
        font-size: 1.5rem;
    }



    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        font-size: 1.5rem;
    }

    /* Disable zoom on mobile devices */
    .product-image-zoom-wrapper {
        cursor: default;
    }

    .product-zoom-preview {
        display: none !important;
    }

    /* Policy Pages Responsive */
    .refund-policy-wrapper,
    .privacy-policy-wrapper {
        padding: 30px 20px;
    }

    .refund-policy-title,
    .privacy-policy-title {
        font-size: 2rem;
    }

    .refund-policy-section h2,
    .privacy-policy-section h2 {
        font-size: 1.5rem;
    }
}



/* ============================================
   Category Page Styles - Modern Neutral Design
   ============================================ */

.category-page-wrapper {
    background: #ffffff;
    min-height: 100vh;
}

/* Breadcrumbs - unified design for category & product pages */
.category-breadcrumb {
    background: transparent;
    padding: 0.75rem 0;
    margin-bottom: 1rem;
}

.category-breadcrumb .breadcrumb {
    margin: 0;
    padding: 0;
    background: transparent;
    --bs-breadcrumb-divider: '/';
}

.category-breadcrumb .breadcrumb-item {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    color: #6c757d;
}

.category-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    content: var(--bs-breadcrumb-divider, '/');
    padding: 0 0.5rem;
    color: #6c757d;
}

.category-breadcrumb .breadcrumb-link {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

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

.category-breadcrumb .breadcrumb-item.active {
    color: #2c3e50;
    font-weight: 500;
}

/* ============================================
   Category Header - Compact Design
   ============================================ */
.category-header-modern {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.category-header-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary-color);
}

.category-header-inner {
    max-width: 100%;
    position: relative;
    z-index: 1;
}

.category-header-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.category-title-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.category-title-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    flex: 1;
}

.category-title-modern {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #1a1a1a;
    letter-spacing: -0.2px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-title-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    opacity: 0.9;
}

.category-meta-info {
    display: flex;
    align-items: center;
}

.category-count-modern {
    background: #ffffff;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    color: #495057;
    border: 1px solid #e9ecef;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.category-count-modern:hover {
    border-color: var(--primary-color);
    box-shadow: 0 1px 4px rgba(249, 124, 48, 0.12);
}

.category-count-modern i {
    color: var(--primary-color);
    font-size: 0.85rem;
}

.category-count-modern .count-number {
    font-weight: 700;
    color: #2c3e50;
    font-size: 0.85rem;
}

.category-count-modern .count-label {
    color: #6c757d;
    font-weight: 500;
    font-size: 0.8rem;
}

.category-description-modern {
    max-width: 900px;
    background: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #f1f3f5;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.category-description-modern .description-icon {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-top: 0.05rem;
    flex-shrink: 0;
}

.category-description-modern p {
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
    color: #495057;
    flex: 1;
}

/* Sidebar - Modern Neutral */
.category-sidebar {
    position: sticky;
    top: 20px;
    z-index: 10;
}

.filter-card-modern {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: all 0.2s ease;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.filter-card-modern:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-color: #dee2e6;
}

.filter-card-header-modern {
    background: #f8f9fa;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.filter-title-modern {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: #2c3e50;
    letter-spacing: 0.2px;
}

.filter-card-body-modern {
    padding: 1.5rem;
}

.filter-section-modern {
    margin-bottom: 1.5rem;
}

.filter-section-modern:last-child {
    margin-bottom: 0;
}

.filter-label-modern {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.75rem;
    letter-spacing: 0.1px;
}

.filter-divider-modern {
    height: 1px;
    background: #e9ecef;
    margin: 1.5rem 0;
    border: none;
}

/* Price Filter - Modern */
.price-input-group-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.price-input-wrapper-modern {
    flex: 1;
}

.price-input-modern {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.9rem;
    width: 100%;
    background: #fff;
}

.price-input-modern:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(249, 124, 48, 0.18);
    outline: none;
}

.price-separator-modern {
    font-size: 1rem;
    color: #adb5bd;
    font-weight: 500;
    padding: 0 0.25rem;
}

.btn-filter-apply-modern {
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-filter-apply-modern:hover {
    background: #e86d1f;
    color: #fff;
}

.btn-filter-apply-modern:active {
    transform: scale(0.98);
}

/* Sort Select - Modern */
.sort-select-modern {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    background-color: #fff;
    font-size: 0.9rem;
    width: 100%;
}

.sort-select-modern:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(249, 124, 48, 0.18);
    outline: none;
}

/* Subcategories - Modern */
.subcategory-list-modern {
    list-style: none;
    padding: 0;
    margin: 0;
}

.subcategory-item-modern {
    margin-bottom: 0.5rem;
}

.subcategory-item-modern:last-child {
    margin-bottom: 0;
}

.subcategory-link-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    color: #495057;
    transition: all 0.2s ease;
    background: #f8f9fa;
    border: 1px solid transparent;
}

.subcategory-link-modern:hover {
    background: #e9ecef;
    color: #2c3e50;
    border-color: #dee2e6;
}

.subcategory-name-modern {
    font-weight: 500;
    flex: 1;
    font-size: 0.9rem;
}

.subcategory-badge-modern {
    background: #ffffff;
    color: #6c757d;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid #dee2e6;
}

.subcategory-link-modern:hover .subcategory-badge-modern {
    background: #2c3e50;
    color: #fff;
    border-color: #2c3e50;
}

/* Price Slider - Dual range */
.price-slider-modern {
    padding: 0.5rem 0;
}

.price-slider-track-modern {
    position: relative;
    height: 24px;
    margin-bottom: 0.75rem;
}

.price-slider-progress-modern {
    position: absolute;
    height: 6px;
    background: var(--primary-color, #ff7019);
    border-radius: 3px;
    top: 9px;
    left: 0;
    right: 0;
    pointer-events: none;
}

.price-slider-input-modern {
    position: absolute;
    width: 100%;
    height: 24px;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.price-slider-input-modern::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--primary-color, #ff7019);
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.price-slider-input-modern::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--primary-color, #ff7019);
    cursor: pointer;
    pointer-events: auto;
}

.price-slider-values-modern {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
}

.price-slider-sep {
    margin: 0 0.35rem;
    color: #adb5bd;
}

/* Sidebar category/brand lists (accordion style) */
.sidebar-category-list-modern,
.sidebar-brand-list-modern,
.sidebar-product-brand-list-modern {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-category-item-modern,
.sidebar-brand-item-modern,
.sidebar-product-brand-item-modern {
    margin-bottom: 0.25rem;
}

.sidebar-category-link-modern,
.sidebar-brand-link-modern,
.sidebar-product-brand-link-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    text-decoration: none;
    color: #495057;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.sidebar-category-link-modern:hover,
.sidebar-brand-link-modern:hover,
.sidebar-product-brand-link-modern:hover {
    background: #f8f9fa;
    color: #2c3e50;
}

.sidebar-category-chevron,
.sidebar-brand-chevron {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.sidebar-category-item-modern.open .sidebar-category-chevron,
.sidebar-brand-item-modern.open .sidebar-brand-chevron {
    transform: rotate(180deg);
}

.sidebar-subcategory-list-modern,
.sidebar-model-list-modern {
    list-style: none;
    padding: 0 0 0 1rem;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.sidebar-category-item-modern.open .sidebar-subcategory-list-modern,
.sidebar-brand-item-modern.open .sidebar-model-list-modern {
    max-height: 500px;
}

.sidebar-subcategory-link-modern,
.sidebar-model-link-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
    color: #6c757d;
    text-decoration: none;
    transition: color 0.2s;
}

.sidebar-subcategory-link-modern:hover,
.sidebar-model-link-modern:hover {
    color: #2c3e50;
}

.sidebar-category-badge-modern,
.sidebar-brand-badge-modern {
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    background: #e9ecef;
    color: #6c757d;
}

.sidebar-see-all-modern {
    display: block;
    text-align: center;
    padding: 0.75rem;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--primary-color, #ff7019);
    text-decoration: none;
    border-top: 1px solid #e9ecef;
}

.sidebar-see-all-modern:hover {
    color: #e86d1f;
}

/* Bike Brands - Live value display (like price slider) */
.bike-filter-live-display {
    padding: 0.5rem 0;
}

.bike-filter-values-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 0.85rem;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.bike-filter-value-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    flex: 1;
}

.bike-filter-clear-modern {
    font-size: 0.8rem;
    color: #6c757d;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.bike-filter-clear-modern:hover {
    color: #fff;
    background: var(--primary-color, #ff7019);
}

.sidebar-brand-item-modern.active .sidebar-brand-chevron,
.sidebar-brand-item-modern.open .sidebar-brand-chevron {
    color: var(--primary-color, #ff7019);
}

.sidebar-model-item-modern.active .sidebar-model-link-modern {
    color: var(--primary-color, #ff7019) !important;
}

/* Products Header - Modern */
.products-header-modern {
    background: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.products-header-left-modern {
    flex: 1;
}

.products-count-text-modern {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

.products-count-text-modern strong {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1rem;
}

.view-mode-toggle-modern {
    display: flex;
    gap: 0.5rem;
    background: #f8f9fa;
    padding: 0.25rem;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.view-mode-btn-modern {
    background: transparent;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    font-size: 1rem;
}

.view-mode-btn-modern:hover {
    background: #ffffff;
    color: var(--primary-color);
}

.view-mode-btn-modern.active {
    background: var(--primary-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.view-mode-btn-modern.active i {
    color: #fff;
}

.mobile-filter-toolbar {
    display: none;
}

.mobile-filter-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 44px;
    padding: 0.75rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    background: #ffffff;
    color: #2c3e50;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.mobile-filter-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 1050;
}

.mobile-filter-drawer {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
    z-index: 1060;
}

.mobile-filter-drawer__dialog {
    width: min(100%, 380px);
    height: 100%;
    background: #f8f9fa;
    box-shadow: -8px 0 30px rgba(15, 23, 42, 0.18);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    display: flex;
    flex-direction: column;
}

.mobile-filter-drawer__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1rem 0.85rem;
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
}

.mobile-filter-drawer__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
}

.mobile-filter-drawer__subtitle {
    margin: 0.2rem 0 0;
    font-size: 0.8rem;
    color: #6b7280;
}

.mobile-filter-drawer__close {
    width: 40px;
    height: 40px;
    border: 1px solid #e9ecef;
    border-radius: 999px;
    background: #ffffff;
    color: #374151;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-filter-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

body.mobile-filter-drawer-open {
    overflow: hidden;
}

body.mobile-filter-drawer-open .mobile-filter-drawer {
    pointer-events: auto;
}

body.mobile-filter-drawer-open .mobile-filter-drawer-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.mobile-filter-drawer-open .mobile-filter-drawer__dialog {
    transform: translateX(0);
}

@media (min-width: 768px) {
    .mobile-filter-toolbar {
        display: none;
    }

    .mobile-filter-drawer-backdrop {
        display: none;
    }

    .mobile-filter-drawer {
        position: static;
        inset: auto;
        display: block;
        pointer-events: auto;
        z-index: auto;
    }

    .mobile-filter-drawer__dialog {
        width: 100%;
        height: auto;
        transform: none;
        transition: none;
        box-shadow: none;
        background: transparent;
    }

    .mobile-filter-drawer__header {
        display: none;
    }

    .mobile-filter-drawer__body {
        padding: 0;
        overflow: visible;
    }
}

/* Products Grid View */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 10px;
    transition: all 0.4s ease;
}

.product-item-wrapper {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.product-item-wrapper:not(.list-view-item) {
    background: #fff;
}

.product-item-wrapper:not(.list-view-item):hover {
    transform: translateY(-4px);
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border-color: #dee2e6; */
}

.product-item-wrapper:not(.list-view-item) .product-card-custom {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 12px;
    text-decoration: none;
    color: inherit;
}

/* Products List View */
.products-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.4s ease;
}

.list-view-item {
    width: 100% !important;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.10);
    overflow: hidden;
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
    padding: 0;
}

.list-view-item:hover {
    box-shadow: 0 4px 10px rgba(16, 24, 40, 0.08), 0 2px 6px rgba(16, 24, 40, 0.12);
    transform: translateY(-1px);
    /* border-color: rgba(249, 124, 48, 0.35); */
}

/* List view product card styling */
.list-view-item .product-card-custom {
    display: grid !important;
    grid-template-columns: 220px 1fr;
    column-gap: 1.75rem !important;
    align-items: center !important;
    width: 100% !important;
    max-width: none !important;
    padding: 1.5rem 2rem !important;
    text-decoration: none !important;
    color: inherit !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    position: relative !important;
}

.list-view-item .product-card-custom::before {
    display: none !important;
}

.list-view-item .product-card-custom img {
    width: 220px !important;
    height: 220px !important;
    min-width: 220px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    background: #f8f9fa;
    margin: 0 !important;
    box-shadow: none !important;
    grid-column: 1;
    grid-row: 1 / span 2;
}

.list-view-item .product-card-custom .badge-discount {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    z-index: 2 !important;
    border-radius: 999px !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
    line-height: 1 !important;
    box-shadow: 0 6px 16px rgba(16, 24, 40, 0.14) !important;
}

.list-view-item .product-card-custom>h5 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin: 0 0 0.5rem 0 !important;
    color: #2c3e50 !important;
    line-height: 1.4 !important;
    max-width: 100%;
    grid-column: 2;
    align-self: start;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.list-view-item .product-card-custom .price {
    margin: 0 !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 0.75rem !important;
    flex-direction: row !important;
    grid-column: 2;
    align-self: end;
}

.list-view-item .product-card-custom .price .old {
    font-size: 0.95rem !important;
    color: #adb5bd !important;
}

.list-view-item .product-card-custom .price .new {
    color: var(--primary-color) !important;
    font-size: 1.2rem !important;
}

/* Additional list view adjustments */
body.list-view-active .products-grid {
    display: none !important;
}

body.list-view-active .products-list {
    display: flex !important;
}

/* ============================================
   Category List Card (separate design)
   ============================================ */
.product-card-grid {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.product-card-list {
    display: none;
}

body.list-view-active .product-card-grid {
    display: none;
}

body.list-view-active .product-card-list {
    display: block;
}

.product-list-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1.25rem;
    align-items: center;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.10);
    transition: all 0.2s ease;
}

.product-list-card:hover {
    box-shadow: 0 4px 10px rgba(16, 24, 40, 0.08), 0 2px 6px rgba(16, 24, 40, 0.12);
    transform: translateY(-1px);
}

.product-list-media {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    background: #f8f9fa;
    border: 1px solid #f1f3f5;
    flex-shrink: 0;
}

.product-list-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-list-badge {
    position: absolute;
    top: -12px;
    right: -21px;
    z-index: 2;
    background: #111827;
    color: #fff;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 6px 16px rgba(16, 24, 40, 0.18);
}

.product-list-body {
    min-width: 0;
}

.product-list-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.product-list-price .old {
    color: #adb5bd;
    text-decoration: line-through;
    font-weight: 600;
}

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

@media (max-width: 992px) {
    .product-list-card {
        grid-template-columns: 120px 1fr;
        padding: 1rem;
        gap: 1rem;
    }

    .product-list-media {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 576px) {
    .product-list-card {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .product-list-media {
        width: 100%;
        height: 200px;
    }
}

/* Empty State */
.empty-state {
    background: #fff;
    border-radius: 16px;
    padding: 5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.empty-state-icon {
    font-size: 6rem;
    color: #dee2e6;
    margin-bottom: 2rem;
    opacity: 0.6;
}

.empty-state-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.empty-state-text {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary-empty {
    background: #2c3e50;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.btn-primary-empty:hover {
    background: #1a1a1a;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Pagination - Premium Modern Design */
.pagination-wrapper {
    width: 100%;
    padding: 40px 0;
    margin-top: 50px;
    border-top: 1px solid #e8e8e8;
}

/* Reset all default list and link styles within pagination */
.pagination-wrapper * {
    box-sizing: border-box;
}

.pagination-wrapper ul,
.pagination-wrapper ol {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.pagination-wrapper li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pagination-wrapper a {
    text-decoration: none !important;
    border-bottom: none !important;
    outline: none;
}

.pagination-wrapper a:focus {
    outline: 2px solid #ff7019;
    outline-offset: 2px;
}

.pagination-wrapper .pagination,
.pagination-wrapper ul.pagination,
.pagination-wrapper .pagination-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background: transparent;
    box-shadow: none;
    border: none;
}

/* Remove default list styling */
.pagination-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-wrapper li {
    list-style: none;
    margin: 0;
}

.pagination-wrapper .page-item,
.pagination-wrapper li {
    margin: 0;
    display: flex;
    align-items: center;
    list-style: none;
}

.pagination-wrapper .page-link,
.pagination-wrapper a,
.pagination-wrapper li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 18px;
    font-size: 15px;
    font-weight: 600;
    color: #555;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    line-height: 1;
    margin: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Remove default link styling */
.pagination-wrapper a {
    text-decoration: none;
    border-bottom: none;
}

.pagination-wrapper a:hover {
    text-decoration: none;
}

.pagination-wrapper .page-link::before,
.pagination-wrapper a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ff7019 0%, #ff8533 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: -1;
}

.pagination-wrapper .page-link:hover,
.pagination-wrapper a:hover:not(.disabled):not(.active) {
    border-color: #ff7019;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 112, 25, 0.25);
}

.pagination-wrapper .page-link:hover::before,
.pagination-wrapper a:hover:not(.disabled):not(.active)::before {
    opacity: 1;
}

.pagination-wrapper .page-item.active .page-link,
.pagination-wrapper li.active a,
.pagination-wrapper .active a,
.pagination-wrapper a.active {
    background: linear-gradient(135deg, #ff7019 0%, #ff8533 100%);
    border-color: #ff7019;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(255, 112, 25, 0.35);
    transform: translateY(-1px);
}

.pagination-wrapper .page-item.active .page-link::before,
.pagination-wrapper li.active a::before,
.pagination-wrapper .active a::before,
.pagination-wrapper a.active::before {
    opacity: 1;
}

.pagination-wrapper .page-item.disabled .page-link,
.pagination-wrapper li.disabled a,
.pagination-wrapper .disabled a,
.pagination-wrapper a.disabled,
.pagination-wrapper span:not([href]) {
    background-color: #f8f9fa;
    border-color: #e9ecef;
    color: #adb5bd;
    cursor: not-allowed;
    opacity: 0.7;
    pointer-events: none;
}

.pagination-wrapper .page-item.disabled .page-link:hover,
.pagination-wrapper li.disabled a:hover,
.pagination-wrapper .disabled a:hover {
    transform: none;
    box-shadow: none;
    border-color: #e9ecef;
}

.pagination-wrapper .page-item.disabled .page-link::before,
.pagination-wrapper li.disabled a::before,
.pagination-wrapper .disabled a::before {
    display: none;
}

/* Prev/Next buttons styling */
.pagination-wrapper .page-item.prev .page-link,
.pagination-wrapper .page-item.next .page-link,
.pagination-wrapper li.prev a,
.pagination-wrapper li.next a,
.pagination-wrapper .prev a,
.pagination-wrapper .next a {
    font-weight: 700;
    padding: 0 20px;
    min-width: auto;
}

.pagination-wrapper .page-item.prev .page-link,
.pagination-wrapper li.prev a,
.pagination-wrapper .prev a {
    margin-right: 12px;
}

.pagination-wrapper .page-item.next .page-link,
.pagination-wrapper li.next a,
.pagination-wrapper .next a {
    margin-left: 12px;
}

/* Handle text-based pagination elements (like "|" or "Previous"/"Next" text) */
.pagination-wrapper li:not(:has(a)):not(:has(span[aria-hidden])) {
    display: none;
}

.pagination-wrapper span[aria-hidden="true"] {
    display: none;
}

/* Style any span elements that might be used for pagination */
.pagination-wrapper span:not(.pagination-info span):not(.pagination-info strong) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 18px;
    font-size: 15px;
    font-weight: 600;
    color: #555;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin: 0;
}

/* Ensure pagination text content is properly styled */
.pagination-wrapper {
    font-family: "Montserrat", sans-serif;
}

/* Pagination Info Text */
.pagination-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    padding: 12px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.pagination-info strong {
    color: #333;
    font-weight: 700;
    margin: 0 4px;
}

/* Pagination with info wrapper */
.pagination-with-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.pagination-with-info .pagination-info {
    order: -1;
}

@media (min-width: 768px) {
    .pagination-with-info {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
    }

    .pagination-with-info .pagination-info {
        order: 0;
        margin: 0;
    }
}

/* Responsive Pagination */
@media (max-width: 767px) {
    .pagination-wrapper {
        padding: 30px 0;
        margin-top: 40px;
    }

    .pagination-wrapper .pagination {
        gap: 4px;
    }

    .pagination-wrapper .page-link {
        min-width: 42px;
        height: 42px;
        padding: 0 14px;
        font-size: 14px;
    }

    .pagination-wrapper .page-item.prev .page-link,
    .pagination-wrapper .page-item.next .page-link {
        padding: 0 16px;
        min-width: auto;
    }

    .pagination-wrapper .page-item.prev .page-link {
        margin-right: 8px;
    }

    .pagination-wrapper .page-item.next .page-link {
        margin-left: 8px;
    }

    .pagination-info {
        font-size: 13px;
        padding: 10px 16px;
    }
}

@media (max-width: 575px) {
    .pagination-wrapper {
        padding: 25px 0;
        margin-top: 30px;
    }

    .pagination-wrapper .page-link {
        min-width: 38px;
        height: 38px;
        padding: 0 12px;
        font-size: 13px;
    }

    .pagination-wrapper .page-item.prev .page-link,
    .pagination-wrapper .page-item.next .page-link {
        padding: 0 14px;
        font-size: 12px;
    }

    .pagination-info {
        display: none;
    }

    .pagination-wrapper .pagination {
        gap: 3px;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .category-header-modern {
        padding: 1rem 1.25rem;
    }

    .category-title-modern {
        font-size: 1.4rem;
    }

    .category-title-icon {
        font-size: 1.1rem;
    }

    .category-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.5rem;
    }

    .list-view-item .product-card-custom {
        display: grid !important;
        grid-template-columns: 180px 1fr !important;
        column-gap: 1rem !important;
        align-items: start !important;
        padding: 1rem !important;
    }

    .list-view-item .product-card-custom img {
        width: 180px !important;
        height: 180px !important;
        min-width: 180px !important;
        max-width: none !important;
    }

    .list-view-item .product-card-custom .badge-discount {
        top: 12px !important;
        left: 12px !important;
    }
}

@media (max-width: 768px) {
    .category-page-wrapper {
        padding: 1rem 0;
    }

    .mobile-filter-toolbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .mobile-filter-toolbar .mobile-filter-toggle-btn {
        flex: 1;
    }

    .mobile-filter-toolbar .view-mode-toggle-modern {
        width: auto;
        flex-shrink: 0;
    }

    .category-header-modern {
        padding: 1rem 1rem;
        margin-bottom: 1.5rem;
        border-radius: 10px;
    }

    .category-title-modern {
        font-size: 1.3rem;
    }

    .category-title-icon {
        font-size: 1rem;
    }

    .category-description-modern {
        padding: 0.65rem 0.85rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .category-description-modern p {
        font-size: 0.8rem;
    }

    .products-header-modern {
        gap: 0.85rem;
        padding: 0.9rem 1rem;
        margin-bottom: 1rem;
    }

    .products-header-right-modern {
        display: none;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .price-input-group {
        flex-direction: column;
        align-items: stretch;
    }

    .price-separator {
        display: none;
    }

    .filter-card-body {
        padding: 1.25rem;
    }

    .list-view-item {
        padding: 1rem;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .category-breadcrumb {
        padding: 0.75rem 1rem;
    }

    .category-header-modern {
        padding: 0.875rem 0.875rem;
        border-radius: 10px;
    }

    .category-title-modern {
        font-size: 1.2rem;
    }

    .category-title-icon {
        font-size: 0.95rem;
    }

    .category-title-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .category-count-modern {
        padding: 0.35rem 0.75rem;
        font-size: 0.75rem;
    }

    .filter-card-body-modern {
        padding: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .products-header-modern {
        padding: 0.85rem 0.9rem;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .view-mode-toggle-modern {
        width: 100%;
        justify-content: center;
    }

    .products-header-left-modern,
    .products-header-right-modern {
        width: 100%;
    }

    .products-count-text-modern {
        text-align: center;
    }

    .mobile-filter-drawer__dialog {
        width: 100%;
    }

    .mobile-filter-drawer__body {
        padding: 0.85rem;
    }
}

/* ============================================
   Product View Page - Internal Styles (from view.blade.php)
   ============================================ */

.product-variants-section .color-variant-btn {
    padding: 0;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid #ddd;
    width: 38px;
    height: 36px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.product-variants-section .color-variant-btn:hover {
    border-color: #f97c30;
    transform: scale(1.05);
}

.product-variants-section .color-variant-btn.active {
    border-color: #f97c30;
}

.product-variants-section .color-variant-btn img.color-variant-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-variants-section .color-variant-btn .color-variant-swatch {
    display: none;
}

.product-variants-section .color-variant-btn .variant-label-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 10px;
    text-align: center;
    padding: 2px 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.product-variants-section .color-variant-btn:hover .variant-label-overlay {
    transform: translateY(0);
}

/* Product Tabs Styles */
.product-tabs-section-wrapper {
    margin-top: 3rem;
}

.product-tabs-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.product-tabs-nav {
    border-bottom: 2px solid #e5e7eb;
    padding: 0;
    margin: 0;
    background: #f9fafb;
}

.product-tabs-nav .nav-item {
    margin-bottom: 0;
}

.product-tabs-nav .nav-link {
    padding: 1rem 2rem;
    color: #6b7280;
    font-weight: 500;
    border: none;
    border-bottom: 3px solid transparent;
    background: transparent;
    transition: all 0.3s ease;
}

.product-tabs-nav .nav-link:hover {
    color: #f97c30;
    background: #fff;
    border-bottom-color: #f97c30;
}

.product-tabs-nav .nav-link.active {
    color: #f97c30;
    background: #fff;
    border-bottom-color: #f97c30;
    font-weight: 600;
}

.product-tabs-content {
    padding: 2rem;
}

.product-tabs-content .tab-pane {
    min-height: 200px;
}

.description-content-card {
    padding: 0;
}

.description-content-card .long-description {
    line-height: 1.8;
    color: #374151;
}

.description-content-card .short-description {
    font-size: 1.1rem;
    font-weight: 500;
    color: #111827;
}

.description-content-card .full-description {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .product-tabs-nav .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .product-tabs-content {
        padding: 1.5rem 1rem;
    }
}

/* Additional Information Table Styles */
.attribute-table table {
    margin-bottom: 0;
}

.attribute-table .attribute-label {
    width: 30%;
    background-color: #f9fafb;
    font-weight: 500;
}

.attribute-table .attribute-value {
    width: 70%;
}

/* Wishlist Button Styles */
.wishlist-btn:hover {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
}

.wishlist-btn:hover i {
    color: #ef4444 !important;
}

/* Compare Button Styles */
.compare-btn:hover {
    border-color: #f97c30;
    color: #f97c30;
}

/* Rating Stars */
.stars-rating .filled {
    color: #fbbf24;
}

.stars-rating .far {
    color: #d1d5db;
}

/* Product Additional Links Styles */
.product-additional-links {
    padding-top: 1rem;
    margin-top: 1rem;
}

.product-link-item {
    display: inline-flex;
    align-items: center;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.product-link-item:hover {
    color: #f97c30;
    text-decoration: none;
}

.product-link-item.btn-link {
    text-decoration: none;
}

.product-link-item i {
    font-size: 0.875rem;
}

/* Breadcrumb Styles */
.breadcrumb-nav {
    margin-bottom: 1rem;
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-link {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: #f97c30;
    text-decoration: none;
}

.breadcrumb-separator {
    color: #d1d5db;
    font-size: 0.625rem;
    user-select: none;
    display: flex;
    align-items: center;
}

.breadcrumb-separator i {
    font-size: 0.625rem;
}

.breadcrumb-item-active {
    pointer-events: none;
}

.breadcrumb-current {
    color: #374151;
    font-size: 0.875rem;
    font-weight: 600;
}

@media (max-width: 768px) {

    .breadcrumb-link,
    .breadcrumb-current {
        font-size: 0.75rem;
    }

    .breadcrumb-separator {
        font-size: 0.5rem;
    }
}
