/* =====================================================
   SADGURU TRUST - Store CSS
   Professional Spiritual Ecommerce Design
   ===================================================== */

/* ========== STORE HERO SECTION ========== */

.store-hero {
    height: 100vh;
    background: linear-gradient(rgba(11, 11, 11, 0.7), rgba(11, 11, 11, 0.8)),
                url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%221200%22 height=%22800%22%3E%3Cdefs%3E%3ClinearGradient id=%22grad%22 x1=%220%25%22 y1=%220%25%22 x2=%22100%25%22 y2=%22100%25%22%3E%3Cstop offset=%220%25%22 style=%22stop-color:rgba(217,119,6,0.1)%22/%3E%3Cstop offset=%22100%25%22 style=%22stop-color:rgba(251,191,36,0.05)%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width=%221200%22 height=%22800%22 fill=%22url(%23grad)%22/%3E%3C/svg%3E');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.store-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

.store-hero-mantra {
    font-size: 1.5rem;
    color: var(--gradient-start);
    letter-spacing: 4px;
    margin-bottom: 20px;
    font-weight: 600;
    animation: fadeInDown 1s ease-out;
}

.store-hero-title {
    font-size: 4rem;
    margin-bottom: 30px;
    line-height: 1.1;
    animation: fadeInUp 1.2s ease-out;
}

.store-hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 1.4s ease-out;
}

/* Search Bar */
.store-search-container {
    margin: 30px 0;
    animation: fadeInUp 1.5s ease-out;
}

.store-search {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(217, 119, 6, 0.3);
    border-radius: 50px;
    padding: 0 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.store-search:focus-within {
    border-color: var(--gradient-start);
    box-shadow: 0 0 30px rgba(217, 119, 6, 0.2);
}

.store-search i {
    color: var(--gradient-start);
    margin-right: 10px;
    font-size: 1.2rem;
}

.store-search-input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    width: 100%;
    padding: 14px 0;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.store-search-input::placeholder {
    color: var(--text-muted);
}

/* CTA Buttons */
.store-hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.6s ease-out;
}

/* ========== CATEGORIES SECTION ========== */

.store-categories {
    background: var(--surface);
    padding: 60px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.category-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 25px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(217, 119, 6, 0.2);
    border-radius: 15px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
}

.category-btn i {
    font-size: 1.5rem;
}

.category-btn:hover,
.category-btn.active {
    border-color: var(--gradient-start);
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.1), rgba(251, 191, 36, 0.05));
    color: var(--gradient-start);
    transform: translateY(-5px);
}

/* ========== FEATURED PRODUCTS ========== */

.store-featured {
    padding: 80px 0;
}

.featured-products-scroll {
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    margin: -20px 0;
}

.featured-products-scroll::-webkit-scrollbar {
    height: 8px;
}

.featured-products-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    border-radius: 4px;
}

.featured-products-container {
    display: flex;
    gap: 25px;
    min-width: min-content;
    padding: 0 20px;
}

.featured-product-card {
    flex: 0 0 280px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(217, 119, 6, 0.15);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.featured-product-card:hover {
    border-color: var(--gradient-start);
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(217, 119, 6, 0.25);
}

.featured-product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.1), rgba(251, 191, 36, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    overflow: hidden;
    position: relative;
}

.featured-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.featured-product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #000;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.featured-product-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.featured-product-name {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.featured-product-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    flex: 1;
}

.featured-product-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}

.featured-product-rating i {
    color: var(--gradient-start);
    font-size: 0.9rem;
}

.featured-product-price {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

.featured-product-price-current {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gradient-start);
}

.featured-product-price-old {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.featured-product-discount {
    font-size: 0.85rem;
    color: #10b981;
    font-weight: 600;
}

/* ========== CONTROLS (SORT, FILTER, VIEW) ========== */

.store-controls {
    background: rgba(21, 21, 21, 0.5);
    padding: 30px 0;
    border-top: 1px solid rgba(217, 119, 6, 0.1);
    border-bottom: 1px solid rgba(217, 119, 6, 0.1);
}

.store-controls-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.store-sort label {
    font-weight: 500;
    color: var(--text-secondary);
}

.store-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(217, 119, 6, 0.2);
    color: var(--text-primary);
    padding: 10px 15px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.store-select:hover,
.store-select:focus {
    border-color: var(--gradient-start);
    background: rgba(217, 119, 6, 0.1);
}

.filter-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(217, 119, 6, 0.2);
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.filter-toggle:hover {
    border-color: var(--gradient-start);
    color: var(--gradient-start);
}

.store-view-options {
    display: flex;
    gap: 10px;
}

.view-toggle {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(217, 119, 6, 0.2);
    color: var(--text-secondary);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.view-toggle:hover,
.view-toggle.active {
    border-color: var(--gradient-start);
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.1), rgba(251, 191, 36, 0.05));
    color: var(--gradient-start);
}

