/* =============================================
   ADAU SHOP - PREMIUM STYLESHEET
   Design by Achiek Magar
   ============================================= */

/* ---- CSS VARIABLES ---- */
:root {
    --primary: #FF6B35;
    --primary-dark: #E55A25;
    --primary-light: #FF8C5E;
    --secondary: #1B2A4A;
    --secondary-light: #2A3F6A;
    --accent: #FFD700;
    --accent-dark: #E5C200;
    --white: #FFFFFF;
    --light: #F8F9FA;
    --light-gray: #E9ECEF;
    --gray: #6C757D;
    --dark: #222222;
    --dark-light: #333333;
    --success: #28A745;
    --success-light: #D4EDDA;
    --danger: #DC3545;
    --danger-light: #F8D7DA;
    --warning: #FFC107;
    --info: #17A2B8;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 5px 30px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 8px 35px rgba(0, 0, 0, 0.18);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* ---- RESET ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--secondary);
}

/* ---- CONTAINER ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    justify-content: center;
    line-height: 1.4;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #1EBE5A;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ---- TOP BAR ---- */
.top-bar {
    background: var(--secondary);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
}

.top-bar-left i {
    color: var(--primary);
}

.top-bar-right a {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    background: #25D366;
    border-radius: 20px;
    font-weight: 500;
    font-size: 12px;
}

.top-bar-right a:hover {
    background: #1EBE5A;
}

/* ---- NAVBAR ---- */
.navbar {
    background: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.5px;
}

.logo-text:hover {
    color: var(--primary);
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links > li > a {
    padding: 10px 18px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
    color: var(--primary);
    background: rgba(255, 107, 53, 0.08);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--dark-light);
}

