/* ============================================================
   RUBY COMPUTERS - STYLE.CSS (FINAL - MODAL UPGRADED)
   Version: 8.0 | Daraz Style Modal | Professional
   ============================================================ */

/* ========== 01. RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #FFFFFF;
    color: #0A1F44;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.no-scroll {
    overflow: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== 02. VARIABLES ========== */
:root {
    --blue: #0066FF;
    --blue-light: #3388FF;
    --blue-dark: #0052CC;
    --royal: #1E3A8A;
    --royal-dark: #152B66;
    --cyan: #00D9FF;
    --cyan-glow: rgba(0, 217, 255, 0.4);
    --blue-glow: rgba(0, 102, 255, 0.3);
    --white: #FFFFFF;
    --off-white: #F8FAFF;
    --border: #E0E7FF;
    --text-dark: #0A1F44;
    --text-gray: #4A5568;
    --text-light: #8892B0;
    --whatsapp: #25D366;
    --whatsapp-dark: #1DAA52;
    --danger: #E53935;
    --shadow-sm: 0 2px 8px rgba(0, 102, 255, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 102, 255, 0.1);
    --shadow-lg: 0 12px 32px rgba(0, 102, 255, 0.15);
    --shadow-blue: 0 8px 24px rgba(0, 102, 255, 0.35);
    --transition: 0.3s ease;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
}

/* ========== 03. TEXT ========== */
.red-text { color: var(--blue); }
.blue-text { color: var(--blue); }
.cyan-text { color: var(--cyan); }

.gradient-text {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== 04. BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 38px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--cyan-glow);
}

.btn-secondary {
    background: var(--white);
    color: var(--blue);
    border: 2px solid var(--blue);
}

.btn-secondary:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-hex {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 44px;
    background: linear-gradient(135deg, var(--blue), var(--royal));
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    clip-path: polygon(12% 0%, 88% 0%, 100% 50%, 88% 100%, 12% 100%, 0% 50%);
    box-shadow: var(--shadow-blue);
}

.btn-hex:hover {
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    transform: translateY(-3px);
}

.btn-square {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--white);
    color: var(--blue);
    font-weight: 700;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    border: 2px solid var(--blue);
    cursor: pointer;
    transition: all var(--transition);
    border-radius: 4px 20px 4px 20px;
}

.btn-square:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-order {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--white);
    color: var(--whatsapp);
    border: 2px solid var(--whatsapp);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-order:hover {
    background: var(--whatsapp);
    color: var(--white);
    transform: translateY(-2px);
}

/* ========== 05. NAVBAR ========== */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.logo { flex-shrink: 0; }

.logo h1 {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue), var(--royal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-menu ul li a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 600;
    font-size: 15px;
    transition: color var(--transition);
    position: relative;
    padding: 6px 0;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    border-radius: var(--radius-full);
    transition: width var(--transition);
}

.nav-menu ul li a:hover::after,
.nav-menu ul li a.active::after { width: 100%; }

.nav-menu ul li a:hover,
.nav-menu ul li a.active { color: var(--blue); }

.cart-icon {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.cart-icon:hover {
    background: var(--blue);
    transform: scale(1.08);
}

.cart-icon > i {
    font-size: 18px;
    color: var(--blue);
    transition: color 0.25s ease;
}

.cart-icon:hover > i { color: var(--white); }

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #FF6B6B, var(--danger));
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border: 2px solid var(--white);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    z-index: 1200;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--blue);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-overlay {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ========== 06. HERO ========== */
.hero {
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #FFFFFF 0%, #EEF3FF 100%);
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    color: var(--text-dark);
    line-height: 1.15;
}

.hero-content h1 .red-text,
.hero-content h1 .blue-text {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 17px;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== 07. SECTION TITLES ========== */
.section-title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    border-radius: var(--radius-full);
    margin: 16px auto 0;
}

.page-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin: 30px 0 50px;
    color: var(--text-dark);
}

.page-title .blue-text {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== 08. FEATURES ========== */
.features { padding: 80px 0; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.feature-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--blue);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 217, 255, 0.05));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transition: all var(--transition);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    transform: scale(1.1) rotate(180deg);
}

.feature-icon i { font-size: 34px; color: var(--blue); }
.feature-card:hover .feature-icon i { color: var(--white); transform: rotate(-180deg); }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.feature-card p { color: var(--text-gray); font-size: 14px; }

/* ========== 09. FEATURED PRODUCTS ========== */
.featured-products { padding: 80px 0; }

