/* =====================================================
   TABLE BAY FISH CO. - MAIN STYLES
   ===================================================== */

:root {
    --primary-dark: #0a2e28;
    --primary: #1a5d4a;
    --primary-light: #2c7a5e;
    --accent: #f9d56e;
    --accent-dark: #e6c258;
    --text-dark: #1a2e2a;
    --text-light: #6a7c5e;
    --bg-light: #f5f7f4;
    --bg-white: #ffffff;
    --success: #25D366;
    --danger: #e74c3c;
    --warning: #f39c12;
    --border: #e2e8f0;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =====================================================
   HEADER STYLES
   ===================================================== */

.site-header {
    background: var(--primary-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.logo a {
    text-decoration: none;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.5px;
}

.logo .tagline {
    font-size: 0.7rem;
    color: #9bbc8c;
    display: block;
    margin-top: 2px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Language Selector */
.lang-selector {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
    border-radius: 40px;
}

.lang-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 30px;
    transition: all 0.2s;
}

.lang-btn.active {
    background: var(--accent);
    color: var(--primary-dark);
}

.lang-btn:hover {
    background: var(--accent-dark);
    color: var(--primary-dark);
}

/* Navigation */
.main-nav ul {
    display: flex;
    gap: 28px;
    list-style: none;
}

.main-nav a {
    text-decoration: none;
    font-weight: 600;
    color: #f0efe7;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent);
}

/* Cart Icon */
.cart-icon {
    position: relative;
    color: white;
    font-size: 1.3rem;
    text-decoration: none;
}

.cart-icon .cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--accent);
    color: var(--primary-dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 20px;
    min-width: 18px;
    text-align: center;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* =====================================================
   HERO SECTION
   ===================================================== */

.hero {
    background: linear-gradient(135deg, #d9e4c7 0%, #c2d4b0 100%);
    border-radius: 2rem;
    margin: 32px 0 40px;
    padding: 60px 48px;
}

.hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 280px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero p {
    font-size: 1.2rem;
    color: #2c5e4a;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid rgba(26, 93, 74, 0.2);
}

.trust-item {
    font-size: 0.85rem;
    color: var(--primary-dark);
}

.hero-image {
    flex: 1;
    min-width: 280px;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: transparent;
    max-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.08));
}

.image-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent);
    color: var(--primary-dark);
}

.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-wa {
    background: var(--success);
    color: white;
}

.btn-wa:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* =====================================================
   TODAY'S CATCH BANNER
   ===================================================== */

.catch-banner {
    background: var(--bg-white);
    border-radius: 28px;
    padding: 24px 32px;
    margin-bottom: 48px;
    border-left: 8px solid var(--accent);
    box-shadow: var(--shadow);
}

.catch-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.catch-wrapper h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.catch-items {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.catch-badge {
    background: #eef5ea;
    padding: 6px 16px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
}

.update-time {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* =====================================================
   PRODUCT GRID
   ===================================================== */

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 48px 0 24px;
    padding-left: 20px;
    border-left: 6px solid var(--accent);
    color: var(--text-dark);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
    margin-bottom: 48px;
}

.product-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s, box-shadow 0.25s;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    height: 240px;
    background: #f0f5ed;
    position: relative;
    overflow: hidden;
}

.product-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-thumbnail {
    transform: scale(1.05);
}

.video-play-overlay,
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-image:hover .video-play-overlay,
.product-image:hover .image-overlay {
    opacity: 1;
}

.video-play-overlay span,
.image-overlay span {
    background: rgba(0,0,0,0.7);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.special-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 2;
}

.limited-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--warning);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 2;
}

.soldout-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--danger);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 2;
}

.product-info {
    padding: 18px;
}

.product-name-link {
    text-decoration: none;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-dark);
    transition: color 0.2s;
}

.product-name-link:hover .product-name {
    color: var(--primary);
}

.product-description {
    color: var(--text-light);
    font-size: 0.8rem;
    margin: 6px 0;
    line-height: 1.4;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}

.price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}

.price-unit {
    font-size: 0.7rem;
    font-weight: normal;
    color: var(--text-light);
}

.stock-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
}