.dropdown-menu li a:hover {
    background: var(--light);
    color: var(--primary);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-icon {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border-radius: 50%;
    font-size: 18px;
    color: var(--secondary);
}

.cart-icon:hover {
    background: var(--primary);
    color: var(--white);
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--danger);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: var(--light);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 20px;
    color: var(--secondary);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* ---- FLASH MESSAGE ---- */
.flash-message {
    padding: 14px 0;
    font-size: 14px;
    font-weight: 500;
}

.flash-message .container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.flash-success {
    background: var(--success-light);
    color: var(--success);
}

.flash-error {
    background: var(--danger-light);
    color: var(--danger);
}

.flash-close {
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: inherit;
    opacity: 0.7;
}

.flash-close:hover {
    opacity: 1;
}

/* ---- HERO SECTION ---- */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.08;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(255, 107, 53, 0.2);
    color: var(--primary-light);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 18px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat h3 {
    font-size: 28px;
    color: var(--primary);
    font-weight: 800;
}

.hero-stat p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

/* ---- SECTION STYLES ---- */
.section {
    padding: 70px 0;
}

.section-light {
    background: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 45px;
}

.section-header h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-header h2 span {
    color: var(--primary);
}

.section-header p {
    font-size: 15px;
    color: var(--gray);
    max-width: 500px;
    margin: 0 auto;
}

/* ---- PRODUCT GRID ---- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 25px;
}

/* ---- PRODUCT CARD ---- */
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-card-image {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: var(--light);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.badge {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-sale {
    background: var(--danger);
    color: var(--white);
}

.badge-featured {
    background: var(--accent);
    color: var(--dark);
}

.badge-new {
    background: var(--success);
    color: var(--white);
}

.product-card-actions {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.product-card:hover .product-card-actions {
    opacity: 1;
    transform: translateY(0);
}

.product-card-actions a {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--secondary);
    box-shadow: var(--shadow);
}

.product-card-actions a:hover {
    background: var(--primary);
    color: var(--white);
}

.product-card-body {
    padding: 18px;
}

.product-card-category {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.product-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-title a:hover {
    color: var(--primary);
}

.product-card-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.price-current {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.price-old {
    font-size: 14px;
    color: var(--gray);
    text-decoration: line-through;
}

.product-card-footer {
    display: flex;
    gap: 8px;
}

.product-card-footer .btn {
    flex: 1;
    padding: 10px;
    font-size: 12px;
}

/* ---- CATEGORIES SECTION ---- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.category-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.category-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.category-card-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.category-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.category-card p {
    font-size: 13px;
    color: var(--gray);
}

/* ---- WHY CHOOSE US ---- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 28px;
    color: var(--white);
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* ---- CTA SECTION ---- */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 30px;
    color: var(--white);
    margin-bottom: 14px;
}

.cta-section p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- PRODUCT DETAIL PAGE ---- */
.product-detail {
    padding: 40px 0 70px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.product-gallery {
    position: relative;
}

.product-main-image {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--light);
    height: 450px;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.product-thumbs img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.product-thumbs img.active,
.product-thumbs img:hover {
    border-color: var(--primary);
}

.product-info h1 {
    font-size: 28px;
    margin-bottom: 8px;
}

.product-info-category {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.product-info-price {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.product-info-price .price-current {
    font-size: 30px;
}

.product-info-price .price-old {
    font-size: 18px;
}

.product-info-price .badge-sale {
    padding: 6px 14px;
    font-size: 13px;
}

.product-description {
    margin-bottom: 25px;
    color: var(--gray);
    line-height: 1.8;
}

/* Variant Selectors */
.variant-group {
    margin-bottom: 18px;
}

.variant-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variant-option {
    padding: 8px 18px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
}

.variant-option:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.variant-option.selected {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

/* Quantity */
.quantity-group {
    margin-bottom: 25px;
}

.quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn {
    width: 44px;
    height: 44px;
    background: var(--light);
    border: none;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.qty-input {
    width: 60px;
    height: 44px;
    text-align: center;
    border: none;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-heading);
    outline: none;
}

.product-detail-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.product-detail-buttons .btn {
    padding: 14px 30px;
    font-size: 15px;
}

/* ---- CART PAGE ---- */
.cart-section {
    padding: 40px 0 70px;
}

.cart-table {
    width: 100%;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 30px;
}

.cart-table thead {
    background: var(--secondary);
    color: var(--white);
}

.cart-table th {
    padding: 14px 20px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--light-gray);
    vertical-align: middle;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cart-item-image {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.cart-item-name {
    font-weight: 600;
    font-size: 14px;
}

.cart-item-variant {
    font-size: 12px;
    color: var(--gray);
    margin-top: 3px;
}

.cart-remove {
    width: 36px;
    height: 36px;
    background: var(--danger-light);
    color: var(--danger);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
}

.cart-remove:hover {
    background: var(--danger);
    color: var(--white);
}

/* Cart Summary */
.cart-summary {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    max-width: 400px;
    margin-left: auto;
}

.cart-summary h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--light-gray);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 14px;
    margin-top: 14px;
    border-top: 2px solid var(--secondary);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.cart-summary .btn {
    margin-top: 20px;
}

/* Cart Empty */
.cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.cart-empty i {
    font-size: 60px;
    color: var(--light-gray);
    margin-bottom: 20px;
}

.cart-empty h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.cart-empty p {
    color: var(--gray);
    margin-bottom: 25px;
}

/* ---- CHECKOUT PAGE ---- */
.checkout-section {
    padding: 40px 0 70px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

.checkout-form {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 35px;
}

.checkout-form h2 {
    font-size: 22px;
    margin-bottom: 25px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--light-gray);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.form-group label .required {
    color: var(--danger);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--dark);
    transition: var(--transition);
    outline: none;
    background: var(--white);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-control::placeholder {
    color: var(--gray);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Order Summary Sidebar */
.order-summary {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    position: sticky;
    top: 100px;
}

.order-summary h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--light-gray);
}

.order-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--light);
}

.order-item-image {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.order-item-info {
    flex: 1;
}

.order-item-name {
    font-size: 13px;
    font-weight: 600;
}

.order-item-meta {
    font-size: 11px;
    color: var(--gray);
}

.order-item-price {
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
}

/* ---- ORDER SUCCESS PAGE ---- */
.order-success {
    text-align: center;
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.order-success-icon {
    width: 100px;
    height: 100px;
    background: var(--success-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 45px;
    color: var(--success);
}

.order-success h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--success);
}

.order-success p {
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.7;
}

.order-number {
    display: inline-block;
    padding: 10px 25px;
    background: var(--light);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 25px;
}

.order-success-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- CONTACT PAGE ---- */
.contact-section {
    padding: 40px 0 70px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 16px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: 14px;
    color: var(--gray);
}

/* ---- PAGE HEADER / BREADCRUMB ---- */
.page-header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    padding: 40px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 28px;
    color: var(--white);
    margin-bottom: 8px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
    color: var(--primary-light);
}

.breadcrumb a:hover {
    color: var(--white);
}

/* ---- FILTER BAR ---- */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 30px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.filter-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 18px;
    border: 2px solid var(--light-gray);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
    color: var(--dark-light);
    font-family: var(--font-body);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.filter-sort select {
    padding: 8px 16px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    font-size: 13px;
    outline: none;
    font-family: var(--font-body);
    cursor: pointer;
}

/* ---- 404 PAGE ---- */
.error-page {
    padding: 80px 0;
    text-align: center;
}

.error-content h1 {
    font-size: 100px;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
}

.error-content h2 {
    font-size: 24px;
    margin-bottom: 14px;
}

.error-content p {
    color: var(--gray);
    margin-bottom: 25px;
}

/* ---- FOOTER ---- */
.footer {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 14px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-contact li i {
    color: var(--primary);
    margin-top: 3px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--white);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}

.footer-credit {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.4) !important;
}

/* ---- WHATSAPP FLOATING BUTTON ---- */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--white);
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---- LOADING SPINNER ---- */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--light-gray);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 40px auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---- MOBILE RESPONSIVE ---- */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 32px;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Top Bar */
    .top-bar-left span:nth-child(2) {
        display: none;
    }

    /* Navbar */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links > li > a {
        padding: 12px 16px;
        border-bottom: 1px solid var(--light);
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .mobile-toggle {
        display: flex;
    }

    /* Hero */
    .hero {
        padding: 50px 0;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-stats {
        gap: 25px;
    }

    .hero-stat h3 {
        font-size: 22px;
    }

    /* Sections */
    .section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 24px;
    }

    /* Product Grid */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .product-card-image {
        height: 180px;
    }

    .product-card-body {
        padding: 12px;
    }

    .product-card-title {
        font-size: 14px;
    }

    .price-current {
        font-size: 16px;
    }

    .product-card-footer .btn {
        font-size: 11px;
        padding: 8px;
    }

    /* Category Grid */
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .category-card {
        padding: 20px 14px;
    }

    /* Cart */
    .cart-table thead {
        display: none;
    }

    .cart-table tr {
        display: flex;
        flex-wrap: wrap;
        padding: 14px;
        border-bottom: 2px solid var(--light);
    }

    .cart-table td {
        border: none;
        padding: 4px 0;
    }

    .cart-summary {
        max-width: 100%;
    }

    /* Checkout */
    .form-row {
        grid-template-columns: 1fr;
    }

    .checkout-form {
        padding: 20px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer {
        padding: 40px 0 0;
    }

    /* Product Detail */
    .product-main-image {
        height: 300px;
    }

    .product-info h1 {
        font-size: 22px;
    }

    .product-info-price .price-current {
        font-size: 24px;
    }

    /* Filter */
    .filter-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-card-image {
        height: 150px;
    }

    .category-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta-section h2 {
        font-size: 22px;
    }

    .product-detail-buttons {
        flex-direction: column;
    }

    .product-detail-buttons .btn {
        width: 100%;
    }

    .order-success h1 {
        font-size: 22px;
    }

    .order-success-buttons {
        flex-direction: column;
    }

    .order-success-buttons .btn {
        width: 100%;
    }

    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}

/* ---- ORDER STEPS (Contact Page) ---- */
.order-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.order-step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.order-step-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.order-step-content p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.5;
}

/* ---- NO IMAGE PLACEHOLDER ---- */
.no-image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-gray);
    font-size: 50px;
}

/* ---- PRODUCT DELIVERY INFO ---- */
.product-delivery-info {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.delivery-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--gray);
}

