/* Front Theme CSS - Minimal Black & White Design */

/* CSS Variables */
:root {
    --bs-body-font-family: 'Vazir', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --bs-body-color: #000000;
    --bs-body-bg: #FFFFFF;
    --bs-border-color: #000000;
    --bs-link-color: #000000;
    --bs-link-hover-color: #666666;
    --bs-border-width: 2px;
    --bs-border-radius: 0;
}

/* Base Styles */
* {
    border-radius: 0 !important;
}

body {
    font-family: var(--bs-body-font-family);
}

/* Remove Bootstrap rounded corners */
.btn, .form-control, .form-select, .card, .dropdown-menu, .modal-content, .offcanvas {
    border-radius: 0 !important;
}

/* Strong borders */
.border {
    border-width: 2px !important;
}

.border-top, .border-bottom, .border-start, .border-end {
    border-width: 2px !important;
}

/* Header */
.header {
    z-index: 1030;
}

.header .nav-link {
    transition: all 0.2s;
    position: relative;
}

.header .nav-link:hover {
    background-color: #000;
    color: #fff !important;
}

/* Dropdown Menu */
.dropdown-menu {
    box-shadow: none !important;
}

/* Mega Menu - Hover to open on desktop only */
@media (min-width: 992px) {
    .mega-menu-wrapper .dropdown-menu {
        display: none;
        opacity: 0;
        transition: opacity 0.2s;
    }

    .mega-menu-wrapper:hover .dropdown-menu {
        display: block;
        opacity: 1;
    }
}

/* Mega Menu specific styles */
.mega-menu-wrapper {
    position: static !important;
}

.mega-menu {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .mega-menu-wrapper .mega-menu {
        position: absolute;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
        width: 1200px !important;
    }
}

.hover-bg-dark {
    transition: all 0.2s;
    padding: 0.25rem 0.5rem;
    margin: 0 -0.5rem;
}

.hover-bg-dark:hover {
    background-color: #000;
    color: #fff !important;
}

/* Mobile Menu */
.offcanvas {
    width: 320px !important;
}

.list-group-item-action:hover {
    background-color: #000;
    color: #fff !important;
}

.accordion-button:not(.collapsed) {
    background-color: #000 !important;
    color: #fff !important;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #000;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    background-color: #f8f9fa;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slider-item.active {
    opacity: 1;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
    color: white;
}

.slider-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.slider-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.slider-btn {
    display: inline-block;
    padding: 12px 32px;
    background-color: white;
    color: black;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.slider-btn:hover {
    background-color: black;
    color: white;
}

.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255,255,255,0.8);
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 10;
}

.slider-control:hover {
    background-color: white;
}

.slider-control.prev {
    left: 20px;
}

.slider-control.next {
    right: 20px;
}

.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-indicators .indicator.active {
    background-color: white;
}

