/* C:\Users\jhosep\Downloads\web pagina web\natura\style.css */

/* 1. VARIABLES & RESET */
:root {
    --primary: #6abf4b;       /* Vibrant Leaf Green */
    --primary-light: #f2f9f0; /* Ultra Light Fresh Green */
    --primary-hover: #5aa33f; /* Darker Leaf Green */
    --secondary: #8ed374;     /* Sage Green */
    --accent: #d8a854;        /* Gold/Honey Accent */
    --accent-hover: #c4943f;
    --bg-body: #f5f4ef;       /* Cream background */
    --bg-surface: #ffffff;    /* Card/Surface white */
    --text-main: #1e3324;     /* Dark Charcoal Green */
    --text-muted: #6b7c70;    /* Grey-Green */
    --border: #e1e7e2;        /* Soft borders */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(74, 139, 92, 0.05);
    --shadow-md: 0 10px 30px rgba(74, 139, 92, 0.08);
    --shadow-lg: 0 20px 50px rgba(74, 139, 92, 0.12);
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
}

/* 2. LAYOUT & GRID */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 3. HEADER & NAV */
header {
    background: rgba(245, 244, 239, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.3s ease;
}

header.scrolled {
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--secondary);
}

.logo i {
    font-size: 2rem;
}

nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font-display);
    transition: all 0.3s;
}

nav a:hover, nav a.active {
    color: var(--primary);
}

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

.cart-icon-btn {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.6rem;
    cursor: pointer;
    position: relative;
    padding: 4px;
    transition: color 0.3s;
}

.cart-icon-btn:hover {
    color: var(--primary);
}

.cart-badge {
    background: var(--accent);
    color: #000;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 10px;
    position: absolute;
    top: -4px;
    right: -4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-admin-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.btn-admin-link:hover {
    color: var(--primary);
}

/* 4. HERO SECTION */
.hero {
    padding: 80px 0 80px;
    background: linear-gradient(135deg, rgba(239, 246, 240, 0.7) 0%, rgba(245, 244, 239, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    border: 1px solid rgba(46, 91, 60, 0.15);
    padding: 8px 16px;
    border-radius: 100px;
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 600px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 30px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 6px 15px rgba(46, 91, 60, 0.15);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(46, 91, 60, 0.25);
}

.btn-accent {
    background: var(--accent);
    color: #000;
    box-shadow: 0 6px 15px rgba(216, 168, 84, 0.15);
}

.btn-accent:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(216, 168, 84, 0.25);
}

.hero-img-wrap {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-circle-bg {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(124, 157, 114, 0.2) 0%, transparent 70%);
    z-index: 1;
}

.hero-img-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    text-align: center;
    max-width: 280px;
    transform: rotate(2deg);
    transition: transform 0.3s;
}

.hero-img-card:hover {
    transform: rotate(0deg) scale(1.05);
}

.hero-img-card i {
    font-size: 6rem;
    color: var(--primary);
    margin: 20px 0;
    display: block;
}

/* 5. CATEGORIES & SHOP SECTION */
.shop-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
}