.stock-badge.fresh {
    background: #dcfce7;
    color: #15803d;
}

.stock-badge.limited {
    background: #fff3e3;
    color: #b45309;
}

.stock-badge.sold_out {
    background: #fee2e2;
    color: #991b1b;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.btn-view-details {
    flex: 1;
    background: #f0f2f5;
    color: var(--text-dark);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    transition: background 0.2s;
}

.btn-view-details:hover {
    background: #e4e6e9;
}

.btn-quick-cart {
    flex: 1;
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-quick-cart:hover {
    background: var(--primary-dark);
}

.btn-whatsapp-mini {
    background: var(--success);
    color: white;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 0.7rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: background 0.2s;
}

.btn-whatsapp-mini:hover {
    background: #128C7E;
}

/* Cleaning Options */
.cleaning-options {
    margin: 12px 0;
    background: #f8f9f5;
    padding: 12px;
    border-radius: 16px;
}

.cleaning-title {
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.cleaning-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.clean-opt {
    background: white;
    border: 1px solid #d4dccc;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.1s;
}

.clean-opt.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
}

.quantity-selector button {
    background: #edf2f7;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
}

.qty-input {
    width: 60px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px;
    font-size: 1rem;
}

/* Quick Qty */
.quick-qty {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    padding: 6px 12px;
    background: #f8f9fa;
    border-radius: 30px;
}

.quick-qty label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
}

.qty-selector-mini {
    display: flex;
    align-items: center;
    gap: 6px;
}

.qty-selector-mini button {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: white;
    cursor: pointer;
    font-weight: bold;
}

.qty-mini-input {
    width: 45px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 4px;
    font-size: 0.8rem;
}

.btn-add-cart {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 40px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 10px;
    transition: background 0.2s;
}

.btn-add-cart:hover {
    background: var(--primary-dark);
}

.btn-whatsapp {
    width: 100%;
    background: var(--success);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 40px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.btn-whatsapp:hover {
    background: #128C7E;
}

/* =====================================================
   BULK SECTION
   ===================================================== */

.bulk-section {
    background: linear-gradient(145deg, #1e4a3b, #0f3a2e);
    border-radius: 32px;
    padding: 48px;
    margin: 48px 0;
    text-align: center;
    color: white;
}

.bulk-section h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.bulk-section p {
    margin-bottom: 24px;
    opacity: 0.9;
}

/* =====================================================
   SPECIALS SECTION
   ===================================================== */

.specials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.special-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.special-card:hover {
    transform: translateY(-5px);
}

.special-icon {
    width: 70px;
    height: 70px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.8rem;
}

.special-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.special-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}

.special-features {
    list-style: none;
    margin: 20px 0;
    text-align: left;
}

.special-features li {
    padding: 6px 0;
}

/* =====================================================
   CART PAGE
   ===================================================== */

.page-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 32px 0;
    color: var(--text-dark);
}

.cart-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 32px;
}

.cart-header {
    display: grid;
    grid-template-columns: 3fr 1fr 1.5fr 1fr 0.5fr;
    background: var(--primary-dark);
    color: white;
    padding: 16px 20px;
    border-radius: 12px 12px 0 0;
    font-weight: 600;
}