/* Filters Drawer */
.store-filters-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--surface);
    border-left: 1px solid rgba(217, 119, 6, 0.2);
    z-index: 900;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding-top: 70px;
}

.store-filters-drawer.open {
    right: 0;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(217, 119, 6, 0.1);
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    background: var(--surface);
    z-index: 901;
}

.filters-header h3 {
    font-size: 1.2rem;
}

.close-filters {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-filters:hover {
    color: var(--gradient-start);
}

.filter-group {
    padding: 20px;
    border-bottom: 1px solid rgba(217, 119, 6, 0.1);
}

.filter-group h4 {
    color: var(--gradient-start);
    margin-bottom: 15px;
    font-size: 1rem;
}

.price-filter {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.price-range {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(217, 119, 6, 0.2);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.price-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    cursor: pointer;
    box-shadow: 0 0 10px rgba(217, 119, 6, 0.3);
}

.price-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px rgba(217, 119, 6, 0.3);
}

.price-display {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-weight: 500;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 0;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.filter-checkbox:hover {
    color: var(--gradient-start);
}

.filter-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--gradient-start);
}

.filter-group .btn {
    width: 100%;
    margin-top: 10px;
}

/* ========== PRODUCTS GRID ========== */

.store-all-products {
    padding: 80px 0;
}

.products-wrapper {
    position: relative;
}

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

.products-grid.list-view {
    grid-template-columns: 1fr;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(217, 119, 6, 0.15);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    border-color: var(--gradient-start);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(217, 119, 6, 0.2);
}

.list-view .product-card {
    flex-direction: row;
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
    width: 100%;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.1), rgba(251, 191, 36, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.list-view .product-image-wrapper {
    width: 280px;
    min-width: 280px;
    height: auto;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #000;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-wishlist-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.product-wishlist-btn:hover {
    background: var(--gradient-start);
    transform: scale(1.1);
}

.product-wishlist-btn.active {
    color: var(--gradient-start);
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.list-view .product-info {
    flex-direction: row;
    gap: 20px;
    padding: 0;
    align-items: center;
}

.product-category {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--gradient-start);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

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

.list-view .product-name {
    font-size: 1.3rem;
}

.product-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.product-rating-stars {
    display: flex;
    gap: 3px;
}

.product-rating-stars i {
    color: var(--gradient-start);
    font-size: 0.9rem;
}

.product-rating-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.product-price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

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

.product-price-current {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gradient-start);
}

.product-price-old {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-discount-badge {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #000;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-stock {
    font-size: 0.9rem;
    font-weight: 600;
}

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

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

.product-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.product-quantity label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.quantity-input {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(217, 119, 6, 0.2);
    border-radius: 6px;
    padding: 5px 10px;
}

.quantity-btn {
    background: none;
    border: none;
    color: var(--gradient-start);
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.quantity-btn:hover {
    color: var(--gradient-end);
}

.quantity-input input {
    width: 40px;
    background: transparent;
    border: none;
    outline: none;
    text-align: center;
    color: var(--text-primary);
    font-weight: 600;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
}

.list-view .product-actions {
    grid-template-columns: auto auto auto;
    gap: 8px;
}

.product-actions .btn {
    padding: 10px 15px;
    font-size: 0.9rem;
}

.product-actions .btn-full {
    grid-column: 1 / -1;
}

.list-view .product-actions .btn-full {
    grid-column: auto;
}

.view-details-btn {
    background: transparent;
    border: 1px solid var(--gradient-start);
    color: var(--gradient-start);
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.view-details-btn:hover {
    background: var(--gradient-start);
    color: #000;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 4rem;
    color: var(--gradient-start);
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.empty-state p {
    font-size: 1rem;
}

/* ========== WHY CHOOSE SECTION ========== */

.store-why-choose {
    background: var(--surface);
    padding: 80px 0;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-choose-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(217, 119, 6, 0.15);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.why-choose-card:hover {
    border-color: var(--gradient-start);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(217, 119, 6, 0.15);
}

.why-choose-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.2), rgba(251, 191, 36, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--gradient-start);
    transition: all 0.4s ease;
}

.why-choose-card:hover .why-choose-icon {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #000;
    transform: scale(1.1);
}

.why-choose-card h3 {
    margin-bottom: 15px;
}

.why-choose-card p {
    font-size: 0.95rem;
}

/* ========== NEWSLETTER ========== */

.store-newsletter {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.1), rgba(251, 191, 36, 0.05));
    padding: 80px 0;
    border-top: 1px solid rgba(217, 119, 6, 0.2);
    border-bottom: 1px solid rgba(217, 119, 6, 0.2);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    min-width: 280px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(217, 119, 6, 0.3);
    border-radius: 50px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--gradient-start);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
    padding: 14px 40px;
}

/* ========== CART DRAWER ========== */

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 850;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100vh;
    background: var(--surface);
    border-left: 1px solid rgba(217, 119, 6, 0.2);
    z-index: 900;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cart-drawer.active {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(217, 119, 6, 0.1);
}

.cart-header h2 {
    font-size: 1.5rem;
}

.cart-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.cart-close:hover {
    color: var(--gradient-start);
}

.cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: var(--text-secondary);
}