.delivery-item i {
    width: 20px;
    text-align: center;
    color: var(--success);
    font-size: 16px;
}

/* ---- SEARCH BAR (Products Page) ---- */
.search-bar {
    display: flex;
    gap: 10px;
    max-width: 400px;
}

.search-bar .form-control {
    flex: 1;
    padding: 10px 16px;
    font-size: 13px;
}

.search-bar .btn {
    padding: 10px 18px;
}

/* ---- CART PAGE EXTRAS ---- */
.cart-table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
}

.cart-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.cart-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cart-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--gray);
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--light-gray);
}

/* ---- CHECKOUT EXTRAS ---- */
.optional {
    font-weight: 400;
    color: var(--gray);
    font-size: 12px;
}

.checkout-payment-info {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid var(--light-gray);
    margin-bottom: 25px;
}

.checkout-payment-info h3 {
    font-size: 18px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-option {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: var(--light);
    border-radius: var(--radius-sm);
    border: 2px solid var(--success);
}

.payment-option i {
    color: var(--success);
    font-size: 22px;
    margin-top: 2px;
}

.payment-option strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--dark);
}

.payment-option p {
    font-size: 13px;
    color: var(--gray);
    margin: 0;
    line-height: 1.5;
}

/* ---- ORDER SUCCESS EXTRAS ---- */
.order-detail-card {
    text-align: left;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    margin: 30px auto;
    max-width: 600px;
}

.order-detail-card h3 {
    font-size: 18px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--light-gray);
}

.order-detail-grid {
    margin-bottom: 20px;
}

.order-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--light);
}

.order-detail-row span {
    color: var(--gray);
}

.order-detail-items {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 2px solid var(--light-gray);
}

.order-detail-items h4 {
    font-size: 15px;
    margin-bottom: 12px;
    color: var(--secondary);
}

.order-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--light);
    font-size: 14px;
}

.order-detail-item-info strong {
    display: block;
    font-size: 14px;
    color: var(--dark);
}

.order-detail-item-info span {
    font-size: 12px;
    color: var(--gray);
}

.order-detail-item-price {
    text-align: right;
    font-size: 13px;
    color: var(--gray);
}