.cart-items-list {
    background: white;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.cart-item {
    display: grid;
    grid-template-columns: 3fr 1fr 1.5fr 1fr 0.5fr;
    align-items: center;
    background: white;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.cart-item:hover {
    background: #fafafa;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info h4 {
    margin-bottom: 6px;
    font-size: 1rem;
}

.cart-item-meta {
    display: flex;
    gap: 12px;
}

.cleaning-badge {
    font-size: 0.7rem;
    background: #eef2f0;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
}

.cart-qty-control {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-qty-control button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: white;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
}

.cart-qty-control button:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.qty-value {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
}

.remove-item {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 0.8rem;
    padding: 8px;
}

.remove-item:hover {
    text-decoration: underline;
}

.cart-actions {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: white;
    border-radius: 0 0 12px 12px;
    border-top: 1px solid var(--border);
}

.cart-summary {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 24px;
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
    color: var(--text-dark);
}

.summary-details {
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.total-row {
    font-weight: 800;
    font-size: 1.2rem;
    border-top: 2px solid var(--border);
    margin-top: 10px;
    padding-top: 16px;
    color: var(--primary);
}

.free-delivery-note {
    background: #fff3e3;
    padding: 10px;
    border-radius: 8px;
    margin: 10px 0;
    font-size: 0.8rem;
    color: #b45309;
    text-align: center;
}

.free-delivery-active {
    background: #dcfce7;
    padding: 10px;
    border-radius: 8px;
    margin: 10px 0;
    font-size: 0.8rem;
    color: #15803d;
    text-align: center;
}

.delivery-area-selector {
    margin-bottom: 20px;
}

.delivery-area-selector label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
}

.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.7rem;
    color: var(--text-light);
}

.empty-cart {
    text-align: center;
    padding: 60px;
    background: var(--bg-white);
    border-radius: 28px;
}

.empty-cart h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.empty-cart p {
    color: var(--text-light);
    margin-bottom: 24px;
}

.empty-cart-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =====================================================
   TRACKING PAGE
   ===================================================== */

.track-form {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    margin-bottom: 32px;
}

.track-input-form {
    display: flex;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.track-input-form input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 1rem;
}

.tracking-result {
    background: var(--bg-white);
    border-radius: 28px;
    padding: 32px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
    flex-wrap: wrap;
    gap: 16px;
}

.order-header h3 {
    margin: 0;
    color: var(--primary);
    font-size: 1.5rem;
}

.order-date {
    color: #666;
    font-size: 0.85rem;
    margin-top: 5px;
}

.order-status {
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

/* Status colors */
.status-pending, .status-received {
    background: #fff3e3;
    color: #b45309;
}
.status-preparing {
    background: #dbeafe;
    color: #1e40af;
}
.status-out_for_delivery {
    background: #dcfce7;
    color: #15803d;
}
.status-delivered {
    background: #f0fdf4;
    color: #166534;
}
.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.status-message-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    border-left: 4px solid;
}

.status-message-content h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
}

.status-message-content p {
    margin: 0;
    color: #555;
    line-height: 1.5;
}

.delivery-estimate {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
    font-size: 0.85rem;
    color: var(--primary);
}

.progress-tracker {
    display: flex;
    justify-content: space-between;
    margin: 32px 0;
    position: relative;
}

.progress-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 50px;
    height: 50px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s;
}

.progress-step.completed .step-circle {
    background: #15803d;
    color: white;
}

.progress-step.current .step-circle {
    background: var(--accent);
    color: var(--primary-dark);
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(249, 213, 110, 0.3);
}

.step-label {
    font-size: 0.75rem;
    font-weight: 600;
}

.step-status-badge {
    font-size: 0.65rem;
    margin-top: 6px;
    color: #15803d;
}

.step-status-badge.completed {
    color: #15803d;
}

.step-line {
    position: absolute;
    top: 25px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #e0e0e0;
    z-index: -1;
}

.step-line.completed {
    background: #15803d;
}

.estimated-delivery {
    background: #e8f5e9;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 20px 0;
}

.estimated-delivery p {
    margin: 0;
    color: #555;
}

.order-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 24px 0;
}

.details-card,
.items-card,
.payment-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 16px;
}

.details-card h4,
.items-card h4,
.payment-card h4 {
    margin-bottom: 16px;
    color: var(--primary);
    font-size: 1rem;
}

.detail-row {
    display: flex;
    margin-bottom: 10px;
}

.detail-label {
    width: 100px;
    font-weight: 600;
    color: #555;
}

.detail-value {
    flex: 1;
    color: #333;
}

.items-table {
    width: 100%;
    border-collapse: collapse;
}

.items-table th,
.items-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.items-table th {
    background: var(--primary);
    color: white;
}

.total-row td {
    font-weight: bold;
    border-top: 2px solid var(--primary);
}

.text-right {
    text-align: right;
}

.payment-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
}

.payment-status.paid {
    background: #dcfce7;
    color: #15803d;
}

.payment-status.pending {
    background: #fff3e3;
    color: #b45309;
}

.payment-status.cod {
    background: #dbeafe;
    color: #1e40af;
}

