:root {
    --primary-teal: #0097a7;
    --primary-teal-dark: #00838f;
    --accent-orange: #f57c00;
    --accent-orange-dark: #e65100;
    --bg-light: #f8f9fa;
    --text-muted: #6c757d;
}
body, html {
    overflow-x: hidden !important;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #fff;
    color: #333;
}

.text-primary { color: var(--primary-teal) !important; }
.btn-primary { 
    background-color: var(--primary-teal); 
    border-color: var(--primary-teal); 
}
.btn-primary:hover { 
    background-color: var(--primary-teal-dark); 
    border-color: var(--primary-teal-dark); 
}

.btn-orange {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
}
.btn-orange:hover {
    background-color: var(--accent-orange-dark);
    border-color: var(--accent-orange-dark);
}

/* Listing Cards */
.listing-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid rgb(0, 130, 144);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}
.listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.listing-thumb-container {
    position: relative;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    background-color: #f0f0f0;
}
.listing-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Home Page Hero */
.hero-section {
    padding: 60px 0;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

/* Categories Grid */
.category-item {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.category-item:hover {
    background-color: var(--bg-light);
}
.category-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

/* Footer */
footer {
    background-color: var(--primary-teal-dark);
    color: #fff;
    padding: 60px 0 30px;
}
footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}
footer a:hover {
    color: #fff;
}
.footer-newsletter input {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}
.footer-newsletter input::placeholder {
    color: rgba(255,255,255,0.5);
}

/* Form Styling Improvements */
input[type="text"], 
input[type="email"], 
input[type="password"], 
input[type="tel"], 
textarea, 
select {
    display: block;
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
    color: #2d3748;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
}

input:focus, textarea:focus, select:focus {
    background-color: #fff;
    border-color: var(--primary-teal);
    outline: 0;
    box-shadow: 0 0 0 4px rgba(0, 151, 167, 0.15);
}

input:disabled, select:disabled {
    background-color: #f1f5f9;
    cursor: not-allowed;
    opacity: 0.7;
}

input:focus, textarea:focus, select:focus {
    background-color: #fff;
    border-color: var(--primary-teal);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(0, 151, 167, 0.1);
}

.multilanguage-input .tabbernav {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    list-style: none;
    padding: 0;
    border-bottom: 1px solid #eee;
}

.multilanguage-input .tabbernav li a {
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    display: block;
}

.multilanguage-input .tabbernav li.tabberactive a {
    color: var(--primary-teal);
    border-bottom-color: var(--primary-teal);
    font-weight: 600;
}

/* modren Tab Styling */
.modren-lang-tabs {
    background: #f1f5f9 !important;
    padding: 0.4rem !important;
}

.modren-lang-tabs .nav-link {
    color: #64748b;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s;
    border: none !important;
}

.modren-lang-tabs .nav-link.active {
    background: #fff !important;
    color: var(--primary-teal) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}

.upload-zone {
    transition: all 0.3s ease;
    border: 2px dashed #e2e8f0 !important;
}

.upload-zone:hover {
    border-color: var(--primary-teal) !important;
    background-color: rgba(0, 151, 167, 0.02) !important;
}

/* Header Dropdown Fix */
.navbar .dropdown-menu {
    border: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 1rem;
    padding: 1rem;
    margin-top: 0.5rem;
}

.navbar .dropdown-item {
    border-radius: 0.5rem;
    padding: 0.6rem 1rem;
}

.navbar .dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--primary-teal);
}
.amazon-gallery {
    display: flex;
    gap: 15px;
}

.thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 80px;
}

.thumb-img {
    width: 100%;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.2s;
}

.thumb-img:hover {
    border-color: #007bff;
}

.main-image {
    flex: 1;
    position: relative;
}

.main-image img {
    width: 100%;
    border-radius: 10px;
    cursor: zoom-in;
    transition: transform 0.2s ease;
}
.container, .row, .col, .col-12, .col-md-6, .col-md-8, .col-md-4 {
    max-width: 100% !important;
    overflow-x: hidden !important;
}
.row.g-5 {
    --bs-gutter-x: -2.5rem !important; /* بدل 3rem */
    overflow-x: hidden;
}

/* Padding only for the main listing content */
.listing-main {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 992px) {
    .listing-main {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}
/* Main content card */
.listing-main {
    background: #fff;
    border: 2px solid #0097a7;
    border-radius: 16px;
    padding: 24px;
}

/* Sidebar card wrapper */
.listing-sidebar {
    background: #fff;
    border: 2px solid #0097a7;
    border-radius: 16px;
    padding: 24px;
}

.py-4 {
    padding: 1.5rem !important
}
/* Fix scrollbar width difference between RTL and LTR */
html {
    scrollbar-gutter: stable;
}

/* Clean listing-main styling */
.listing-main {
    background: #fff;
    border: 2px solid #0097a7;
    border-radius: 16px;
    padding: 24px;
}

/* Fix padding for large screens */
@media (min-width: 992px) {
    .listing-main {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Fix row spacing */
.row.g-5 {
    --bs-gutter-x: 1.5rem !important;
    overflow-x: hidden;
}
.header-user .user-menu,
.header-user .user-account-menu {
    position: absolute !important;
    right: 0 !important;
    top: 50px !important;
    z-index: 99999 !important;
    display: block !important;
}
