/* ========================================
   PIKA RAHISI - COMPLETE STYLING
   Responsive Design: Mobile-First
   ======================================== */

/* ========== 0. CSS VARIABLES ========== */
:root {
    /* Backgrounds */
    --bg: #ffffff;
    --bg-secondary: #f9f9f9;
    --bg-neutral: #ecf0f1;
    --bg-footer: #f1efef;
    --surface: #ffffff;

    /* Text */
    --text-primary: #333;
    --text-dark: #2c3e50;
    --text-secondary: #555;
    --text-muted: #7f8c8d;
    --text-faint: #999;
    --text-placeholder: #bbb;
    --text-black: #000000;

    /* Borders */
    --border: #ddd;
    --border-light: #eee;

    /* Brand colors — unchanged in both themes */
    --green: #25d366;
    --green-dark: #075e54;
    --green-success: #27ae60;
    --green-success-dark: #1e8449;
    --red: #e74c3c;
    --red-dark: #c0392b;
    --blue: #4285F4;
    --blue-dark: #357ae8;
}

[data-theme="dark"] {
    --bg: #111111;
    --bg-secondary: #1a1a1a;
    --bg-neutral: #2a2a2a;
    --bg-footer: #0f0f0f;
    --surface: #1e1e1e;

    --text-primary: #e0e0e0;
    --text-dark: #f0f0f0;
    --text-secondary: #aaaaaa;
    --text-muted: #777777;
    --text-faint: #555555;
    --text-placeholder: #404040;
    --text-black: #e0e0e0;

    --border: #333333;
    --border-light: #2a2a2a;
}

/* ========== 1. RESET & BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg);
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* ========== 2. HEADER & NAV ========== */
.header {
    background-color: var(--surface);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: bold;
    font-size: 30px;
}

.logo-icon {
    font-size: 24px;
}

.logo-text {
    color: var(--red);
    font-family: 'DM Serif Display', serif;
    font-size: 30px;
}

.logo a:hover {
    color: #8f3e3698;
}

.nav-menu {
    display: flex;
    gap: 30px;
    z-index: 100;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 5px;
}

.nav-link:hover {
    color: var(--green);
}

.nav-link.active {
    color: var(--green);
    border-bottom: 2px solid var(--green);
}

.nav-item {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: 5px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 200;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 5px;
}

.nav-item.active .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-link {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 14px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-dropdown-link:hover {
    background-color: rgba(37, 211, 102, 0.08);
    color: var(--green);
    border-left: 3px solid var(--green);
}

.nav-dropdown-link.active {
    background-color: rgba(37, 211, 102, 0.15);
    color: var(--green);
    border-left: 3px solid var(--green);
    font-weight: 600;
}

.nav-dropdown-link:first-child {
    border-radius: 5px 5px 0 0;
}

.nav-dropdown-link:last-child {
    border-radius: 0 0 5px 5px;
}

/* Hamburger Button */
.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 300;
}

.hamburger-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
    display: block;
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translateY(11px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-11px);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    padding: 5px;
    transition: transform 0.3s ease;
    color: var(--text-primary);
}

.cart-btn:hover {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--green);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* ========== 3. DARK MODE TOGGLE ========== */
.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-neutral);
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-dark);
    transition: all 0.3s ease;
    position: relative;
}