/* ========== 10. PRODUCT CARD ========== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    transition: all var(--transition);
    border: 1px solid var(--border);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 102, 255, 0.12);
    border-color: var(--blue);
}

.product-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    background: var(--off-white);
}

.product-card h3 {
    font-size: 14px;
    font-weight: 600;
    padding: 12px 14px 4px;
    color: var(--text-dark);
    line-height: 1.4;
    min-height: 40px;
}

.product-card p {
    padding: 0 14px 6px;
    color: var(--text-light);
    font-size: 12px;
}

.product-card .price {
    display: block;
    padding: 6px 14px 14px;
    font-size: 16px;
    font-weight: 800;
    color: var(--blue);
    margin-top: auto;
}

.btn-add-cart {
    width: calc(100% - 24px);
    margin: 0 12px 12px;
    padding: 9px 12px;
    background: var(--white);
    color: var(--blue);
    border: 1.5px solid var(--blue);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-add-cart:hover {
    background: var(--blue);
    color: var(--white);
}

/* ========== 11. SHOP PAGE ========== */
.shop-page {
    padding: 20px 0 60px;
    background: #F5F5F5;
    min-height: 100vh;
}

.search-wrapper {
    position: relative;
    margin: 0 0 16px;
    z-index: 100;
}

.search-container {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    height: 46px;
}

.search-container:focus-within { border-color: var(--blue); }
.search-icon { padding: 0 14px; color: var(--text-light); }

.search-input {
    flex: 1;
    padding: 0 14px 0 0;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    background: transparent;
    min-width: 0;
    height: 100%;
}

.search-btn {
    padding: 0 24px;
    background: var(--blue);
    color: var(--white);
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    height: 100%;
    font-family: 'Poppins', sans-serif;
}

.search-btn:hover { background: var(--royal); }

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 999;
}

.search-suggestions.active { display: block; }

.suggestion-item {
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.suggestion-item:hover { background: var(--off-white); }
.suggestion-item i { color: var(--text-light); font-size: 13px; }
.suggestion-text { flex: 1; }
.suggestion-text strong { color: var(--blue); }

.suggestion-category {
    font-size: 11px;
    color: var(--text-light);
    background: var(--off-white);
    padding: 2px 8px;
    border-radius: 10px;
}

.no-suggestions {
    padding: 16px;
    text-align: center;
    color: var(--text-light);
    font-size: 13px;
}

.category-tabs-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.category-tabs {
    flex: 1;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.category-tabs::-webkit-scrollbar { display: none; }

.category-tab {
    flex-shrink: 0;
    padding: 8px 18px;
    background: var(--white);
    color: var(--text-gray);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.category-tab:hover { border-color: var(--blue); color: var(--blue); }

.category-tab.active {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.tab-arrow {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
}

.tab-arrow:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.tab-arrow:disabled { opacity: 0.35; cursor: not-allowed; }

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    flex-wrap: wrap;
}

.results-info h2 { font-size: 20px; font-weight: 700; color: var(--text-dark); }
.results-info p { font-size: 13px; color: var(--text-light); }

.sort-wrapper { display: flex; align-items: center; gap: 8px; }
.sort-wrapper label { font-size: 13px; color: var(--text-gray); }

.sort-wrapper select {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    background: var(--white);
    outline: none;
}

.products-container .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: 8px;
}

.no-results i { font-size: 48px; color: var(--border); margin-bottom: 14px; display: block; }
.no-results h3 { font-size: 18px; color: var(--text-dark); margin-bottom: 6px; }
.no-results p { font-size: 13px; color: var(--text-light); }


/* ============================================================
   12. MODAL (UPGRADED - DARAZ STYLE)
   ============================================================ */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 31, 68, 0.7);
    backdrop-filter: blur(8px);
    overflow-y: auto;
    padding: 20px;
}

.modal-content {
    position: relative;
    background: var(--white);
    margin: 30px auto;
    padding: 32px;
    width: 95%;
    max-width: 1100px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 16px;
    font-size: 28px;
    color: var(--text-gray);
    background: var(--off-white);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all var(--transition);
}

.modal-close:hover {
    background: var(--blue);
    color: var(--white);
    transform: rotate(180deg);
}

/* Modal Top (Product Images + Details) */
.modal-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

/* ===== IMAGES SECTION ===== */
.modal-images-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.modal-main-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--off-white);
    border: 1px solid var(--border);
    aspect-ratio: 1 / 1;
}

.modal-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.modal-main-image-wrapper:hover .modal-main-image {
    transform: scale(1.05);
}

