@font-face {
    font-family: 'AlQabas';
    src: url('/fonts/AlQabas-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AlQabas';
    src: url('/fonts/AlQabas-Bold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}


:root {
  --background: #0a0a0a;
  --foreground: #fafafa;
  --card: #111111;
  --card-2: #151515;
  --border: rgba(255,255,255,.10);
  --border-strong: rgba(255,255,255,.20);
  --primary: #d4af37;
  --primary-dark: #b99020;
  --primary-foreground: #0a0a0a;
  --muted: #a6a6a6;
  --muted-2: #737373;
  --green: #25d366;
  --danger: #ef4444;
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --shadow-gold: 0 0 20px rgba(212,175,55,.12);
}

html[lang='en'], html[lang='ar'] {
    --font-sans: 'AlQabas', 'Inter', sans-serif;
    --font-serif: 'AlQabas', 'Playfair Display', serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--background); color: var(--foreground); }
body { margin: 0; min-height: 100%; font-family: var(--font-sans); font-weight: 400; background: var(--background); color: var(--foreground); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-serif); letter-spacing: -.015em; font-weight: 500; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(100% - 2rem, 1180px); margin-inline: auto; }
.narrow { width: min(100% - 2rem, 760px); }
.center { text-align: center; }
.span-all { grid-column: 1 / -1; }
.text-gold { color: var(--primary); }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; display: flex; flex-direction: column; }

