/**
 * Nutfields E-commerce Platform
 * Main Stylesheet
 * 
 * Brand Colors (extracted from branding):
 * Primary Green: #8BC34A
 * Orange: #FF9800
 * Pink: #E91E63
 * Blue: #2196F3
 * Dark: #2C3E50
 * Light: #ECF0F1
 */

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8BC34A;
    --secondary-color: #FF9800;
    --accent-pink: #E91E63;
    --accent-blue: #2196F3;
    --dark-color: #2C3E50;
    --light-color: #ECF0F1;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #E0E0E0;
    --success-color: #4CAF50;
    --error-color: #F44336;
    --warning-color: #FFC107;
    --white: #FFFFFF;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 5px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

.main-content {
    min-height: 60vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #7CB342);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(139, 195, 74, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 195, 74, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), #F57C00);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

/* ============================================
   TOP BAR
   ============================================ */

.top-bar {
    background: var(--dark-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
    position: sticky;
    top: 0;
    z-index: 1001;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    gap: 20px;
}

.top-bar a {
    color: var(--white);
    opacity: 0.9;
}

.top-bar a:hover {
    opacity: 1;
    color: var(--primary-color);
}

/* ============================================
   HEADER
   ============================================ */

.main-header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 44px;
    z-index: 999;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo img {
    height: 60px;
    width: auto;
}

.header-search {
    flex: 1;
    max-width: 500px;
}

.header-search form {
    display: flex;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.header-search form:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.1);
}

.header-search input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    outline: none;
}

.header-search button {
    padding: 12px 20px;
    background: var(--primary-color);
    color: var(--white);
    transition: var(--transition);
}

.header-search button:hover {
    background: #7CB342;
}

.header-actions {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

.header-action {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.header-action:hover {
    background: var(--light-color);
}

.header-action i {
    font-size: 20px;
}

.cart-count {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--error-color);
    color: var(--white);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    padding: 10px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.main-nav {
    background: linear-gradient(135deg, var(--primary-color), #7CB342);
    box-shadow: var(--shadow);
    position: sticky;
    top: 148px;
    z-index: 998;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 5px;
    flex: 1;
}

.nav-social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-social-icons a {
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
    padding: 8px;
}

.nav-social-icons a:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

.nav-menu > li > a {
    display: block;
    padding: 15px 25px;
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
}

.nav-menu > li > a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1001;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

.dropdown-menu li a strong {
    color: var(--primary-color);
}

/* ============================================
   MOBILE MENU
   ============================================ */

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    transition: var(--transition);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--primary-color);
    color: var(--white);
}

.mobile-menu-header button {
    font-size: 24px;
    color: var(--white);
}

.mobile-nav-menu li a {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.mobile-nav-menu li a:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    height: 700px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
}

.hero-slider {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 20px;
    padding: 0 40px;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    color: var(--dark-color);
    padding: 20px;
    height: 100%;
    max-width: 600px;
}

.hero-image {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
    transition: transform 0.5s ease;
}

.hero-slide.active .hero-image img {
    animation: slideInRight 0.8s ease-out;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--dark-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    line-height: 1.6;
    color: var(--text-color);
    max-width: 90%;
    font-weight: 400;
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    color: var(--dark-color);
    padding: 15px 20px;
    font-size: 24px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    z-index: 2;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-nav:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
    border-color: var(--primary-color);
}

/* Hero Badge/Tag */
.hero-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
    animation: fadeIn 0.8s ease;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease 0.6s both;
}

.hero-slide.active .hero-content {
    animation: slideInLeft 0.8s ease-out;
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* ============================================
   CATEGORIES
   ============================================ */

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(139, 195, 74, 0.7), rgba(76, 175, 80, 0.7));
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    z-index: 1;
}

.category-card:hover::after {
    opacity: 1;
}

.category-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover .category-image img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.category-name {
    padding: 20px;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    color: var(--dark-color);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.category-card:hover .category-name {
    color: var(--primary-color);
}

.category-description {
    padding: 0 20px 20px;
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    position: relative;
    z-index: 2;
}

/* ============================================
   PRODUCTS
   ============================================ */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: var(--light-color);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    z-index: 1;
}

.product-badge.sale {
    background: var(--error-color);
}

