/* ============================================
   Galeria Studio - E-commerce Art Gallery
   Mauritanian Market - Multi-language Support
   FinData Product 2025
   ============================================ */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    /* Primary Colors */
    --primary-color: #0082e8;
    --primary-dark: #0066b8;
    --primary-light: #e6f3fc;
    
    /* Secondary Colors */
    --secondary-color: #1a1a2e;
    --secondary-light: #2d2d44;
    
    /* Accent Colors */
    --accent-gold: #D4AF37;
    --accent-green: #28a745;
    --accent-red: #dc3545;
    
    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --black: #000000;
    
    /* Text Colors */
    --text-primary: #1a1a2e;
    --text-secondary: #6c757d;
    --text-light: #ffffff;
    
    /* Border Colors */
    --border-color: #dee2e6;
    --border-light: #f1f1f1;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.2);
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-arabic: 'Tajawal', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 50%;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
}

/* ============================================
   Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

/* RTL Support */
body.rtl {
    font-family: var(--font-arabic);
    direction: rtl;
}

body.rtl .me-2 { margin-right: 0 !important; margin-left: 0.5rem !important; }
body.rtl .ms-2 { margin-left: 0 !important; margin-right: 0.5rem !important; }
body.rtl .me-3 { margin-right: 0 !important; margin-left: 1rem !important; }
body.rtl .ms-3 { margin-left: 0 !important; margin-right: 1rem !important; }
body.rtl .text-md-end { text-align: left !important; }
body.rtl .fa-arrow-right::before { content: "\f060"; }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.section-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-link {
    color: var(--text-primary);
    padding: 0.5rem;
}

.btn-link:hover {
    color: var(--primary-color);
}

/* ============================================
   Top Banner
   ============================================ */
.top-banner {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.85rem;
    text-align: center;
}

.banner-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.banner-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.banner-link {
    color: var(--white);
    text-decoration: underline;
    font-weight: 600;
}

.banner-link:hover {
    color: var(--accent-gold);
}

/* ============================================
   Header
   ============================================ */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.logo-accent {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-left: 2px;
    position: relative;
}

.logo-accent::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-normal);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 0.5rem 0;
    min-width: 200px;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    font-weight: 400;
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    min-width: 18px;
    text-align: center;
}

/* Language Selector */
.language-selector .dropdown-toggle::after {
    display: none;
}

.current-lang-flag {
    font-size: 1.25rem;
}

/* ============================================
   Mobile Menu
   ============================================ */
.offcanvas {
    max-width: 320px;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid var(--border-light);
}

.mobile-nav-item > a {
    display: block;
    padding: 1rem 0;
    font-weight: 500;
    color: var(--text-primary);
}

.mobile-nav-item > a:hover {
    color: var(--primary-color);
}

.mobile-submenu {
    list-style: none;
    padding: 0 0 1rem 1rem;
    margin: 0;
}

.mobile-submenu li a {
    display: block;
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.mobile-submenu li a:hover {
    color: var(--primary-color);
}

.mobile-contact-info {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
}

.hero-slider {
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-lg);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================
   Section Styles
   ============================================ */
.section-header {
    margin-bottom: var(--spacing-xxl);
}

/* ============================================
   Product Cards
   ============================================ */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-card-image img {
    transform: scale(1.08);
}

.product-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--accent-red);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
}

.product-card-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition-normal);
}

.product-card:hover .product-card-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-action-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.product-action-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.product-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem 1rem 1rem;
    opacity: 0;
    transition: var(--transition-normal);
}

.product-card:hover .product-card-overlay {
    opacity: 1;
}

.product-card-overlay .btn {
    width: 100%;
}

.product-card-info {
    padding: 1.25rem;
}

.product-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-title:hover {
    color: var(--primary-color);
}

.product-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-card-price .old-price {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: line-through;
    margin-left: 0.5rem;
    font-weight: 400;
}

/* ============================================
   Category Banners
   ============================================ */
.category-banner {
    display: block;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 300px;
}

.category-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.category-banner:hover .category-banner-img {
    transform: scale(1.1);
}

.category-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.category-banner-overlay h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.category-banner-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

/* ============================================
   AR Section
   ============================================ */
.ar-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    color: var(--white);
}

.ar-section .section-title {
    color: var(--white);
}

.ar-section .section-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
}

.ar-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-xl) 0;
}

.ar-features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.ar-features-list i {
    color: var(--accent-green);
    font-size: 1.1rem;
}

.ar-preview-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.ar-preview-img {
    width: 100%;
    border-radius: var(--radius-lg);
}

.ar-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ar-play-btn {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
    font-size: 1.5rem;
    color: var(--primary-color);
}

.ar-play-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   Features Section
   ============================================ */
.feature-card {
    padding: var(--spacing-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto var(--spacing-md);
}

.feature-card h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--secondary-color);
    color: var(--white);
}

.footer-main {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand .logo-accent {
    color: var(--primary-color);
}

.footer-about {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: var(--spacing-lg);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--spacing-lg);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 3px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.findata-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.findata-badge i {
    color: var(--primary-color);
}

/* ============================================
   WhatsApp Button
   ============================================ */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition-normal);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    color: var(--white);
}