/* Arrow Buttons */
.modal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border);
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 5;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modal-arrow:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
    transform: translateY(-50%) scale(1.08);
}

.modal-arrow-left { left: 12px; }
.modal-arrow-right { right: 12px; }

/* Image Counter */
.modal-image-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(10, 31, 68, 0.75);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 5;
}

/* Thumbnails */
.modal-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px;
    scrollbar-width: thin;
}

.modal-thumbnails::-webkit-scrollbar { height: 4px; }
.modal-thumbnails::-webkit-scrollbar-track { background: transparent; }
.modal-thumbnails::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.modal-thumb {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--off-white);
}

.modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-thumb:hover {
    border-color: var(--blue-light);
    transform: translateY(-2px);
}

.modal-thumb.active {
    border-color: var(--blue);
    box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.2);
}

/* ===== DETAILS SECTION ===== */
.modal-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.modal-details h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
}

/* Rating Row */
.modal-rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.modal-stars {
    background: #FFF8E1;
    color: #F57C00;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
}

.modal-reviews-count {
    color: var(--text-light);
    font-size: 13px;
}

.modal-category {
    font-size: 13px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.modal-category i { color: var(--blue); margin-right: 6px; }

/* Price Row */
.modal-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.modal-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--blue);
    letter-spacing: -0.5px;
}

.modal-original-price {
    font-size: 16px;
    color: var(--text-light);
    text-decoration: line-through;
}

.modal-discount-badge {
    background: linear-gradient(135deg, #FF6B6B, var(--danger));
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

/* Trust Badges */
.modal-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--off-white);
    padding: 14px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--blue);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 500;
}

.trust-badge i {
    color: var(--blue);
    font-size: 14px;
    width: 18px;
}

/* Description */
.modal-description {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Quantity Section */
.modal-quantity-section {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 10px 0;
}

.modal-quantity-section label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.quantity-selector {
    display: inline-flex;
    align-items: center;
    background: var(--off-white);
    border-radius: 50px;
    padding: 4px;
    border: 1px solid var(--border);
    gap: 0;
}

.qty-modal-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.qty-modal-btn:hover:not(:disabled) {
    background: var(--blue);
    color: var(--white);
}

.qty-modal-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.qty-modal-value {
    font-size: 16px;
    font-weight: 700;
    min-width: 40px;
    text-align: center;
    color: var(--text-dark);
    padding: 0 6px;
}

.qty-total {
    font-size: 14px;
    font-weight: 700;
    color: var(--blue);
    margin-left: auto;
}

/* Action Buttons */
.modal-action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 6px;
}

.modal-add-cart-btn {
    padding: 14px 16px;
    background: var(--blue);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition);
}

.modal-add-cart-btn:hover {
    background: var(--royal);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
}

.modal-whatsapp-btn {
    padding: 14px 16px;
    background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition);
}

.modal-whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.modal-whatsapp-btn i { font-size: 16px; }

/* Share Section */
.modal-share-section {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.share-label {
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 600;
}

.share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--white);
    transition: all 0.25s ease;
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.share-whatsapp { background: #25D366; }
.share-facebook { background: #1877F2; }
.share-twitter { background: #000000; }
.share-copy { background: var(--text-gray); }

/* ===== EXTRA SECTIONS (Description, Specs, Reviews, FAQ) ===== */
.modal-extra-sections {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.modal-description-section {
    background: var(--off-white);
    padding: 20px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--cyan);
}

.modal-description-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.modal-description-section p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* Specs (existing modal-specs reused) */
.modal-specs {
    background: var(--off-white);
    padding: 20px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--blue);
}

.modal-specs h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.modal-specs ul { list-style: none; }

.modal-specs li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(0, 102, 255, 0.08);
}

.modal-specs li:last-child { border-bottom: none; }
.modal-specs li i { color: var(--blue); font-size: 13px; }

/* ===== REVIEWS SECTION ===== */
.modal-reviews-section {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.reviews-header h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.avg-rating {
    background: #FFF8E1;
    color: #F57C00;
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 700;
}

.reviews-count {
    color: var(--text-light);
    font-size: 13px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.review-item {
    background: var(--off-white);
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--cyan);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.review-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.review-rating {
    font-size: 12px;
    letter-spacing: 1px;
}

.review-text {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 6px;
}

.review-date {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 500;
}

.write-review-btn {
    margin-top: 16px;
    padding: 12px 24px;
    background: var(--white);
    color: var(--blue);
    border: 2px solid var(--blue);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition);
    width: 100%;
}

.write-review-btn:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.25);
}

