/* Belminton Trade LP - Main Stylesheet */
:root {
    --primary: #0d6e6e;
    --primary-dark: #0a5555;
    --primary-light: #e6f4f4;
    --accent: #c9a227;
    --text: #1a2b3c;
    --text-muted: #5a6b7c;
    --bg: #ffffff;
    --bg-light: #f7fafb;
    --bg-dark: #0f2d3d;
    --border: #e2e8f0;
    --shadow: 0 4px 20px rgba(15, 45, 61, 0.08);
    --shadow-lg: 0 10px 40px rgba(15, 45, 61, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-bar .container,
.site-header .container {
    max-width: none;
    padding-left: 28px;
    padding-right: 28px;
}

/* Top Bar */
.top-bar {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.875rem;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar-left { display: flex; gap: 20px; flex-wrap: wrap; }

.top-bar-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.85);
}

.top-bar-link:hover { color: #fff; }

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 12px 0;
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    flex-shrink: 0;
}

.logo:hover { color: var(--text); }

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.logo-icon svg { width: 24px; height: 24px; }

.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { font-size: 1.125rem; font-weight: 700; }
.logo-text small { font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; }

.main-nav {
    flex: 1;
    min-width: 0;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2px;
    flex-wrap: nowrap;
    justify-content: center;
}

.main-nav a {
    display: block;
    padding: 8px 10px;
    color: var(--text);
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0;
}

.lang-switcher {
    position: relative;
}

.lang-switcher-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
}

.lang-switcher-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 160px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    list-style: none;
    z-index: 1200;
    padding: 6px 0;
}

.lang-switcher.open .lang-switcher-menu { display: block; }

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

.lang-switcher-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    color: var(--text);
    font-size: 0.875rem;
}

.lang-switcher-menu a:hover,
.lang-switcher-menu a.active {
    background: var(--primary-light);
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    font-family: var(--font);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

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

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

.btn-outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}

.btn-outline-white:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-sm { padding: 6px 16px; font-size: 0.875rem; }
.btn-block { width: 100%; }

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a4a5e 50%, var(--primary) 100%);
    color: #fff;
    padding: 80px 0;
    overflow: hidden;
    position: relative;
}

.hero-with-image {
    background: var(--bg-dark);
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 45, 61, 0.92) 0%, rgba(26, 74, 94, 0.85) 45%, rgba(13, 110, 110, 0.8) 100%);
    z-index: 0;
}

.hero-with-image .hero-inner { position: relative; z-index: 1; }

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

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content > p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-trust {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-item strong {
    display: block;
    font-size: 1.25rem;
}

.trust-item span {
    font-size: 0.875rem;
    opacity: 0.8;
}

.hero-image-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid rgba(255,255,255,0.2);
}

.hero-image-card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.hero-image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255,255,255,0.95);
    color: var(--primary-dark);
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
}

.hero-image-badge strong {
    display: block;
    font-size: 1.5rem;
    line-height: 1;
}

.hero-image-badge span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Sections */
.section { padding: 80px 0; }
.section.bg-light { background: var(--bg-light); }

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 16px;
    color: var(--text);
}

.section-header p { color: var(--text-muted); font-size: 1.0625rem; }
.section-cta { text-align: center; margin-top: 48px; }

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
}

.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 1.0625rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 0.9375rem; }

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.products-grid-sm { grid-template-columns: repeat(3, 1fr); }

.product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.product-card-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-light);
    display: block;
}

.product-card-image img,
.default-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.default-city-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.product-placeholder,
.city-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), #fff);
    color: var(--primary);
}

.product-placeholder svg,
.city-placeholder svg { width: 48px; height: 48px; opacity: 0.5; }

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

.product-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 8px;
}

.product-card h2,
.product-card h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-card h2 a,
.product-card h3 a { color: var(--text); }
.product-card h2 a:hover,
.product-card h3 a:hover { color: var(--primary); }

.product-card-body > p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 16px;
    flex: 1;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

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

.product-price-lg { font-size: 1.5rem; }
.product-unit { font-size: 0.875rem; color: var(--text-muted); }

/* Category Filter */
.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    justify-content: center;
}

.category-pill {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all var(--transition);
}

.category-pill:hover,
.category-pill.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Locations */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.locations-grid-full { grid-template-columns: repeat(3, 1fr); }

.location-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    color: var(--text);
    display: block;
}

.location-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    color: var(--text);
}

.location-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-light);
}

