/* ========================================
   IMAGE PERFORMANCE OPTIMIZATIONS
======================================== */
img { max-width: 100%; height: auto; display: block; }

.product-image-wrapper {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.product-image-wrapper img {
    width: 100%; height: 100%;
    object-fit: cover;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    transition: transform 0.3s ease;
}
.product-image-wrapper img.loaded {
    animation: none;
    background: none;
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }

/* ========================================
   TRUEVIEWSFIT - ENHANCED STYLESHEET
   Mobile-First Responsive Design
======================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0d7377;
    --secondary-color: #14a085;
    --button-primary: #ff6b6b;
    --button-secondary: #ff8e53;
    --dark: #2d3436;
    --light: #f8fafb;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a{
    text-decoration: none;
}

/* ========================================
   NAVIGATION
======================================== */
.main-nav {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, #0d7377 0%, #14a085 100%);
    box-shadow: 0 2px 10px rgba(13, 115, 119, 0.2);
    z-index: 1000;
    /* Needed so the absolute-positioned dropdown anchors to the nav, not the viewport */
    isolation: isolate;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.mobile-menu{
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}


/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.logo-icon {
    font-size: 28px;
    color: white;
}

/* Nav Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Nav Right Actions */
.nav-right {
    display: flex;
    gap: 15px;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: white;
    cursor: pointer;
    position: relative;
    padding: 8px;
    transition: var(--transition);
}

.icon-btn:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* ========================================
   HERO CAROUSEL
======================================== */
.hero-carousel {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #000;
}

.carousel-container {
    position: relative;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.carousel-content {
    position: absolute;
    text-align: center;
    color: white;
    z-index: 10;
    max-width: 600px;
    padding: 20px;
}

.promo-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

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

.promo-badge.new {
    background: linear-gradient(135deg, #0d7377, #14a085);
}

.promo-badge.sale {
    background: #e74c3c;
}

.carousel-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.carousel-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.cta-btn {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(255,107,107,0.4);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255,107,107,0.6);
}

/* Carousel Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    border: none;
    color: white;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    z-index: 20;
    backdrop-filter: blur(10px);
}

.carousel-control:hover {
    background: rgba(255,255,255,0.5);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

/* ========================================
   FILTER SECTION
======================================== */
.filter-section {
    padding: 40px 0 20px;
    background: white;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.filter-header h2 {
    font-size: 28px;
    color: var(--dark);
}

.product-count {
    font-size: 16px;
    color: #777;
    font-weight: normal;
}

.filter-toggle-btn {
    display: none;
    background: linear-gradient(135deg, #0d7377, #14a085);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    gap: 8px;
}

.filter-panel {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
    background: #f8f9fa;
    border-radius: var(--border-radius);
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group h3 {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--dark);
    text-transform: uppercase;
    font-weight: 600;
}

.filter-select {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-select:focus {
    outline: none;
    border-color: #ff6b6b;
}

.filter-checkboxes {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.filter-checkboxes label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.filter-checkboxes input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.apply-filters-btn {
    display: none;
    background: linear-gradient(135deg, #0d7377, #14a085);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 15px;
    width: 100%;
}

/* ========================================
   PRODUCTS GRID
======================================== */
.products-section {
    padding: 40px 0;
}

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

.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

/* Discount Badge */
.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e74c3c;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    z-index: 5;
}

.discount-badge.new {
    background: var(--accent-color);
}

.discount-badge.hot {
    background: #f39c12;
}

/* Quick View Button */
.quick-view-btn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%) translateY(50px);
    background: white;
    color: var(--dark);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    opacity: 0;
    transition: var(--transition);
    white-space: nowrap;
    font-size: 14px;
}

.product-card:hover .quick-view-btn {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Product Info */
.product-info {
    padding: 15px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #f39c12;
}

.rating-count {
    color: #999;
    font-size: 12px;
}

.product-title {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--dark);
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.current-price {
    font-size: 20px;
    font-weight: bold;
    color: #ff6b6b;
}

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

.add-to-cart-quick {
    width: 100%;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.add-to-cart-quick:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,107,107,0.4);
}

/* ========================================
   REVIEWS SECTION
======================================== */
.reviews-section {
    padding: 60px 0;
    background: white;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.reviews-header h2 {
    font-size: 32px;
}

.write-review-btn {
    background: linear-gradient(135deg, #0d7377, #14a085);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.write-review-btn:hover {
    background: linear-gradient(135deg, #09ABB1, #0B846D);
    transform: translateY(-2px);
}

/* Reviews Stats */
.reviews-stats {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: var(--border-radius);
}

.overall-rating {
    text-align: center;
}

.rating-number {
    font-size: 64px;
    font-weight: bold;
    color: #ff6b6b;
    line-height: 1;
}

.rating-stars {
    color: #f39c12;
    font-size: 24px;
    margin: 10px 0;
}

.rating-count {
    color: #777;
    font-size: 14px;
}

/* Rating Bars */
.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.rating-bar-item span:first-child {
    width: 60px;
    font-size: 14px;
    color: #f39c12;
}

.bar {
    flex: 1;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.bar .fill {
    height: 100%;
    background: linear-gradient(90deg, #f39c12, #f1c40f);
    transition: width 0.5s ease;
}

.rating-bar-item span:last-child {
    width: 50px;
    text-align: right;
    font-size: 14px;
    color: #777;
}

/* Review Cards */
.reviews-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.review-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.review-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.reviewer-info {
    display: flex;
    gap: 12px;
    align-items: center;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.reviewer-info h4 {
    margin-bottom: 5px;
    font-size: 16px;
}

.review-stars {
    color: #f39c12;
    font-size: 14px;
}

.review-date {
    color: #999;
    font-size: 13px;
}

.review-text {
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.review-helpful {
    display: flex;
    gap: 10px;
}

.helpful-btn {
    background: none;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: #777;
    transition: var(--transition);
}

.helpful-btn:hover {
    border-color: #ff6b6b;
    color: #ff6b6b;
}

.load-more-reviews {
    margin: 30px auto 0;
    display: block;
    background: none;
    border: 2px solid #ff6b6b;
    color: #ff6b6b;
    padding: 12px 40px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.load-more-reviews:hover {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
}

/* ========================================
   MODAL STYLES
======================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: var(--border-radius);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: sticky;
    top: 10px;
    right: 15px;
    margin-bottom: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #777;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: #f8f9fa;
    color: var(--dark);
}

/* Quick View Modal */
.quick-view-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.quick-view-image img {
    width: 100%;
    border-radius: var(--border-radius);
}

.quick-view-info h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.quick-view-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.quick-view-price {
    font-size: 32px;
    font-weight: bold;
    color: #ff6b6b;
    margin-bottom: 20px;
}

.quick-view-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
}

.option-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.option-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-selector button {
    width: 40px;
    height: 40px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: var(--transition);
}

.quantity-selector button:hover {
    border-color: #ff6b6b;
    color: #ff6b6b;
}

.quantity-selector input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
}

.order-now-btn-modal {
    width: 100%;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
    transition: var(--transition);
}

.order-now-btn-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255,107,107,0.4);
}

.view-full-details-btn {
    width: 100%;
    background: none;
    border: 2px solid #ff6b6b;
    color: #ff6b6b;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.view-full-details-btn:hover {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
}

/* Review Modal */
.review-modal-content {
    max-width: 600px;
    
}

.review-modal-content h2 {
    margin-bottom: 30px;
    font-size: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b6b;
}

.star-rating-input {
    display: flex;
    gap: 10px;
    font-size: 32px;
    color: #ddd;
    cursor: pointer;
}

.star-rating-input i.active {
    color: #f39c12;
}

.submit-review-btn {
    width: 100%;
    background: linear-gradient(135deg, #0d7377, #14a085);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.submit-review-btn:hover {
    background: linear-gradient(135deg, #14a085, #18b896);
    transform: translateY(-2px);
}

/* ========================================
   FOOTER
======================================== */
footer {
    background: linear-gradient(135deg, #0d7377, #14a085);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    padding: 2rem 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-col-logo{
    margin-top: 2rem;
}

.footer-logo i {
    font-size: 28px;
    color: #ff6b6b;
}


.footer-column{
    margin-top: 4rem;
}

.footer-column p {
    margin-bottom: 20px;
    color: #bbb;
    line-height: 1.6;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: #ff6b6b;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 2rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
}

.newsletter-form button {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: linear-gradient(135deg, #ff8e53, #ffa06b);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #bbb;
}

/* ========================================
   MOBILE STICKY CART
======================================== */
.mobile-sticky-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 15px 20px;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.mobile-sticky-cart.show {
    transform: translateY(0);
}

.sticky-cart-info {
    display: flex;
    gap: 12px;
    align-items: center;
}

.sticky-cart-info img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.sticky-cart-title {
    font-weight: 600;
    font-size: 14px;
}

.sticky-cart-price {
    color: #ff6b6b;
    font-weight: bold;
}

.sticky-cart-btn {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
}

.order-now-quick{
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    border: none;
    padding: 12px 50px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-self: center;
}



/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 968px) {
    /* Mobile Navigation — hide desktop links, show hamburger */
    .nav-links { display: none; }
    .mobile-menu-toggle { display: flex !important; }


    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 60px);
        background: linear-gradient(135deg, #ff6b6b, #ff8e53);;
        flex-direction: column;
        padding: 30px 20px;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin-bottom: 20px;
    }

    /* Hero Carousel */
    .hero-carousel {
        height: 400px;
    }

    .carousel-content h1 {
        font-size: 32px;
    }

    .carousel-content p {
        font-size: 16px;
    }

    /* Filter Section */
    .filter-toggle-btn {
        display: flex;
    }

    .filter-panel {
        display: none;
        flex-direction: column;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        border-radius: 20px 20px 0 0;
        padding: 20px;
        max-height: 70vh;
        overflow-y: auto;
        z-index: 1500;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    }

    .filter-panel.active {
        display: flex;
    }

    .apply-filters-btn {
        display: block;
    }

    /* Products Grid */
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }

    /* Reviews Stats */
    .reviews-stats {
        grid-template-columns: 1fr;
    }
    
    .reviews-list{
        grid-template-columns: 1fr;
    }
    
    .reviews-header{
        display: block;
    }
    
    .write-review-btn{
        position: relative;
        top: 1rem;
        right: -50%;
        z-index: 10;
    }

    /* Quick View Modal */
    .quick-view-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 640px) {
    .hero-carousel {
        height: 300px;
    }

    .carousel-content h1 {
        font-size: 24px;
    }

    .carousel-content p {
        font-size: 14px;
    }

    .cta-btn {
        padding: 12px 30px;
        font-size: 16px;
    }

    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Mobile Cart in Sidebar */
.mobile-cart-item {
    display: none;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    margin-top: 20px;
}

.mobile-cart-badge {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 8px;
}

@media (max-width: 968px) {
    .mobile-cart-item {
        display: block;
    }
    
    .mobile-cart-item a {
        color: white !important;
        font-size: 18px;
        display: flex;
        align-items: center;
        gap: 10px;
    }
}

/* ========================================
   ORDER SYSTEM STYLES
======================================== */

/* Order Modal */
.order-modal-content {
    max-width: 600px;
}

.order-modal-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.order-modal-header i {
    font-size: 36px;
    color: #ff6b6b;
}

.order-modal-header h2 {
    font-size: 28px;
    color: var(--dark);
}

.order-product-summary {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f8fafb;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 2px solid #e0e0e0;
}

.order-product-summary img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.order-product-details h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark);
}

.order-product-price {
    font-size: 24px;
    font-weight: bold;
    color: #ff6b6b;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    transition: var(--transition);
}

.qty-btn:hover {
    border-color: #ff6b6b;
    color: #ff6b6b;
    background: #fff5f5;
}

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

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #0d7377 0%, #14a085 100%);
    border-radius: 12px;
    margin: 20px 0;
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.submit-order-btn {
    width: 100%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.submit-order-btn:hover {
    background: linear-gradient(135deg, #128c7e, #075e54);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.submit-order-btn i {
    font-size: 24px;
}

.order-note {
    text-align: center;
    color: #777;
    font-size: 13px;
    margin-top: 15px;
    padding: 12px;
    background: #f8fafb;
    border-radius: 8px;
    border-left: 4px solid #25d366;
}

.order-note i {
    color: #25d366;
    margin-right: 5px;
}

/* Update Mobile Orders Badge */
.mobile-orders-item {
    display: none;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    margin-top: 20px;
}

.mobile-orders-badge {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 8px;
}

/* Loading State */
.submit-order-btn.loading {
    background: linear-gradient(135deg, #bbb, #999);
    cursor: not-allowed;
}

.submit-order-btn.loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.6s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.submit-order-btn.processing{
    animation: none;
}

/* Success Animation */
@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.submit-order-btn.success {
    background: linear-gradient(135deg, #14a085, #0d7377);
    animation: successPulse 0.5s ease;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .mobile-orders-item {
        display: block;
    }
    
    .mobile-orders-item a {
        color: white !important;
        font-size: 18px;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .order-modal-content {
        max-height: 85vh;
        overflow-y: auto;
    }
    
    .order-product-summary {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .order-modal-header h2 {
        font-size: 22px;
    }
    
    .order-modal-header i {
        font-size: 28px;
    }
    
    .order-product-summary img {
        width: 80px;
        height: 80px;
    }
    
    .submit-order-btn {
        padding: 16px;
        font-size: 16px;
    }
}

/* ========================================
   ABOUT & CONTACT SECTIONS
======================================== */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0d7377 0%, #14a085 50%, #1a6b5a 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
    animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.3);
}

.about-content h2 {
    font-size: 48px;
    margin-bottom: 24px;
    color: white;
    line-height: 1.2;
}

.about-content .highlight {
    color: #ff6b6b;
}

.about-content p {
    font-size: 18px;
    line-height: 1.9;
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    margin: 0 auto 50px;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.about-stat {
    text-align: center;
    color: white;
}

.about-stat .stat-num {
    font-size: 48px;
    font-weight: 800;
    color: #ff6b6b;
    display: block;
    line-height: 1;
}

.about-stat .stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-top: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: #1a1a2e;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13,115,119,0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contact-section h2 {
    font-size: 48px;
    margin-bottom: 15px;
    color: white;
    position: relative;
}

.contact-section > p {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 40px;
    position: relative;
}

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
}

.contact-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px 30px;
    width: 220px;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    text-decoration: none;
    flex: 0 0 auto;
}

.contact-card:hover {
    background: rgba(255,107,107,0.15);
    border-color: #ff6b6b;
    box-shadow: 0 20px 40px rgba(255,107,107,0.2);
}

/* Only lift on devices that support hover properly (not touch) */
@media (hover: hover) {
    .contact-card:hover {
        transform: translateY(-8px);
    }
}

.contact-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin: 0 auto 20px;
}

.contact-card h4 {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.contact-card p {
    color: white;
    font-size: 15px;
    font-weight: 600;
    word-break: break-word;
    overflow-wrap: break-word;
}


@media (max-width: 640px) {
    .about-section, .contact-section {
        padding: 50px 0;
    }
    
    .about-content h2, .contact-section h2 {
        font-size: 32px;
    }
    
    .about-content p, .contact-section > p {
        font-size: 16px;
    }
}


@media (max-width: 968px) {
  /* ========================================
   MOBILE MENU — floating dropdown
======================================== */
.mobile-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0d7377, #14a085);
    padding: 10px 20px 20px;
    z-index: 1500;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    border-radius: 0 0 16px 16px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.mobile-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    padding: 12px 0;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    transition: var(--transition);
}

.mobile-menu a:last-child { border-bottom: none; }

.mobile-menu a:hover { padding-left: 8px; opacity: 0.85; }

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Tap-outside backdrop — sits behind the dropdown, above the page */
.menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

body.menu-open .menu-backdrop {
    display: block;
}

    
    .nav-right {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .search-btn {
        display: none; /* Hide search on mobile to save space */
    }
}

/* ========================================
   WHATSAPP FALLBACK BUTTON
======================================== */
.whatsapp-fallback-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    text-decoration: none;
    padding: 18px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 18px;
    margin-top: 20px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    animation: pulseGlow 2s ease-in-out infinite;
}

.whatsapp-fallback-btn:hover {
    background: linear-gradient(135deg, #128c7e, #075e54);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-fallback-btn i {
    font-size: 24px;
    animation: shake 1s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 8px 40px rgba(37, 211, 102, 0.8);
    }
}

@keyframes shake {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

/* ========================================
   NOTIFICATION TOAST STYLES
======================================== */
.notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: white;
    color: #2d3436;
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    z-index: 9999;
    max-width: 340px;
    transform: translateX(120%);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-left: 4px solid #0d7377;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-left-color: #14a085;
    color: #14a085;
}
.notification.success i { color: #14a085; }

.notification.error {
    border-left-color: #e74c3c;
    color: #e74c3c;
}
.notification.error i { color: #e74c3c; }

.notification.info {
    border-left-color: #3498db;
    color: #3498db;
}
.notification.info i { color: #3498db; }