/* ===== FAQ SECTION ===== */
.modal-faq-section {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.modal-faq-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: var(--blue);
}

.faq-question {
    width: 100%;
    padding: 14px 18px;
    background: var(--off-white);
    border: none;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.faq-question:hover {
    background: rgba(0, 102, 255, 0.05);
    color: var(--blue);
}

.faq-question.active {
    background: var(--blue);
    color: var(--white);
}

.faq-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: var(--white);
}

.faq-answer.open {
    max-height: 300px;
    padding: 14px 18px;
}

.faq-answer p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ===== RELATED PRODUCTS SECTION ===== */
.modal-related-section {
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid var(--border);
}

.modal-related-section h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.modal-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.related-product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.related-product-card:hover {
    transform: translateY(-4px);
    border-color: var(--blue);
    box-shadow: 0 10px 24px rgba(0, 102, 255, 0.12);
}

.related-product-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    background: var(--off-white);
}

.related-product-card h5 {
    font-size: 12px;
    font-weight: 600;
    padding: 8px 10px 4px;
    color: var(--text-dark);
    line-height: 1.3;
    min-height: 34px;
    display: -webkit-box;
    -webkit-lineclamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-price {
    display: block;
    padding: 4px 10px 10px;
    font-size: 13px;
    font-weight: 800;
    color: var(--blue);
    margin-top: auto;
}

/* ===== SHARE TOAST ===== */
.share-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--text-dark);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 8px 24px rgba(10, 31, 68, 0.25);
    pointer-events: none;
}

.share-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}


/* ============================================================
   13. ABOUT PAGE
   ============================================================ */
.about-page { padding: 40px 0 80px; }

.about-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 44px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.about-text h2 { font-size: 30px; font-weight: 800; margin-bottom: 24px; color: var(--text-dark); }
.about-text p { font-size: 16px; color: var(--text-gray); margin-bottom: 18px; line-height: 1.9; }

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 36px 0;
}

.mv-box {
    background: var(--off-white);
    padding: 28px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--blue);
}

.mv-box i { font-size: 32px; color: var(--blue); margin-bottom: 12px; display: block; }
.mv-box h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.mv-box p { color: var(--text-gray); font-size: 14px; }

.owner-section { margin-top: 60px; text-align: center; }

.owner-card {
    max-width: 650px;
    margin: 0 auto;
    background: var(--white);
    padding: 44px 36px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.owner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--blue), var(--cyan), var(--blue));
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.owner-card img {
    width: 150px;
    height: 150px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    object-fit: cover;
    border: 4px solid var(--blue);
    margin-bottom: 20px;
}

.owner-card h3 { font-size: 24px; font-weight: 800; margin-bottom: 5px; }
.owner-card > p { color: var(--blue); font-weight: 600; font-size: 15px; margin-bottom: 20px; }

.owner-quote {
    background: var(--off-white);
    padding: 22px 24px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--cyan);
    text-align: left;
}

.owner-quote i { color: var(--blue); font-size: 18px; opacity: 0.6; }
.owner-quote p { color: var(--text-gray); font-size: 15px; font-style: italic; display: inline; }

/* ============================================================
   14. CONTACT PAGE
   ============================================================ */
.contact-page { padding: 40px 0 80px; }

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 36px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info {
    background: linear-gradient(135deg, var(--blue), var(--royal));
    color: var(--white);
    padding: 36px;
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.contact-info h2 { font-size: 24px; font-weight: 800; margin-bottom: 12px; position: relative; z-index: 2; }
.contact-info > p { color: rgba(255, 255, 255, 0.85); margin-bottom: 28px; font-size: 15px; position: relative; z-index: 2; }

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
}

.info-item i {
    font-size: 18px;
    color: var(--white);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.info-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; text-transform: uppercase; }
.info-item p { color: rgba(255, 255, 255, 0.85); font-size: 14px; }

.social-contact {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.social-contact h4 { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.social-contact .social-links { display: flex; gap: 12px; }

.social-contact .social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    transition: all var(--transition);
}

.social-contact .social-links a:hover { background: var(--cyan); transform: translateY(-3px); }

.contact-form {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.contact-form h2 { font-size: 24px; font-weight: 800; margin-bottom: 22px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

/* ============================================================
   15. FOOTER
   ============================================================ */
footer {
    background: linear-gradient(135deg, var(--text-dark), var(--royal));
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 25px;
}

.footer-section h3 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.footer-section h4 { font-size: 16px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; }
.footer-section p { color: rgba(255, 255, 255, 0.75); font-size: 14px; margin-bottom: 10px; }

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.85);
}

.footer-contact p i { color: var(--cyan); font-size: 15px; }
.footer-section .social-links { display: flex; gap: 14px; }

.footer-section .social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    transition: all var(--transition);
}

