/* =============================================
   شركة الغزال الماسية — Main Stylesheet
   Colors: Yellow #f2ca07 | Black #000 | White #fff
   Font: Cairo
   RTL Arabic first
============================================= */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --yellow:      #f2ca07;
    --black:       #000000;
    --white:       #ffffff;
    --gray-light:  #f9f9fb;
    --gray-mid:    #dadada;
    --gray-dark:   #404040;
    --text-dark:   #1a1a1a;
    --font:        'Cairo', sans-serif;
    --radius:      8px;
    --shadow:      0 4px 20px rgba(0,0,0,0.1);
    --transition:  0.25s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: var(--radius);
    font-family: var(--font);
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}
.btn-primary  { background: var(--yellow); color: var(--black); }
.btn-primary:hover { background: #e0b800; }
.btn-secondary { background: var(--gray-mid); color: var(--black); }
.btn-secondary:hover { background: #c5c5c5; }
.btn-dark     { background: var(--black); color: var(--yellow); }
.btn-dark:hover { background: #222; }
.btn-full     { width: 100%; display: block; }

/* ===== NAVBAR ===== */
.navbar {
    background: var(--yellow);
    height: 118px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.navbar-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    gap: 16px;
}

/* Logo Group (right in RTL) */
.navbar-logo-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-text {
    font-size: 28px;
    font-weight: 900;
    color: var(--black);
    letter-spacing: -1px;
}

.lang-toggle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--black);
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    line-height: 1;
    color: var(--yellow) !important;
    font-size: 13px !important;
}
.lang-toggle a{
    color: var(--yellow) !important;
    font-size: 13px !important;
}

.nav-links-container{
    display: flex;
    flex-direction: row-reverse;
    gap: 33px;
}

.navbar-search {
    position: relative;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.lang-toggle:hover { background: #333; }

/* Nav Links */
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-bottom: 12px;
}

.navbar-nav a {
    font-size: 20px;
    font-weight: 500;
    color: var(--black);
    padding: 8px 12px;
    transition: var(--transition);
    white-space: nowrap;
}

.navbar-nav a.active { font-weight: 700; }

.navbar-nav .active {
    position: relative;
    font-weight: 700;
}

.nav-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #000;
    border-radius: 50%;
    bottom: 2px;
    left: 0;
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28), opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

/* Search — circle icon button, expands on click */

.navbar-search form {
    display: flex;
    align-items: center;
    gap: 0;
}

.navbar-search input {
    width: 0;
    max-width: 0;
    opacity: 0;
    padding: 0;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--font);
    font-size: 14px;
    color: var(--black);
    transition: max-width 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    pointer-events: none;
}

.navbar-search.open input {
    max-width: 180px;
    width: 180px;
    opacity: 1;
    padding: 0 10px;
    background: rgba(0,0,0,0.08);
    border-radius: 20px 0 0 20px;
    height: 38px;
    pointer-events: auto;
}

.navbar-search input::placeholder { color: rgba(0,0,0,0.5); }

.navbar-search button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    flex-shrink: 0;
    padding: 0;
    transition: opacity var(--transition);
}

.navbar-search button:hover { opacity: 0.6; }

/* Social Icons */
.navbar-social {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-direction: row-reverse;
}

.navbar-social a {
    color: var(--black);
    opacity: 0.75;
    transition: var(--transition);
    display: flex;
}
.navbar-social a:hover { opacity: 1; }

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}
[dir="rtl"] .mobile-toggle { right: auto; left: 20px; }

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

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 812px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.4;
    z-index: 0;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.8;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 80px 40px;
}



.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--yellow);
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 48px;
    opacity: 0.9;
}

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

/* ===== ABOUT SECTION (homepage) ===== */
.about-section {
    background: var(--black);
    padding: 80px 0;
    text-align: center;
}

.about-badge {
    display: inline-block;
    background: var(--yellow);
    color: var(--black);
    font-weight: 700;
    font-size: 22px;
    padding: 8px 32px;
    border-radius: var(--radius);
    margin-bottom: 32px;
}

.about-text {
    color: var(--white);
    font-size: 18px;
    font-weight: 400;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-video-container {
    width: 100%;
    max-width: 1100px;
    margin: 48px auto 0;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 45px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
}

.about-video-main {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}



/* ===== PRODUCTS SECTION ===== */
.products-section {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 24px;
}



.section-desc {
    font-size: 18px;
    font-weight: 300;
    text-align: center;
    max-width: 892px;
    margin: 0 auto 48px;
    color: #555;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

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

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

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: block;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.product-card-img {
    height: 300px;
    overflow: hidden;
    background: #222;
    position: relative;
}

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

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

.product-card-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.1);
    font-size: 48px;
}

