@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&display=swap");
:root {
    --black: #0d0d0d;
    --ink: #191714;
    --gold: #b68a4f;
    --gold-dark: #8f6835;
    --muted: #766d63;
    --line: #e8ded1;
    --soft: #f8f4ee;
    --paper: #fffdfa;
    --photo-shadow: 0 22px 45px rgba(45, 31, 16, .14)
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: "Cairo", "Noto Kufi Arabic", Tahoma, Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.75
}

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

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

.topbar {
    min-height: 42px;
    background: #050505;
    color: #fff;
    display: flex;
    gap: 28px;
    align-items: center;
    padding: 10px 6vw;
    font-size: 14px
}

.topbar .lang {
    margin-inline-start: auto;
    color: #d7ba87
}

.topbar .lang a {
    color: #fff
}

.header {
    min-height: 96px;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 0 6vw;
    border-bottom: 1px solid #eee;
    background: rgba(255, 255, 255, .96);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(14px)
}

.brand {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 12px;
    align-items: center;
    min-width: 310px
}

.brand span {
    grid-row: 1/3;
    font-family: Georgia, serif;
    font-size: 58px;
    line-height: 1;
    color: #111
}

.brand span::first-letter {
    color: var(--gold)
}

.brand strong {
    font-size: 18px;
    font-weight: 900
}

.brand small {
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase
}

.header nav {
    display: flex;
    gap: 24px;
    flex: 1;
    justify-content: center
}

.header nav a {
    padding: 33px 0;
    border-bottom: 2px solid transparent;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap
}

.header nav a.active {
    color: var(--gold);
    border-color: var(--gold)
}

.quote,
.actions a,
.catalog a,
button {
    background: #b68a4f;
    color: #fff;
    border: 0;
    border-radius: 4px;
    padding: 12px 26px;
    font-weight: 800;
    cursor: pointer
}

.hero {
    min-height: 560px;
    display: grid;
    grid-template-columns: 52% 48%;
    background: linear-gradient(90deg, #fff 0, #fbfaf7 52%, #16130f 52%, #050505 100%);
    overflow: hidden
}

.hero-gallery {
    position: relative;
    min-height: 560px;
    background: #111;
    isolation: isolate
}

.hero-gallery:before {
    content: "";
    position: absolute;
    inset: 24px;
    border: 1px solid rgba(255, 255, 255, .35);
    z-index: 2;
    pointer-events: none
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.04);
    filter: saturate(.92) contrast(1.06);
    animation: heroFade 15s infinite
}

.hero-slide:nth-child(2) {
    animation-delay: 5s
}

.hero-slide:nth-child(3) {
    animation-delay: 10s
}

.hero-gallery:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .02), rgba(0, 0, 0, .62)), linear-gradient(180deg, rgba(182, 138, 79, .15), rgba(0, 0, 0, .18));
    z-index: 1
}

.hero-copy {
    padding: 70px 8vw 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: radial-gradient(circle at 20% 20%, #fff 0, #fbf8f2 40%, #f4eee5 100%)
}

.hero-copy p {
    font-size: 31px;
    font-weight: 900;
    margin: 0;
    color: #111
}

.hero-copy h1 {
    font-size: 62px;
    line-height: 1.25;
    margin: 8px 0 18px;
    font-weight: 900
}

.hero-copy h1::first-letter {
    color: var(--gold)
}

.hero-copy span {
    font-size: 21px;
    max-width: 700px;
    margin: 0 auto;
    color: #2d2924
}

.actions {
    margin-top: 34px;
    display: flex;
    gap: 18px;
    justify-content: center
}

.actions .light {
    background: #fff;
    color: #111;
    border: 1px solid #111
}

.features,
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 26px 6vw;
    border-bottom: 1px solid #eee;
    background: #fff
}

.features article,
.stats article {
    text-align: center;
    border-inline-start: 1px solid var(--line);
    padding: 0 18px
}

.features b,
.stats b {
    font-size: 23px;
    font-weight: 900
}

.features p,
.stats p {
    margin: 4px 0;
    color: var(--muted)
}

.section {
    padding: 54px 6vw
}

.section h2,
.page-head h1 {
    text-align: center;
    font-size: 34px;
    margin: 0 0 28px;
    font-weight: 900
}

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

.photo-card,
.products article,
.brand-grid article,
.news-grid article,
.two article {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(45, 31, 16, .06)
}

.photo-card {
    min-height: 300px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: end;
    background-position: center;
    background-size: cover;
    padding: 28px;
    position: relative;
    box-shadow: var(--photo-shadow);
    transition: transform .25s ease, box-shadow .25s ease
}