.location-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location-card-body { padding: 24px; }
.location-card h2, .location-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.location-county { font-size: 0.875rem; color: var(--primary); font-weight: 500; }
.location-card p { color: var(--text-muted); font-size: 0.9375rem; margin-top: 10px; }
.location-link { display: inline-block; margin-top: 12px; color: var(--primary); font-weight: 600; font-size: 0.9375rem; }

/* About Section */
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: block;
}

.about-image-accent {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 120px;
    height: 120px;
    background: var(--primary-light);
    border-radius: var(--radius);
    z-index: -1;
}

.about-content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text { color: var(--text-muted); margin-bottom: 24px; }
.about-text p { margin-bottom: 16px; }

.about-stats { display: contents; flex-direction: column; gap: 16px; }

.image-strip {
    padding: 0;
    background: var(--bg-dark);
}

.image-strip-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.image-strip-inner img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity var(--transition), transform var(--transition);
}

.image-strip-inner img:hover {
    opacity: 1;
    transform: scale(1.02);
}

.features-section {
    background: linear-gradient(180deg, #fff 0%, var(--bg-light) 100%);
}

.contact-side-image {
    margin-bottom: 24px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-side-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.stat-card {
    background: var(--primary-light);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}

.stat-card strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-card span { font-size: 0.875rem; color: var(--text-muted); }

/* CTA Section */
.cta-section {
    background-image: linear-gradient(135deg, rgba(13, 110, 110, 0.95), rgba(10, 85, 85, 0.92)), url('../images/hero-pharmacy-main.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.cta-inner h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 16px;
}

.cta-inner p {
    opacity: 0.9;
    margin-bottom: 32px;
    font-size: 1.0625rem;
}

.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Page Hero */
.page-hero {
    background: var(--bg-light);
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.page-hero-banner {
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 72px 0;
    border-bottom: none;
}

.page-hero-banner .page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 45, 61, 0.88) 0%, rgba(13, 110, 110, 0.82) 100%);
    z-index: 0;
}

.page-hero-banner .container {
    position: relative;
    z-index: 1;
}

.page-hero-banner h1 { color: #fff; }
.page-hero-banner p { color: rgba(255,255,255,0.9); }
.page-hero-banner .breadcrumb { color: rgba(255,255,255,0.7); }
.page-hero-banner .breadcrumb a { color: rgba(255,255,255,0.7); }
.page-hero-banner .breadcrumb a:hover { color: #fff; }
.page-hero-banner .location-hero-county { color: rgba(255,255,255,0.85); }

.page-hero-sm { padding: 48px 0; }
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 12px;
}

.page-hero p { color: #ffffff; font-size: 1.0625rem; max-width: 640px; }
.location-hero-county { color: var(--primary); font-weight: 500; margin-bottom: 8px; }

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

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

/* Product Detail */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.product-detail-image {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-light);
    border: 1px solid var(--border);
}

.product-detail-image img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-detail-image .product-placeholder { min-height: 400px; }

.product-detail-info h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 16px;
}

.product-detail-short {
    color: var(--text-muted);
    font-size: 1.0625rem;
    margin-bottom: 24px;
}

.product-detail-meta {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 32px;
}

.product-description {
    margin-bottom: 48px;
    padding: 32px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.content-block h2, .content-block h3 { margin: 24px 0 12px; font-family: var(--font-display); }
.content-block p { margin-bottom: 16px; color: var(--text-muted); }
.content-block ul, .content-block ol { margin: 0 0 16px 24px; color: var(--text-muted); }
.content-block li { margin-bottom: 8px; }

/* Order Form */
.order-form-section { margin-top: 48px; }

.order-form-card,
.contact-form-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    max-width: 800px;
}

.order-form-card h2,
.contact-form-card h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.order-form-card > p,
.contact-form-card > p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

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

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 0.9375rem;
}

.required { color: #e53e3e; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.9375rem;
    transition: border-color var(--transition);
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 110, 110, 0.1);
}

.form-note {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 16px;
    text-align: center;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.contact-info > p { color: var(--text-muted); margin-bottom: 32px; }

.contact-cards { display: flex; flex-direction: column; gap: 16px; }

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-card-icon svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 2px; }
.contact-card a { font-weight: 600; }

/* Location Detail */
.location-content-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.location-detail-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 48px;
    align-items: start;
}

.location-detail-sidebar {
    position: sticky;
    top: 100px;
}

.location-detail-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
    aspect-ratio: 4/3;
    background: var(--bg-light);
}

.location-detail-image img,
.location-detail-image .default-city-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.location-info-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.location-info-card h3 {
    font-size: 1.0625rem;
    margin-bottom: 16px;
    color: var(--text);
}