/* Product Card */
.product-card {
    border: 2px solid var(--bs-border-color);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-image-link {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: #f8f9fa;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 12px;
    background-color: #dc3545;
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
}

.product-info {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.875rem;
    color: #6c757d;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-name a {
    color: inherit;
    text-decoration: none;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: #dee2e6;
}

.star.filled {
    color: #000;
}

.reviews-count {
    font-size: 0.875rem;
    color: #6c757d;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    margin-bottom: 1rem;
}

.price-original {
    font-size: 0.875rem;
    color: #6c757d;
    text-decoration: line-through;
}

.price-final {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Category Card */
.category-card {
    display: block;
    border: 2px solid var(--bs-border-color);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    overflow: hidden;
}

.category-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: inherit;
}

.category-image {
    aspect-ratio: 1;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-name {
    font-size: 1.25rem;
    font-weight: 700;
    padding: 1rem;
    margin: 0;
}

.category-description {
    padding: 0 1rem 1rem;
    color: #6c757d;
    margin: 0;
}

/* Blog Card */
.blog-card {
    border: 2px solid var(--bs-border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-image {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.blog-title a {
    color: inherit;
    text-decoration: none;
}

.blog-excerpt {
    color: #6c757d;
    margin-bottom: 1rem;
    flex: 1;
}

.blog-link {
    color: #000;
    text-decoration: none;
    font-weight: 600;
}

.blog-link:hover {
    color: #666;
}

/* Live Search Results */
#searchResults.d-none {
    display: none !important;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 2px solid #000;
    text-decoration: none;
    color: #000;
    transition: background-color 0.2s;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: #000;
    color: #fff;
}

.search-result-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #000;
}

.search-result-name {
    font-weight: 700;
}

.search-result-price {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Footer */
.hover-link {
    transition: all 0.2s;
}

.hover-link:hover {
    color: #fff !important;
    padding-right: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .slider-title {
        font-size: 1.5rem;
    }
    
    .slider-description {
        font-size: 1rem;
    }
    
    .hero-slider {
        height: 300px;
    }
}

/* Product Detail Page */
.product-gallery .main-image-container {
    border: 2px solid #000;
    overflow: hidden;
}

.product-gallery .main-image {
    width: 100%;
    height: auto;
    cursor: zoom-in;
    transition: transform 0.3s;
}

.product-gallery .main-image:hover {
    transform: scale(1.05);
}

.product-gallery .thumbnail-image {
    border: 2px solid transparent;
    transition: all 0.2s;
}

.product-gallery .thumbnail-image:hover {
    border-color: #666;
}

.product-gallery .thumbnail-image.active {
    border-color: #000;
}

.product-title {
    font-weight: 700;
    line-height: 1.3;
}

.product-price-section {
    padding: 1.5rem;
    border: 2px solid #000;
    background-color: #f8f9fa;
}

.price-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.variant-option {
    min-width: 80px;
    transition: all 0.2s;
}

.variant-option.active {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

.variant-option:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.quantity-selector {
    max-width: 200px;
}

.quantity-selector .btn {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-selector input {
    height: 40px;
}

.stock-indicator {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
}

.description-content {
    line-height: 1.8;
    color: #333;
}

/* Lightbox Modal */
#lightbox-modal .modal-dialog {
    max-width: 90vw;
}

#lightbox-modal .modal-content {
    background-color: rgba(0, 0, 0, 0.95);
}

#lightbox-image {
    max-height: 90vh;
    object-fit: contain;
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "←";
    padding: 0 0.5rem;
}

.breadcrumb-item a {
    color: #000;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #666;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* Reviews Section */
.reviews-section {
    padding: 2rem 0;
}

.reviews-section .card {
    border: 2px solid #000;
}

/* Responsive Product Page */
@media (max-width: 768px) {
    .product-price-section {
        padding: 1rem;
    }
    
    .variant-option {
        min-width: 60px;
        font-size: 0.875rem;
    }
    
    .add-to-cart-section .btn {
        font-size: 0.875rem;
    }
}

/* Cart Page Styles */
.cart-page {
    min-height: 60vh;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    border-bottom: 2px solid #000;
    padding-bottom: 1rem;
}

/* Empty Cart */
.empty-cart-icon {
    font-size: 5rem;
    color: #dee2e6;
}

/* Cart Items */
.cart-items {
    border: 2px solid #000;
}

.cart-item {
    padding: 1.5rem;
    border-bottom: 2px solid #000;
    transition: background-color 0.2s;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item:hover {
    background-color: #f8f9fa;
}

.cart-item-image {
    aspect-ratio: 1;
    overflow: hidden;
    border: 2px solid #000;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    font-size: 2rem;
    color: #dee2e6;
}

.cart-item-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cart-item-title a {
    color: #000;
    text-decoration: none;
}

.cart-item-title a:hover {
    color: #666;
}

.cart-item-variant {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.variant-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    font-size: 0.875rem;
}

.cart-item-price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.cart-item-price-original {
    font-size: 0.9rem;
    color: #999;
}

.cart-item-price {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid #000;
    width: fit-content;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    border: none;
    background-color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.quantity-btn:hover {
    background-color: #000;
    color: #fff;
}

.quantity-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.quantity-input {
    width: 60px;
    height: 36px;
    border: none;
    border-left: 2px solid #000;
    border-right: 2px solid #000;
    text-align: center;
    font-weight: 700;
    -moz-appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input:focus {
    outline: none;
}

/* Cart Summary */
.cart-summary {
    border: 2px solid #000;
    padding: 1.5rem;
    position: sticky;
    top: 20px;
}

.cart-summary-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #000;
}

.cart-summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.cart-summary-divider {
    height: 2px;
    background-color: #000;
    margin: 1.5rem 0;
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Responsive Cart */
@media (max-width: 768px) {
    .cart-item {
        padding: 1rem;
    }
    
    .cart-item-title {
        font-size: 1rem;
    }
    
    .cart-item-price {
        font-size: 1.1rem;
    }
    
    .cart-summary {
        position: static;
        margin-top: 2rem;
    }
    
    .quantity-selector {
        width: 100%;
    }
    
    .quantity-input {
        flex: 1;
    }
}

/* Notifications */
.alert {
    animation: slideDown 0.3s ease-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@keyframes slideDown {
    from {
        transform: translate(-50%, -100%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

/* Cart Badge */
#cart-count-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    min-width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Variant Selection */
.variant-option {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s;
}

.variant-option.active {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

.variant-option:hover:not(.active) {
    background-color: #f8f9fa;
}

/* Product Card Hover Effects */
.product-card {
    transition: all 0.2s;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Add to Cart Button Loading State */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ========================================
   HOMEPAGE STYLES - MODERN & MINIMAL
   ======================================== */

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #000;
}

@media (max-width: 768px) {
    .hero-slider {
        height: 400px;
    }
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.slider-item.active {
    opacity: 1;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(0,0,0,0.7), transparent);
}

.slider-text-box {
    max-width: 600px;
}

.slider-title {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slider-description {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 2px solid #000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}

.slider-control:hover {
    background: #000;
    color: #fff;
}

.slider-control.prev {
    left: 20px;
}

.slider-control.next {
    right: 20px;
}

.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-indicators .indicator {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border: 2px solid #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.slider-indicators .indicator.active {
    background: #fff;
    width: 40px;
}

/* Features Section */
.features-section {
    background: #fff;
}

.feature-item {
    transition: all 0.3s;
}

.feature-item:hover {
    background: #f8f9fa;
}

.feature-item svg {
    transition: transform 0.3s;
}

.feature-item:hover svg {
    transform: scale(1.1);
}

/* Category Cards Modern */
.category-card-modern {
    display: block;
    text-decoration: none;
    color: #000;
    border: 2px solid #000;
    overflow: hidden;
    transition: all 0.3s;
    background: #fff;
}

.category-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 0 #000;
    color: #000;
}

.category-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f8f9fa;
}

.category-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.category-card-modern:hover .category-image-wrapper img {
    transform: scale(1.05);
}

.category-placeholder {
    width: 100%;
    height: 100%;
}

.category-name-modern {
    font-size: 1.1rem;
    font-weight: bold;
    padding: 1rem;
    margin: 0;
    border-top: 2px solid #000;
}

.category-count {
    display: block;
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
    color: #666;
}

/* Product Card Dark (for special offers) */
.product-card-dark {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    overflow: hidden;
    transition: all 0.3s;
}

.product-card-dark:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    transform: translateY(-5px);
}

.product-card-dark .product-image-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.product-card-dark .product-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card-dark:hover .product-image {
    transform: scale(1.05);
}

.product-badge-discount {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    color: #000;
    padding: 0.5rem 1rem;
    font-weight: bold;
    font-size: 1.1rem;
    border: 2px solid #000;
}

.product-info-dark {
    padding: 1.5rem;
}

.product-name-dark {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.product-name-dark a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.product-name-dark a:hover {
    color: #ddd;
}

.product-price-dark {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.price-original-dark {
    text-decoration: line-through;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.price-final-dark {
    font-weight: bold;
    font-size: 1.1rem;
    color: #fff;
}

/* Stats Section */
.stats-section {
    background: #fff;
}

.stat-item {
    padding: 2rem 1rem;
}

.stat-number {
    color: #000;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
}

/* Blog Card Modern */
.blog-card-modern {
    border: 2px solid #000;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 0 #000;
}

.blog-image-modern {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.blog-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-card-modern:hover .blog-image-modern img {
    transform: scale(1.05);
}

.blog-content-modern {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    border-top: 2px solid #000;
}

.blog-meta-modern {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #666;
}

.blog-category-modern {
    font-weight: bold;
    color: #000;
}

.blog-title-modern {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-title-modern a {
    color: #000;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-title-modern a:hover {
    color: #666;
}

.blog-excerpt-modern {
    color: #666;
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-link-modern {
    color: #000;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s;
}

.blog-link-modern:hover {
    color: #666;
    gap: 0.5rem;
}

/* Newsletter Section */
.newsletter-section {
    background: #000;
}

.newsletter-form .form-control {
    height: 60px;
    border-radius: 0 !important;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-form .form-control:focus {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    color: #fff;
    box-shadow: none;
}

.newsletter-form .btn {
    height: 60px;
    border-radius: 0 !important;
    font-weight: bold;
    transition: all 0.2s;
}

.newsletter-form .btn:hover {
    background: #f8f9fa;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .slider-text-box {
        padding: 0 1rem;
    }
    
    .slider-title {
        font-size: 2rem;
    }
    
    .slider-description {
        font-size: 1rem;
    }
    
    .slider-control {
        width: 40px;
        height: 40px;
    }
    
    .slider-control.prev {
        left: 10px;
    }
    
    .slider-control.next {
        right: 10px;
    }
    
    .feature-item {
        padding: 1.5rem 0.5rem !important;
    }
    
    .feature-item h3 {
        font-size: 0.9rem;
    }
    
    .feature-item p {
        font-size: 0.75rem;
    }
    
    .stat-number {
        font-size: 2rem !important;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

/* Smooth Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-card-modern,
.product-card-dark,
.blog-card-modern {
    animation: fadeInUp 0.6s ease-out;
}

/* ========================================
   PRODUCT CARD STYLES - ENHANCED
   ======================================== */

.product-card {
    border: 2px solid #000;
    background: #fff;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 6px 6px 0 #000;
}

.product-image-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f8f9fa;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #000;
    color: #fff;
    padding: 0.4rem 0.8rem;
    font-weight: bold;
    font-size: 0.85rem;
    z-index: 2;
}

.product-info {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    border-top: 2px solid #000;
}

.product-category {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    text-decoration: none;
    transition: color 0.2s;
}

.product-category:hover {
    color: #000;
}

.product-name {
    font-size: 0.95rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    flex: 1;
}

.product-name a {
    color: #000;
    text-decoration: none;
    transition: color 0.2s;
}

.product-name a:hover {
    color: #666;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.product-rating .stars {
    display: flex;
    gap: 2px;
}

.product-rating .star {
    color: #ddd;
}

.product-rating .star.filled {
    color: #000;
}

.product-rating .reviews-count {
    font-size: 0.75rem;
    color: #666;
}

.product-price {
    margin-bottom: 1rem;
}

.price-original {
    text-decoration: line-through;
    color: #999;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.25rem;
}

.price-final {
    font-weight: bold;
    font-size: 1.1rem;
    color: #000;
}

/* Responsive Product Card */
@media (max-width: 576px) {
    .product-info {
        padding: 1rem;
    }
    
    .product-name {
        font-size: 0.9rem;
    }
    
    .price-final {
        font-size: 1rem;
    }
}


/* ========================================
   CHECKOUT PAGE STYLES
   ======================================== */

.checkout-page {
    min-height: 70vh;
}

/* Checkout Sections */
.checkout-section {
    border: 2px solid #000;
    padding: 2rem;
    margin-bottom: 2rem;
    background: #fff;
}

.checkout-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #000;
}

/* Address Cards */
.addresses-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.address-card {
    position: relative;
    border: 2px solid #000;
    transition: all 0.2s;
}

.address-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.address-card label {
    display: block;
    padding: 1.5rem;
    cursor: pointer;
    margin: 0;
    transition: all 0.2s;
}

.address-card input[type="radio"]:checked + label {
    background-color: #000;
    color: #fff;
}

.address-card:hover {
    box-shadow: 4px 4px 0 #000;
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.address-details p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.address-card input[type="radio"]:checked + label .address-details p {
    color: #fff;
}

/* Discount Code Form */
.discount-code-form .input-group {
    border: 2px solid #000;
}

.discount-code-form .form-control {
    border: none;
    height: 50px;
}

.discount-code-form .form-control:focus {
    box-shadow: none;
}

.discount-code-form .btn {
    border: none;
    border-left: 2px solid #000;
    height: 50px;
}

#discount-message {
    display: none;
}

/* Checkout Summary */
.checkout-summary {
    border: 2px solid #000;
    padding: 2rem;
    position: sticky;
    top: 20px;
    background: #fff;
}

.checkout-summary-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #000;
}

/* Checkout Items */
.checkout-items {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
}

.checkout-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #dee2e6;
}

.checkout-item:last-child {
    border-bottom: none;
}

.checkout-item-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border: 2px solid #000;
    overflow: hidden;
}

.checkout-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-item-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    font-size: 1.5rem;
    color: #dee2e6;
}

.checkout-item-details {
    flex: 1;
}

.checkout-item-details h6 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.checkout-item-quantity {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.25rem;
}

.checkout-item-price {
    font-weight: 700;
    white-space: nowrap;
}

/* Checkout Summary Items */
.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.checkout-summary-divider {
    height: 2px;
    background-color: #000;
    margin: 1.5rem 0;
}

.checkout-summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.checkout-security-note {
    text-align: center;
    padding: 1rem;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

/* Checkout Success Page */
.checkout-success-page {
    min-height: 70vh;
}

.success-card {
    border: 2px solid #000;
    padding: 3rem 2rem;
    background: #fff;
}

.success-icon {
    font-size: 5rem;
    color: #28a745;
    margin-bottom: 1.5rem;
}

.success-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.success-message {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Order Info Box */
.order-info-box {
    border: 2px solid #000;
    padding: 2rem;
    margin-bottom: 2rem;
    background: #f8f9fa;
}

.order-info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.order-info-item:last-child {
    margin-bottom: 0;
}

.order-info-label {
    font-weight: 600;
}

.order-info-value {
    font-weight: 700;
}

/* Order Items Summary */
.order-items-summary {
    border: 2px solid #000;
    padding: 2rem;
    margin-bottom: 2rem;
}

.order-items-summary h5 {
    font-weight: 700;
    border-bottom: 2px solid #000;
    padding-bottom: 1rem;
}

.order-items-list {
    margin-top: 1rem;
}

.order-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #dee2e6;
}

.order-item-row:last-child {
    border-bottom: none;
}

.order-item-name {
    flex: 1;
    font-weight: 600;
}

.order-item-quantity {
    margin: 0 1rem;
    color: #666;
}

.order-item-price {
    font-weight: 700;
    white-space: nowrap;
}

/* Shipping Address Box */
.shipping-address-box {
    border: 2px solid #000;
    padding: 2rem;
    margin-bottom: 2rem;
}

.shipping-address-box h5 {
    font-weight: 700;
    border-bottom: 2px solid #000;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.shipping-address-box .address-details {
    line-height: 1.8;
}

/* Success Actions */
.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.success-note {
    text-align: center;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

/* Responsive Checkout */
@media (max-width: 768px) {
    .checkout-section {
        padding: 1.5rem;
    }
    
    .checkout-summary {
        position: static;
        margin-top: 2rem;
    }
    
    .address-card label {
        padding: 1rem;
    }
    
    .address-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .success-card {
        padding: 2rem 1rem;
    }
    
    .success-icon {
        font-size: 3rem;
    }
    
    .success-title {
        font-size: 1.5rem;
    }
    
    .success-message {
        font-size: 1rem;
    }
    
    .order-info-box,
    .order-items-summary,
    .shipping-address-box {
        padding: 1.5rem;
    }
    
    .order-item-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .order-item-quantity {
        margin: 0;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .success-actions .btn {
        width: 100%;
    }
}

/* Loading State */
.btn .spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}


/* ========================================
   PROFILE PAGE STYLES
   ======================================== */

.profile-page {
    min-height: 70vh;
}

/* Profile Sidebar */
.profile-sidebar {
    border: 2px solid #000;
    background: #fff;
    position: sticky;
    top: 20px;
}

.user-info {
    padding: 2rem;
    text-align: center;
    border-bottom: 2px solid #000;
}

.user-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    border: 2px solid #000;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    font-size: 3rem;
    color: #dee2e6;
}

.user-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.user-phone {
    color: #666;
    margin-bottom: 0.5rem;
}

/* Profile Navigation */
.profile-nav {
    display: flex;
    flex-direction: column;
}

.profile-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    color: #000;
    text-decoration: none;
    border-bottom: 2px solid #000;
    transition: all 0.2s;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    width: 100%;
    text-align: right;
}

.profile-nav-item:last-child {
    border-bottom: none;
}

.profile-nav-item:hover {
    background: #f8f9fa;
}

.profile-nav-item.active {
    background: #000;
    color: #fff;
}

.profile-nav-item i {
    font-size: 1.2rem;
}

.logout-btn {
    cursor: pointer;
}

/* Profile Content */
.profile-content {
    border: 2px solid #000;
    background: #fff;
    padding: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Welcome Section */
.welcome-section h1 {
    font-weight: 700;
}

/* Statistics Cards */
.stat-card {
    border: 2px solid #000;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
    background: #fff;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 4px 4px 0 #000;
}

.stat-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    font-size: 1.5rem;
}

.stat-info {
    flex: 1;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #666;
}

/* Recent Orders */
.recent-orders {
    margin-top: 2rem;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-item, .order-card {
    border: 2px solid #000;
    background: #fff;
    transition: all 0.2s;
}

.order-item:hover, .order-card:hover {
    box-shadow: 4px 4px 0 #000;
}

.order-header, .order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 2px solid #000;
    flex-wrap: wrap;
    gap: 1rem;
}

.order-number {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.order-date, .order-meta {
    font-size: 0.875rem;
    color: #666;
}

.order-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.order-status, .order-status-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.order-body, .order-card-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.order-items, .order-items-preview {
    display: flex;
    gap: 0.5rem;
}

.order-item-preview, .order-item-mini {
    position: relative;
    width: 60px;
    height: 60px;
    border: 2px solid #000;
    overflow: hidden;
}

.order-item-preview img, .order-item-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item-preview .no-image, .order-item-mini .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    font-size: 1.5rem;
    color: #dee2e6;
}

.item-quantity {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #000;
    color: #fff;
    font-size: 0.75rem;
    padding: 0.125rem 0.375rem;
    font-weight: 700;
}

.order-item-more {
    width: 60px;
    height: 60px;
    border: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    font-weight: 700;
}

.order-total {
    font-size: 1.1rem;
}

.order-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.order-address {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.order-actions, .order-card-footer {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-top: 2px solid #000;
}

/* Order Detail Page */
.order-status-section {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.order-items-detail {
    display: flex;
    flex-direction: column;
}

.order-item-detail {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 2px solid #000;
}

.order-item-detail:last-child {
    border-bottom: none;
}

.item-image {
    width: 100px;
    height: 100px;
    border: 2px solid #000;
    overflow: hidden;
    flex-shrink: 0;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    font-size: 2rem;
    color: #dee2e6;
}

.item-info {
    flex: 1;
}

.item-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.item-variant {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.item-price-qty {
    display: flex;
    gap: 0.5rem;
    color: #666;
}

.item-subtotal {
    font-size: 1.1rem;
    font-weight: 700;
    text-align: left;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.summary-row.total {
    font-size: 1.2rem;
    margin-top: 1rem;
}

/* Address Cards */
.address-card {
    position: relative;
    border: 2px solid #000;
    padding: 1.5rem;
    transition: all 0.2s;
    background: #fff;
}

.address-card:hover {
    box-shadow: 4px 4px 0 #000;
}

.address-card.default {
    background: #f8f9fa;
}

.default-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #000;
    color: #fff;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.address-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.address-actions {
    display: flex;
    gap: 0.5rem;
}

.address-body p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.address-body i {
    margin-left: 0.5rem;
    color: #666;
}

/* Settings Page */
.avatar-upload-section {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.current-avatar {
    width: 120px;
    height: 120px;
    border: 2px solid #000;
    overflow: hidden;
    flex-shrink: 0;
}

.current-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-upload-controls {
    flex: 1;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state i {
    font-size: 5rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Responsive Profile */
@media (max-width: 991px) {
    .profile-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
    
    .profile-content {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .stat-card {
        padding: 1rem;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .stat-value {
        font-size: 1.2rem;
    }
    
    .order-header, .order-card-header {
        padding: 1rem;
    }
    
    .order-body, .order-card-body {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .order-item-detail {
        flex-direction: column;
    }
    
    .item-image {
        width: 100%;
        height: 200px;
    }
    
    .avatar-upload-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .current-avatar {
        width: 100px;
        height: 100px;
    }
}


/* ========================================
   PRODUCT DETAIL PAGE - COMPLETE REDESIGN
   ======================================== */

/* Main Container */
.product-detail-page {
    background: #fff;
}

/* ========================================
   PRODUCT GALLERY
   ======================================== */

.product-gallery-wrapper {
    position: relative;
}

/* Main Image Display */
.main-image-display {
    position: relative;
}

.main-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border: 2px solid #000;
    overflow: hidden;
    background: #f8f9fa;
    cursor: pointer;
}

.main-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-image-container:hover .main-product-image {
    transform: scale(1.05);
}

.main-image-container.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-image-placeholder {
    text-align: center;
}

/* Zoom Button */
.zoom-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background: #fff;
    border: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}

.zoom-btn:hover {
    background: #000;
    color: #fff;
}

/* Thumbnail Gallery */
.thumbnail-gallery {
    margin-top: 1rem;
}

.thumbnail-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    background: #f8f9fa;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-item:hover {
    border-color: #666;
}

.thumbnail-item.active {
    border-color: #000;
    box-shadow: 0 0 0 2px #000;
}

/* Image Zoom Modal */
.image-zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.image-zoom-modal.active {
    display: flex;
}

.zoom-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.zoom-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 10;
}

.zoom-modal-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.zoom-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: #fff;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.zoom-modal-close:hover {
    background: #000;
    color: #fff;
}

/* ========================================
   PRODUCT INFORMATION
   ======================================== */

.product-info-wrapper {
    height: 100%;
}

/* Category Badge */
.product-category-badge {
    display: inline-block;
}

.category-link {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: #f8f9fa;
    border: 2px solid #000;
    color: #000;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.category-link:hover {
    background: #000;
    color: #fff;
}

/* Product Title */
.product-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    color: #000;
}

/* Rating Section */
.product-rating-section {
    padding: 1rem 0;
    border-bottom: 2px solid #f0f0f0;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stars-wrapper {
    display: flex;
    gap: 3px;
}

.stars-wrapper .star {
    color: #ddd;
}

.stars-wrapper .star.filled {
    color: #000;
}

.rating-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.rating-value {
    font-weight: 700;
    color: #000;
}

.reviews-count {
    color: #666;
}

.no-reviews {
    color: #999;
    font-style: italic;
}

/* Price Box */
.product-price-box {
    padding: 1.5rem;
    background: #f8f9fa;
    border: 2px solid #000;
}

.price-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Single Price */
.price-single {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    line-height: 1;
}

.price-currency {
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
}

/* Price Range */
.price-range {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.price-from,
.price-to {
    font-size: 1rem;
    color: #666;
}

/* Price with Discount */
.price-with-discount {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.price-original-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.price-original {
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
}

.discount-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #000;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
}

.price-final-wrapper {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

/* ========================================
   VARIANTS SELECTION
   ======================================== */

.variants-selection-section {
    padding: 1.5rem 0;
    border-bottom: 2px solid #f0f0f0;
}

.variant-group {
    margin-bottom: 1.5rem;
}

.variant-group:last-child {
    margin-bottom: 0;
}

.variant-label {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #000;
}

.variant-options-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.variant-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #fff;
    border: 2px solid #000;
    color: #000;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 80px;
    justify-content: center;
}

.variant-btn:hover {
    background: #f8f9fa;
}

.variant-btn.active {
    background: #000;
    color: #fff;
}

.variant-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.color-swatch {
    width: 20px;
    height: 20px;
    border: 2px solid #000;
    display: inline-block;
}

.variant-text {
    white-space: nowrap;
}

/* ========================================
   STOCK STATUS
   ======================================== */

.stock-status-section {
    padding: 1rem 0;
    border-bottom: 2px solid #f0f0f0;
}

.stock-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.stock-icon.available {
    color: #28a745;
}

.stock-icon.unavailable {
    color: #dc3545;
}

.stock-text.available {
    color: #28a745;
}

.stock-text.unavailable {
    color: #dc3545;
}

/* ========================================
   PURCHASE SECTION
   ======================================== */

.purchase-section {
    padding-top: 1.5rem;
}

/* Quantity Controls */
.quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-label {
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 2px solid #000;
    background: #fff;
}

.qty-btn {
    width: 45px;
    height: 45px;
    background: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: #000;
    color: #fff;
}

.qty-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.qty-input {
    width: 70px;
    height: 45px;
    border: none;
    border-left: 2px solid #000;
    border-right: 2px solid #000;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    background: #fff;
    -moz-appearance: textfield;
    appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input:focus {
    outline: none;
}

/* Add to Cart Button */
.add-to-cart-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: #000;
    color: #fff;
    border: 2px solid #000;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.add-to-cart-btn:hover:not(:disabled) {
    background: #fff;
    color: #000;
}

.add-to-cart-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.add-to-cart-btn .spinner-border {
    width: 1.2rem;
    height: 1.2rem;
    border-width: 0.2em;
}

/* ========================================
   PRODUCT TABS
   ======================================== */

.product-tabs-section {
    border: 2px solid #000;
    background: #fff;
}

.product-tabs-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 2px solid #000;
}

.tab-item {
    flex: 1;
}

.tab-btn {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: none;
    border-right: 2px solid #000;
    font-size: 1rem;
    font-weight: 700;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-item:last-child .tab-btn {
    border-right: none;
}

.tab-btn:hover {
    background: #f8f9fa;
    color: #000;
}

.tab-btn.active {
    background: #000;
    color: #fff;
}

.product-tabs-content {
    padding: 2rem;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Description Content */
.description-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

.description-content p {
    margin-bottom: 1rem;
}

/* Specifications Table */
.specifications-content {
    overflow-x: auto;
}

.specifications-table {
    width: 100%;
    border-collapse: collapse;
}

.specifications-table tr {
    border-bottom: 2px solid #f0f0f0;
}

.specifications-table tr:last-child {
    border-bottom: none;
}

.specifications-table td {
    padding: 1rem;
}

.spec-label {
    font-weight: 700;
    color: #000;
    width: 40%;
}

.spec-value {
    color: #666;
}

/* ========================================
   RELATED PRODUCTS
   ======================================== */

.related-products-section {
    padding: 2rem 0;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #000;
    padding-bottom: 1rem;
    border-bottom: 2px solid #000;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 991px) {
    .product-title {
        font-size: 1.75rem;
    }
    
    .price-amount {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-price-box {
        padding: 1rem;
    }
    
    .price-amount {
        font-size: 1.5rem;
    }
    
    .variant-btn {
        min-width: 70px;
        padding: 0.6rem 1rem;
        font-size: 0.875rem;
    }
    
    .quantity-wrapper {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .quantity-control {
        width: 100%;
    }
    
    .qty-input {
        flex: 1;
    }
    
    .add-to-cart-btn {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
    
    .product-tabs-nav {
        flex-direction: column;
    }
    
    .tab-btn {
        border-right: none;
        border-bottom: 2px solid #000;
    }
    
    .tab-item:last-child .tab-btn {
        border-bottom: none;
    }
    
    .product-tabs-content {
        padding: 1.5rem;
    }
    
    .spec-label {
        width: 50%;
    }
    
    .zoom-modal-close {
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 576px) {
    .product-title {
        font-size: 1.25rem;
    }
    
    .price-amount {
        font-size: 1.25rem;
    }
    
    .variant-btn {
        min-width: 60px;
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .specifications-table td {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .spec-label,
    .spec-value {
        display: block;
        width: 100%;
    }
    
    .spec-label {
        padding-bottom: 0.25rem;
    }
    
    .spec-value {
        padding-top: 0.25rem;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.image-zoom-modal.active {
    animation: fadeIn 0.3s ease;
}

.zoom-modal-image {
    animation: slideUp 0.3s ease;
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

.variant-btn:focus,
.qty-btn:focus,
.add-to-cart-btn:focus,
.tab-btn:focus,
.zoom-btn:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .main-image-container,
    .thumbnail-item,
    .variant-btn,
    .quantity-control,
    .add-to-cart-btn,
    .product-tabs-section {
        border-width: 3px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .main-product-image,
    .thumbnail-item,
    .variant-btn,
    .qty-btn,
    .add-to-cart-btn,
    .tab-btn,
    .zoom-btn {
        transition: none;
    }
    
    .image-zoom-modal.active,
    .zoom-modal-image {
        animation: none;
    }
}


/* ========================================
   BLOG PAGE STYLES
   ======================================== */

/* Blog Page Layout */
.blog-page {
    min-height: 70vh;
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-widget {
    border: 2px solid #000;
    padding: 1.5rem;
    background: #fff;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #000;
}

/* Search Form */
.search-form .input-group {
    border: 2px solid #000;
}

.search-form .form-control {
    border: none;
    height: 45px;
}

.search-form .form-control:focus {
    box-shadow: none;
}

.search-form .btn {
    border: none;
    border-left: 2px solid #000;
    width: 50px;
}

/* Category List */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    border-bottom: 1px solid #dee2e6;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    color: #000;
    text-decoration: none;
    transition: all 0.2s;
}

.category-list a:hover,
.category-list a.active {
    color: #666;
    padding-right: 0.5rem;
}

.category-list .count {
    font-size: 0.875rem;
    color: #6c757d;
    background: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border: 1px solid #dee2e6;
}

/* Blog Header */
.blog-header {
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #000;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.category-description {
    color: #6c757d;
    margin-bottom: 0;
}

/* Blog Card */
.blog-card {
    border: 2px solid #000;
    background: #fff;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 6px 6px 0 #000;
}

.blog-card-image {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #f8f9fa;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    border-top: 2px solid #000;
}

.blog-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}

.blog-category:hover {
    color: #000;
}

.blog-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card-title a {
    color: #000;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card-title a:hover {
    color: #666;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: #6c757d;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-card-excerpt {
    color: #666;
    margin-bottom: 1rem;
    flex: 1;
    line-height: 1.6;
}

/* Empty State */
.empty-state {
    padding: 4rem 2rem;
}

.empty-state i {
    font-size: 4rem;
    color: #dee2e6;
}

/* Blog Post Page */
.blog-post-page {
    min-height: 70vh;
}

.blog-post {
    background: #fff;
}

/* Post Header */
.post-header {
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #000;
}

.post-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    text-decoration: none;
    margin-bottom: 1rem;
    transition: color 0.2s;
}

.post-category:hover {
    color: #000;
}

.post-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

/* Featured Image */
.post-featured-image {
    border: 2px solid #000;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Post Content */
.post-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #000;
}

.post-content h2 {
    font-size: 1.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #000;
}

.post-content h3 {
    font-size: 1.5rem;
}

.post-content h4 {
    font-size: 1.2rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border: 2px solid #000;
    margin: 2rem 0;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.5rem;
    padding-right: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content blockquote {
    border-right: 4px solid #000;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: #f8f9fa;
    font-style: italic;
}

.post-content code {
    background: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border: 1px solid #dee2e6;
    font-size: 0.9em;
}

.post-content pre {
    background: #f8f9fa;
    border: 2px solid #000;
    padding: 1rem;
    overflow-x: auto;
    margin: 2rem 0;
}

.post-content pre code {
    background: none;
    border: none;
    padding: 0;
}

/* Post Tags */
.post-tags {
    padding-top: 1.5rem;
    border-top: 1px solid #dee2e6;
}

.tag-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    margin-left: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.tag-badge:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* Post Footer */
.post-footer {
    margin-top: 2rem;
    padding-top: 2rem;
}

.share-buttons .btn {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
}

/* Author Info */
.author-info {
    padding: 1rem;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
}

.author-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #000;
}

.author-avatar-placeholder {
    width: 60px;
    height: 60px;
    background: #dee2e6;
    border: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #6c757d;
}

/* Related Posts */
.related-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-post-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.related-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-post-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border: 2px solid #000;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-post-item:hover .related-post-image img {
    transform: scale(1.1);
}

.related-post-content {
    flex: 1;
}

.related-post-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.related-post-title a {
    color: #000;
    text-decoration: none;
    transition: color 0.2s;
}

.related-post-title a:hover {
    color: #666;
}

/* Responsive Blog */
@media (max-width: 991px) {
    .blog-sidebar {
        position: static;
        margin-top: 3rem;
    }
    
    .sidebar-widget {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .post-title {
        font-size: 1.8rem;
    }
    
    .post-content {
        font-size: 1rem;
    }
    
    .post-content h2 {
        font-size: 1.5rem;
    }
    
    .post-content h3 {
        font-size: 1.3rem;
    }
    
    .post-footer .d-flex {
        flex-direction: column;
        gap: 1rem;
    }
    
    .share-buttons {
        justify-content: flex-start;
    }
}

/* Shake Animation for Variant Selection */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

.variants-selection-section {
    transition: all 0.3s ease;
}