.photo-card:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .02) 0%, rgba(0, 0, 0, .18) 42%, rgba(10, 9, 8, .88) 100%)
}

.photo-card:after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 5px;
    pointer-events: none
}

.photo-card>* {
    position: relative;
    z-index: 1
}

.photo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 54px rgba(45, 31, 16, .2)
}

.photo-card h3 {
    font-size: 25px;
    margin: 0;
    font-weight: 900
}

.photo-card p {
    margin: 6px 0 14px;
    color: #f3eadb
}

.photo-card a,
.brand-grid a,
.news-grid a {
    color: #f3d49f;
    font-weight: 800
}

.catalog {
    margin: 0 6vw;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    background: #121212;
    color: #fff;
    border-radius: 8px;
    overflow: hidden;
    align-items: center;
    box-shadow: var(--photo-shadow)
}

.catalog div {
    padding: 38px
}

.catalog h2 {
    margin-top: 0
}

.catalog img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: saturate(.9) contrast(1.05)
}

.stats b {
    font-size: 30px;
    color: #111
}

.footer {
    margin-top: 40px;
    background: #111;
    color: #fff;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding: 44px 6vw
}

.footer a {
    display: block;
    color: #d7c2a0
}

.footer-brand span {
    color: #fff
}

.page-head {
    padding: 66px 6vw;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 253, 250, .92), rgba(246, 241, 235, .95)), url("/assets/ai-style/hero-ai-textiles.jpg") center/cover
}

.page-head p {
    color: var(--muted)
}

.split {
    padding: 50px 6vw;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 38px;
    align-items: center
}

.image-panel {
    min-height: 390px;
    background: linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .2)), url("/assets/ai-style/hero-ai-boutique.jpg") center/cover;
    border-radius: 8px;
    box-shadow: var(--photo-shadow);
    position: relative;
    overflow: hidden
}

.image-panel:after {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 5px
}

.mini-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 22px
}

.mini-stats span {
    border: 1px solid var(--line);
    padding: 14px;
    text-align: center;
    border-radius: 8px;
    background: #fff
}

.mini-stats b {
    display: block;
    color: var(--gold)
}

.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 22px;
    flex-wrap: wrap
}

.tabs a {
    padding: 10px 26px;
    background: var(--soft);
    border-radius: 4px;
    font-weight: 800
}

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

.product-img,
.news-img,
.branch-img {
    background-position: center;
    background-size: cover;
    border-radius: 6px;
    position: relative;
    overflow: hidden
}

.product-img:after,
.news-img:after,
.branch-img:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(13, 13, 13, .16));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2)
}

.product-img,
.news-img {
    height: 240px;
    margin: -8px -8px 18px
}

.products article,
.news-grid article {
    padding: 18px
}

.products article small {
    color: var(--gold-dark);
    font-weight: 800
}

.brand-grid {
    grid-template-columns: repeat(3, 1fr)
}

.brand-grid img {
    height: 72px;
    object-fit: contain;
    margin-bottom: 16px
}

.brand-grid h2 {
    font-family: Georgia, serif;
    letter-spacing: 2px
}

.news-grid {
    grid-template-columns: repeat(3, 1fr)
}

.map {
    height: 330px;
    margin: 0 6vw;
    background: linear-gradient(135deg, #f8f5ef, #d9c4a0);
    border-radius: 8px;
    position: relative
}

.map:after {
    content: "";
    position: absolute;
    inset: 40px;
    background: repeating-linear-gradient(35deg, transparent 0 28px, rgba(0, 0, 0, .08) 29px 31px)
}

.branch-list {
    display: grid;
    gap: 16px
}

.branch-list article {
    display: grid;
    grid-template-columns: 170px 1fr auto;
    gap: 18px;
    align-items: center;
    border: 1px solid var(--line);
    padding: 14px;
    border-radius: 8px;
    background: #fff
}

.branch-img {
    height: 110px
}

.contact-wrap {
    padding: 50px 6vw;
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 28px
}

.contact-wrap aside {
    background: #b68a4f;
    color: #fff;
    padding: 30px;
    border-radius: 8px
}

form {
    display: grid;
    gap: 14px
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 13px;
    font: inherit;
    background: #fff
}

textarea {
    min-height: 130px
}

.notice {
    background: #efe3d0;
    color: #5e3c13;
    padding: 12px;
    border-radius: 6px;
    margin: 12px 0
}

.admin {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
    background: #f7f4ef
}

.admin aside {
    background: #111;
    color: #fff;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.admin aside a {
    padding: 10px;
    border-radius: 4px
}

.admin aside a:hover {
    background: #222
}

.admin main {
    padding: 34px
}

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

.admin-grid article,
.table article,
.admin-form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px
}