.footer-section .social-links a:hover { background: var(--cyan); transform: translateY(-4px); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 22px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

/* ============================================================
   16. CART SIDEBAR
   ============================================================ */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 31, 68, 0.6);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.cart-overlay.active { opacity: 1; visibility: visible; }

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -480px;
    width: 440px;
    max-width: 92%;
    height: 100vh;
    background: var(--white);
    box-shadow: -20px 0 60px rgba(10, 31, 68, 0.2);
    z-index: 1999;
    display: flex;
    flex-direction: column;
    transition: right 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-sidebar.active { right: 0; }

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.cart-header-left { display: flex; align-items: center; gap: 10px; }
.cart-header-left i { font-size: 20px; color: var(--blue); }
.cart-header-left h3 { font-size: 18px; font-weight: 700; }

.cart-items-count {
    background: var(--blue);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 12px;
}

.cart-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--off-white);
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.cart-close:hover { background: #FFE5E5; color: var(--danger); }

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.cart-empty-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08), rgba(0, 217, 255, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.cart-empty-icon i { font-size: 44px; color: var(--blue); opacity: 0.6; }
.cart-empty h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.cart-empty p { font-size: 14px; color: var(--text-light); margin-bottom: 24px; }

.cart-shop-btn {
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--blue), var(--royal));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr 30px;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item:last-child { border-bottom: none; }

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--off-white);
}

.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }

.cart-item-info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cart-item-info h4 { font-size: 14px; font-weight: 600; line-height: 1.4; }
.cart-item-category { font-size: 11px; color: var(--text-light); text-transform: uppercase; }
.cart-item-price { font-size: 15px; font-weight: 800; color: var(--blue); }