.product-card-img-default {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f5f5f5;
    padding: 16px;
}

.product-card-footer {
    background: var(--yellow);
    padding: 16px 20px;
    min-height: 88px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card-footer h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 8px;
}

    display: block;
}

/* Category Home Card (New Premium Look) */
.category-home-card {
    display: flex;
    flex-direction: column;
    height: 520px;
    text-decoration: none;
    position: relative;
    border-radius: 12px;
    overflow: visible;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.category-home-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.ch-image-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #222;
    border-radius: 8px;
}

.ch-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-height: 560px;
}


.ch-overlay {
    position: absolute;
    bottom: 92px;
    left: 0;
    right: 0;
    padding: 60px 20px 45px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: center;
}

.ch-overlay h3 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 800;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.ch-icon {
    position: absolute;
    left: 50%;
    bottom: 84px; /* Positioned right at the junction */
    transform: translateX(-50%) translateY(50%);
    z-index: 10;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

.category-home-card .ch-icon {
    transform: translateX(-50%) translateY(50%) scale(1.1);
}

.ch-footer {
    background: #f2ca07;
    padding: 38px 20px 28px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 84px;
}

.ch-footer span {
    color: #000000;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.5px;
}

/* RTL/LTR Arrow Handling */
[dir="ltr"] .ch-icon {
    transform: translateX(-50%) translateY(50%) rotate(180deg);
}

[dir="ltr"] .category-home-card .ch-icon {
    transform: translateX(-50%) translateY(50%) scale(1.1) rotate(180deg);
}

/* ===== CATEGORY CARD: YELLOW FLOOD HOVER ANIMATION ===== */

/* Yellow overlay — hidden below, slides up to cover entire image area */
.ch-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(242, 202, 7, 0.93);
    transform: translateY(100%);
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 4;
    border-radius: inherit;
}

.category-home-card:hover .ch-image-wrapper::after {
    transform: translateY(0);
}

/* Overlay: float above yellow, fade gradient, shift title upward */
.ch-overlay {
    z-index: 6;
    transition: background 0.4s ease, transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-home-card:hover .ch-overlay {
    background: transparent;
    transform: translateY(-130%);
}

/* Title: white → black, drop text-shadow */
.ch-overlay h3 {
    transition: color 0.35s ease, text-shadow 0.35s ease;
}

.category-home-card:hover .ch-overlay h3 {
    color: var(--black);
    text-shadow: none;
}

/* Footer: sits under the yellow overlay, hide its text on hover */
.ch-footer {
    position: relative;
    z-index: 3;
    transition: opacity 0.3s ease;
}

.category-home-card:hover .ch-footer {
    opacity: 0;
}

/* Arrow button: stays on top, slides up toward center */
.ch-icon-1 {
    z-index: 9;
    transition: bottom 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-home-card:hover .ch-icon-1 {
    bottom: 38%;
}

/* Product Card (Existing) */
.product-cat {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    display: block;
    margin-bottom: 4px;
    text-align: center;
}

.btn-browse {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--black);
    color: var(--white);
    font-size: 15px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius);
    transition: var(--transition);
    margin-top: 8px;
    text-align: center;
}

.btn-browse:hover { background: #333; }

.btn-browse .arrow {
    font-size: 18px;
    transition: transform var(--transition);
}

[dir="ltr"] .btn-browse .arrow { transform: scaleX(-1); }

/* ===== AGENTS SECTION ===== */
.agents-section {
    background: var(--gray-light);
    padding: 80px 0;
}

.agents-header {
    text-align: center;
    margin-bottom: 48px;
}

.agents-badge {
    display: inline-block;
    background: #F2CA07;
    color: var(--black);
    font-weight: 700;
    font-size: 22px;
    padding: 8px 32px;
    border-radius: var(--radius);
}

.agents-header p {
    font-size: 18px;
    font-weight: 300;
    color: #555;
    margin-top: 12px;
}

.agents-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.agent-logo {
    filter: grayscale(0.3);
    transition: var(--transition);
    max-height: 80px;
    display: flex;
    align-items: center;
}

.agent-logo:hover { filter: none; }

.agent-logo img {
    max-height: 80px;
    object-fit: contain;
}

.agent-logo-placeholder {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-dark);
    padding: 12px 24px;
    border: 2px solid var(--gray-mid);
    border-radius: var(--radius);
}

/* ===== FOOTER ===== */
.footer { background: var(--black); color: var(--white); }

.footer-top {
    display: flex;
    gap: 48px;
    padding: 60px 40px 40px;
    flex-wrap: wrap;
}