.admin-grid b {
    font-size: 34px;
    color: var(--gold)
}

.admin-form {
    max-width: 960px;
    margin-bottom: 24px
}

.admin-form.compact {
    grid-template-columns: repeat(2, 1fr);
    max-width: none
}

.admin-form h3 {
    grid-column: 1/-1;
    margin: 18px 0 0
}

.admin-form label {
    display: grid;
    gap: 8px;
    font-weight: 800
}

.table {
    display: grid;
    gap: 12px
}

.table article {
    display: flex;
    justify-content: space-between;
    gap: 20px
}

.table button {
    background: #8d2d2d
}

.page-head {
    min-height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden
}

.page-head h1,
.page-head p {
    position: relative;
    z-index: 1
}

.page-head-about {
    background: linear-gradient(180deg, rgba(255, 253, 250, .9), rgba(246, 241, 235, .96)), url("/assets/ai-generated/hero-boutique-textiles.png") center/cover
}

.page-head-products {
    background: linear-gradient(180deg, rgba(255, 253, 250, .88), rgba(246, 241, 235, .95)), url("/assets/ai-generated/category-clothing-premium.png") center/cover
}

.page-head-brands {
    background: linear-gradient(180deg, rgba(255, 253, 250, .88), rgba(246, 241, 235, .95)), url("/assets/ai-generated/category-men-premium.png") center/cover
}

.page-head-news {
    background: linear-gradient(180deg, rgba(255, 253, 250, .9), rgba(246, 241, 235, .96)), url("/assets/ai-generated/category-textiles-premium.png") center/cover
}

.page-head-branches,
.page-head-contact {
    background: linear-gradient(180deg, rgba(255, 253, 250, .87), rgba(246, 241, 235, .95)), url("/assets/ai-generated/branch-storefront-premium.png") center/cover
}

.brand-photo {
    height: 170px;
    margin: -8px -8px 18px;
    border-radius: 6px;
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden
}

.brand-photo:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(13, 13, 13, .18));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22)
}

.map {
    background: linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .36)), url("/assets/ai-generated/branch-storefront-premium.png") center/cover;
    box-shadow: var(--photo-shadow)
}

.map:after {
    inset: 24px;
    border: 1px solid rgba(255, 255, 255, .32);
    background: none
}

html[dir="ltr"] body {
    font-family: "Cairo", Arial, sans-serif
}

html[dir="ltr"] .hero {
    direction: ltr
}

html[dir="ltr"] .hero-copy h1::first-letter {
    color: inherit
}

html[dir="ltr"] .hero-copy h1 {
    color: #111
}

html[dir="ltr"] .hero-copy p {
    color: var(--gold)
}

@keyframes heroFade {
    0% {
        opacity: 0;
        transform: scale(1.08)
    }
    8% {
        opacity: 1
    }
    31% {
        opacity: 1;
        transform: scale(1)
    }
    41%,
    100% {
        opacity: 0;
        transform: scale(1)
    }
}

@media (max-width:900px) {
    .topbar {
        height: auto;
        flex-wrap: wrap;
        padding: 10px 18px
    }
    .header {
        height: auto;
        display: block;
        padding: 14px 18px
    }
    .brand {
        min-width: 0
    }
    .header nav {
        overflow: auto;
        justify-content: start;
        padding: 8px 0
    }
    .hero {
        grid-template-columns: 1fr;
        min-height: auto
    }
    .hero-gallery {
        min-height: 360px
    }
    .hero-copy {
        order: -1
    }
    .hero-copy h1 {
        font-size: 42px
    }
    .features,
    .stats,
    .grid,
    .products,
    .brand-grid,
    .news-grid,
    .footer,
    .split,
    .two,
    .contact-wrap,
    .admin,
    .admin-grid {
        grid-template-columns: 1fr
    }
    .catalog {
        grid-template-columns: 1fr
    }
    .photo-card {
        min-height: 280px
    }
    .product-img,
    .news-img {
        height: 230px
    }
    .branch-list article {
        grid-template-columns: 1fr
    }
    .admin-form.compact {
        grid-template-columns: 1fr
    }
}

.approved-badge {
    display: inline-flex;
    align-items: center;
    width: max-content;
    margin: -4px 0 10px;
    padding: 4px 12px;
    border: 1px solid rgba(182, 138, 79, .35);
    border-radius: 999px;
    background: #fbf4e9;
    color: var(--gold-dark);
    font-size: 13px;
    font-weight: 900
}