.product-badge.new {
    background: var(--accent-blue);
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.product-category {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
}

.price-sale {
    font-size: 22px;
    font-weight: 700;
    color: var(--error-color);
}

.price-original {
    font-size: 16px;
    color: var(--text-light);
    text-decoration: line-through;
}

.btn-add-cart {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ============================================
   FEATURES
   ============================================ */

.features-section {
    background: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), #7CB342);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 32px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   EVENTS
   ============================================ */

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.event-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.event-image {
    height: 200px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-content {
    padding: 25px;
}

.event-date {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.event-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.event-description {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.event-location {
    color: var(--text-light);
    margin-bottom: 15px;
}

/* ============================================
   NEWSLETTER
   ============================================ */

.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), #7CB342);
    color: var(--white);
}

.newsletter-content h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.newsletter-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: var(--border-radius);
    outline: none;
}

.newsletter-form button {
    background: var(--secondary-color);
    padding: 15px 30px;
}

.newsletter-form button:hover {
    background: #F57C00;
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */

.product-detail-page {
    padding: 40px 0;
    overflow-x: hidden;
}

.breadcrumb {
    background: var(--light-color);
    padding: 15px 0;
    margin-bottom: 30px;
}

.breadcrumb a {
    color: var(--primary-color);
}

.breadcrumb .separator {
    margin: 0 10px;
    color: var(--text-light);
}

.breadcrumb .current {
    color: var(--text-color);
}

.product-detail-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 60px;
    align-items: flex-start;
}

.product-images {
    flex: 1 1 45%;
    min-width: 0;
}

.product-info {
    flex: 1 1 45%;
    min-width: 0;
}

.product-images .main-image {
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 20px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-images .main-image img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    background: var(--white);
}

.product-images .main-image .badge {
    position: absolute;
    top: 15px;
    padding: 8px 15px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 14px;
    color: var(--white);
    z-index: 10;
}

.product-images .main-image .badge-sale {
    left: 15px;
    background: var(--error-color);
}

.product-images .main-image .badge-featured {
    right: 15px;
    background: var(--primary-color);
}

.product-images .main-image .badge-out-of-stock {
    left: 15px;
    background: var(--text-light);
}

.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumbnail {
    width: 100%;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    height: 100px;
    object-fit: cover;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 14px;
}

.product-meta .category,
.product-meta .sku {
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-price {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.product-price .original-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 1.2rem;
}

.product-price .sale-price,
.product-price .current-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.product-stock {
    margin: 15px 0;
}

.in-stock {
    color: var(--success-color);
    font-weight: 600;
}

.out-of-stock {
    color: var(--error-color);
    font-weight: 600;
}

.product-description {
    margin: 30px 0;
    padding: 20px;
    background: var(--light-color);
    border-radius: var(--border-radius);
}

.product-description h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.product-description p {
    line-height: 1.8;
    color: var(--text-color);
}

.quantity-selector {
    margin: 30px 0;
}

.quantity-selector label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark-color);
}

.quantity-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-input input {
    width: 80px;
    text-align: center;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-add-to-cart {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 20px;
}

.product-features {
    margin: 30px 0;
    padding: 20px;
    background: var(--light-color);
    border-radius: var(--border-radius);
}

.product-features .feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 10px 0;
}

.product-features .feature:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.product-features .icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.product-features .feature > div {
    flex: 1;
}

.product-features .feature strong {
    display: block;
    margin-bottom: 3px;
    color: var(--dark-color);
}

.product-features .feature span {
    font-size: 14px;
    color: var(--text-light);
}

.product-share {
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-btn {
    padding: 8px 15px;
    border-radius: var(--border-radius);
    background: var(--light-color);
    transition: var(--transition);
}

.share-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.related-products {
    margin-top: 60px;
}

.related-products h2 {
    margin-bottom: 30px;
    text-align: center;
}

.related-products .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.related-products .product-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.related-products .product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.related-products .product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--light-color);
    display: block;
}

.related-products .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.related-products .product-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.related-products .product-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
    text-decoration: none;
}

.related-products .product-name a {
    color: var(--dark-color);
    text-decoration: none;
}

.related-products .product-name a:hover {
    color: var(--primary-color);
}

.related-products .product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.related-products .original-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 0.9rem;
}

