/* ============================================
   Beauty & Health Supplements - Main Styles
   ============================================ */

/* CSS Variables */
:root {
    --primary: #8B5E3C;
    --primary-dark: #6B4423;
    --primary-light: #C4A882;
    --secondary: #2D5A4A;
    --accent: #D4A574;
    --text: #2C2C2C;
    --text-light: #666666;
    --text-muted: #999999;
    --bg: #FFFFFF;
    --bg-light: #FAF8F5;
    --bg-warm: #F5F0EB;
    --border: #E8E0D8;
    --border-light: #F0EBE5;
    --success: #2D8A4E;
    --error: #C0392B;
    --warning: #E67E22;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-ar: 'Cairo', 'Noto Sans Arabic', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.lang-ar {
    font-family: var(--font-ar);
}

body.lang-ar h1, body.lang-ar h2, body.lang-ar h3, body.lang-ar h4 {
    font-family: var(--font-ar);
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font: inherit;
}

input, textarea, select {
    font: inherit;
    border: none;
    outline: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
}

body.lang-ar h1, body.lang-ar h2, body.lang-ar h3, body.lang-ar h4 {
    font-family: var(--font-ar);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

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

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

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid var(--border-light);
}

.header-top {
    background: var(--bg-warm);
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-light);
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact {
    display: flex;
    gap: 20px;
}

.header-link {
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.header-link:hover {
    color: var(--primary);
}

.header-lang {
    display: flex;
    gap: 12px;
}

.lang-switch {
    font-weight: 500;
    color: var(--primary);
    transition: var(--transition);
}

.lang-switch:hover {
    text-decoration: underline;
}

.header-main {
    padding: 16px 0;
}

.header-main-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon {
    color: var(--primary);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
}

.logo-tagline {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.3;
}

.main-nav {
    flex: 1;
}

.nav-list {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background: var(--bg-warm);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-toggle, .cart-link, .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    color: var(--text);
    transition: var(--transition);
    position: relative;
}

.search-toggle:hover, .cart-link:hover, .mobile-menu-toggle:hover {
    background: var(--bg-warm);
    color: var(--primary);
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle {
    display: none;
}

/* Search Overlay */
.search-overlay {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    box-shadow: var(--shadow);
}

.search-overlay.active {
    display: block;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-input {
    flex: 1;
    padding: 14px 20px;
    font-size: 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--primary);
}

.search-submit, .search-close {
    padding: 12px;
    border-radius: var(--radius-sm);
    color: var(--text);
    transition: var(--transition);
}

.search-submit:hover, .search-close:hover {
    background: var(--bg-warm);
    color: var(--primary);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 20px;
    box-shadow: var(--shadow);
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-link {
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-nav-link:hover {
    background: var(--bg-warm);
    color: var(--primary);
}

.mobile-lang {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-warm) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.5;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, var(--primary-light) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, var(--accent) 0%, transparent 40%);
}

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

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary);
    color: white;
    font-size: 13px;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 480px;
}

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

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

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
}

.hero-product-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    max-width: 300px;
}

.hero-product-icon {
    color: var(--primary);
    margin-bottom: 16px;
}

.hero-product-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.hero-product-image {
    width: 100%;
    height: 160px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--bg-white);
}

.hero-product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.hero-product-placeholder {
    color: var(--primary);
}

.hero-product-card h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.hero-product-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 12px;
}

.hero-product-price {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

/* Trust Section */
.trust-section {
    padding: 60px 0;
    background: var(--bg);
}

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

.trust-item {
    text-align: center;
    padding: 24px;
}

.trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--bg-warm);
    border-radius: var(--radius);
    color: var(--primary);
    margin-bottom: 16px;
}