.icon, .icon-sm, .icon-lg { display: inline-block; vertical-align: middle; flex: 0 0 auto; }
.icon { width: 1.25rem; height: 1.25rem; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-lg { width: 1.75rem; height: 1.75rem; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--border); background: rgba(10,10,10,.95); backdrop-filter: blur(12px); }
.header-inner { height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand-logo { height: 7rem; width: auto; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 2rem; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .18em; }
.desktop-nav a { transition: color .25s ease; }
.desktop-nav a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.lang-switch { display: flex; align-items: center; border: 1px solid var(--border-strong); overflow: hidden; font-size: .76rem; text-transform: uppercase; letter-spacing: .15em; }
.lang-switch a { display: inline-flex; min-width: 2.6rem; justify-content: center; padding: .6rem .75rem; color: var(--muted); transition: all .2s ease; }
.lang-switch a.active { background: var(--primary); color: var(--primary-foreground); font-weight: 600; }
.inquire-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--primary); border: 1px solid var(--primary); padding: .62rem 1rem; font-size: .86rem; font-weight: 500; transition: all .25s ease; }
.inquire-link:hover { background: var(--primary); color: var(--primary-foreground); }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { list-style: none; cursor: pointer; padding: .5rem; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-panel { position: absolute; top: calc(100% + 1.45rem); right: 0; width: min(92vw, 360px); background: var(--background); border: 1px solid var(--border); box-shadow: 0 24px 60px rgba(0,0,0,.35); padding: 1rem; display: flex; flex-direction: column; gap: .25rem; }
[dir='rtl'] .mobile-panel { right: auto; left: 0; }
.mobile-panel > a { font-family: var(--font-serif); font-size: 1.15rem; padding: .85rem .5rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.mobile-lang { width: fit-content; margin-bottom: .5rem; }

.site-footer { background: var(--card); border-top: 1px solid var(--border); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1.2fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { height: 3rem; width: auto; object-fit: contain; margin-bottom: 1.5rem; }
.footer-brand p, .site-footer li, .site-footer p { color: var(--muted); font-size: .92rem; line-height: 1.7; }
.site-footer h3 { color: var(--primary); font-size: 1.15rem; margin-bottom: 1.4rem; }
.site-footer ul { display: grid; gap: .8rem; }
.site-footer a { color: var(--muted); transition: color .2s ease; }
.site-footer a:hover { color: white; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.social-row { display: flex; gap: 1rem; margin-top: 1.4rem; }
.social-row a { color: var(--muted); }
.social-row a:hover { color: var(--primary); }
.social-row.large a { width: 3rem; height: 3rem; border: 1px solid var(--border); display: grid; place-items: center; background: var(--card); }
.social-row.large a:hover { border-color: var(--primary); }
.footer-bottom { padding-top: 2rem; border-top: 1px solid var(--border); font-size: .8rem; color: var(--muted); }
.floating-whatsapp { position: fixed; z-index: 55; right: 1.5rem; bottom: 1.5rem; width: 3.5rem; height: 3.5rem; border-radius: 999px; background: var(--green); color: white; display: grid; place-items: center; box-shadow: 0 0 20px rgba(37,211,102,.3); transition: transform .2s ease; }
.floating-whatsapp:hover { transform: scale(1.1); }
[dir='rtl'] .floating-whatsapp { right: auto; left: 1.5rem; }

.hero-section { position: relative; height: 80vh; min-height: 600px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg, .hero-bg img, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: center; }
.hero-overlay { z-index: 1; background: rgba(0,0,0,.6); }
.hero-content { position: relative; z-index: 2; text-align: center; width: min(100% - 2rem, 900px); animation: riseIn .85s ease both; }
.hero-content h1 { color: white; font-size: clamp(2.5rem, 6vw, 4.8rem); line-height: 1.1; margin-bottom: 2rem; }
.hero-content p { color: rgba(255,255,255,.82); font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 42rem; margin: 0 auto 2.5rem; line-height: 1.8; font-weight: 300; letter-spacing: .03em; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; border: 1px solid transparent; padding: .8rem 1.2rem; cursor: pointer; font-weight: 500; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; transition: all .25s ease; background: transparent; color: inherit; }
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: white; color: var(--primary-foreground); }
.btn-outline { border-color: var(--border-strong); color: var(--foreground); }
.btn-outline:hover { background: rgba(255,255,255,.06); border-color: var(--primary); color: var(--primary); }
.btn-large { padding: 1rem 2rem; }
.btn-whatsapp { background: var(--green); color: white; }
.btn-whatsapp:hover { background: #1da851; color: white; }
.btn.full, .full { width: 100%; }
.section-link { color: var(--primary); display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; transition: color .2s ease; }
.section-link:hover { color: white; }
.underline-link { color: white; border-bottom: 1px solid var(--primary); padding-bottom: .25rem; text-transform: uppercase; letter-spacing: .17em; font-size: .82rem; transition: color .2s ease; }
.underline-link:hover { color: var(--primary); }

.page-section { padding: 6rem 0; }
.page-section.top-tight { padding-top: 1rem; }
.card-band { background: var(--card); border-top: 1px solid rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.05); }
.section-heading { margin-bottom: 4rem; }
.section-heading.center { text-align: center; }
.section-heading.between { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.section-heading h2 { font-size: clamp(2rem, 4vw, 2.7rem); color: white; margin-bottom: 1rem; }
.section-heading span, .gold-line { display: block; width: 3rem; height: 2px; background: var(--primary); }
.section-heading.center span, .gold-line { margin-inline: auto; }
.collection-grid, .product-grid { display: grid; gap: 2rem; }
.collection-grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.collection-grid.spaced { row-gap: 4rem; }
.product-grid.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.collection-card, .product-card { display: block; }
.image-frame, .product-image { position: relative; overflow: hidden; background: var(--card); }
.image-frame.tall { aspect-ratio: 4 / 5; margin-bottom: 1.5rem; }
.product-image { aspect-ratio: 1 / 1; margin-bottom: 1.4rem; }
.image-frame::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,.20); transition: background .4s ease; }
.collection-card:hover .image-frame::before { background: rgba(0,0,0,.42); }
.image-frame img, .product-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .7s ease; }
.collection-card:hover img, .product-card:hover img { transform: scale(1.05); }
.collection-card h3 { text-align: center; font-size: 1.35rem; transition: color .25s ease; }
.collection-card p { text-align: center; color: var(--muted); font-size: .92rem; margin-top: .7rem; line-height: 1.6; }
.collection-card:hover h3, .product-card:hover h3 { color: var(--primary); }
.hover-label { position: absolute; z-index: 2; inset: 50% auto auto 50%; transform: translate(-50%, -50%); border: 1px solid white; color: white; padding: .65rem 1.4rem; background: rgba(0,0,0,.22); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s ease; white-space: nowrap; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; }
.with-hover:hover .hover-label { opacity: 1; }
.product-card h3 { font-size: 1.15rem; margin-bottom: .5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .25s ease; }
.product-card p { color: var(--muted); font-size: .9rem; font-weight: 500; }
.product-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.product-row span { color: rgba(212,175,55,.75); opacity: 0; transition: opacity .25s ease; text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; }
.product-card:hover .product-row span { opacity: 1; }
.karat-badge { position: absolute; top: .85rem; left: .85rem; z-index: 2; border: 1px solid rgba(212,175,55,.25); background: rgba(10,10,10,.86); color: var(--primary); padding: .3rem .55rem; text-transform: uppercase; letter-spacing: .16em; font-size: .65rem; }
[dir='rtl'] .karat-badge { left: auto; right: .85rem; }
.empty-state { color: var(--muted); text-align: center; padding: 3rem 1rem; }
.empty-state.big { padding: 6rem 1rem; font-family: var(--font-serif); font-size: 1.35rem; }
.empty-state a { color: var(--primary); }
.mobile-view-all { display: none; text-align: center; margin-top: 3rem; }
.story-section { padding: 8rem 0; position: relative; overflow: hidden; }
.story-section h2 { color: var(--primary); font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.15; margin-bottom: 2rem; }
.story-section p { color: var(--muted); font-size: 1.08rem; line-height: 1.9; font-weight: 300; margin-bottom: 2.5rem; }

.page-hero { padding: 6rem 0 4rem; }
.page-hero.compact { padding-top: 6rem; padding-bottom: 3rem; }
.page-hero h1 { color: white; font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1.2rem; }
.page-hero p, .page-title p { color: var(--muted); line-height: 1.8; font-weight: 300; margin-top: 1.2rem; }
.eyebrow, .page-title > p { text-transform: uppercase; letter-spacing: .2em; color: var(--primary) !important; font-size: .75rem; margin-bottom: 1rem; }

.products-page { padding: 4rem 0 8rem; }
.products-header { border-bottom: 1px solid var(--border); padding-bottom: 2rem; margin-bottom: 3rem; }
.products-header h1 { color: white; font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 2rem; }
.filters-form { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.search-box { position: relative; flex: 1 1 280px; max-width: 390px; }
.search-box svg { position: absolute; top: 50%; transform: translateY(-50%); left: 1rem; color: var(--muted); }
[dir='rtl'] .search-box svg { left: auto; right: 1rem; }
.search-box input { width: 100%; padding-left: 2.7rem; }
[dir='rtl'] .search-box input { padding-left: 1rem; padding-right: 2.7rem; }
.filters-form input, .filters-form select { background: var(--card); color: var(--foreground); border: 1px solid var(--border); padding: .85rem 1rem; min-height: 2.9rem; border-radius: 0; outline: none; }
.filters-form .search-box input {
    width: 100%;
    padding-left: 3.2rem;
}

[dir='rtl'] .filters-form .search-box input {
    padding-left: 1rem;
    padding-right: 3.2rem;
}
.filters-form select {
    min-width: 180px;
    /* Hide the browser default arrow */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    /* Give space for the custom arrow */
    padding-right: 2.8rem;
    /* Custom arrow */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a6a6a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 1rem;
    /* This controls arrow position */
    background-position: right 1rem center;
}
.filters-form input:focus, .filters-form select:focus { border-color: rgba(212,175,55,.65); box-shadow: var(--shadow-gold); }

.detail-page { padding: 3rem 0 7rem; }
.breadcrumb-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted); text-transform: uppercase; letter-spacing: .15em; font-size: .78rem; margin-bottom: 2.5rem; transition: color .2s ease; }
.breadcrumb-link:hover { color: var(--primary); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.detail-main-image { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--card); border: 1px solid var(--border); }
.detail-main-image img { width: 100%; height: 100%; object-fit: cover; }
.featured-ribbon { position: absolute; top: 1rem; left: 1rem; background: var(--primary); color: var(--primary-foreground); padding: .4rem .75rem; text-transform: uppercase; letter-spacing: .15em; font-size: .72rem; font-weight: 600; }
.sold-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.62); display: grid; place-items: center; }
.sold-overlay span { font-family: var(--font-serif); color: white; font-size: 1.6rem; }
.thumb-row { display: flex; gap: .75rem; overflow-x: auto; padding-top: 1rem; }
.thumb-row img { width: 5rem; height: 5rem; object-fit: cover; border: 2px solid var(--border); }
.detail-content { display: grid; gap: 2rem; padding-top: .5rem; }
.category-label { display: block; color: var(--primary); text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 600; margin-bottom: .8rem; }
.detail-content h1 { font-size: clamp(2rem, 4vw, 2.7rem); color: white; margin-bottom: .4rem; }
.sku { color: var(--muted); font-size: .78rem; }
.price-panel { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
.price-panel span { display: block; font-family: var(--font-serif); color: var(--primary); font-size: 2.5rem; margin-bottom: .8rem; }
.availability { display: inline-flex; padding: .35rem .7rem; border: 1px solid var(--border); font-size: .75rem; font-style: normal; }
.availability.available { color: #4ade80; background: rgba(20,83,45,.35); border-color: rgba(74,222,128,.25); }
.availability.unavailable { color: var(--muted); background: rgba(255,255,255,.06); }
.detail-description { color: var(--muted); line-height: 1.8; }
.spec-section h3 { color: white; font-size: 1.15rem; border-bottom: 1px solid var(--border); padding-bottom: .8rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.spec-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.spec-grid div { background: var(--card); border: 1px solid var(--border); padding: 1rem; display: grid; gap: .4rem; }
.spec-grid small { color: var(--muted); text-transform: uppercase; letter-spacing: .15em; font-size: .68rem; }
.spec-grid strong { color: var(--foreground); font-size: .95rem; }
.spec-grid div:first-child strong { color: var(--primary); }
.contact-note { text-align: center; color: var(--muted); font-size: .78rem; }

.about-section { padding: 3rem 0 8rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 6rem; }
.about-copy { display: grid; gap: 1.6rem; }
.about-copy h2 { color: var(--primary); font-size: 2.1rem; }
.about-copy p { color: var(--muted); line-height: 1.9; font-weight: 300; }
.craft-image { position: relative; aspect-ratio: 1 / 1; }
.craft-image::before { content: ''; position: absolute; inset: 0; border: 1px solid rgba(212,175,55,.35); transform: translate(-1rem, -1rem); z-index: 0; }
.craft-image img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
[dir='rtl'] .craft-image::before { transform: translate(1rem, -1rem); }
.stats-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 4rem 0; text-align: center; }
.stats-strip div { display: grid; gap: 1rem; }
.stats-strip strong { font-family: var(--font-serif); color: var(--primary); font-size: clamp(2.3rem, 5vw, 3.5rem); font-weight: 500; }
.stats-strip span { color: var(--muted); text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; }

.contact-page { padding: 5rem 0 8rem; }
.page-title { margin-bottom: 4rem; }
.page-title h1 { color: white; font-size: clamp(2.5rem,5vw,3.3rem); margin-bottom: 1rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info h2, .map-panel h2 { color: white; font-size: 1.55rem; margin-bottom: 2rem; }
.contact-info { display: grid; gap: 1.6rem; align-content: start; }
.contact-item { display: flex; align-items: flex-start; gap: 1.2rem; }
.contact-item > svg { width: 3rem; height: 3rem; padding: .85rem; background: rgba(212,175,55,.10); border: 1px solid rgba(212,175,55,.22); color: var(--primary); }
.contact-item.green > svg { background: rgba(37,211,102,.10); border-color: rgba(37,211,102,.22); color: var(--green); }
.contact-item small, .contact-social small { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; margin-bottom: .35rem; }
.contact-item a, .contact-item strong { color: white; font-weight: 500; }
.contact-item a:hover { color: var(--primary); }
.contact-social { border-top: 1px solid var(--border); padding-top: 1.6rem; }
.map-box { aspect-ratio: 16 / 9; border: 1px solid var(--border); overflow: hidden; background: var(--card); margin-bottom: 1rem; }

.faq-section, .text-page { padding: 2rem 0 8rem; }
.faq-item { border: 1px solid var(--border); background: var(--card); margin-bottom: .9rem; }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.25rem 1.4rem; color: white; font-weight: 500; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item p { color: var(--muted); line-height: 1.8; padding: 0 1.4rem 1.4rem; }
.faq-cta { margin-top: 3rem; padding: 3rem; background: var(--card); border: 1px solid var(--border); }
.faq-cta h2 { color: white; font-size: 1.8rem; margin-bottom: .8rem; }
.faq-cta p { color: var(--muted); margin-bottom: 1.5rem; }
.prose { color: var(--muted); line-height: 1.9; background: var(--card); border: 1px solid var(--border); padding: 2rem; }
.prose p { margin-bottom: 1rem; }

.admin-body { background: var(--background); }
.admin-shell { min-height: 100vh; display: flex; background: var(--background); }
.admin-sidebar { width: 16rem; flex: 0 0 16rem; background: var(--card); border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.admin-logo { padding: 1.5rem; border-bottom: 1px solid var(--border); }
.admin-logo img { height: 2.5rem; width: auto; }
.admin-nav { padding: 1.5rem 1rem; flex: 1; display: grid; align-content: start; gap: .45rem; }
.admin-nav a { display: flex; align-items: center; gap: .75rem; color: var(--muted); padding: .85rem 1rem; transition: all .2s ease; }
.admin-nav a:hover { color: white; background: rgba(255,255,255,.05); }
.admin-nav a.active { background: var(--primary); color: var(--primary-foreground); font-weight: 600; }
.admin-user { border-top: 1px solid var(--border); padding: 1rem; display: grid; gap: .8rem; color: var(--muted); font-size: .9rem; }
.avatar { width: 2rem; height: 2rem; border-radius: 999px; background: rgba(255,255,255,.10); display: inline-grid; place-items: center; color: white; font-weight: 600; }
.admin-content { flex: 1; min-width: 0; padding: 2rem; overflow: auto; }
.admin-mobile-top { display: none; }
.admin-page-head { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.6rem; }
.admin-page-head h1 { color: white; font-size: 2rem; }
.admin-page-head p { color: var(--muted); margin-top: .45rem; font-size: .92rem; }
.status-message { border: 1px solid rgba(212,175,55,.28); background: rgba(212,175,55,.08); color: var(--primary); padding: .9rem 1rem; margin-bottom: 1.25rem; }
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin-bottom: 1.5rem; }
.stat-card { background: var(--card); border: 1px solid var(--border); padding: 1.4rem; display: grid; gap: .8rem; }
.stat-card span { color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; }
.stat-card strong { color: var(--primary); font-family: var(--font-serif); font-size: 2rem; font-weight: 500; }
.admin-card, .form-card { background: var(--card); border: 1px solid var(--border); padding: 1.5rem; }
.admin-card-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.admin-card-head h2, .form-card h2 { color: white; font-size: 1.3rem; }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.admin-table th { color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; text-align: left; border-bottom: 1px solid var(--border); padding: .9rem; }
.admin-table td { padding: .9rem; border-bottom: 1px solid rgba(255,255,255,.06); color: var(--foreground); vertical-align: middle; }
.table-product { display: flex; align-items: center; gap: .9rem; min-width: 220px; }
.table-product img { width: 3.5rem; height: 3.5rem; object-fit: cover; background: var(--background); }
.table-product strong { display: block; color: white; font-weight: 500; }
.table-product small { display: block; color: var(--muted); margin-top: .2rem; max-width: 380px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill { display: inline-flex; align-items: center; padding: .25rem .55rem; border: 1px solid var(--border); color: var(--muted); font-size: .72rem; margin: .15rem; }
.pill.green { color: #4ade80; border-color: rgba(74,222,128,.25); background: rgba(20,83,45,.25); }
.pill.gold { color: var(--primary); border-color: rgba(212,175,55,.25); background: rgba(212,175,55,.08); }
.actions-col { text-align: right !important; }
.actions { display: flex; align-items: center; justify-content: flex-end; gap: .35rem; }
.actions form { display: inline; }
.icon-btn { width: 2.25rem; height: 2.25rem; display: inline-grid; place-items: center; border: 1px solid transparent; color: var(--muted); background: transparent; cursor: pointer; transition: all .2s ease; }
.icon-btn:hover { color: var(--primary); background: rgba(255,255,255,.05); border-color: var(--border); }
.icon-btn.danger:hover { color: var(--danger); }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.admin-form-grid.single { grid-template-columns: minmax(0, 760px); }
.span-2 { grid-column: 1 / -1; }
.form-card { display: grid; gap: 1rem; align-content: start; }
.field-grid { display: grid; gap: 1rem; }
.field-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
label { color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; }
.form-input, .input-icon input, .login-card input, .login-card textarea, .login-card select { width: 100%; background: var(--background); border: 1px solid var(--border-strong); color: var(--foreground); padding: .85rem 1rem; outline: none; border-radius: 0; }
textarea.form-input { resize: vertical; min-height: 7rem; }
.form-input:focus, .input-icon input:focus { border-color: var(--primary); box-shadow: var(--shadow-gold); }
.check-row { display: flex; align-items: center; gap: .65rem; color: var(--foreground); text-transform: none; letter-spacing: 0; font-size: .95rem; }
.check-row input { width: 1rem; height: 1rem; accent-color: var(--primary); }
.field-validation, .validation-summary { color: #f87171; font-size: .82rem; }
.help-text { color: var(--muted); font-size: .8rem; line-height: 1.6; }
.form-actions { display: flex; justify-content: flex-start; }
.preview-wide { width: 100%; max-height: 280px; object-fit: cover; border: 1px solid var(--border); background: var(--background); }
.faq-admin-list { display: grid; gap: .8rem; }
.faq-admin-item { display: grid; grid-template-columns: 2rem 1fr auto; gap: 1rem; align-items: start; border: 1px solid var(--border); padding: 1rem; }
.faq-admin-item > span { width: 2rem; height: 2rem; display: grid; place-items: center; background: rgba(212,175,55,.08); border: 1px solid rgba(212,175,55,.20); color: var(--primary); }
.faq-admin-item strong { color: white; }
.faq-admin-item p { color: var(--muted); margin-top: .35rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.login-page { min-height: 100vh; display: grid; place-items: center; padding: 2rem; background: radial-gradient(circle at top, rgba(212,175,55,.12), transparent 35%), var(--background); }
.login-card { width: min(100%, 430px); background: var(--card); border: 1px solid var(--border); padding: 2rem; display: grid; gap: .9rem; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.login-card img { height: 3.2rem; width: auto; margin-bottom: .5rem; }
.login-card h1 { color: white; font-size: 2rem; }
.login-card p, .login-card small { color: var(--muted); line-height: 1.7; }
.input-icon { position: relative; }
.input-icon svg { position: absolute; top: 50%; left: 1rem; transform: translateY(-50%); color: var(--muted); }
.input-icon input { padding-left: 2.7rem; }
[dir='rtl'] .admin-sidebar { border-right: 0; border-left: 1px solid var(--border); }
[dir='rtl'] .admin-table th { text-align: right; }
[dir='rtl'] .actions-col { text-align: left !important; }
[dir='rtl'] .input-icon svg { left: auto; right: 1rem; }
[dir='rtl'] .input-icon input { padding-left: 1rem; padding-right: 2.7rem; }

@keyframes riseIn { from { opacity: 0; transform: translateY(2rem); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1024px) {
  .product-grid.four { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .stat-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 860px) {
  .desktop-nav, .header-actions { display: none; }
  .mobile-nav { display: block; }
  .collection-grid.three, .product-grid.four, .detail-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-section { min-height: 560px; }
  .section-heading.between { display: block; }
  .section-heading.between .section-link { display: none; }
  .mobile-view-all { display: block; }
  .detail-grid { gap: 2rem; }
  .stats-strip { grid-template-columns: 1fr; }
  .admin-shell { display: block; }
  .admin-sidebar { display: none; }
  .admin-mobile-top { height: 4rem; display: flex; align-items: center; justify-content: space-between; padding: 0 1rem; background: var(--card); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
  .admin-mobile-top img { height: 2rem; }
  .admin-mobile-top details { position: relative; }
  .admin-mobile-top summary { list-style: none; cursor: pointer; }
  .admin-mobile-top summary::-webkit-details-marker { display: none; }
  .admin-mobile-top nav { position: absolute; right: 0; top: 2.7rem; width: 260px; background: var(--card); border: 1px solid var(--border); padding: .75rem; display: grid; gap: .25rem; }
  [dir='rtl'] .admin-mobile-top nav { right: auto; left: 0; }
  .admin-mobile-top nav a { padding: .75rem; color: var(--muted); }
  .admin-content { padding: 1rem; }
  .admin-form-grid, .admin-form-grid.single { grid-template-columns: 1fr; }
  .field-grid.two, .field-grid.three { grid-template-columns: 1fr; }
  .admin-page-head { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 1.25rem, 1180px); }
  .footer-grid { grid-template-columns: 1fr; }
  .filters-form { display: grid; }
  .filters-form select, .search-box { width: 100%; max-width: none; }
  .product-grid.four { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2.45rem; }
  .page-section { padding: 4rem 0; }
  .story-section { padding: 5rem 0; }
  .footer-bottom { text-align: center; }
  .faq-cta { padding: 2rem 1rem; }
  .stat-grid { grid-template-columns: 1fr; }
}