.related-products .sale-price,
.related-products .current-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Fix product detail info section */
.product-detail-container .product-info {
    flex: 1 1 45%;
    min-width: 300px;
    display: block;
}

.product-detail-container .product-info > * {
    width: 100%;
}

/* ============================================
   CART PAGE
   ============================================ */

.cart-page {
    padding: 40px 0;
    min-height: 60vh;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.empty-cart {
    text-align: center;
    padding: 80px 20px;
}

.empty-cart-icon {
    font-size: 5rem;
    margin-bottom: 20px;
}

.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.cart-table {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.cart-header,
.cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 50px;
    gap: 20px;
    padding: 20px;
    align-items: center;
}

.cart-header {
    background: var(--light-color);
    font-weight: 600;
}

.cart-item {
    border-top: 1px solid var(--border-color);
}

.product-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.product-info .product-image {
    width: 80px;
    height: 80px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.product-info .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-details .product-name {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.product-sku {
    font-size: 0.9rem;
    color: var(--text-light);
}

.stock-warning {
    color: var(--warning-color);
    font-size: 0.9rem;
    display: block;
    margin-top: 5px;
}

.btn-remove {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--error-color);
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.btn-remove:hover {
    background: #d32f2f;
    transform: scale(1.1);
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.cart-buttons {
    display: flex;
    gap: 10px;
}

.cart-summary {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.cart-summary h3 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.summary-divider {
    border-top: 1px solid var(--border-color);
    margin: 15px 0;
}

.summary-total {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--dark-color);
}

.free-delivery {
    color: var(--success-color);
    font-weight: 600;
}

.delivery-notice {
    background: var(--light-color);
    padding: 10px;
    border-radius: var(--border-radius);
    margin: 10px 0;
    text-align: center;
}

.fulfillment-section {
    margin: 20px 0;
    padding: 15px 0;
}

.fulfillment-section h4 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    font-weight: 600;
}

.fulfillment-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.fulfillment-option:hover {
    border-color: var(--primary-color);
    background: var(--light-color);
}

.fulfillment-option.active {
    border-color: var(--success-color);
    background: rgba(76, 175, 80, 0.05);
}

.fulfillment-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.fulfillment-details {
    flex: 1;
}

.fulfillment-details strong {
    display: block;
    color: var(--dark-color);
    margin-bottom: 4px;
}

.fulfillment-details small {
    display: block;
    color: var(--text-light);
    font-size: 0.85rem;
}

.fulfillment-divider {
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
    margin: 15px 0;
    position: relative;
}

.fulfillment-divider::before,
.fulfillment-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border-color);
}

.fulfillment-divider::before {
    left: 0;
}

.fulfillment-divider::after {
    right: 0;
}

.store-locations {
    margin-top: 10px;
    padding-left: 40px;
}

.store-item {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.store-item:last-child {
    border-bottom: none;
}

.store-item strong {
    display: block;
    color: var(--dark-color);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.store-item small {
    display: block;
    color: var(--text-light);
    font-size: 0.8rem;
    line-height: 1.4;
}

.btn-checkout {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    font-size: 1.1rem;
}

.payment-methods {
    margin-top: 20px;
    text-align: center;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    color: var(--text-light);
}

/* Threshold Notice Styles */
.threshold-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.threshold-notice.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.threshold-notice.info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.threshold-notice i {
    font-size: 1.2rem;
}

.threshold-notice strong {
    font-weight: 600;
}

/* Threshold Success Message for Checkout */
.threshold-success-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    font-size: 0.95rem;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.threshold-success-message i {
    font-size: 1.3rem;
    color: #28a745;
}

.threshold-success-message strong {
    font-weight: 600;
}

/* Fulfillment Option with Radio */
.fulfillment-option {
    position: relative;
    cursor: pointer;
}

.fulfillment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.fulfillment-option input[type="radio"]:checked ~ .fulfillment-icon,
.fulfillment-option input[type="radio"]:checked ~ .fulfillment-details {
    opacity: 1;
}

.fulfillment-badge {
    background: var(--success-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Store Locations Section */
.store-locations-section {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: var(--border-radius);
}

.store-locations-section h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.store-locations {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.store-item {
    background: white;
    padding: 12px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.store-header {
    margin-bottom: 8px;
}

.store-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.store-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.store-info i {
    width: 16px;
    color: var(--primary-color);
}

/* ============================================
   CHECKOUT PAGE
   ============================================ */

.checkout-page {
    padding: 40px 0;
}

.checkout-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.form-section {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
}

.form-section h2 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.1);
}

.form-group input.error {
    border-color: var(--error-color);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.delivery-methods,
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.delivery-option,
.payment-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.delivery-option:hover,
.payment-option:hover {
    border-color: var(--primary-color);
    background: rgba(139, 195, 74, 0.05);
}

.delivery-option input[type="radio"],
.payment-option input[type="radio"] {
    width: auto;
}

.delivery-info,
.payment-info {
    flex: 1;
}

.delivery-info strong,
.payment-info strong {
    display: block;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.delivery-time {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 5px;
}

.delivery-cost {
    font-weight: bold;
    color: var(--primary-color);
}

.free-badge {
    background: var(--success-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Store Locations in Checkout */
.store-locations-checkout {
    margin-top: 20px;
}

.store-locations-checkout h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.store-card {
    margin-bottom: 15px;
}

.store-radio-label {
    display: block;
    cursor: pointer;
}

.store-radio-label input[type="radio"] {
    margin-right: 12px;
    cursor: pointer;
}

.store-card-content {
    display: inline-block;
    width: calc(100% - 30px);
    padding: 15px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.store-radio-label input[type="radio"]:checked + .store-card-content {
    border-color: var(--primary-color);
    background: rgba(139, 69, 19, 0.05);
}

.store-card-content h5 {
    font-size: 1rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.store-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.store-info-item:last-child {
    margin-bottom: 0;
}

.store-info-item i {
    width: 18px;
    color: var(--primary-color);
}

.form-help {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.order-summary {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.summary-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.item-info {
    display: flex;
    flex-direction: column;
}

.item-name {
    font-weight: 600;
}

.item-qty {
    font-size: 0.9rem;
    color: var(--text-light);
}

.btn-place-order {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

.security-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ============================================
   ORDER CONFIRMATION PAGE
   ============================================ */

.order-confirmation-page {
    padding: 40px 0;
}

.confirmation-header {
    text-align: center;
    margin-bottom: 50px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--success-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 20px;
}

.confirmation-header h1 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.order-number {
    font-size: 1.2rem;
    margin: 20px 0;
}

.confirmation-message {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.order-details-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.info-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 20px;
}

.info-card h2 {
    margin-bottom: 20px;
    color: var(--dark-color);
    font-size: 1.3rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .label {
    color: var(--text-light);
}

.info-row .value {
    font-weight: 600;
    text-align: right;
}

.status-badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-pending {
    background: var(--warning-color);
    color: var(--white);
}

.status-processing {
    background: var(--accent-blue);
    color: var(--white);
}

.status-shipped {
    background: var(--secondary-color);
    color: var(--white);
}

.status-delivered {
    background: var(--success-color);
    color: var(--white);
}

.status-cancelled {
    background: var(--error-color);
    color: var(--white);
}

.status-paid {
    background: var(--success-color);
    color: var(--white);
}

.order-items-list {
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.order-item:last-child {
    border-bottom: none;
}

.item-image {
    width: 100px;
    height: 100px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-details {
    flex: 1;
}

.item-details h3 {
    margin-bottom: 5px;
}

.item-sku,
.item-quantity,
.item-price {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 3px 0;
}

.item-subtotal {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--dark-color);
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.next-steps,
.support-info {
    background: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-top: 30px;
}

.next-steps h3,
.support-info h3 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.next-steps ol {
    list-style: decimal;
    padding-left: 20px;
}

.next-steps li {
    margin-bottom: 20px;
}

.next-steps strong {
    display: block;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.support-info ul {
    list-style: none;
}

.support-info li {
    padding: 8px 0;
}

/* ============================================
   ACCOUNT PAGES
   ============================================ */

.account-page {
    padding: 40px 0;
    min-height: 70vh;
}

.account-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}

.account-sidebar {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.user-profile {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.user-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
}

.user-profile h3 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.user-profile p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.account-nav {
    display: flex;
    flex-direction: column;
}

.account-nav .nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    margin-bottom: 5px;
}

.account-nav .nav-item:hover {
    background: var(--light-color);
}

.account-nav .nav-item.active {
    background: var(--primary-color);
    color: var(--white);
}

.account-content {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.stat-icon {
    font-size: 2.5rem;
}

.stat-info h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.stat-info p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0 20px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.orders-table table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th,
.orders-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.orders-table th {
    background: var(--light-color);
    font-weight: 600;
    color: var(--dark-color);
}

.orders-table tr:hover {
    background: var(--light-color);
}

.filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
    flex-wrap: wrap;
}

.filter-tabs .tab {
    padding: 12px 20px;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    color: var(--text-light);
}

.filter-tabs .tab:hover {
    color: var(--primary-color);
}

.filter-tabs .tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--light-color);
}

.order-info h3 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.order-date {
    font-size: 0.9rem;
    color: var(--text-light);
}

.order-status {
    display: flex;
    gap: 10px;
}

.order-body {
    padding: 20px;
}

.order-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
}

.detail-item .label {
    color: var(--text-light);
}

.order-footer {
    display: flex;
    gap: 10px;
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.quick-actions {
    margin-top: 40px;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.action-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.action-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.action-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.action-card h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.action-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-page {
    padding: 40px 0;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.contact-info h2 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-content h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.info-content p {
    color: var(--text-light);
    line-height: 1.8;
}

.social-links {
    margin-top: 40px;
}

.social-links h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    transition: var(--transition);
}

.social-icon.facebook {
    background: #1877F2;
}

.social-icon.twitter {
    background: #1DA1F2;
}

.social-icon.instagram {
    background: #E4405F;
}

.social-icon.linkedin {
    background: #0A66C2;
}

.social-icon:hover {
    transform: scale(1.1);
}

.contact-form-container {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
}

.contact-form-container h2 {
    margin-bottom: 30px;
    color: var(--dark-color);
}

.map-section {
    margin: 60px 0;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-section {
    margin: 60px 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 25px;
}

.faq-item h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   FOOTER
   ============================================ */

.main-footer {
    background: var(--dark-color);
    color: var(--white);
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: start;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-methods {
    display: flex;
    gap: 15px;
}

.payment-methods img {
    height: 30px;
    width: auto;
}

/* ============================================
   SCROLL TO TOP
   ============================================ */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #7CB342;
    transform: translateY(-5px);
}

/* ============================================
   WHATSAPP FLOAT BUTTON
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex; /* Will be rendered only if number exists due to PHP conditional */
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.7);
    }
}

/* ============================================
   FLOATING CART BUTTON (MOBILE)
   ============================================ */

.floating-cart {
    position: fixed;
    bottom: 170px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex; /* Always visible on all devices */
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 15px rgba(139, 195, 74, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: cartPulse 2s infinite;
}

.floating-cart:hover {
    background: #7CB342;
    transform: scale(1.1);
}

/* Adjust cart position when WhatsApp is not present */
.floating-cart.no-whatsapp {
    bottom: 100px;
}

.floating-cart-count {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--error-color);
    color: var(--white);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    border: 2px solid var(--white);
}

@keyframes cartPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(139, 195, 74, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(139, 195, 74, 0.7);
    }
}

/* ============================================
   KNC LOGO IN HEADER
   ============================================ */

.knc-logo {
    margin-left: 20px;
    flex-shrink: 0;
}

.knc-logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.knc-logo img:hover {
    transform: scale(1.05);
}

/* ============================================
   ALERTS & NOTIFICATIONS
   ============================================ */

.alert {
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    position: relative;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.alert-dismissible {
    padding-right: 50px;
}

.alert-close {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: inherit;
    opacity: 0.5;
    cursor: pointer;
    transition: var(--transition);
}

.alert-close:hover {
    opacity: 1;
}

.notification {
    position: fixed;
    top: 20px;
    right: -400px;
    max-width: 350px;
    padding: 15px 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    transition: var(--transition);
}

.notification.show {
    right: 20px;
}

.notification-success {
    border-left: 4px solid var(--success-color);
}

.notification-error {
    border-left: 4px solid var(--error-color);
}

.notification-info {
    border-left: 4px solid var(--accent-blue);
}