.section-title h2 span {
    color: var(--primary);
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.category-tab {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: 30px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.category-tab:hover, .category-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* 6. PRODUCT GRID & CARD */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.product-badge {
    background: var(--accent);
    color: #000;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    position: absolute;
    top: 15px;
    left: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.product-image-container {
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f7f7;
    margin: -24px -24px 20px -24px;
    padding: 0px;
    position: relative;
}

.product-image-container i {
    font-size: 5rem;
    color: var(--primary);
    transition: transform 0.3s;
}

.product-card:hover .product-image-container i {
    transform: scale(1.1);
}

.product-category {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.product-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 15px;
    margin-top: auto;
}

.product-price {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

.btn-add-cart {
    background: var(--primary-light);
    color: var(--primary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.btn-add-cart:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

/* 7. CART DRAWER OVERLAY */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28, 46, 33, 0.4);
    backdrop-filter: blur(5px);
    z-index: 9998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-overlay.open {
    display: block;
    opacity: 1;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background: var(--bg-surface);
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease-out;
}

.cart-overlay.open + .cart-drawer,
.cart-drawer.open {
    right: 0;
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

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

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

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-empty-message {
    text-align: center;
    padding: 40px 0;
    color: var(--text-muted);
}

.cart-empty-message i {
    font-size: 3rem;
    color: var(--border);
    margin-bottom: 15px;
    display: block;
}

.cart-item {
    display: flex;
    gap: 16px;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
}

.cart-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.8rem;
}

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

.cart-item-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 4px;
}

.cart-item-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

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

.cart-qty-btn {
    width: 24px;
    height: 24px;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: none;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
}

.cart-qty-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s;
}

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

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--border);
    background: var(--primary-light);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: var(--font-display);
}

.cart-total-row span:last-child {
    color: var(--primary);
    font-size: 1.3rem;
}

/* 8. CHECKOUT PAGE / STYLING */
.checkout-section {
    padding: 60px 0 80px;
}

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

.checkout-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.checkout-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--primary);
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-main);
    text-transform: uppercase;
}

.form-control {
    padding: 12px 16px;
    border: 1px solid var(--border);
    background: var(--bg-body);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(46, 91, 60, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.checkout-summary-item.total {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    border-top: 1px solid var(--border);
    padding-top: 15px;
    margin-top: 15px;
}

.checkout-success-card {
    text-align: center;
    max-width: 600px;
    margin: 40px auto;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 50px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.checkout-success-card > i:first-child {
    font-size: 5rem;
    color: var(--primary);
    margin-bottom: 24px;
    display: block;
}

/* 9. ADMIN PANEL STYLING */
.admin-section {
    padding: 60px 0 80px;
    min-height: 90vh;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
}

.admin-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
}

.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

.admin-tab-btn {
    background: none;
    border: none;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 10px 20px;
    position: relative;
    transition: all 0.3s;
}

.admin-tab-btn.active {
    color: var(--primary);
}

.admin-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
}

.admin-panel {
    display: none;
}

.admin-panel.active {
    display: block;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.admin-stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
}

.admin-stat-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.admin-stat-info h4 {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.admin-stat-info h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
}

.btn-add-product-float {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-add-product-float:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.table-responsive {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow-x: auto;
    box-shadow: var(--shadow-sm);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th {
    background: var(--primary-light);
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 700;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
    text-transform: uppercase;
}

.admin-table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover td {
    background: rgba(46,91,60,0.01);
}

.admin-product-thumb {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
}

.badge-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
}

.badge-status.pendiente {
    background: #fef3c7;
    color: #d97706;
}

.badge-status.completado {
    background: #d1fae5;
    color: #059669;
}

.badge-status.cancelado {
    background: #fee2e2;
    color: #dc2626;
}

.admin-actions-cell {
    display: flex;
    gap: 8px;
}

.btn-admin-action {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: var(--text-main);
}

.btn-admin-action:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.btn-admin-action.delete:hover {
    border-color: #dc2626;
    color: #ffffff;
    background: #dc2626;
}

/* 10. PRODUCT MODAL / DIALOG */
.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28,46,33,0.4);
    backdrop-filter: blur(5px);
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.admin-modal.open {
    display: flex;
}

.admin-modal-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 600px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.admin-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-modal-header h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.admin-modal-body {
    padding: 24px;
    overflow-y: auto;
}

.admin-modal-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* 11. FOOTER */
footer {
    background: var(--primary);
    border-top: 1px solid rgba(255,255,255,0.15);
    padding: 60px 0;
    color: #ffffff;
    font-size: 0.9rem;
    text-align: center;
}

footer .logo {
    color: #ffffff;
    justify-content: center;
    margin-bottom: 24px;
}

footer .logo span {
    color: #ffffff;
}

footer nav {
    justify-content: center;
    margin-bottom: 24px;
}

footer nav a {
    color: #ffffff;
}

footer nav a:hover {
    color: #ffffff;
}

footer p.copyright {
    font-size: 0.8rem;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
}

/* E-COMMERCE CONVERSION STYLES */
.top-bar {
    background: var(--accent);
    color: #000;
    text-align: center;
    padding: 8px 15px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 40px 20px;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.95rem;
}
.trust-badge i {
    font-size: 2rem;
    color: var(--primary);
}

.product-stars {
    color: #fbbf24;
    font-size: 1rem;
    margin-bottom: 8px;
    display: flex;
    gap: 2px;
}
.product-stars span {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-left: 5px;
}

.sale-popup {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 999;
    width: 320px;
    transform: translateX(-150%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 4px solid var(--primary);
}
.sale-popup.show {
    transform: translateX(0);
}
.sale-popup img {
    width: 55px;
    height: 55px;
    border-radius: 8px;
    object-fit: contain;
    background: var(--primary-light);
}
.sale-popup-content p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
}
.sale-popup-content p.buyer {
    font-weight: 800;
    color: var(--primary);
}
.sale-popup-content p.time {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}
.sale-popup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1.2rem;
}
.sale-popup-close:hover {
    color: #000;
}

