/* ============================================
   PRIVELEA - Premium Olive Oil E-Commerce
   style.css
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary: #6B8E23;
    --primary-dark: #556B2F;
    --primary-light: #8FBC3E;
    --secondary: #2C3E50;
    --secondary-light: #34495E;
    --accent: #D4A017;
    --accent-light: #E8C547;
    --bg-cream: #FFF8E7;
    --bg-light: #F5F1EB;
    --text-dark: #333;
    --text-light: #666;
    --white: #FFFFFF;
    --border: #E0D8CC;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.18);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: 0.3s ease;
    --font-primary: 'Playfair Display', Georgia, serif;
    --font-body: 'Open Sans', 'Segoe UI', Tahoma, sans-serif;
    --container-max: 1200px;
    --navbar-height: 72px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    color: var(--secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: var(--font-body);
    transition: all var(--transition);
}

input, textarea, select {
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    transition: border-color var(--transition);
    width: 100%;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(107, 142, 35, 0.15);
}

/* --- Utility --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 16px;
    font-size: 2.25rem;
    color: var(--secondary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 48px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all var(--transition);
    letter-spacing: 0.3px;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 142, 35, 0.35);
}

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

.btn-accent:hover {
    background-color: #C49215;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 160, 23, 0.35);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

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

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: 0 2px 20px var(--shadow);
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand img {
    height: 42px;
}

.navbar-brand .brand-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    transition: color var(--transition);
}

.navbar.scrolled .navbar-brand .brand-text {
    color: var(--secondary);
}

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

.nav-links a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.navbar.scrolled .nav-links a {
    color: var(--text-dark);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--primary);
}

/* Cart Icon */
.nav-cart {
    position: relative;
    cursor: pointer;
    padding: 8px;
    color: var(--white);
    transition: color var(--transition);
}

.navbar.scrolled .nav-cart {
    color: var(--text-dark);
}

.nav-cart svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all var(--transition);
}

.cart-badge.show {
    opacity: 1;
    transform: scale(1);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1010;
}

.hamburger span {
    width: 26px;
    height: 2px;
    background-color: var(--white);
    transition: all var(--transition);
    border-radius: 2px;
}

.navbar.scrolled .hamburger span {
    background-color: var(--text-dark);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    text-align: center;
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.55) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 32px;
    opacity: 0.95;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- About Section --- */