.order-detail-item-price strong {
    display: block;
    font-size: 15px;
    color: var(--primary);
    margin-top: 2px;
}

.order-detail-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0 0;
    margin-top: 12px;
    border-top: 2px solid var(--secondary);
    font-size: 18px;
}

.order-detail-total strong {
    color: var(--primary);
    font-size: 20px;
}

/* ---- NEXT STEPS ---- */
.order-next-steps {
    text-align: left;
    max-width: 600px;
    margin: 30px auto;
    background: var(--light);
    border-radius: var(--radius);
    padding: 30px;
}

.order-next-steps h3 {
    font-size: 17px;
    margin-bottom: 18px;
    text-align: center;
}

.next-steps-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.next-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.next-step-num {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.next-step p {
    font-size: 14px;
    color: var(--dark-light);
    line-height: 1.5;
    margin: 0;
    padding-top: 4px;
}

/* ---- MOBILE CART & CHECKOUT ---- */
@media (max-width: 768px) {
    .cart-bottom {
        flex-direction: column;
    }

    .cart-summary {
        max-width: 100%;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .order-summary {
        position: static;
    }

    .order-detail-card {
        padding: 20px;
    }

    .order-detail-item {
        flex-direction: column;
        gap: 6px;
    }

    .order-detail-item-price {
        text-align: left;
    }

    .order-next-steps {
        padding: 20px;
    }
}

/* ---- TOAST NOTIFICATION ---- */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 280px;
    max-width: 400px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    transform: translateX(120%);
    transition: transform 0.3s ease;
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-success {
    background: var(--success);
    color: var(--white);
}

.toast-error {
    background: var(--danger);
    color: var(--white);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
}

.toast-content i {
    font-size: 20px;
}

/* ---- MOBILE CART TABLE ADJUSTMENTS ---- */
.d-mobile {
    display: none;
}

@media (max-width: 768px) {
    .d-desktop {
        display: none;
    }

    .d-mobile {
        display: block;
    }

    .cart-table tr {
        display: block;
        padding: 16px;
        border-bottom: 2px solid var(--light);
        position: relative;
    }

    .cart-table td {
        display: block;
        padding: 4px 0;
        border: none;
        text-align: left;
    }

    .cart-table td:last-child {
        position: absolute;
        top: 16px;
        right: 16px;
    }

    .cart-item-info {
        margin-bottom: 8px;
    }

    .quantity-selector {
        display: inline-flex;
    }

    .toast-notification {
        top: auto;
        bottom: 20px;
        right: 15px;
        left: 15px;
        min-width: auto;
        max-width: none;
    }
}

/* ---- HERO WITH BACKGROUND IMAGE ---- */
.hero-bg {
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 100px 0;
}

.hero-bg::before,
.hero-bg::after {
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(27, 42, 74, 0.85) 0%, rgba(27, 42, 74, 0.7) 100%);
    z-index: 1;
}

.hero-bg .container {
    position: relative;
    z-index: 2;
}

.hero-bg .hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.hero-bg .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 107, 53, 0.2);
    color: var(--white);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.hero-bg h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-bg h1 span {
    color: var(--primary);
}

.hero-bg .hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- SECTION HEADER ROW ---- */
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    margin-bottom: 30px;
}

.section-header-row h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 0;
    position: relative;
    padding-left: 16px;
}

.section-header-row h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* ---- PRODUCT GRID 4 COLUMNS ---- */
.product-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ---- CATEGORY SECTIONS ---- */
.section-category {
    padding: 50px 0;
    border-bottom: 1px solid var(--light-gray);
}

.section-category:nth-child(even) {
    background: var(--light);
}

.section-category:nth-child(odd) {
    background: var(--white);
}

.section-category:last-of-type {
    border-bottom: none;
}

/* ---- HERO RESPONSIVE ---- */
@media (max-width: 992px) {
    .hero-bg {
        padding: 70px 0;
    }

    .hero-bg h1 {
        font-size: 32px;
    }

    .product-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-bg {
        padding: 50px 0;
    }

    .hero-bg h1 {
        font-size: 26px;
    }

    .hero-bg .hero-badge {
        font-size: 12px;
        padding: 6px 14px;
    }

    .hero-bg .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-bg .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .product-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .section-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .section-header-row h2 {
        font-size: 18px;
    }

    .section-category {
        padding: 35px 0;
    }
}

@media (max-width: 480px) {
    .hero-bg h1 {
        font-size: 22px;
    }

    .product-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* ---- PRODUCT GALLERY IMPROVED ---- */
.product-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.product-thumbs img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid var(--light-gray);
    transition: var(--transition);
    flex-shrink: 0;
}

.product-thumbs img.active,
.product-thumbs img:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

@media (max-width: 768px) {
    .product-thumbs img {
        width: 60px;
        height: 60px;
    }
}