body.rtl .whatsapp-btn {
    right: auto;
    left: 2rem;
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 6rem;
    width: 45px;
    height: 45px;
    border-radius: var(--radius-full);
    background: var(--white);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 998;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

body.rtl .back-to-top {
    right: auto;
    left: 6rem;
}

/* ============================================
   Search Modal
   ============================================ */
.search-input-wrapper {
    position: relative;
}

.search-input-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.search-input-wrapper input {
    padding-left: 3rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-color);
}

.search-input-wrapper input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 130, 232, 0.1);
}

.search-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--off-white);
    border-radius: var(--radius-xl);
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.search-tag:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ============================================
   Quick View Modal
   ============================================ */
.product-gallery .main-image-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--off-white);
}

.product-gallery .main-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
}

.product-gallery .ar-btn {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: var(--white);
    border: none;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.product-gallery .ar-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.product-info .product-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-info .product-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

/* Product Options */
.product-option h6 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.option-btn {
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--white);
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: center;
    min-width: 80px;
}

.option-btn:hover {
    border-color: var(--primary-color);
}

.option-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-light);
    color: var(--primary-color);
}

.option-btn .option-name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
}

.option-btn .option-detail {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* Frame Options */
.frame-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.frame-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--white);
    cursor: pointer;
    transition: var(--transition-fast);
    min-width: 140px;
}

.frame-option:hover {
    border-color: var(--primary-color);
}

.frame-option.active {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

.frame-preview {
    width: 30px;
    height: 20px;
    border-radius: 3px;
    border: 1px solid var(--border-color);
}

.frame-preview.no-frame {
    background: transparent;
    border: 2px dashed var(--border-color);
}

.frame-preview.black-satin {
    background: #1a1a1a;
}

.frame-preview.gold-satin {
    background: linear-gradient(135deg, #D4AF37, #FFD700);
}

.frame-preview.natural-wood {
    background: #8B4513;
}

.frame-info .frame-name {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
}

.frame-info .frame-material {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Price Display */
.price-display {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.current-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-decoration: line-through;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 0.75rem;
}

.product-actions .btn {
    flex: 1;
}

.product-actions .btn-outline-primary {
    flex: 0 0 auto;
    width: 50px;
}

/* ============================================
   Cart Offcanvas
   ============================================ */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.cart-item-details {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.cart-item-price {
    font-weight: 600;
    color: var(--primary-color);
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
}

.cart-item-remove:hover {
    color: var(--accent-red);
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* ============================================
   Shop Page Styles
   ============================================ */
.shop-header {
    background: var(--off-white);
    padding: var(--spacing-xxl) 0;
}

.shop-filters {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-xl);
}

.filter-group {
    margin-bottom: var(--spacing-lg);
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    background: var(--white);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-light);
    color: var(--primary-color);
}

/* ============================================
   Product Detail Page
   ============================================ */
.product-detail-section {
    padding: var(--spacing-xxl) 0;
}

.product-thumbnails {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-fast);
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-color);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Price Breakdown */
.price-breakdown {
    background: var(--off-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.price-row.total {
    border-top: 1px solid var(--border-color);
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.price-row.total .price-value {
    color: var(--primary-color);
}

/* ============================================
   Checkout Page
   ============================================ */
.checkout-section {
    padding: var(--spacing-xxl) 0;
    background: var(--off-white);
}

.checkout-form {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.checkout-form .form-label {
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.checkout-form .form-control {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.checkout-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 130, 232, 0.1);
}

.order-summary {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}

.order-summary-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

/* ============================================
   About Page
   ============================================ */
.about-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.about-section {
    padding: var(--spacing-xxl) 0;
}

.value-card {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition-normal);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-full);
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto var(--spacing-lg);
}

/* ============================================
   Contact Page
   ============================================ */
.contact-section {
    padding: var(--spacing-xxl) 0;
}

.contact-info-card {
    background: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    height: 100%;
}

.contact-info-card h3 {
    margin-bottom: var(--spacing-lg);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: var(--spacing-lg);
}

.contact-info-item i {
    font-size: 1.25rem;
    margin-top: 3px;
}

.contact-form {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 991px) {
    .hero-section {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .category-banner {
        height: 250px;
    }
}

@media (max-width: 767px) {
    .top-banner {
        font-size: 0.75rem;
    }
    
    .banner-slider {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-section {
        height: 70vh;
        min-height: 450px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .category-banner {
        height: 200px;
    }
    
    .ar-section .row {
        flex-direction: column-reverse;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .back-to-top {
        right: 4.5rem;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 575px) {
    .product-card-info {
        padding: 1rem;
    }
    
    .product-card-title {
        font-size: 0.9rem;
    }
    
    .product-card-price {
        font-size: 1rem;
    }
    
    .feature-card {
        padding: var(--spacing-md);
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .feature-card h5 {
        font-size: 0.85rem;
    }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-muted {
    color: var(--text-secondary) !important;
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0066cc;
        --text-secondary: #444444;
    }
    
    .hero-overlay {
        background: rgba(0, 0, 0, 0.8);
    }
}

/* Print styles */
@media print {
    .site-header,
    .top-banner,
    .whatsapp-btn,
    .back-to-top,
    .site-footer {
        display: none !important;
    }
    
    .hero-section {
        height: auto;
        min-height: auto;
    }
}