.trust-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.trust-item p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

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

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.categories-grid--large {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-card {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.category-image {
    aspect-ratio: 1;
    overflow: hidden;
}

.category-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.category-info {
    padding: 16px;
    text-align: center;
}

.category-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.category-count {
    font-size: 13px;
    color: var(--text-muted);
}

.category-card--large .category-image {
    aspect-ratio: 16/10;
}

.category-card--large .category-info {
    padding: 20px;
    text-align: left;
}

.category-card--large .category-name {
    font-size: 18px;
}

.category-card--large .category-description {
    font-size: 14px;
    color: var(--text-muted);
    margin: 8px 0;
    line-height: 1.5;
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: var(--bg);
}

.products-section--alt {
    background: var(--bg-light);
}

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

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

/* Product Card */
.product-card {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.product-link {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

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

.product-discount {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    background: var(--error);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 100px;
}

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

.product-category {
    font-size: 12px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-description {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.5;
    flex: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
}

.price-current {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.price-old {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #F5A623;
    font-size: 13px;
}

.rating-count {
    color: var(--text-muted);
}

.product-add-cart {
    margin: 0 16px 16px;
    width: calc(100% - 32px);
}

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

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

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

.experts-grid--page {
    grid-template-columns: 1fr;
    gap: 32px;
}

.expert-card {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.expert-card:hover {
    box-shadow: var(--shadow);
}

.expert-image {
    aspect-ratio: 1;
    overflow: hidden;
}

.expert-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.expert-info {
    padding: 20px;
}

.expert-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.expert-title {
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 12px;
}

.expert-experience {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.expert-card--large .expert-image {
    aspect-ratio: 1;
}

.expert-card--large .expert-info {
    padding: 24px;
}

.expert-bio {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 12px 0;
}

.expert-credentials {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 16px;
}

.expert-stats {
    display: flex;
    gap: 24px;
    margin: 16px 0;
    padding: 16px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

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

.expert-stat .stat-number {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.expert-stat .stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

.expert-specialties {
    margin-top: 12px;
}

.specialty-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-warm);
    border-radius: 100px;
    font-size: 12px;
    color: var(--text-light);
    margin: 4px;
}

.expert-card--page {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
}

.expert-card--page .expert-image {
    aspect-ratio: auto;
}

.expert-card--page .expert-info {
    padding: 32px;
}

.expert-card--page .expert-name {
    font-size: 24px;
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
    background: var(--bg);
}

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

.blog-grid--list {
    grid-template-columns: 1fr;
    gap: 24px;
}

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

.blog-card {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.blog-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.blog-card--horizontal {
    display: grid;
    grid-template-columns: 300px 1fr;
}

.blog-image {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.blog-card--horizontal .blog-image {
    aspect-ratio: auto;
}

.blog-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.blog-content {
    padding: 20px;
}

.blog-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.blog-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-title a:hover {
    color: var(--primary);
}

.blog-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    transition: var(--transition);
}

.blog-read-more:hover {
    gap: 10px;
}

/* Featured Post */
.blog-featured {
    padding: 40px 0 60px;
}

.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.featured-image {
    display: block;
    aspect-ratio: 16/10;
}

.featured-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.featured-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-label {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 16px;
    align-self: flex-start;
}

.featured-content h2 {
    font-size: 28px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.featured-content h2 a:hover {
    color: var(--primary);
}

.featured-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.featured-meta {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.cta-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.cta-input {
    flex: 1;
    padding: 14px 20px;
    border-radius: var(--radius);
    border: 2px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 15px;
}

.cta-input::placeholder {
    color: rgba(255,255,255,0.6);
}

.cta-input:focus {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.15);
}

/* Footer */
.site-footer {
    margin-top: auto;
    background: var(--bg-warm);
    border-top: 1px solid var(--border);
}

.footer-main {
    padding: 60px 0 40px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--primary);
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
}

.footer-about {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text);
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    font-size: 14px;
    color: var(--text-light);
    transition: var(--transition);
}

.footer-list a:hover {
    color: var(--primary);
}

.footer-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.footer-list svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid var(--border);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 13px;
    color: var(--text-muted);
}

.trust-badges {
    display: flex;
    gap: 20px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Page Header */
.page-header {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-warm) 100%);
}

.page-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.breadcrumbs ol {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: var(--text-muted);
}

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

.breadcrumbs [aria-current] {
    color: var(--text);
}

/* Page Content */
.page-content {
    padding: 60px 0;
}

.rich-content {
    max-width: 800px;
    margin: 0 auto;
}

.rich-content h2 {
    font-size: 28px;
    margin: 40px 0 20px;
    color: var(--primary-dark);
}

.rich-content h3 {
    font-size: 22px;
    margin: 32px 0 16px;
    color: var(--text);
}

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

.rich-content ul, .rich-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

body.lang-ar .rich-content ul,
body.lang-ar .rich-content ol {
    padding-left: 0;
    padding-right: 24px;
}

.rich-content li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 8px;
    list-style: disc;
}

.rich-content ol li {
    list-style: decimal;
}

/* Catalog */
.catalog-categories {
    padding: 60px 0;
}

.catalog-featured {
    padding: 40px 0 80px;
    background: var(--bg-light);
}

.catalog-products {
    padding: 60px 0;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results h2 {
    font-size: 24px;
    margin-bottom: 12px;
}

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

/* Search */
.search-results {
    padding: 40px 0 80px;
}

.search-info {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.search-query {
    font-size: 16px;
    margin-bottom: 8px;
}

.search-count {
    font-size: 14px;
    color: var(--text-muted);
}

.no-results-icon {
    color: var(--border);
    margin-bottom: 20px;
}

/* Product Detail */
.product-detail {
    padding: 40px 0 60px;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    min-width: 0;
}

.product-media {
    position: sticky;
    top: 120px;
    max-width: 100%;
    overflow: hidden;
}

.product-main-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    margin-bottom: 20px;
}

.product-image-placeholder {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.product-badge--large {
    font-size: 14px;
    padding: 6px 16px;
}

/* Product Gallery */
.product-gallery {
    margin-bottom: 20px;
    max-width: 100%;
}

.product-gallery-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    background: var(--bg-white);
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.product-gallery-main img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.product-gallery-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

.product-gallery-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.product-gallery-slide img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    z-index: 2;
}

.gallery-nav:hover {
    background: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
}

.gallery-prev {
    left: 12px;
}

.gallery-next {
    right: 12px;
}

.product-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
}

.gallery-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    background: none;
    transition: border-color 0.2s ease;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--primary);
}

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

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
}

.trust-badge-item svg {
    color: var(--primary);
}

.product-info-detail {
    padding-top: 20px;
}

.product-info-detail .product-category {
    font-size: 13px;
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    margin: 12px 0 16px;
    color: var(--primary-dark);
    line-height: 1.3;
}

.product-rating-large {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.stars {
    display: flex;
    gap: 4px;
    color: #F5A623;
}

.rating-value {
    font-weight: 600;
    color: var(--text);
}

.rating-count {
    color: var(--text-muted);
    font-size: 14px;
}

.product-short-desc {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
}

.product-price-large {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.product-price-large .price-current {
    font-size: 32px;
    width: 100%;
}

.product-price-large .price-old {
    font-size: 20px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-save {
    padding: 4px 12px;
    background: var(--success);
    color: white;
    font-size: 13px;
    font-weight: 600;
    border-radius: 100px;
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.meta-item {
    display: flex;
    gap: 8px;
    font-size: 14px;
}

.meta-label {
    color: var(--text-muted);
}

.meta-value {
    color: var(--text);
    font-weight: 500;
}

.meta-value.in-stock {
    color: var(--success);
}

.meta-value.out-of-stock {
    color: var(--error);
}

.product-actions {
    display: flex;
    gap: 16px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.qty-btn {
    width: 44px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--bg-warm);
}

.qty-input {
    width: 60px;
    height: 48px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    border-left: 2px solid var(--border);
    border-right: 2px solid var(--border);
}

/* Quick Order */
.quick-order-card {
    margin-top: 24px;
    padding: 24px 0;
    border-top: 2px solid var(--border-light);
}

.quick-order-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.quick-order-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.quick-order-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-order-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.quick-order-field {
    display: flex;
    flex-direction: column;
}

.quick-order-input {
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    background: var(--bg-white);
    transition: border-color 0.2s ease;
}

.quick-order-input:focus {
    outline: none;
    border-color: var(--primary);
}

.quick-order-input::placeholder {
    color: var(--text-muted);
}

.quick-order-btn {
    width: 100%;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 24px;
    box-shadow: 0 4px 12px rgba(139, 90, 43, 0.3);
    transition: all 0.2s ease;
}

.quick-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 90, 43, 0.4);
}

.quick-order-message {
    margin-top: 8px;
    padding: 10px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.quick-order-message.success {
    background: #d4edda;
    color: #155724;
}

.quick-order-message.error {
    background: #f8d7da;
    color: #721c24;
}

/* Product Tabs */
.product-tabs-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.tabs {
    max-width: 900px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 32px;
    overflow-x: auto;
    overflow-y: hidden;
}

.tab-btn {
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* Reviews */
.reviews-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.reviews-summary {
    padding: 24px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}

.rating-average {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 20px;
}

.avg-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-dark);
    display: block;
}

.avg-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    color: #F5A623;
    margin: 8px 0;
}

.avg-count {
    font-size: 14px;
    color: var(--text-muted);
}

.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.breakdown-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.breakdown-star {
    width: 16px;
    text-align: center;
    font-weight: 600;
}

.breakdown-bar {
    flex: 1;
    height: 6px;
    background: var(--border-light);
    border-radius: 100px;
    overflow: hidden;
}

.breakdown-fill {
    height: 100%;
    background: #F5A623;
    border-radius: 100px;
    transition: width 0.5s ease;
}

.breakdown-count {
    width: 24px;
    text-align: right;
    color: var(--text-muted);
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.review-item {
    padding: 24px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}

.reviewer-details {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-weight: 600;
    font-size: 14px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--success);
}

.review-date {
    font-size: 13px;
    color: var(--text-muted);
}

.review-rating {
    display: flex;
    gap: 4px;
    color: #F5A623;
    margin-bottom: 8px;
}

.review-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.review-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

.no-reviews {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}

/* Expert Opinion */
.expert-opinion-section {
    padding: 60px 0;
}

.expert-opinion-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.expert-opinion-header {
    padding: 20px 24px;
    background: var(--bg-warm);
    border-bottom: 1px solid var(--border-light);
}

.expert-opinion-header h2 {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.expert-opinion-content {
    padding: 24px;
}

.expert-profile {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.expert-avatar-large {
    flex-shrink: 0;
}

.expert-avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.expert-info h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.expert-info .expert-title {
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 4px;
}

.expert-info .expert-credentials {
    font-size: 13px;
    color: var(--text-muted);
}

.expert-review-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
}

/* Product Countries */
.product-countries-section {
    padding: 40px 0;
    background: var(--bg-light);
}

.product-countries-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px;
    background: var(--bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.product-countries-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.product-countries-title svg {
    color: var(--primary);
}

.product-countries-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-country-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    transition: all 0.2s ease;
}

.product-country-link:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.product-country-flag {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-light);
    padding: 2px 6px;
    border-radius: 4px;
}

.product-country-link:hover .product-country-flag {
    color: white;
    background: rgba(255,255,255,0.2);
}

/* Related Products */
.related-products-section {
    padding: 60px 0;
    background: var(--bg-light);
}

/* Cart Page */
.cart-page {
    padding: 40px 0 80px;
}

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

.cart-items-wrapper {
    min-width: 0;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto auto auto;
    gap: 16px;
    align-items: center;
    padding: 20px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    min-width: 0;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.cart-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--border);
}

.cart-item-info {
    min-width: 0;
}

.cart-item-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: break-word;
}

.cart-item-name a {
    color: var(--text-dark);
}

.cart-item-name a:hover {
    color: var(--primary);
}

.cart-item-category {
    font-size: 13px;
    color: var(--text-muted);
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 4px;
}

.cart-item-qty .qty-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-white);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
}