.theme-toggle:hover {
    transform: scale(1.1);
    border-color: var(--green);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-toggle .icon-moon {
    opacity: 1;
    transform: rotate(0deg);
}

.theme-toggle .icon-sun {
    opacity: 0;
    transform: rotate(90deg);
}

[data-theme="dark"] .theme-toggle .icon-moon {
    opacity: 0;
    transform: rotate(-90deg);
}

[data-theme="dark"] .theme-toggle .icon-sun {
    opacity: 1;
    transform: rotate(0deg);
}

/* ========== 4. HERO ========== */
.hero {
    background: url('images/Background.webp');
    background-size: cover;
    background-position: center;
    background-color: #2ecc71;
    color: white;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'DM Serif Display', serif;
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 10px;
    opacity: 0.95;
}

.hero-tagline {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: var(--green);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: var(--green-dark);
    transform: translateY(-2px);
}

/* ========== 5. BUTTONS ========== */
.btn {
    padding: 12px 24px;
    width: 100%;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background-color: var(--green);
    color: white;
}

.btn-primary:hover {
    background-color: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.btn-secondary {
    background-color: var(--bg-neutral);
    color: var(--text-primary);
    border: 2px solid var(--red);
}

.btn-secondary:hover {
    background-color: var(--red-dark);
    color: white;
}

/* ========== 6. SECTIONS ========== */
section {
    padding: 60px 20px;
    scroll-margin-top: 120px;
}

.section-title {
    font-family: 'DM Serif Display', serif;
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}

/* ========== 7. PRODUCTS ========== */
.products {
    background-color: var(--bg-secondary);
}

.product-category {
    margin-bottom: 60px;
    scroll-margin-top: 120px;
}

.category-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.category-subtitle {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 14px;
}

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

.product-card {
    background: var(--surface);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    cursor: pointer;
}

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

.product-image {
    width: 100%;
    height: 200px;
    background-color: var(--bg-neutral);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    overflow: hidden;
}

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

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.product-description {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 12px;
    color: var(--green);
    cursor: pointer;
    font-family: inherit;
    margin-bottom: 12px;
    display: inline-block;
}

.read-more-btn:hover {
    text-decoration: underline;
}

.description-popover {
    position: fixed;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    max-width: 260px;
    z-index: 999;
    animation: fadeInPop 0.15s ease;
}

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

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

.description-popover.closing {
    animation: fadeOutPop 0.15s ease forwards;
}

.product-price {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-black);
    margin-bottom: 15px;
}

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

.quantity-selector {
    display: flex;
    align-items: center;
    border-radius: 5px;
    padding: 5px;
    gap: 5px;
    height: 40px;
}

.quantity-selector button {
    background: var(--surface);
    border: 1px solid var(--border);
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 18px;
    border-radius: 4px;
    transition: all 0.3s ease;
    padding: 0;
}

.quantity-selector button:hover {
    background-color: var(--green);
    color: white;
    border-color: var(--green);
}

.quantity-selector input {
    width: 40px;
    text-align: center;
    border: none;
    font-weight: bold;
    height: 100%;
    background: transparent;
    color: var(--text-primary);
}

.add-to-cart-btn {
    flex: 1;
    padding: 0;
    height: 40px;
    background-color: var(--green);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.add-to-cart-btn:hover {
    background-color: var(--green-dark);
}

/* ========== 8. HOW IT WORKS ========== */
.how-it-works {
    background-color: var(--bg);
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.how-it-works-card {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--green);
}

.how-it-works-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.zones-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.zones-table tr {
    border-bottom: 1px solid var(--border);
}

.zones-table td {
    padding: 12px 0;
}

.zones-table td:first-child {
    font-weight: 500;
    color: var(--text-primary);
}

.zones-table td:last-child {
    text-align: right;
    color: var(--text-black);
    font-weight: bolder;
}

.guarantee-list,
.delivery-options-list {
    list-style-position: inside;
    color: var(--text-secondary);
}

.guarantee-list li,
.delivery-options-list li {
    margin-bottom: 12px;
    line-height: 2;
}

.note {
    background-color: var(--bg);
    padding: 12px;
    border-radius: 5px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* ========== 9. CHECKOUT && SUCCESS ========== */
.checkout {
    background-color: var(--bg-secondary);
    scroll-margin-top: 120px;
    padding-bottom: 200px;
}

.checkout-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.checkout-form {
    background: var(--surface);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    transition: background-color 0.3s ease;
}

.checkout-form h3 {
    font-size: 22px;
    margin-bottom: 25px;
    color: var(--text-dark);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    background-color: var(--bg);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #080808;
    box-shadow: 0 0 5px rgba(231, 76, 60, 0.2);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-secondary);
}

.radio-label input[type="radio"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

.order-summary-container {
    position: sticky;
    top: 100px;
}

.order-summary {
    background: var(--surface);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    transition: background-color 0.3s ease;
}

.order-summary h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.summary-items {
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
    margin-bottom: 15px;
    max-height: 300px;
    overflow-y: auto;
}

.empty-summary {
    color: var(--text-placeholder);
    text-align: center;
    padding: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
}

.summary-item-name {
    color: var(--text-secondary);
}

.summary-item-price {
    font-weight: bold;
    color: var(--text-dark);
    text-align: right;
}

.summary-item-spec {
    font-size: 12px;
    color: var(--text-dark);
    margin-top: 5px;
    margin-left: 5px;
    padding-left: 5px;
    border-left: 2px solid var(--text-dark);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid var(--text-black);
    font-size: 25px;
    font-weight: bolder;
    color: var(--text-black);
}

.payment-options {
    margin-top: 25px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.payment-divider {
    text-align: center;
    color: var(--text-placeholder);
    margin: 15px 0;
}

.payment-note {
    font-size: 12px;
    color: var(--text-faint);
    margin-top: 15px;
    text-align: center;
}

.success-screen {
    grid-column: 1 / -1;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 70vh !important;
    padding: 40px 20px !important;
    text-align: center !important;
    background: linear-gradient(135deg, #f5f7fa 0%, #fdfaf5 100%) !important;
    border-radius: 15px !important;
}

[data-theme="dark"] .success-screen {
    background: linear-gradient(135deg, #1a1a1a 0%, #1e1e1e 100%) !important;
}

.success-screen > div {
    max-width: 500px;
}

.success-screen i {
    font-size: 60px;
    color: var(--green-success);
    margin-bottom: 30px;
    animation: bounce 0.6s ease;
    display: block;
}

.success-screen h2 {
    color: var(--text-dark);
    font-family: 'DM Serif Display', serif;
    font-size: 36px;
    margin-bottom: 15px;
}

.success-screen p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    margin: 20px 0;
}

.success-screen button {
    background-color: var(--green);
    color: white;
    padding: 14px 40px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 30px;
    margin-right: 10px;
    transition: all 0.3s ease;
    display: inline-block;
}

.success-screen button:hover {
    background-color: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.success-screen button:nth-of-type(2) {
    background-color: transparent;
    color: var(--text-faint);
    border: 1px solid var(--border);
    margin-top: 15px;
    margin-right: 0;
}

.success-screen button:nth-of-type(2):hover {
    background-color: transparent;
    color: #6b705c;
    border-color: #6b705c;
}

/* ========== 10. FOOTER ========== */
.footer {
    background-color: var(--bg-footer);
    color: var(--text-black);
    padding: 30px 10px 5px;
    scroll-margin-top: 120px;
    transition: background-color 0.3s ease;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 100%;
    margin: 0 10px 10px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-black);
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-black);
}

.footer-section a {
    color: var(--text-black);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--green-success);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: var(--text-faint);
    font-size: 13px;
}

/* ========== 11. CART SIDEBAR ========== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100%;
    max-width: 400px;
    background: var(--surface);
    z-index: 200;
    transform: translateX(100%);
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
}

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

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

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

.cart-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
    overflow-y: auto;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--text-black);
    padding-bottom: 15px;
}

.cart-header h2 {
    font-size: 22px;
    color: var(--text-dark);
}

.cart-close-btn {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-faint);
    transition: color 0.3s ease;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-close-btn:hover {
    color: var(--red);
}

.cart-items {
    flex: 1;
    margin-bottom: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--bg-secondary);
    border-radius: 5px;
    margin-bottom: 10px;
}

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

.cart-item-name {
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.cart-item-qty {
    font-size: 13px;
    color: var(--text-faint);
}

.cart-item-price {
    font-weight: bold;
    color: var(--text-black);
    margin-bottom: 8px;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-black);
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    transition: color 0.3s ease;
    pointer-events: auto;
    z-index: 210;
    position: relative;
}

.cart-item-remove:hover {
    color: var(--red-dark);
}

.clear-cart-btn {
    width: auto;
    background: var(--surface);
    border: 2px solid var(--red);
    color: var(--red);
    padding: 12px 20px;
    margin-top: 15px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.clear-cart-btn:hover {
    background-color: var(--red);
    color: white;
    border-color: var(--red);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.clear-cart-btn i {
    font-size: 16px;
}

.empty-cart {
    text-align: center;
    color: var(--text-placeholder);
    padding: 40px 20px;
    font-size: 16px;
}

.empty-cart-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 60px 20px;
    color: var(--text-faint);
    flex: 1;
}

.empty-cart-state p {
    font-size: 16px;
    margin: 0;
}

.empty-cart-state .btn {
    width: auto;
    padding: 12px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cart-summary {
    border-top: 2px solid var(--text-black);
    padding-top: 15px;
    margin-bottom: 20px;
}

.cart-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-buttons .btn {
    width: 100%;
    padding: 12px;
}

.btn-continue-shopping {
    background-color: var(--bg-neutral);
    color: var(--text-dark);
    border: 2px solid var(--text-muted);
    transition: all 0.3s ease;
}

.btn-continue-shopping:hover {
    background-color: #d5dbdb;
    color: var(--text-dark);
    border-color: var(--text-muted);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

.btn-continue-shopping:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-continue-shopping i {
    color: var(--text-dark);
}

/* ========== 12. CONFIRMATION MODAL ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 400;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

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

.confirmation-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--surface);
    border-radius: 10px;
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

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

.modal-content {
    padding: 30px;
    min-width: 300px;
    max-width: 400px;
    text-align: center;
}

.modal-title {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: 'DM Serif Display', serif;
}

.modal-message {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.modal-btn {
    padding: 12px 28px;
    border: 2px solid;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 110px;
}

.modal-btn-cancel {
    background: var(--surface);
    color: var(--text-faint);
    border-color: var(--border);
}

.modal-btn-cancel:hover {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-color: var(--text-faint);
}

.modal-btn-confirm {
    background: var(--green);
    color: white;
    border-color: var(--green);
}

.modal-btn-confirm:hover {
    background: #1ba961;
    border-color: #1ba961;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

@media (max-width: 480px) {
    .modal-content {
        min-width: 280px;
        padding: 25px;
    }

    .modal-buttons {
        flex-direction: column;
    }

    .modal-btn {
        width: 100%;
        min-width: auto;
    }
}

/* ========== 13. MOBILE NAV ========== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 85;
    display: none;
    pointer-events: auto;
}

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

.mobile-nav-overlay {
    position: fixed;
    top: 55px;
    left: 0;
    width: 100%;
    height: calc(100vh - 55px);
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 175;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    pointer-events: none;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    cursor: pointer;
}

.mobile-nav {
    position: fixed;
    top: 55px;
    right: 0;
    height: calc(100vh - 55px);
    width: 100%;
    max-width: 300px;
    background: var(--surface);
    z-index: 180;
    transform: translateX(100%);
    transition: transform 0.4s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    padding-top: 0;
    box-shadow: none;
    border-left: 1px solid var(--border-light);
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    position: relative;
}

.mobile-nav-link:hover {
    color: var(--green);
}

.mobile-nav-link:hover i {
    color: var(--green);
}

.mobile-nav-link i {
    font-size: 20px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.mobile-nav-subcategory {
    padding-left: 50px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    margin-left: 20px;
}

.mobile-nav-subcategory:hover {
    background-color: rgba(37, 211, 102, 0.15);
}

.mobile-nav-subcategory.active {
    background-color: rgba(37, 211, 102, 0.08);
    border-left: 3px solid var(--green);
}

.mobile-nav-link.active {
    color: var(--green);
    font-weight: 700;
    background-color: rgba(37, 211, 102, 0.1);
    border-left-color: var(--green);
}

.mobile-nav-link.active i {
    color: var(--green);
}

.mobile-nav-header,
.mobile-nav-close {
    display: none;
}

.mobile-nav-theme {
    margin-top: auto;
    padding: 16px 24px;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-theme span {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-nav-theme span i {
    font-size: 18px;
    color: var(--text-dark);
}

.theme-switch {
    position: relative;
    width: 44px;
    height: 24px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.theme-switch-track {
    position: absolute;
    inset: 0;
    background-color: var(--border);
    border-radius: 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.theme-switch-track::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.theme-switch input:checked + .theme-switch-track {
    background-color: var(--green);
}

.theme-switch input:checked + .theme-switch-track::after {
    transform: translateX(20px);
}

/* ========== 14. NOTIFICATIONS ========== */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 300;
    animation: slideIn 0.3s ease, slideOut 0.3s ease 2.7s forwards;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-weight: 500;
    backdrop-filter: blur(10px);
    max-width: 400px;
}

.notification.success {
    background-color: var(--green-success);
    border-left: 4px solid var(--green-success-dark);
}

.notification.error {
    background-color: var(--red);
    border-left: 4px solid var(--red-dark);
}

.notification.info {
    background-color: #3498db;
    border-left: 4px solid #2980b9;
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(400px); opacity: 0; }
}

@keyframes slideIn {
    from { transform: translateX(400px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ========== 15. ICONS ========== */
.btn i {
    font-size: 16px;
    margin-right: 8px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary i {
    color: white;
}

.btn-secondary i {
    color: var(--red);
}

.btn-primary:has(.fa-brands.fa-whatsapp) {
    background: linear-gradient(135deg, var(--green) 0%, #128c7e 100%);
    border: none;
}

.btn-primary:has(.fa-brands.fa-whatsapp):hover {
    background: linear-gradient(135deg, #1ba961 0%, #0d5f57 100%);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-primary:has(.fa-brands.fa-whatsapp) i {
    font-size: 18px;
}

#googleFormBtn {
    background-color: var(--blue);
    color: white;
    border: none;
}

#googleFormBtn:hover {
    background-color: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
}

#googleFormBtn i {
    color: white;
}

.btn i:hover {
    transform: scale(1.2);
}

.how-it-works-card h3 i:hover {
    transform: scale(1.15) rotate(5deg);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.notification i {
    animation: pulse 0.5s ease-in-out;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.fa-check-circle {
    animation: bounce 0.6s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

.fa-triangle-exclamation,
.fa-circle-exclamation {
    animation: shake 0.5s ease;
}

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

.fa-spinner {
    animation: spin 1s linear infinite;
}

@media (min-width: 1024px) {
    .btn i { font-size: 16px; margin-right: 10px; }
    .notification i { font-size: 18px; }
    .how-it-works-card h3 i { font-size: 22px; margin-right: 12px; }
    .notification { max-width: 500px; padding: 16px 28px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .btn i { font-size: 15px; margin-right: 8px; }
    .notification i { font-size: 16px; }
    .how-it-works-card h3 i { font-size: 18px; margin-right: 10px; }
    .notification { max-width: 450px; padding: 14px 24px; right: 15px; }
}

@media (max-width: 767px) {
    .btn i { font-size: 14px; margin-right: 6px; }
    .notification i { font-size: 14px; }
    .how-it-works-card h3 i { font-size: 16px; margin-right: 8px; }
    .notification { max-width: 90vw; padding: 12px 16px; right: 10px; top: 80px; font-size: 14px; }
}

@media (max-width: 479px) {
    .btn i { font-size: 13px; margin-right: 5px; }
    .notification i { font-size: 13px; }
    .how-it-works-card h3 i { font-size: 14px; margin-right: 6px; }
    .notification { max-width: 95vw; padding: 10px 12px; right: 5px; left: 5px; top: 70px; font-size: 13px; }
    .btn { padding: 10px 12px; min-height: 40px; }
}

/* ========== 16. RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .nav-menu { display: none !important; }
    .nav-menu.active { display: none !important; }
    .mobileMenuOverlay { display: none !important; }
    #navMenu { display: none !important; }

    .nav-menu.active {
        display: flex !important;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--surface);
        padding: 20px;
        z-index: 95;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .theme-toggle { display: none; }

    .hamburger-btn {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
        z-index: 300;
    }

    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 18px; }

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

    .checkout-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .order-summary-container {
        position: static;
        top: auto;
    }

    .cart-sidebar { max-width: 100%; }

    section { padding: 40px 15px; }

    .section-title {
        font-size: 28px;
        margin-bottom: 35px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 0;
    }

    .footer-section a[href*="wa.me"],
    .footer-section a[href*="facebook"],
    .footer-section a[href*="instagram"],
    .footer-section a[href*="tiktok"],
    .footer-section a[href*="mailto"] {
        width: 35px !important;
        height: 35px !important;
        font-size: 14px !important;
    }

    /* Push toggle up on mobile so it clears Sienna */
    .theme-toggle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .header-container { padding: 12px 15px; }
    .logo a { font-size: 16px; }
    .logo-icon { font-size: 20px; }
    .header-right { gap: 10px; }
    .cart-btn { font-size: 20px; }

    .hero { padding: 40px 15px; }
    .hero-title { font-size: 28px; margin-bottom: 10px; }
    .hero-subtitle { font-size: 16px; }
    .hero-tagline { font-size: 14px; }
    .cta-button { padding: 12px 30px; font-size: 14px; }

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

    .product-image { height: 150px; font-size: 40px; }
    .product-card { padding: 0; }
    .product-info { padding: 15px; }
    .product-name { font-size: 14px; }
    .product-description { font-size: 12px; margin-bottom: 8px; }
    .product-price { font-size: 16px; }
    .product-footer { gap: 5px; }
    .add-to-cart-btn { padding: 6px; font-size: 12px; }

    .how-it-works-grid { gap: 20px; }
    .how-it-works-card { padding: 20px; }
    .how-it-works-card h3 { font-size: 16px; }

    .checkout-form { padding: 20px; }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 16px;
    }

    .order-summary { padding: 20px; }
    .order-summary h3 { font-size: 18px; }
    .summary-total { font-size: 18px; }

    .footer-grid { grid-template-columns: 1fr; gap: 20px; margin: 0; }
    .footer-section h4 { font-size: 14px; }
    .footer-section p,
    .footer-links a { font-size: 13px; }

    .btn { padding: 10px 20px; font-size: 14px; }
    section { padding: 30px 15px; }
    .section-title { font-size: 22px; margin-bottom: 25px; }
}

@media (max-width: 360px) {
    .header-container { padding: 10px 10px; }
    .logo a { font-size: 14px; }
    .hero-title { font-size: 24px; }
    .hero-subtitle { font-size: 14px; }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
    .product-image { height: 120px; }
}