.about {
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px var(--shadow);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* --- Products Section --- */
.products {
    background-color: var(--bg-light);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px var(--shadow-hover);
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background-color: var(--bg-cream);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.product-volume {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.product-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

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

.product-price {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.product-price .old-price {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: line-through;
    font-weight: 400;
    display: block;
    font-family: var(--font-body);
}

.btn-add-cart {
    background: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.btn-add-cart svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

/* Quantity Stepper (on product card, optional) */
.qty-stepper {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.qty-stepper button {
    width: 36px;
    height: 36px;
    background: var(--bg-light);
    color: var(--text-dark);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-stepper button:hover {
    background: var(--primary);
    color: var(--white);
}

.qty-stepper input {
    width: 44px;
    height: 36px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-radius: 0;
    padding: 0;
    font-weight: 600;
    -moz-appearance: textfield;
}

.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* --- Benefits Section --- */
.benefits {
    background-color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 40px 28px;
    border-radius: var(--radius-lg);
    background: var(--bg-cream);
    transition: all var(--transition);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px var(--shadow);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px rgba(107, 142, 35, 0.3);
}

.benefit-icon svg,
.benefit-icon i {
    width: 36px;
    height: 36px;
    color: var(--white);
    font-size: 36px;
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- How to Order Section --- */
.how-to-order {
    background-color: var(--bg-light);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

/* Connecting line between steps */
.steps-container::before {
    content: '';
    position: absolute;
    top: 50px;
    left: calc(16.67% + 40px);
    right: calc(16.67% + 40px);
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    z-index: 0;
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--white);
    border: 4px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    box-shadow: 0 8px 24px var(--shadow);
    transition: all var(--transition);
}

.step-item:hover .step-number {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.08);
}

.step-item h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.step-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
}

/* --- Contact Section --- */
.contact {
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-form {
    background: var(--bg-cream);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

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

.contact-info {
    padding: 20px 0;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.info-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--primary);
    fill: none;
    stroke-width: 2;
}

.info-text h4 {
    font-size: 1rem;
    font-family: var(--font-body);
    margin-bottom: 4px;
    color: var(--secondary);
}

.info-text p,
.info-text a {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-text a:hover {
    color: var(--primary);
}

.contact-map {
    margin-top: 32px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
}

.contact-map iframe {
    width: 100%;
    height: 250px;
    border: 0;
}

/* --- Footer --- */
.footer {
    background-color: var(--secondary);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 16px;
    display: block;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    color: var(--white);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    font-size: 0.9rem;
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition);
}

.footer-col a:hover {
    color: var(--accent);
    padding-left: 6px;
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0;
}

/* --- Cart Sidebar --- */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100%;
    height: 100vh;
    background: var(--white);
    z-index: 2001;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}

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

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

.cart-header h3 {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-light);
}

.cart-close:hover {
    background: #eee;
    color: var(--text-dark);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.cart-empty svg {
    width: 64px;
    height: 64px;
    stroke: var(--border);
    fill: none;
    stroke-width: 1.5;
    margin-bottom: 16px;
}

.cart-empty p {
    font-size: 1rem;
    margin-bottom: 8px;
}

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

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

.cart-item-image {
    width: 72px;
    height: 72px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-light);
}

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

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-volume {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-qty {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
}

.cart-qty button {
    width: 30px;
    height: 30px;
    background: var(--bg-light);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
}

.cart-qty button:hover {
    background: var(--primary);
    color: var(--white);
}

.cart-qty span {
    width: 36px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.cart-item-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
    white-space: nowrap;
}

.cart-item-remove {
    background: none;
    color: #e74c3c;
    font-size: 0.8rem;
    padding: 4px;
    opacity: 0.6;
    margin-left: 8px;
    flex-shrink: 0;
}

.cart-item-remove:hover {
    opacity: 1;
}

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

.cart-totals {
    margin-bottom: 16px;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.95rem;
}

.cart-total-row.grand-total {
    font-weight: 700;
    font-size: 1.15rem;
    padding-top: 12px;
    border-top: 2px solid var(--border);
    margin-top: 8px;
    color: var(--secondary);
}

.btn-checkout {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
}

.btn-checkout:hover {
    background: var(--primary-dark);
}

.btn-checkout:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* --- Checkout Overlay --- */
.checkout-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    padding: 20px;
}

.checkout-overlay.open {
    opacity: 1;
    visibility: visible;
}

.checkout-modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.checkout-overlay.open .checkout-modal {
    transform: scale(1) translateY(0);
}

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

.checkout-header h2 {
    font-size: 1.5rem;
}

.checkout-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--text-light);
}

.checkout-close:hover {
    background: #eee;
}

.checkout-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.checkout-form-section {
    padding: 32px;
    border-right: 1px solid var(--border);
}

.checkout-form-section h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-family: var(--font-body);
}

.checkout-summary-section {
    padding: 32px;
    background: var(--bg-light);
}

.checkout-summary-section h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-family: var(--font-body);
}

.checkout-summary-items {
    margin-bottom: 20px;
}

.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
}

.checkout-summary-item:last-child {
    border-bottom: none;
}

.checkout-summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.1rem;
    padding-top: 16px;
    border-top: 2px solid var(--border);
    color: var(--secondary);
}

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

.btn-cancel {
    padding: 12px 24px;
    background: var(--bg-light);
    border-radius: var(--radius);
    color: var(--text-dark);
    font-weight: 600;
}

.btn-cancel:hover {
    background: #e0e0e0;
}

.btn-pay {
    padding: 12px 32px;
    background: var(--accent);
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    min-width: 160px;
}

.btn-pay:hover {
    background: #C49215;
}

.btn-pay:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* PayTR iframe container */
.paytr-container {
    padding: 32px;
    text-align: center;
}

.paytr-container iframe {
    width: 100%;
    min-height: 460px;
    border: none;
    border-radius: var(--radius);
}

/* Loading Spinner */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 16px;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.loading-spinner p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* --- Toast Notifications --- */
.toast-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 14px 24px;
    border-radius: var(--radius);
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    box-shadow: 0 4px 20px var(--shadow);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 280px;
    max-width: 400px;
    animation: toastIn 0.4s ease forwards;
    position: relative;
}

.toast.removing {
    animation: toastOut 0.3s ease forwards;
}

.toast-success {
    background: var(--primary);
}

.toast-error {
    background: #e74c3c;
}

.toast-info {
    background: var(--secondary);
}

.toast-warning {
    background: var(--accent);
}

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

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