.cart-item-qty .qty-btn:hover {
    background: var(--bg-light);
    border-color: var(--primary);
}

.cart-item-qty .qty-value {
    min-width: 32px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.cart-item-price {
    text-align: right;
    min-width: 0;
    max-width: 140px;
    word-break: break-word;
}

.item-total {
    display: block;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.item-old-price {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 2px;
}

.cart-item-remove {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--text-muted);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
}

.cart-item-remove:hover {
    background: #fee2e2;
    color: #dc2626;
}

.cart-summary {
    position: sticky;
    top: 120px;
    padding: 24px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.cart-summary h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--text-light);
}

.summary-row.summary-total {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid var(--border-light);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.summary-row.summary-total span:last-child {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 22px;
}

.btn-checkout {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 12px;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    color: var(--text-muted);
}

.cart-empty svg {
    margin-bottom: 24px;
    color: var(--border);
}

.cart-empty h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.cart-empty p {
    font-size: 16px;
    margin-bottom: 24px;
    max-width: 400px;
}

/* Contact Page */
.contact-section {
    padding: 60px 0 80px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 24px;
    margin-bottom: 32px;
    color: var(--primary-dark);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-method {
    display: flex;
    gap: 16px;
}

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

.contact-details h4 {
    font-size: 15px;
    margin-bottom: 6px;
}

.contact-details p {
    font-size: 14px;
    color: var(--text-light);
}

.contact-response {
    padding: 16px;
    background: var(--bg-warm);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text-light);
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.form-input, .form-textarea {
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: var(--transition);
    background: var(--bg);
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--primary);
}

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

/* Blog Post Page */
.blog-post {
    padding: 40px 0 60px;
}

.blog-post-header {
    max-width: 800px;
    margin: 0 auto 40px;
}

.blog-post-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 24px;
}