.location-info-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.location-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.location-info-list li:last-child { border-bottom: none; }

.location-info-list svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 2px;
}

.location-info-list a {
    color: var(--text);
    font-weight: 500;
    word-break: break-word;
}

.location-detail-main {
    min-width: 0;
}

.location-detail-content {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 48px;
    box-shadow: var(--shadow);
}

.location-detail-content h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text);
    margin: 32px 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-light);
}

.location-detail-content h2:first-child {
    margin-top: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.location-detail-content h3 {
    font-size: 1.125rem;
    color: var(--primary-dark);
    margin: 24px 0 12px;
}

.location-detail-content p {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 16px;
}

.location-detail-content ul,
.location-detail-content ol {
    margin: 0 0 20px;
    padding-left: 0;
    list-style: none;
}

.location-detail-content ul li,
.location-detail-content ol li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    color: var(--text-muted);
    line-height: 1.6;
}

.location-detail-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.related-products { margin-top: 60px; }
.related-products h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 24px;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h3, .footer-col h4 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 1rem;
}

.footer-col p { font-size: 0.9375rem; line-height: 1.7; }

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.9375rem; }
.footer-col a:hover { color: #fff; }

.footer-contact p { margin-bottom: 6px; font-size: 0.9375rem; }
.footer-contact a { color: rgba(255,255,255,0.9); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
}

/* Flash Messages */
.flash-message {
    padding: 14px 0;
    font-weight: 500;
    text-align: center;
}

.flash-success { background: #d4edda; color: #155724; }
.flash-error { background: #f8d7da; color: #721c24; }

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

.empty-state h1 { margin-bottom: 12px; color: var(--text); }

.page-content { max-width: 800px; }

/* SEO Content Sections */
.seo-section {
    padding: 60px 0;
}

.seo-content-section {
    
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px 56px;
    box-shadow: var(--shadow);
}

.seo-content-section h2 {
    font-family: var(--font-display);
    font-size: 1.625rem;
    color: var(--text);
    margin: 36px 0 16px;
    line-height: 1.3;
}

.seo-content-section h2:first-child {
    margin-top: 0;
}

.seo-content-section h3 {
    font-size: 1.1875rem;
    color: var(--primary-dark);
    margin: 28px 0 12px;
}

.seo-content-section p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 18px;
    font-size: 1rem;
}

.seo-content-section ul {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.seo-content-section ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-muted);
    line-height: 1.7;
}

.seo-content-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.seo-content-section a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.seo-content-section a:hover {
    color: var(--primary-dark);
}

.seo-content-section strong {
    color: var(--text);
}

.product-seo-content,
.location-seo-content {
    margin-top: 32px;
}

.product-seo-content .seo-content-section,
.location-seo-content .seo-content-section {
    padding: 40px 48px;
}

.location-seo-content .seo-content-section {
    margin-top: 32px;
}

@media (max-width: 1360px) {
    .logo-text small { display: none; }
}

@media (max-width: 1200px) {
    .header-cta { display: none; }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { order: -1; }
    .hero-image-card img { height: 280px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .locations-grid-full { grid-template-columns: repeat(2, 1fr); }
    .about-inner { grid-template-columns: 1fr; }
    .about-image { height: 320px; }
    .about-stats { flex-direction: row; flex-wrap: wrap; }
    .about-stats .stat-card { flex: 1; min-width: 140px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .product-detail-grid { grid-template-columns: 1fr; }
    .location-detail-grid { grid-template-columns: 1fr; gap: 32px; }
    .location-detail-sidebar { position: static; }
    .location-detail-content { padding: 28px 24px; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .mobile-menu-toggle { display: flex; }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }

    .main-nav.active { display: block; }
    .main-nav ul { flex-direction: column; padding: 16px; }
    .main-nav a { padding: 12px 16px; }

    .header-cta { display: none; }
    .header-actions { margin-left: 0; }

    .features-grid,
    .products-grid,
    .blog-grid,
    .locations-grid,
    .locations-grid-full { grid-template-columns: 1fr; }

    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero { padding: 48px 0; }
    .section { padding: 48px 0; }
    .order-form-card, .contact-form-card { padding: 24px; }
    .image-strip-inner { grid-template-columns: repeat(2, 1fr); }
    .image-strip-inner img { height: 140px; }
    .location-detail-content { padding: 24px 20px; }
    .seo-content-section { padding: 28px 24px; }
    .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .checkout-summary { order: -1; }
}

/* Cart & Checkout */
.header-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.header-cart:hover { color: var(--primary); border-color: var(--primary); }
.header-cart svg { width: 22px; height: 22px; }

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    background: var(--primary);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.cart-item-image img { width: 100px; height: 100px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-item-details h2 { font-size: 1.125rem; margin-bottom: 6px; }
.cart-item-details h2 a { color: var(--text); }
.cart-item-price { color: var(--text-muted); font-size: 0.9375rem; margin-bottom: 12px; }
.cart-item-qty-form { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cart-item-qty-form label { font-size: 0.875rem; font-weight: 500; }
.cart-item-total { text-align: right; }
.cart-item-total strong { display: block; font-size: 1.25rem; margin-bottom: 8px; }
.cart-remove-btn { background: none; border: none; color: #e53e3e; font-size: 0.875rem; cursor: pointer; text-decoration: underline; }

.cart-summary, .checkout-summary {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}

.cart-summary h2, .checkout-summary h2 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 20px; }
.cart-summary-row { display: flex; justify-content: space-between; padding: 10px 0; color: var(--text-muted); }
.cart-summary-total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 16px; color: var(--text); font-size: 1.125rem; }
.cart-trust-badges { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; font-size: 0.8125rem; color: var(--text-muted); }

.cart-empty { text-align: center; padding: 60px 20px; }
.cart-empty-icon svg { width: 64px; height: 64px; color: var(--text-muted); margin-bottom: 20px; }

.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.qty-btn { width: 36px; height: 36px; border: none; background: var(--bg-light); font-size: 1.125rem; cursor: pointer; color: var(--text); }
.qty-btn:hover { background: var(--border); }
.qty-input { width: 48px; height: 36px; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); text-align: center; font-size: 0.9375rem; -moz-appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-control-lg .qty-btn { width: 44px; height: 44px; }
.qty-control-lg .qty-input { width: 56px; height: 44px; }

.add-to-cart-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.product-card-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.product-card-actions form { flex: 1; }
.inline-cart-form { display: inline; }

.checkout-steps {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.checkout-step {
    padding: 8px 16px;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.checkout-step.active { background: var(--primary); color: #fff; }
.checkout-step.done { background: #d4edda; color: #155724; }

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

.checkout-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.checkout-card h2 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 20px; }

.payment-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; flex-wrap: wrap; gap: 12px; }
.card-brands { display: flex; gap: 8px; }
.card-brand { padding: 4px 10px; border-radius: 4px; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; }
.card-brand.visa { background: #1a1f71; color: #fff; }
.card-brand.mc { background: #eb001b; color: #fff; }
.card-brand.amex { background: #006fcf; color: #fff; }
.card-brand.btc { background: #f7931a; color: #fff; }
.card-brand.bank { background: #1a365d; color: #fff; }

.payment-method-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.payment-method-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
}

.payment-method-option.is-selected,
.payment-method-option:has(input:checked) {
    border-color: var(--primary);
    background: rgba(13, 110, 110, 0.06);
}

.alt-payment-box {
    background: var(--bg-light);
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
}

.alt-payment-box h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.alt-payment-box p { color: var(--text-muted); margin-bottom: 16px; }

.copy-field label { display: block; font-weight: 500; margin-bottom: 8px; }
.copy-field-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.copy-field code, #btcWalletConfirm {
    display: block;
    word-break: break-all;
    background: #fff;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: 0.875rem;
    flex: 1;
}

.bank-details-list { list-style: none; padding: 0; margin: 0 0 12px; }
.bank-details-list li { padding: 6px 0; border-bottom: 1px solid var(--border); }

@media (max-width: 768px) {
    .payment-method-options { grid-template-columns: 1fr; }
}

.payment-secure-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.checkout-payment-card { border-color: var(--primary); border-width: 2px; }
.checkout-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.9375rem; }
.checkout-item-info { display: flex; flex-direction: column; gap: 2px; }
.checkout-item-info span { font-size: 0.8125rem; color: var(--text-muted); }
.checkout-items { margin-bottom: 16px; }

.checkbox-label { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9375rem; cursor: pointer; }
.checkbox-label input { margin-top: 3px; }

.checkout-submit-btn { display: flex; align-items: center; justify-content: center; gap: 10px; }

.order-confirmation-section { padding: 60px 0; }
.order-confirmation-card {
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px;
    box-shadow: var(--shadow);
    text-align: center;
}

.order-confirmation-icon svg { width: 72px; height: 72px; color: #38a169; margin-bottom: 24px; }
.order-confirmation-card h1 { font-family: var(--font-display); margin-bottom: 12px; }
.order-confirmation-lead { color: var(--text-muted); font-size: 1.0625rem; margin-bottom: 32px; }

.order-confirmation-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
    text-align: left;
}

.order-detail-box {
    background: var(--bg-light);
    padding: 16px;
    border-radius: var(--radius-sm);
}

.order-detail-box span { display: block; font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 4px; }
.text-success { color: #38a169; }

.order-confirmation-items, .order-confirmation-shipping { text-align: left; margin-bottom: 32px; }
.order-confirmation-items h2, .order-confirmation-shipping h2 { font-size: 1.125rem; margin-bottom: 16px; }

.order-items-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.order-items-table th, .order-items-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.order-items-table tfoot td { font-weight: 500; }

.order-confirmation-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Product Reviews */
.product-rating-summary { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.product-rating-link { font-size: 0.9375rem; color: var(--primary); text-decoration: underline; }
.product-card-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 0.8125rem; color: var(--text-muted); }

.star-rating { display: inline-flex; align-items: center; gap: 2px; }
.star-rating .star { line-height: 1; }
.star-rating-md .star { font-size: 1.125rem; }
.star-rating-sm .star { font-size: 0.875rem; }
.star-rating-lg .star { font-size: 1.5rem; }
.star-full, .star-half { color: #f6ad55; }
.star-empty { color: #e2e8f0; }
.star-rating-value { margin-left: 6px; font-weight: 600; font-size: 0.9375rem; color: var(--text); }

.star-rating-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-rating-input input { display: none; }
.star-rating-input label { font-size: 1.75rem; color: #e2e8f0; cursor: pointer; transition: color 0.15s; }
.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label { color: #f6ad55; }

.product-reviews-section { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--border); }
.reviews-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.reviews-header h2 { font-family: var(--font-display); font-size: 1.75rem; margin: 0; }
.reviews-summary { display: flex; align-items: center; gap: 12px; color: var(--text-muted); }
.reviews-empty { color: var(--text-muted); margin-bottom: 24px; }

.reviews-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.review-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.review-featured { border-color: var(--primary); background: linear-gradient(135deg, #fff 0%, #f0fafa 100%); }
.review-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 12px; flex-wrap: wrap; }
.review-author strong { display: block; font-size: 1rem; }
.review-location { font-size: 0.8125rem; color: var(--text-muted); }
.review-meta { text-align: right; }
.review-meta time { display: block; font-size: 0.8125rem; color: var(--text-muted); margin-top: 4px; }
.review-title { font-size: 1.0625rem; margin-bottom: 8px; }
.review-text { color: var(--text-muted); line-height: 1.6; margin: 0; }

.review-form-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.review-form-card h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 8px; }
.review-form-card > p { color: var(--text-muted); margin-bottom: 24px; }

/* WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
}

.whatsapp-widget-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: #25d366;
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    animation: whatsapp-pulse 2.5s infinite;
}

.whatsapp-widget-btn:hover {
    background: #1ebe57;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}

.whatsapp-widget-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

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

.whatsapp-widget-text {
    white-space: nowrap;
}

@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45); }
    50% { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.7); }
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.blog-card-image {
    display: block;
    overflow: hidden;
    height: 200px;
    background: var(--bg-light);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.blog-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.blog-card-body h2,
.blog-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.1875rem;
    margin: 0 0 10px;
    line-height: 1.35;
}

.blog-card-body h2 a,
.blog-card-body h3 a { color: var(--text); }

.blog-card-body h2 a:hover,
.blog-card-body h3 a:hover { color: var(--primary); }

.blog-card-body > p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.blog-post-meta {
    color: rgba(255,255,255,0.9) !important;
    font-size: 0.9375rem;
}

.blog-article {
    max-width: 800px;
    margin: 0 auto;
}

.blog-article-image {
    margin: 0 0 32px;
}

.blog-article-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.blog-related-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: 28px;
}

@media (max-width: 640px) {
    .whatsapp-widget {
        right: 16px;
        bottom: 16px;
    }
    .whatsapp-widget-btn {
        padding: 14px;
        border-radius: 50%;
        width: 56px;
        height: 56px;
        justify-content: center;
    }
    .whatsapp-widget-text {
        display: none;
    }
}

html[dir="rtl"] {
    font-family: 'Noto Naskh Arabic', 'Inter', sans-serif;
}

html[dir="rtl"] body {
    text-align: right;
}

html[dir="rtl"] .header-inner,
html[dir="rtl"] .top-bar-inner,
html[dir="rtl"] .header-actions {
    flex-direction: row-reverse;
}

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

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