.cart-item-qty {
    display: inline-flex;
    align-items: center;
    background: var(--off-white);
    border-radius: 50px;
    padding: 3px;
    border: 1px solid var(--border);
    width: fit-content;
    margin-top: 6px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.qty-btn:hover:not(:disabled) { background: var(--blue); color: var(--white); }
.qty-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.qty-value { font-size: 14px; font-weight: 700; min-width: 32px; text-align: center; }

.cart-item-remove {
    background: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 14px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-remove:hover { color: var(--danger); background: #FFE5E5; }

.cart-footer {
    padding: 18px 22px 22px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

.cart-summary { margin-bottom: 16px; display: flex; flex-direction: column; gap: 10px; }
.cart-summary-row { display: flex; justify-content: space-between; font-size: 14px; }
.cart-summary-row span:first-child { color: var(--text-gray); }
.cart-summary-row span:last-child { font-weight: 600; }
.cart-summary-divider { height: 1px; background: var(--border); margin: 4px 0; }
.cart-total-row span:first-child { font-size: 15px; font-weight: 700; }
.cart-total-row strong { font-size: 22px; font-weight: 800; color: var(--blue); }

.cart-checkout-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.cart-checkout-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5); }
.cart-checkout-btn i { font-size: 20px; }

.cart-clear-btn {
    width: 100%;
    padding: 11px;
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cart-clear-btn:hover { background: #FFE5E5; color: var(--danger); }

.cart-toast {
    position: fixed;
    top: 90px;
    right: 20px;
    background: var(--white);
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(10, 31, 68, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    z-index: 9999;
    transform: translateX(150%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 4px solid var(--whatsapp);
    pointer-events: none;
    max-width: 320px;
}

.cart-toast.show { transform: translateX(0); }
.cart-toast i { color: var(--whatsapp); font-size: 22px; }


/* ============================================================
   RESPONSIVE - TABLET (max-width: 992px)
   ============================================================ */
@media (max-width: 992px) {
    .products-container .product-grid { grid-template-columns: repeat(3, 1fr); }
    .modal-related-grid { grid-template-columns: repeat(3, 1fr); }
    .cart-sidebar { width: 400px; }
}

/* ============================================================
   RESPONSIVE - MOBILE (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
    
    /* ===== MOBILE NAVBAR ===== */
    .navbar .container { gap: 8px; padding: 0 16px; }
    
    .logo h1 {
        font-size: 20px;
        max-width: 180px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .hamburger {
        display: flex;
        order: 3;
        margin-left: 4px;
    }
    
    .cart-icon {
        width: 40px;
        height: 40px;
        order: 2;
        margin-left: auto;
    }
    
    .cart-icon > i { font-size: 16px; }
    
    .cart-count {
        min-width: 18px;
        height: 18px;
        font-size: 10px;
        top: -4px;
        right: -4px;
    }
    
    /* ===== MOBILE NAV MENU ===== */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: var(--white);
        padding: 80px 20px 20px;
        box-shadow: -10px 0 40px rgba(10, 31, 68, 0.25);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        z-index: 1150;
        border-left: 1px solid var(--border);
        display: block;
    }
    
    .nav-menu.active { right: 0; }
    
    .nav-menu ul {
        display: flex;
        flex-direction: column;
        gap: 4px;
        list-style: none;
    }
    
    .nav-menu ul li { width: 100%; }
    
    .nav-menu ul li a {
        display: block;
        padding: 14px 18px;
        border-radius: 10px;
        font-size: 16px;
        font-weight: 600;
        color: var(--text-dark);
        text-decoration: none;
        border-bottom: 1px solid var(--border);
        transition: all 0.25s ease;
    }
    
    .nav-menu ul li a:hover,
    .nav-menu ul li a.active {
        background: var(--off-white);
        color: var(--blue);
        padding-left: 24px;
    }
    
    .nav-menu ul li a::after { display: none; }
    
    /* ===== MOBILE HERO ===== */
    .hero { padding: 60px 0; }
    .hero-content h1 { font-size: 26px; letter-spacing: -0.5px; }
    .hero-content p { font-size: 14px; }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .hero-buttons .btn-hex,
    .hero-buttons .btn-square {
        width: 100%;
        max-width: 280px;
        padding: 12px 28px;
        font-size: 14px;
    }
    
    /* ===== MOBILE TITLES ===== */
    .section-title { font-size: 24px; margin-bottom: 36px; }
    .section-title::after { width: 60px; }
    .page-title { font-size: 26px; margin: 20px 0 36px; }
    
    /* ===== MOBILE FEATURES ===== */
    .features { padding: 50px 0; }
    .features-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .feature-card { padding: 24px 16px; }
    .feature-icon { width: 60px; height: 60px; }
    .feature-icon i { font-size: 24px; }
    .feature-card h3 { font-size: 15px; }
    .feature-card p { font-size: 12px; }
    
    /* ===== MOBILE PRODUCTS ===== */
    .featured-products { padding: 50px 0; }
    .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .product-card img { height: 140px; }
    .product-card h3 { font-size: 13px; padding: 10px 10px 3px; min-height: 36px; }
    .product-card p { display: none; }
    .product-card .price { font-size: 14px; padding: 5px 10px 10px; }
    
    /* ===== MOBILE SHOP ===== */
    .shop-page { padding: 16px 0 50px; }
    .search-container { height: 42px; }
    .search-input { font-size: 13px; }
    .search-btn { padding: 0 18px; font-size: 13px; }
    .category-tab { padding: 7px 14px; font-size: 12px; }
    .tab-arrow { width: 32px; height: 32px; font-size: 12px; }
    .results-info h2 { font-size: 16px; }
    .results-info p { font-size: 12px; }
    .sort-wrapper label { display: none; }
    .sort-wrapper select { font-size: 12px; padding: 6px 10px; }
    .products-container .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .products-container .product-card img { height: 150px; }
    .products-container .product-card h3 { font-size: 12px; padding: 8px 10px 3px; min-height: 34px; }
    .products-container .product-card p { display: none; }
    .products-container .product-card .price { font-size: 14px; padding: 5px 10px 10px; }
    .btn-add-cart { font-size: 11px; padding: 7px 8px; }
    
    /* ===== MOBILE MODAL ===== */
    .modal { padding: 10px; }
    
    .modal-content {
        margin: 10px auto;
        padding: 20px;
        width: 100%;
        border-radius: var(--radius-lg);
    }
    
    .modal-close {
        font-size: 20px;
        right: 12px;
        top: 10px;
        width: 36px;
        height: 36px;
    }
    
    .modal-product {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 24px;
    }
    
    /* Modal Image */
    .modal-main-image-wrapper { aspect-ratio: 1 / 1; }
    .modal-arrow { width: 34px; height: 34px; font-size: 14px; }
    .modal-arrow-left { left: 8px; }
    .modal-arrow-right { right: 8px; }
    .modal-image-counter { font-size: 11px; padding: 3px 10px; bottom: 10px; right: 10px; }
    
    .modal-thumb { width: 58px; height: 58px; }
    
    /* Modal Details */
    .modal-details h2 { font-size: 20px; }
    .modal-rating-row { font-size: 13px; }
    .modal-stars { font-size: 12px; padding: 2px 8px; }
    .modal-price { font-size: 24px; }
    .modal-original-price { font-size: 14px; }
    .modal-discount-badge { font-size: 11px; padding: 3px 8px; }
    .modal-description { font-size: 13px; }
    
    .modal-trust-badges { padding: 12px; }
    .trust-badge { font-size: 12px; }
    
    .modal-quantity-section { gap: 10px; }
    .qty-modal-btn { width: 30px; height: 30px; font-size: 11px; }
    .qty-modal-value { font-size: 15px; min-width: 36px; }
    .qty-total { font-size: 13px; width: 100%; margin-left: 0; margin-top: 4px; }
    
    .modal-action-buttons {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .modal-add-cart-btn,
    .modal-whatsapp-btn { font-size: 13px; padding: 12px 14px; }
    
    .share-btn { width: 36px; height: 36px; font-size: 14px; }
    
    /* Extra Sections */
    .modal-extra-sections { gap: 16px; padding-top: 20px; }
    
    .modal-description-section,
    .modal-specs,
    .modal-reviews-section,
    .modal-faq-section { padding: 16px; }
    
    .modal-description-section h4,
    .modal-specs h4,
    .reviews-header h4,
    .modal-faq-section h4 { font-size: 15px; }
    
    .modal-specs li { font-size: 13px; padding: 5px 0; }
    
    .review-item { padding: 12px 14px; }
    .review-name { font-size: 13px; }
    .review-text { font-size: 13px; }
    
    .faq-question { padding: 12px 14px; font-size: 13px; }
    .faq-answer.open { padding: 12px 14px; }
    .faq-answer p { font-size: 12px; }
    
    /* Related Products */
    .modal-related-section h4 { font-size: 16px; }
    .modal-related-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .related-product-card img { height: 90px; }
    .related-product-card h5 { font-size: 11px; padding: 6px 8px 2px; min-height: 30px; }
    .related-price { font-size: 12px; padding: 4px 8px 8px; }
    
    /* Share Toast */
    .share-toast { bottom: 20px; font-size: 13px; padding: 10px 20px; }
    
    /* ===== MOBILE ABOUT ===== */
    .about-page { padding: 24px 0 50px; }
    .about-content { padding: 28px 20px; }
    .about-text h2 { font-size: 22px; }
    .about-text p { font-size: 14px; }
    .mission-vision { grid-template-columns: 1fr; gap: 18px; margin: 28px 0; }
    .mv-box { padding: 22px; }
    .mv-box h3 { font-size: 18px; }
    
    .owner-card { padding: 32px 22px; }
    .owner-card img { width: 120px; height: 120px; }
    .owner-card h3 { font-size: 20px; }
    .owner-quote { padding: 16px 18px; }
    .owner-quote p { font-size: 13px; }
    
    /* ===== MOBILE CONTACT ===== */
    .contact-page { padding: 24px 0 50px; }
    .contact-wrapper { gap: 22px; }
    .contact-info { padding: 28px 22px; }
    .contact-info h2 { font-size: 20px; }
    .contact-form { padding: 28px 22px; }
    .contact-form h2 { font-size: 20px; }
    .info-item { gap: 12px; margin-bottom: 16px; }
    .info-item i { width: 40px; height: 40px; font-size: 15px; }
    .form-group input,
    .form-group textarea,
    .form-group select { padding: 11px 14px; font-size: 13px; }
    .btn-submit { font-size: 14px; padding: 13px; }
    
    /* ===== MOBILE FOOTER ===== */
    footer { padding: 44px 0 18px; }
    .footer-content { grid-template-columns: 1fr; gap: 28px; text-align: center; }
    .footer-contact p { justify-content: center; }
    .footer-section .social-links { justify-content: center; }
    
    /* ===== MOBILE CART SIDEBAR ===== */
    .cart-sidebar {
        width: 100%;
        max-width: 100%;
        right: -100%;
    }
    
    .cart-header { padding: 16px 20px; }
    .cart-header-left h3 { font-size: 16px; }
    .cart-body { padding: 14px 18px; }
    .cart-footer { padding: 16px 20px 20px; }
    
    .cart-item { grid-template-columns: 70px 1fr 28px; gap: 12px; padding: 14px 0; }
    .cart-item-image { width: 70px; height: 70px; }
    .cart-item-info h4 { font-size: 13px; }
    .cart-item-price { font-size: 14px; }
    .cart-total-row strong { font-size: 20px; }
    
    .cart-toast {
        top: 80px;
        right: 12px;
        left: 12px;
        max-width: none;
    }
}

/* ============================================================
   RESPONSIVE - SMALL MOBILE (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {
    .container { padding: 0 12px; }
    
    .logo h1 { font-size: 18px; max-width: 150px; }
    
    .cart-icon { width: 38px; height: 38px; }
    .cart-icon > i { font-size: 15px; }
    .cart-count { min-width: 18px; height: 18px; font-size: 10px; }
    
    .nav-menu { width: 260px; right: -260px; padding: 76px 18px 18px; }
    .nav-menu ul li a { font-size: 15px; padding: 12px 16px; }
    
    .hamburger { padding: 8px; }
    .hamburger span { width: 24px; }
    
    .hero { padding: 44px 0; }
    .hero-content h1 { font-size: 22px; }
    .hero-content p { font-size: 13px; }
    
    .section-title { font-size: 20px; }
    .page-title { font-size: 22px; }
    
    .features-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .feature-card { padding: 20px 12px; }
    .feature-icon { width: 50px; height: 50px; }
    .feature-icon i { font-size: 20px; }
    .feature-card h3 { font-size: 13px; }
    .feature-card p { font-size: 11px; }
    
    .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .product-card img { height: 120px; }
    .product-card h3 { font-size: 12px; min-height: 32px; }
    .product-card .price { font-size: 13px; }
    
    .search-btn { padding: 0 14px; font-size: 12px; }
    .category-tab { padding: 6px 12px; font-size: 11px; }
    .tab-arrow { width: 28px; height: 28px; font-size: 11px; }
    
    .products-container .product-grid { gap: 8px; }
    .products-container .product-card img { height: 130px; }
    .products-container .product-card h3 { font-size: 11px; min-height: 30px; }
    .products-container .product-card .price { font-size: 13px; }
    .btn-add-cart { font-size: 10px; padding: 6px; }
    
    /* Modal Small Mobile */
    .modal-content { padding: 16px; margin: 8px auto; }
    .modal-details h2 { font-size: 17px; }
    .modal-price { font-size: 20px; }
    .modal-original-price { font-size: 12px; }
    .modal-discount-badge { font-size: 10px; }
    .modal-description { font-size: 12px; }
    
    .modal-thumb { width: 50px; height: 50px; }
    .modal-arrow { width: 30px; height: 30px; font-size: 12px; }
    
    .modal-add-cart-btn,
    .modal-whatsapp-btn { font-size: 12px; padding: 11px 12px; }
    
    .share-btn { width: 32px; height: 32px; font-size: 13px; }
    
    .modal-related-grid { gap: 8px; }
    .related-product-card img { height: 80px; }
    .related-product-card h5 { font-size: 10px; }
    .related-price { font-size: 11px; }
    
    .about-content { padding: 22px 16px; }
    .about-text h2 { font-size: 18px; }
    .owner-card { padding: 26px 18px; }
    .owner-card h3 { font-size: 18px; }
    .contact-info, .contact-form { padding: 22px 16px; }
    
    .btn-hex, .btn-square, .btn { padding: 11px 24px; font-size: 13px; }
    
    .footer-section .social-links a { width: 40px; height: 40px; font-size: 16px; }
    
    /* Cart Small Mobile */
    .cart-header { padding: 14px 16px; }
    .cart-header-left h3 { font-size: 15px; }
    .cart-body { padding: 12px 14px; }
    .cart-footer { padding: 14px 16px 16px; }
    .cart-item { grid-template-columns: 60px 1fr 26px; gap: 10px; padding: 12px 0; }
    .cart-item-image { width: 60px; height: 60px; }
    .cart-item-info h4 { font-size: 12px; }
    .cart-item-price { font-size: 13px; }
    .qty-btn { width: 24px; height: 24px; font-size: 10px; }
    .qty-value { font-size: 12px; min-width: 24px; }
    .cart-total-row strong { font-size: 18px; }
    .cart-checkout-btn { padding: 13px; font-size: 14px; }
    .cart-empty-icon { width: 80px; height: 80px; }
    .cart-empty-icon i { font-size: 36px; }
}