.cart-empty i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(217, 119, 6, 0.1);
    border-radius: 10px;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.1), rgba(251, 191, 36, 0.1));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-price {
    font-size: 1rem;
    color: var(--gradient-start);
    font-weight: 700;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.cart-item-quantity input {
    width: 35px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(217, 119, 6, 0.2);
    border-radius: 4px;
    text-align: center;
    color: var(--text-primary);
    font-weight: 600;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.cart-item-remove:hover {
    color: #ff6b6b;
}

.cart-footer {
    border-top: 1px solid rgba(217, 119, 6, 0.1);
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
}

.cart-summary {
    margin-bottom: 20px;
}

.cart-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.cart-line.total {
    border-top: 1px solid rgba(217, 119, 6, 0.2);
    padding-top: 10px;
    margin-top: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gradient-start);
}

.btn-full {
    width: 100%;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Floating Cart Button */
.floating-cart {
    position: fixed;
    bottom: 25px;
    right: 80px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #000;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(217, 119, 6, 0.3);
    transition: all 0.3s ease;
    z-index: 800;
    position: relative;
}

.floating-cart:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(217, 119, 6, 0.4);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

/* ========== PRODUCT MODAL ========== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 950;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.product-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--surface);
    border: 1px solid rgba(217, 119, 6, 0.2);
    border-radius: 15px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 960;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.product-modal.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 5;
}

.modal-close:hover {
    color: var(--gradient-start);
}

.modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.modal-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.1), rgba(251, 191, 36, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.modal-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.modal-rating-stars {
    display: flex;
    gap: 5px;
}

.modal-rating-stars i {
    color: var(--gradient-start);
}

.modal-price {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 700;
}

.modal-price-current {
    color: var(--gradient-start);
}

.modal-price-old {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 1.1rem;
}

.modal-description {
    margin-bottom: 25px;
    line-height: 1.8;
}

.modal-specs {
    margin-bottom: 25px;
}

.modal-specs h4 {
    margin-bottom: 12px;
    color: var(--gradient-start);
}

.modal-specs ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-specs li {
    padding-left: 20px;
    position: relative;
}

.modal-specs li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gradient-start);
    font-weight: 700;
}

.modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.modal-actions .btn {
    padding: 14px 20px;
}

.modal-wishlist {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(217, 119, 6, 0.3);
    color: var(--gradient-start);
}

.modal-wishlist:hover {
    background: rgba(217, 119, 6, 0.1);
    border-color: var(--gradient-start);
}

.modal-reviews {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(217, 119, 6, 0.1);
}

.modal-reviews h4 {
    color: var(--gradient-start);
    margin-bottom: 20px;
}

.review-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(217, 119, 6, 0.1);
}

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

.review-author {
    font-weight: 600;
    margin-bottom: 5px;
}

.review-rating {
    display: flex;
    gap: 3px;
    margin-bottom: 8px;
}

.review-rating i {
    color: var(--gradient-start);
    font-size: 0.8rem;
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
}