.brand-meta {
    margin: 8px 0;
    color: #4d453c
}

.brand-meta b {
    color: #181512
}

.brand-meta a {
    color: var(--gold-dark);
    font-weight: 900
}

.brand-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px
}

.brand-actions a {
    border: 1px solid var(--gold);
    border-radius: 4px;
    padding: 9px 14px;
    color: var(--gold-dark);
    background: #fffaf2
}

.brand-actions a:first-child {
    background: #151515;
    color: #fff;
    border-color: #151515
}

.brands-section {
    padding-top: 64px
}

.approved-brand-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
    justify-content: center;
    align-items: stretch
}

.approved-brand-grid article {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 100%;
    padding: 20px;
    background: linear-gradient(180deg, #fff, #fbf7ef);
    border-color: #dfcfb8;
    box-shadow: 0 20px 46px rgba(45, 31, 16, .1);
    transition: transform .22s ease, box-shadow .22s ease
}

.approved-brand-grid article:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 62px rgba(45, 31, 16, .16)
}

.brand-logo-panel {
    height: 190px;
    border-radius: 8px;
    background: #fff;
    display: grid;
    place-items: center;
    border: 1px solid #eadfce;
    box-shadow: inset 0 0 0 10px #faf7f1
}

.brand-logo-panel img {
    width: 132px;
    height: 132px;
    object-fit: contain;
    margin: 0
}

.brand-content {
    display: flex;
    flex-direction: column;
    flex: 1
}

.brand-content h2 {
    margin: 0 0 6px;
    font-size: 27px;
    letter-spacing: 0
}

.brand-content>p {
    color: #645a4f;
    margin: 0 0 14px
}

.brand-meta {
    display: grid;
    gap: 3px;
    margin: 10px 0;
    padding: 11px 13px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px
}

.brand-meta b {
    font-size: 13px;
    color: var(--gold-dark)
}

.brand-meta span,
.brand-meta a {
    font-weight: 800
}

.icon-actions {
    margin-top: auto;
    padding-top: 16px
}

.icon-btn {
    width: 44px;
    height: 44px;
    display: inline-grid !important;
    place-items: center;
    border-radius: 50% !important;
    padding: 0 !important
}

.icon-btn svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
    flex: 0 0 auto
}

.facebook-btn {
    background: #151515 !important;
    color: #fff !important;
    border-color: #151515 !important
}

.whatsapp-btn {
    background: #f8fff8 !important;
    color: #176b39 !important;
    border-color: #a8d8b5 !important
}

.map-btn {
    background: #fff7ef !important;
    color: #b25a2a !important;
    border-color: #efc6a7 !important
}

@media (max-width:900px) {
    .approved-brand-grid {
        grid-template-columns: 1fr
    }
    .brand-logo-panel {
        height: 190px
    }
    .brand-content h2 {
        font-size: 25px
    }
}

.branches-map-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 24px;
    padding: 54px 6vw;
    align-items: stretch
}

.google-map-frame {
    min-height: 560px;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: #eee;
    box-shadow: var(--photo-shadow)
}

.google-map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 560px;
    border: 0;
    display: block
}

.map-agency-list {
    background: #111;
    color: #fff;
    border-radius: 8px;
    padding: 22px;
    box-shadow: var(--photo-shadow);
    display: flex;
    flex-direction: column;
    gap: 14px
}

.map-agency-list h2 {
    margin: 0 0 6px;
    font-size: 22px
}

.map-agency-card {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 14px;
    align-items: center;
    background: #1b1b1b;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    padding: 14px
}

.agency-logo-mini {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background: #fff;
    display: grid;
    place-items: center;
    overflow: hidden
}

.agency-logo-mini img {
    width: 48px;
    height: 48px;
    object-fit: contain
}

.agency-logo-mini span {
    color: #111;
    font-weight: 900
}

.map-agency-card h3 {
    margin: 0 0 2px;
    font-size: 18px
}

.map-agency-card p {
    margin: 0;
    color: #d8cbb8;
    font-size: 14px
}

.agency-map-actions {
    display: flex;
    gap: 9px;
    margin-top: 12px
}

.agency-map-actions .icon-btn {
    width: 40px;
    height: 40px
}

@media (max-width:1000px) {
    .branches-map-section {
        grid-template-columns: 1fr
    }
    .google-map-frame,
    .google-map-frame iframe {
        min-height: 430px
    }
    .map-agency-list {
        order: 2
    }
}