@keyframes pulse-btn {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(74, 139, 92, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(74, 139, 92, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(74, 139, 92, 0); }
}
.btn-pulse {
    animation: pulse-btn 2s infinite;
}

/* Product Card Enhancements */
.product-card {
    overflow: hidden;
}
.product-card:hover .product-image-container img {
    transform: scale(1.1);
}
.product-image-container img {
    transition: transform 0.4s ease;
}

/* WHATSAPP CHAT BOX */
.wsp-chat-box {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 320px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 190;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.5s ease;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.wsp-header {
    background: #075e54;
    color: #fff;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.wsp-header i {
    font-size: 2rem;
    background: #128c7e;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wsp-header h4 {
    font-family: var(--font-display);
    margin: 0;
    font-size: 1.1rem;
}
.wsp-header p {
    margin: 0;
    font-size: 0.8rem;
    color: #d1d1d1;
}
.wsp-body {
    background: #e5ddd5;
    padding: 20px;
    height: 120px;
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    background-size: cover;
}
.wsp-message {
    background: #fff;
    padding: 10px 15px;
    border-radius: 0 10px 10px 10px;
    font-size: 0.95rem;
    position: relative;
    color: #303030;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    display: inline-block;
    max-width: 90%;
}
.wsp-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    border-top: 10px solid #fff;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}
.wsp-time {
    display: block;
    text-align: right;
    font-size: 0.7rem;
    color: #999;
    margin-top: 5px;
}
.wsp-footer {
    padding: 15px;
    background: #fff;
    text-align: center;
}
.wsp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 30px;
    font-family: var(--font-display);
    font-weight: 700;
    width: 100%;
    transition: background 0.3s;
}
.wsp-btn:hover {
    background: #128c7e;
}

/* 12. RESPONSIVE */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.6rem;
    cursor: pointer;
}
.close-menu-btn {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-main);
    cursor: pointer;
}

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: block;
    }
    .hero-grid, .checkout-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero-img-wrap {
        order: -1;
    }
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    #mainNav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: var(--bg-surface);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px 30px;
        transition: right 0.3s ease;
        z-index: 1000;
        display: flex;
    }
    #mainNav.open {
        right: 0;
    }
    .close-menu-btn {
        display: block;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* Mobile WhatsApp Button */
.wsp-mobile-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    text-decoration: none;
    transition: transform 0.3s, background 0.3s;
}

.wsp-mobile-btn:hover {
    background: #128c7e;
    transform: scale(1.05);
}

.mobile-only {
    display: none;
}

@media (max-width: 992px) {
    .desktop-only {
        display: none !important;
    }
    .wsp-mobile-btn.mobile-only {
        display: flex !important;
    }
}