.footer-logo-col {
    flex: 0 0 260px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo span {
    font-size: 20px;
    font-weight: 700;
    color: var(--yellow);
    line-height: 1.3;
}

.footer-search {
    display: flex;
}

.footer-search form {
    display: flex;
    background: var(--gray-dark);
    border-radius: var(--radius);
    overflow: hidden;
    width: 100%;
}

.footer-search input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    padding: 8px 14px;
    font-family: var(--font);
    font-size: 13px;
    color: #d9d9d9;
}
.footer-search input::placeholder { color: rgba(255,255,255,0.4); }

.footer-search button {
    background: none;
    border: none;
    padding: 0 12px;
    cursor: pointer;
    color: var(--yellow);
    display: flex;
    align-items: center;
}

.footer-social {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-logo {
    margin-bottom: 32px;
}

.footer-logo img {
    max-width: 280px;
    height: auto;
    display: block;
}

.footer-social a {
    color: rgb(255, 255, 255);
    transition: var(--transition);
    display: flex;
}

.footer-social a:hover { color: var(--yellow); }

/* Footer Categories */
.footer-cats {
    flex: 1;
}

.footer-cats h4 {
    font-size: 20px;
    font-weight: 500;
    color: var(--yellow);
    margin-bottom: 20px;
}

.footer-cats-grid {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-cats-grid ul {
    flex: 1;
    min-width: 140px;
}

.footer-cats-grid li {
    margin-bottom: 6px;
}

.footer-cats-grid a {
    font-size: 13px;
    font-weight: 300;
    color: rgba(255,255,255,0.75);
    transition: var(--transition);
    display: block;
    line-height: 1.8;
}
.footer-cats-grid a:hover { color: var(--yellow); }

/* Footer Bottom */
.footer-divider {
    height: 1px;
    background: rgb(242 202 4);
    margin: 15px 40px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-contact,
.footer-address,
.footer-copyright {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
}

/* ===== PAGE HERO ===== */
.page-hero {
    background: var(--black);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.page-hero h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--yellow);
}

.page-hero p {
    font-size: 18px;
    margin-top: 12px;
    opacity: 0.75;
}

/* ===== BREADCRUMB ===== */
.breadcrumb-bar {
    background: var(--gray-light);
    padding: 12px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb-bar .container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb-bar a { color: var(--black); font-weight: 500; }
.breadcrumb-bar a:hover { color: var(--yellow); }
.breadcrumb-bar span { color: #999; }

/* ===== PRODUCTS LAYOUT ===== */
.products-layout { padding: 60px 0; }

.products-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Sidebar */
.products-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: var(--gray-light);
    border-radius: var(--radius);
    padding: 24px;
}

.products-sidebar h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--yellow);
}

.cat-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 4px;
    color: #555;
    transition: var(--transition);
}

.cat-list a:hover { background: var(--yellow); color: var(--black); }
.cat-list a.active { background: var(--black); color: var(--yellow); font-weight: 600; }

.cat-count { font-size: 12px; opacity: 0.6; }

/* Subcategories nested list */
.cat-sublist {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    border-inline-start: 3px solid var(--yellow);
    margin-inline-start: 12px;
}

.cat-sublist.open { display: block; }

.cat-sublist a {
    font-size: 13px;
    padding: 6px 12px;
    color: #555;
    display: block;
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition);
}

.cat-sublist a:hover { background: var(--yellow); color: var(--black); }
.cat-sublist a.active { background: var(--black); color: var(--yellow); font-weight: 600; }

.cat-toggle-icon {
    font-size: 11px;
    opacity: 0.5;
    margin-inline-start: 4px;
}

/* Main */
.products-main { flex: 1; }

.products-search-bar {
    margin-bottom: 24px;
}

.products-search-bar form {
    display: flex;
    background: var(--gray-light);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-mid);
}

.products-search-bar input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    padding: 12px 16px;
    font-family: var(--font);
    font-size: 16px;
}

.products-search-bar button {
    background: var(--yellow);
    border: none;
    padding: 0 24px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.products-search-bar button:hover { background: #e0b800; }

/* Filters */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.filter-tag {
    background: var(--black);
    color: var(--white);
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-tag a { color: var(--yellow); font-weight: 700; font-size: 16px; }

/* No Products */
.no-products {
    text-align: center;
    padding: 60px;
    color: #999;
    font-size: 18px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--gray-light);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

.pagination a:hover { background: var(--yellow); }
.pagination a.active { background: var(--black); color: var(--yellow); }

/* ===== PRODUCT DETAIL ===== */
.product-detail-section { padding: 60px 0; }

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-detail-img img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.product-detail-img-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    padding: 20px;
}

.product-detail-cat {
    display: inline-block;
    background: var(--yellow);
    color: var(--black);
    font-size: 13px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.product-detail-info h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.product-detail-desc {
    font-size: 17px;
    color: #555;
    line-height: 1.9;
    margin-bottom: 32px;
}

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

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

.related-section h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: right;
}

[dir="ltr"] .related-section h2 { text-align: left; }

/* ===== ABOUT PAGE ===== */
.about-page-section { padding: 80px 0; }

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

.about-page-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--black);
}