/* --- WhatsApp Button --- */
.whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition);
    cursor: pointer;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
    width: 32px;
    height: 32px;
    fill: var(--white);
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 96px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    cursor: pointer;
    box-shadow: 0 4px 12px var(--shadow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
}

/* --- Scroll Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children animations */
.fade-in.visible:nth-child(1) { transition-delay: 0s; }
.fade-in.visible:nth-child(2) { transition-delay: 0.1s; }
.fade-in.visible:nth-child(3) { transition-delay: 0.2s; }
.fade-in.visible:nth-child(4) { transition-delay: 0.3s; }
.fade-in.visible:nth-child(5) { transition-delay: 0.4s; }
.fade-in.visible:nth-child(6) { transition-delay: 0.5s; }

/* --- Responsive: 1200px --- */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .footer-grid > :last-child {
        grid-column: 1 / -1;
    }
}

/* --- Responsive: 992px --- */
@media (max-width: 992px) {
    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.75rem;
    }

    .about-grid {
        gap: 40px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-container {
        gap: 30px;
    }

    .steps-container::before {
        left: calc(16.67% + 20px);
        right: calc(16.67% + 20px);
    }

    .checkout-body {
        grid-template-columns: 1fr;
    }

    .checkout-form-section {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
}

/* --- Responsive: 768px --- */
@media (max-width: 768px) {
    :root {
        --navbar-height: 64px;
    }

    /* Mobile Navigation */
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
        z-index: 1005;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links a {
        color: var(--text-dark);
        padding: 14px 0;
        font-size: 1.05rem;
        border-bottom: 1px solid var(--border);
        width: 100%;
    }

    .nav-links a::after {
        display: none;
    }

    .mobile-nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1004;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
    }

    .mobile-nav-overlay.open {
        opacity: 1;
        visibility: visible;
    }

    .section-padding {
        padding: 48px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    /* Hero */
    .hero {
        background-attachment: scroll;
    }

    .hero-content h1 {
        font-size: 2.1rem;
    }

    .hero-content p {
        font-size: 1.05rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-stats {
        justify-content: center;
    }

    /* Products */
    .product-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Benefits */
    .benefits-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Steps */
    .steps-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .steps-container::before {
        display: none;
    }

    .step-number {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    /* Cart */
    .cart-sidebar {
        width: 100%;
    }

    /* Checkout */
    .checkout-modal {
        max-height: 95vh;
    }

    .checkout-header {
        padding: 20px 24px;
    }

    .checkout-form-section,
    .checkout-summary-section {
        padding: 24px;
    }

    .checkout-footer {
        padding: 20px 24px;
        flex-direction: column;
    }

    .btn-pay, .btn-cancel {
        width: 100%;
        text-align: center;
    }

    /* Toast */
    .toast-container {
        right: 10px;
        left: 10px;
    }

    .toast {
        min-width: unset;
        max-width: unset;
        width: 100%;
    }

    /* WhatsApp */
    .whatsapp-btn {
        width: 52px;
        height: 52px;
        bottom: 16px;
        right: 16px;
    }

    .whatsapp-btn svg {
        width: 28px;
        height: 28px;
    }

    .back-to-top {
        bottom: 80px;
        right: 18px;
        width: 40px;
        height: 40px;
    }
}

/* --- Lazy load placeholder --- */
img[data-src] {
    opacity: 0;
    transition: opacity 0.4s ease;
}

img[data-src].loaded {
    opacity: 1;
}

/* --- Selection styling --- */
::selection {
    background: rgba(107, 142, 35, 0.2);
    color: var(--text-dark);
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* =============================================
   Language Switcher
   ============================================= */
.lang-switcher {
    position: relative;
    margin-right: 1rem;
    z-index: 100;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    padding: 0.4rem 0.75rem;
    color: inherit;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: inherit;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.scrolled .lang-btn {
    border-color: rgba(0,0,0,0.15);
    color: var(--text-dark, #333);
}

.lang-btn:hover {
    background: rgba(255,255,255,0.15);
}

.scrolled .lang-btn:hover {
    background: rgba(0,0,0,0.05);
}

.lang-btn svg {
    transition: transform 0.3s;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    min-width: 170px;
    z-index: 1001;
    overflow: hidden;
    animation: langDropIn 0.2s ease;
}

@keyframes langDropIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.lang-dropdown.open {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1.1rem;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: #f8f8f8;
}

.lang-option.active {
    background: linear-gradient(135deg, #f0f7e6, #e8f5d6);
    font-weight: 600;
    color: var(--primary, #6B8E23);
}

.lang-flag {
    font-size: 1.3rem;
    line-height: 1;
}

/* =============================================
   RTL (Right-to-Left) Support - Arabic
   ============================================= */
html[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

/* Navbar RTL */
html[dir="rtl"] .navbar .container {
    flex-direction: row-reverse;
}

html[dir="rtl"] .navbar-nav {
    flex-direction: row-reverse;
}

html[dir="rtl"] .navbar-actions {
    flex-direction: row-reverse;
}

html[dir="rtl"] .lang-switcher {
    margin-right: 0;
    margin-left: 1rem;
}

html[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}

/* Hero RTL */
html[dir="rtl"] .hero-content {
    text-align: right;
}

/* About section RTL */
html[dir="rtl"] .about-grid,
html[dir="rtl"] .about-section .container > div {
    direction: rtl;
}

html[dir="rtl"] .about-features li::before {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* Products RTL */
html[dir="rtl"] .product-card {
    text-align: right;
}

html[dir="rtl"] .product-price {
    direction: ltr;
    text-align: right;
}

html[dir="rtl"] .old-price {
    margin-left: 0;
    margin-right: 0.5rem;
}

/* Benefits RTL */
html[dir="rtl"] .benefit-card,
html[dir="rtl"] .benefits-card {
    text-align: right;
}

/* Steps/How to Order RTL */
html[dir="rtl"] .steps-container,
html[dir="rtl"] .how-to-steps {
    direction: rtl;
}

/* Contact RTL */
html[dir="rtl"] .contact-grid,
html[dir="rtl"] .contact-section .container > div {
    direction: rtl;
}

html[dir="rtl"] .contact-info-item {
    flex-direction: row-reverse;
    text-align: right;
}

html[dir="rtl"] .contact-info-item .icon {
    margin-right: 0;
    margin-left: 1rem;
}

html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select {
    text-align: right;
}

/* Cart Sidebar RTL */
html[dir="rtl"] .cart-sidebar {
    right: auto;
    left: 0;
    transform: translateX(-100%);
}

html[dir="rtl"] .cart-sidebar.open {
    transform: translateX(0);
}

html[dir="rtl"] .cart-item {
    flex-direction: row-reverse;
    text-align: right;
}

html[dir="rtl"] .cart-item-info {
    margin-left: 0;
    margin-right: 1rem;
}

html[dir="rtl"] .cart-item-remove {
    margin-left: 0;
    margin-right: auto;
}

html[dir="rtl"] .cart-totals {
    text-align: right;
}

html[dir="rtl"] .cart-total-row {
    flex-direction: row-reverse;
}

/* Checkout Modal RTL */
html[dir="rtl"] .checkout-modal-body,
html[dir="rtl"] .checkout-content {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .checkout-form label {
    text-align: right;
}

/* Footer RTL */
html[dir="rtl"] .footer-grid,
html[dir="rtl"] .footer .container > div {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .footer-social {
    justify-content: flex-start;
}

/* Toast RTL */
html[dir="rtl"] .toast-container {
    right: auto;
    left: 1.5rem;
}

html[dir="rtl"] .toast {
    flex-direction: row-reverse;
}

/* WhatsApp button RTL */
html[dir="rtl"] .whatsapp-float,
html[dir="rtl"] .whatsapp-btn {
    right: auto;
    left: 1.5rem;
}

/* Back to top RTL */
html[dir="rtl"] .back-to-top {
    right: auto;
    left: 1.5rem;
}

/* Mobile menu RTL */
@media (max-width: 768px) {
    html[dir="rtl"] .mobile-menu {
        left: auto;
        right: 0;
        transform: translateX(100%);
    }

    html[dir="rtl"] .mobile-menu.open {
        transform: translateX(0);
    }

    html[dir="rtl"] .hamburger {
        margin-left: 0;
        margin-right: auto;
    }
}

/* General RTL utilities */
html[dir="rtl"] .text-left { text-align: right; }
html[dir="rtl"] .text-right { text-align: left; }
html[dir="rtl"] .ml-auto { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .mr-auto { margin-right: 0; margin-left: auto; }
html[dir="rtl"] .pl-1 { padding-left: 0; padding-right: 0.5rem; }
html[dir="rtl"] .pr-1 { padding-right: 0; padding-left: 0.5rem; }