.blog-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 14px;
}

.author-title {
    font-size: 13px;
    color: var(--text-muted);
}

.post-dates {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: var(--text-muted);
}

.medical-review-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 8px 16px;
    background: #E8F5E9;
    color: var(--success);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
}

.blog-post-image {
    max-width: 900px;
    margin: 0 auto 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.blog-post-placeholder {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

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

.blog-post-content .rich-content {
    max-width: 100%;
}

/* Author Box */
.author-box {
    max-width: 800px;
    margin: 60px auto 0;
    padding: 32px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    display: flex;
    gap: 20px;
}

.author-box-avatar {
    flex-shrink: 0;
}

.author-box-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.author-box-info h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.author-box-title {
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 8px;
}

.author-box-bio {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 8px;
}

.author-box-credentials {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

/* Related Posts */
.related-posts-section {
    padding: 60px 0;
    background: var(--bg-light);
}

/* Error Page */
.error-page {
    padding: 100px 0;
    text-align: center;
}

.error-content {
    max-width: 500px;
    margin: 0 auto;
}

.error-icon {
    color: var(--border);
    margin-bottom: 20px;
}

.error-code {
    font-family: var(--font-heading);
    font-size: 120px;
    font-weight: 700;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 16px;
}

.error-title {
    font-size: 28px;
    margin-bottom: 12px;
}

.error-text {
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* Admin Styles */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
}

.login-wrapper {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.login-box {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.login-logo {
    text-align: center;
    margin-bottom: 32px;
    color: var(--primary);
}

.login-logo h1 {
    font-size: 24px;
    margin-top: 12px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: 20px;
}

.alert-error {
    background: #FDE8E8;
    color: var(--error);
    border: 1px solid #F5C6CB;
}

.admin-panel {
    min-height: 100vh;
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--bg);
    border-right: 1px solid var(--border);
    padding: 24px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-item {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
}

.nav-item:hover, .nav-item.active {
    background: var(--bg-warm);
    color: var(--primary);
}

.admin-main {
    flex: 1;
    margin-left: 260px;
    padding: 24px 32px;
}

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

.admin-header h1 {
    font-size: 28px;
}

.admin-actions {
    display: flex;
    gap: 12px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

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

.stat-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-warm);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

.quick-actions {
    display: flex;
    gap: 16px;
}

.quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    flex: 1;
    text-align: center;
    color: var(--primary);
    font-weight: 500;
}

.quick-action:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.quick-action svg {
    color: var(--primary);
}

.data-table-wrapper {
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.data-table th {
    padding: 14px 20px;
    text-align: left;
    font-weight: 600;
    color: var(--text);
    background: var(--bg-warm);
    border-bottom: 1px solid var(--border);
}

.data-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-light);
}

.data-table tr:hover td {
    background: var(--bg-light);
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success {
    background: #E8F5E9;
    color: var(--success);
}

.badge-danger {
    background: #FDE8E8;
    color: var(--error);
}

.admin-form {
    max-width: 900px;
}

.form-sections {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-section {
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    padding: 24px;
}

.form-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

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

.form-row:last-child {
    margin-bottom: 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.form-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.btn-block {
    width: 100%;
}

.btn-text {
    color: var(--text-muted);
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin: 0 auto 32px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .experts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-layout {
        grid-template-columns: 1fr;
        min-width: 0;
        gap: 20px;
    }
    
    .product-media {
        position: static;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .featured-post {
        grid-template-columns: 1fr;
    }
    
    .blog-card--horizontal {
        grid-template-columns: 1fr;
    }
    
    .reviews-layout {
        grid-template-columns: 1fr;
    }
    
    .expert-card--page {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1100px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
    
    .cart-summary {
        position: static;
        order: -1;
    }
    
    .cart-item {
        gap: 12px;
        padding: 16px;
    }
    
    .cart-item-image {
        width: 64px;
        height: 64px;
    }
    
    .cart-item-qty .qty-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .cart-item-price {
        max-width: 120px;
    }
    
    .item-total {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    
    .cart-summary {
        position: static;
        order: -1;
        margin-bottom: 24px;
    }
    
    .cart-item {
        grid-template-columns: 60px 1fr auto;
        grid-template-areas:
            "img info remove"
            "img price price"
            "img qty qty";
        gap: 12px;
        padding: 16px;
    }
    
    .cart-item-image {
        grid-area: img;
        width: 60px;
        height: 60px;
    }
    
    .cart-item-info {
        grid-area: info;
    }
    
    .cart-item-remove {
        grid-area: remove;
        justify-self: end;
    }
    
    .cart-item-price {
        grid-area: price;
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .item-total {
        display: block;
        font-size: 16px;
    }
    
    .item-old-price {
        display: block;
        margin-bottom: 0;
    }
    
    .cart-item-qty {
        grid-area: qty;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-lang {
        display: none;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 12px;
    }
    
    .product-trust-badges {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .page-header {
        padding: 20px 0;
    }
    
    .product-tabs-section,
    .expert-opinion-section,
    .related-products-section {
        padding: 40px 0;
    }
    
    .product-countries-section {
        padding: 24px 0;
    }
    
    .product-detail {
        padding: 24px 0 40px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid, .categories-grid--large {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid, .products-grid--small {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .experts-grid, .experts-grid--large {
        grid-template-columns: 1fr;
    }
    
    .blog-grid, .blog-grid--small {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .cta-form {
        flex-direction: column;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .product-price-large .price-current {
        font-size: 24px;
    }
    
    .tab-buttons {
        overflow-x: auto;
    overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        flex-wrap: wrap;
        border-bottom: none;
        gap: 8px;
    }
    
    .tab-btn {
        border: 2px solid var(--border);
        border-radius: var(--radius);
        margin-bottom: 0;
    }
    
    .tab-btn.active {
        border-color: var(--primary);
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .blog-post-title {
        font-size: 28px;
    }
    
    .admin-sidebar {
        display: none;
    }
    
    .admin-main {
        margin-left: 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-actions {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .quick-order-fields {
        grid-template-columns: 1fr;
    }
    
    /* FAQ */
    .faq-question {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .faq-answer-inner {
        padding: 0 20px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .product-gallery-main {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .categories-grid, .products-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .quantity-selector {
        justify-content: center;
    }
    
    .gallery-nav {
        width: 36px;
        height: 36px;
    }
    
    .gallery-prev {
        left: 8px;
    }
    
    .gallery-next {
        right: 8px;
    }
    
    .gallery-thumb {
        width: 60px;
        height: 60px;
    }
    
    .product-countries-list {
        justify-content: center;
    }
    
    .product-gallery-main {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .product-gallery-thumbs {
        justify-content: center;
    }
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-size: 17px;
    font-weight: 600;
    color: var(--primary-dark);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    line-height: 1.5;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-top: -4px;
}

.faq-item.open .faq-question::after {
    transform: rotate(-135deg);
    margin-top: 4px;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
}

/* RTL Support */
body.rtl {
    direction: rtl;
}

body.rtl .header-contact,
body.rtl .header-actions,
body.rtl .hero-actions,
body.rtl .hero-stats,
body.rtl .product-footer,
body.rtl .product-rating-large,
body.rtl .product-actions,
body.rtl .product-meta,
body.rtl .review-header,
body.rtl .contact-method,
body.rtl .expert-profile,
body.rtl .author-box {
    flex-direction: row-reverse;
}

body.rtl .nav-list,
body.rtl .trust-grid,
body.rtl .categories-grid,
body.rtl .products-grid,
body.rtl .experts-grid,
body.rtl .blog-grid,
body.rtl .footer-grid,
body.rtl .stats-grid,
body.rtl .quick-actions,
body.rtl .form-row,
body.rtl .form-actions,
body.rtl .admin-header,
body.rtl .admin-actions {
    direction: rtl;
}

body.rtl .section-header,
body.rtl .hero-content,
body.rtl .error-content,
body.rtl .cta-content,
body.rtl .no-results,
body.rtl .reviews-summary {
    text-align: right;
}

body.rtl .breadcrumbs ol {
    flex-direction: row-reverse;
}

body.rtl .faq-question {
    text-align: right;
}

body.rtl .faq-question::after {
    margin-right: auto;
    margin-left: 0;
}

body.rtl .product-badge {
    left: auto;
    right: 12px;
}

body.rtl .product-discount {
    right: auto;
    left: 12px;
}

body.rtl .featured-content .featured-label {
    align-self: flex-end;
}

body.rtl .search-form {
    flex-direction: row-reverse;
}

/* Extra small devices (320px - 360px) */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }
    
    .breadcrumbs li {
        font-size: 12px;
    }
    
    /* FAQ */
    .faq-question {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .faq-answer-inner {
        padding: 0 16px 14px;
        font-size: 13px;
    }
    
    /* Product page */
    .product-title {
        font-size: 22px;
    }
    
    .product-rating-large {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .product-price-large {
        flex-wrap: wrap;
        gap: 4px 8px;
        padding: 12px;
    }
    
    .product-price-large .price-current {
        font-size: 24px;
        width: 100%;
    }
    
    .product-price-large .price-old {
        font-size: 16px;
    }
    
    .product-meta {
        padding: 12px;
    }
    
    .product-actions {
        gap: 12px;
    }
    
    .product-actions .btn {
        font-size: 14px;
        padding: 12px 16px;
    }
    
    .product-trust-badges {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .trust-badge-item {
        font-size: 12px;
        padding: 10px;
    }
    
    /* Quick order */
    .quick-order-card {
        padding: 16px 0;
    }
    
    .quick-order-title {
        font-size: 16px;
    }
    
    .quick-order-input {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .quick-order-btn {
        font-size: 14px;
        padding: 12px 16px;
    }
    
    /* Gallery */
    .product-gallery-main {
        max-width: 260px;
    }
    
    .gallery-thumb {
        width: 48px;
        height: 48px;
    }
    
    /* Tabs */
    .tab-btn {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    /* Reviews */
    .reviews-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .reviews-summary {
        padding: 16px;
    }
    
    .avg-number {
        font-size: 36px;
    }
    
    .review-item {
        padding: 16px;
    }
    
    .review-header {
        flex-direction: column;
        gap: 8px;
    }
    
    .reviewer-avatar {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    /* Expert opinion */
    .expert-opinion-content {
        padding: 16px;
    }
    
    .expert-profile {
        gap: 12px;
    }
    
    .expert-avatar-placeholder {
        width: 56px;
        height: 56px;
    }
    
    .expert-info h3 {
        font-size: 16px;
    }
    
    /* Countries */
    .product-countries-card {
        padding: 16px;
    }
    
    .product-country-link {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    /* Related products */
    .products-grid--small {
        grid-template-columns: 1fr;
    }
    
    /* Header */
    .header-top {
        display: none;
    }
    
    .header-main {
        padding: 12px 0;
    }
    
    .header-main-content {
        gap: 12px;
    }
    
    .logo-img {
        width: 130px;
        height: auto;
    }
    
    .search-toggle, .cart-link, .mobile-menu-toggle {
        width: 36px;
        height: 36px;
    }
    
    .cart-count {
        width: 16px;
        height: 16px;
        font-size: 10px;
    }
}

/* Print Styles */
@media print {
    .site-header, .site-footer, .cta-section, .search-overlay, .mobile-menu {
        display: none !important;
    }
    
    main {
        margin: 0 !important;
    }
}

/* Thank You Page */
.thank-you-page {
    padding: 40px 0 80px;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.thank-you-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 24px;
    background: var(--success-light, #e8f5e9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success, #2D5A4A);
}

.thank-you-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.thank-you-message {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
}

.thank-you-details {
    background: var(--bg-secondary, #f8f9fa);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    text-align: left;
}

.thank-you-details h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.details-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
}

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

.detail-label {
    font-weight: 500;
    color: var(--text-secondary);
}

.detail-value {
    font-weight: 600;
    color: var(--text-primary);
}

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

.thank-you-actions .btn {
    min-width: 180px;
}

@media (max-width: 768px) {
    .thank-you-icon {
        width: 72px;
        height: 72px;
    }
    
    .thank-you-icon svg {
        width: 36px;
        height: 36px;
    }
    
    .thank-you-subtitle {
        font-size: 20px;
    }
    
    .thank-you-actions {
        flex-direction: column;
    }
    
    .thank-you-actions .btn {
        width: 100%;
    }
}