.about-page-content p {
    font-size: 17px;
    color: #555;
    line-height: 1.9;
    margin-bottom: 20px;
}

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

.stat {
    background: var(--gray-light);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    border-bottom: 3px solid var(--yellow);
}

.stat-num {
    display: block;
    font-size: 28px;
    font-weight: 900;
    color: var(--black);
}

.stat-label {
    font-size: 13px;
    color: #777;
    margin-top: 4px;
    display: block;
}

.about-img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yellow);
    font-size: 28px;
    font-weight: 700;
}

.vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 60px;
}

.vm-card {
    background: var(--gray-light);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    border-top: 4px solid var(--yellow);
}

.vm-icon {
    width: 64px;
    height: 64px;
    background: var(--yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.vm-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.vm-card p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

/* ===== CONTACT PAGE ===== */
.contact-hero-img {
    width: 100%;
    height: 540px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1c1c1c;
}



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

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

/* Info column */
.contact-info-col {
    text-align: start;
}
[dir="ltr"] .contact-info-col { text-align: start; }

.contact-main-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--black);
    margin-bottom: 32px;
    position: relative;
}

.contact-main-title::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: var(--yellow);
    border-radius: 50%;
    margin-bottom: 14px;
}
[dir="ltr"] .contact-main-title::before { margin-inline-start: 0; }

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: start;
}
.contact-details p {
    font-size: 15px;
    color: #444;
    margin: 0;
    line-height: 1.6;
}

/* Form column */
.contact-form-col { }

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

.contact-form-new input,
.contact-form-new select,
.contact-form-new textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-mid);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 15px;
    outline: none;
    transition: var(--transition);
    background: transparent;
    color: var(--text-dark);
    text-align: start;
    box-sizing: border-box;
}
[dir="ltr"] .contact-form-new input,
[dir="ltr"] .contact-form-new select,
[dir="ltr"] .contact-form-new textarea { text-align: start; }

.contact-form-new input:focus,
.contact-form-new select:focus,
.contact-form-new textarea:focus { border-color: #888; }

.contact-form-new textarea { resize: vertical; }

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--yellow);
    color: var(--black);
    border: none;
    padding: 13px 44px;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background var(--transition);
    align-self: flex-start;
}
[dir="rtl"] .contact-submit-btn { align-self: flex-start; }
.contact-submit-btn:hover { background: #e0b800; }

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 500;
}

.alert-success { background: #d4edda; color: #155724; }
.alert-error   { background: #f8d7da; color: #721c24; }
.alert-error p { margin-bottom: 4px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    .container { padding: 16px 24px; }

    .navbar-social,
    .navbar-search { display: none; }

    .navbar-nav a { font-size: 17px; padding: 6px 8px; }

    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 24px; }

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

    .about-page-grid { grid-template-columns: 1fr; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-info-col { text-align: center; }
    .contact-main-title::before { margin-inline-start: auto; margin-inline-end: auto; }
    .contact-submit-btn { align-self: stretch; }
    .vision-mission { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }

    .footer-top { flex-direction: column; }
}

@media (max-width: 768px) {
    .navbar { height: 72px; }

    .mobile-toggle { display: flex; }

    .navbar-inner {
        flex-direction: column;
        position: relative;
    }

    .navbar-nav {
        display: none;
        flex-direction: column;
        gap: 4px;
        position: absolute;
        top: 72px;
        right: 0;
        left: 0;
        background: var(--yellow);
        padding: 16px;
        z-index: 999;
        box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    }

    .navbar-nav.open { display: flex; }
    .navbar-nav .nav-dot { display: none; }

    .hero { min-height: 500px; }
    .hero-title { font-size: 28px; }
    .hero-subtitle { font-size: 18px; }

    .products-grid { grid-template-columns: 1fr; }
    .products-grid--compact { grid-template-columns: 1fr; }

    .products-wrapper { flex-direction: column; }
    .products-sidebar { width: 100%; }

    .footer-cats-grid { flex-direction: column; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .section-title { text-align: center; }
    .related-section h2 { text-align: center; }
}

@media (max-width: 480px) {
    .hero-btns { flex-direction: column; align-items: center; }
    .btn { font-size: 16px; padding: 10px 24px; }
    .product-detail-actions { flex-direction: column; }
}

a.category-home-card {
    position: relative;
}

.ch-icon-1 {
    position: absolute;
    bottom: 9%;
    left: 50%;
    transform: translate(-50%, 0);
}