.tracking-token-box {
    background: #f0f2f5;
    border-radius: 12px;
    padding: 15px 20px;
    margin: 20px 0;
}

.tracking-token-box code {
    background: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 0.9rem;
    margin: 0 10px;
}

.btn-copy-token {
    background: var(--primary);
    color: white;
    border: none;
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.75rem;
}

/* =====================================================
   FOOTER
   ===================================================== */

.site-footer {
    background: var(--primary-dark);
    color: #cbd5b0;
    padding: 48px 0 24px;
    margin-top: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3,
.footer-col h4 {
    color: var(--accent);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #cbd5b0;
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* =====================================================
   FLOATING WHATSAPP
   ===================================================== */

.float-wa {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
}

.float-wa a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--success);
    border-radius: 50%;
    color: white;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s;
}

.float-wa a:hover {
    transform: scale(1.1);
}

/* =====================================================
   ALERTS
   ===================================================== */

.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.alert-success {
    background: #dcfce7;
    color: #15803d;
    border-left: 4px solid #15803d;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #991b1b;
}

/* =====================================================
   TOAST NOTIFICATION
   ===================================================== */

.toast-notification {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: #15803d;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    z-index: 10000;
    animation: slideInRight 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.toast-notification.error {
    background: var(--danger);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* =====================================================
   LOADING OVERLAY
   ===================================================== */

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-overlay p {
    color: white;
    margin-top: 16px;
}

/* =====================================================
   REVIEWS
   ===================================================== */

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.review-card {
    background: white;
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.review-stars {
    color: var(--accent);
    margin-bottom: 12px;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.review-card p {
    font-style: italic;
    margin-bottom: 16px;
    line-height: 1.6;
}

.review-author {
    font-weight: 600;
    color: var(--primary);
}

.review-author .verified {
    font-size: 0.7rem;
    color: #15803d;
    margin-left: 8px;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
    
    .cart-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-summary {
        position: static;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-right {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    
    .header-right.active {
        display: flex;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .hero {
        padding: 40px 24px;
    }
    
    .hero-grid {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-image {
        max-width: 100%;
    }
    
    .image-wrapper {
        max-height: 300px;
    }
    
    .image-wrapper img {
        max-height: 300px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-header {
        display: none;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        gap: 12px;
        position: relative;
        padding: 16px;
    }
    
    .cart-item-product {
        order: 1;
    }
    
    .cart-item-price,
    .cart-item-quantity,
    .cart-item-total {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .cart-item-price::before {
        content: "Price:";
        font-weight: 600;
    }
    
    .cart-item-quantity::before {
        content: "Quantity:";
        font-weight: 600;
    }
    
    .cart-item-total::before {
        content: "Total:";
        font-weight: 600;
    }
    
    .cart-item-remove {
        position: absolute;
        top: 16px;
        right: 16px;
    }
    
    .cart-actions {
        flex-direction: column;
    }
    
    .cart-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .track-input-form {
        flex-direction: column;
    }
    
    .progress-tracker {
        flex-direction: column;
        gap: 20px;
    }
    
    .step-line {
        display: none;
    }
    
    .progress-step {
        display: flex;
        align-items: center;
        gap: 16px;
        text-align: left;
    }
    
    .step-circle {
        margin: 0;
    }
    
    .step-status-badge {
        margin-left: auto;
    }
    
    .order-details {
        grid-template-columns: 1fr;
    }
    
    .status-message-card {
        text-align: center;
    }
    
    .support-card {
        flex-direction: column;
        text-align: center;
    }
    
    .support-card .btn-wa {
        margin-left: 0;
    }
    
    .tracking-token-box {
        text-align: center;
    }
    
    .detail-row {
        flex-direction: column;
    }
    
    .detail-label {
        width: auto;
        margin-bottom: 4px;
    }
    
    .specials-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .bulk-section {
        padding: 32px 20px;
    }
    
    .bulk-section h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 24px 16px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .tracking-result {
        padding: 20px 16px;
    }
    
    .track-form {
        padding: 20px 16px;
    }
    
    .cart-summary {
        padding: 16px;
    }
    
    .checkout-form {
        padding: 16px;
    }
}
