/* چیدمان مرجع دلربا، با هویت و داده‌های مستقل فروشگاه. */
body[data-theme=delrobaa] {
    --line: #f1dbe6;
    --muted: #786771;
    background: var(--store-background);
}
body[data-theme=delrobaa] .container { max-width: 1380px; }
body[data-theme=delrobaa] .announcement {
    background: var(--store-surface);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}
body[data-theme=delrobaa] .announcement .container { min-height: 38px; gap: 20px; }
body[data-theme=delrobaa] .announcement a { color: inherit; }
.utility-menu { display: flex; align-items: center; gap: 0; margin-inline-end: auto; }
.utility-menu a { padding-inline: 12px; border-inline-end: 1px solid var(--line); white-space: nowrap; }
.utility-menu a:first-child { padding-inline-start: 0; }
.utility-menu a:last-child { border: 0; }
body[data-theme=delrobaa] .site-header { background: #fff; }
body[data-theme=delrobaa] .store-header { min-height: 110px; gap: 48px; }
body[data-theme=delrobaa] .brand { color: var(--primary); font-size: 1.8rem; font-weight: 850; }
body[data-theme=delrobaa] .brand small { color: var(--muted); font-weight: 400; }
body[data-theme=delrobaa] .header-search {
    max-width: 600px;
    border: 2px solid var(--primary);
    border-radius: 30px;
    background: #fff;
    padding: 3px 18px 3px 4px;
}
body[data-theme=delrobaa] .header-search input { min-width: 0; }
body[data-theme=delrobaa] .header-search { min-width: 0; }
body[data-theme=delrobaa] .header-actions { gap: 10px; }
body[data-theme=delrobaa] .header-help,
body[data-theme=delrobaa] .cart-header-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 44px;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid var(--primary);
    border-radius: 25px;
    background: linear-gradient(135deg, #fff, var(--store-surface));
    color: var(--primary);
    box-shadow: inset 0 1px 0 #fff;
    white-space: nowrap;
}
body[data-theme=delrobaa] .header-help:hover,
body[data-theme=delrobaa] .cart-header-link:hover { background: var(--store-surface); }
body[data-theme=delrobaa] .header-search button {
    color: #fff;
    background: var(--primary);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    justify-content: center;
    flex-shrink: 0;
}
body[data-theme=delrobaa] .navigation-bar { background: #fff; border-block: 1px solid var(--line); }
body[data-theme=delrobaa] .navigation-inner { gap: 24px; }
body[data-theme=delrobaa] .category-menu summary {
    border-radius: 26px;
    color: #fff;
    background: var(--primary);
    border: 0;
    padding-inline: 20px;
    min-width: 225px;
    min-height: 52px;
}
body[data-theme=delrobaa] .category-dropdown { border-top: 3px solid var(--primary); }
body[data-theme=delrobaa] .store-menu { gap: 25px; font-weight: 600; }
body[data-theme=delrobaa] .store-menu a:hover { color: var(--primary); }
body[data-theme=delrobaa] .home-hero-layout { display: block; margin: 22px 0 30px; }
body[data-theme=delrobaa] .beauty-hero {
    height: auto;
    min-height: 390px;
    aspect-ratio: 2.8;
    border-radius: 22px;
    border: 1px solid var(--line);
    box-shadow: none;
    overflow: hidden;
}
body[data-theme=delrobaa] .beauty-hero .hero-copy {
    width: 48%;
    min-height: 390px;
    padding: 35px 45px;
    background: linear-gradient(90deg, var(--hero-background) 20%, transparent);
}
body[data-theme=delrobaa] .hero h1 { font-size: clamp(1.8rem, 2.6vw, 2.7rem); line-height: 1.65; }
body[data-theme=delrobaa] .hero p { max-width: 410px; }
body[data-theme=delrobaa] .hero-ornament {
    display: block;
    position: absolute;
    left: 25px;
    top: 20px;
    font-size: 25px;
    color: var(--primary);
    opacity: .5;
}
body[data-theme=delrobaa] .store-button {
    background: linear-gradient(120deg, color-mix(in srgb, var(--primary) 78%, white), var(--primary));
    border: 1px solid color-mix(in srgb, var(--primary) 70%, white);
    box-shadow: inset 0 1px 0 #ffffff70, 0 5px 12px #b52d701a;
    border-radius: 24px;
}
body[data-theme=delrobaa] .category-section { margin-bottom: 38px; padding: 0; }
body[data-theme=delrobaa] .category-section .category-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 64px) / 5);
    gap: 16px;
    overflow-x: auto;
    padding-block: 3px 14px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--store-surface);
}
body[data-theme=delrobaa] .category-grid > a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 58px;
    grid-template-rows: 1fr 1fr;
    align-content: center;
    align-items: center;
    text-align: right;
    min-height: 115px;
    scroll-snap-align: start;
    padding: 17px 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: radial-gradient(circle at 90% 20%, #eb5da425, transparent 45%), linear-gradient(135deg, #fff, var(--store-surface));
    box-shadow: inset 0 1px 0 #fff, 0 4px 14px #a7357006;
    gap: 10px;
    min-width: 0;
}
body[data-theme=delrobaa] .category-art {
    grid-column: 2;
    grid-row: 1 / 3;
    width: 58px;
    height: 65px;
    border: 0;
    background: transparent;
    box-shadow: none;
}
body[data-theme=delrobaa] .category-grid > a > strong { grid-column: 1; grid-row: 1; font-size: .83rem; align-self: end; }
.category-explore { grid-column: 1; grid-row: 2; display: flex; align-items: center; gap: 10px; font-size: .65rem; color: var(--primary); }
body[data-theme=delrobaa] .editorial-section { margin-bottom: 40px; }
body[data-theme=delrobaa] .editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
body[data-theme=delrobaa] .editorial-card {
    min-height: 180px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(125deg, #fce4ef, #fff7fb);
    box-shadow: none;
}
body[data-theme=delrobaa] .editorial-card:nth-child(2) { background: linear-gradient(125deg, #f9e0eb, #fff9fc); }
body[data-theme=delrobaa] .editorial-card:nth-child(3) { background: linear-gradient(125deg, #f7e8ef, #fff); }
body[data-theme=delrobaa] .section-title { margin-bottom: 24px; gap: 15px; }
body[data-theme=delrobaa] .section-title h2 { font-size: 1.2rem; font-weight: 800; }
body[data-theme=delrobaa] .section-title h2::before { width: 4px; height: 25px; border-radius: 4px; }
body[data-theme=delrobaa] .featured-section {
    border: 1px solid var(--line);
    border-radius: 25px;
    padding: 26px;
    background: var(--store-surface);
    box-shadow: none;
    margin-bottom: 44px;
}
body[data-theme=delrobaa] .product-shelf { grid-auto-columns: calc((100% - 80px) / 5); gap: 20px; }
body[data-theme=delrobaa] .product-grid { gap: 20px; }
body[data-theme=delrobaa] .product-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: none;
    overflow: hidden;
}
body[data-theme=delrobaa][data-motion=on] .product-card { transition: border-color .2s, box-shadow .2s, transform .2s; }
body[data-theme=delrobaa] .product-card:hover {
    border-color: color-mix(in srgb, var(--primary) 45%, white);
    box-shadow: 0 10px 24px #a7357012;
}
body[data-theme=delrobaa] .card-image { padding: 14px; background: #fff; }
body[data-theme=delrobaa] .card-image > img { object-fit: contain; mix-blend-mode: normal; filter: none; }
body[data-theme=delrobaa] .card-details { padding: 12px 15px 18px; }
body[data-theme=delrobaa] .card-details h3 { font-size: .8rem; font-weight: 600; }
body[data-theme=delrobaa] .card-bottom strong { color: var(--primary); font-size: 1rem; }
body[data-theme=delrobaa] .card-button {
    border-radius: 22px;
    min-height: 39px;
    background: var(--primary);
    box-shadow: inset 0 1px 0 #ffffff55;
}
body[data-theme=delrobaa] .catalog-filters { border: 1px solid var(--line); background: #fff; border-radius: 16px; }
body[data-theme=delrobaa] .catalog-filters input,
body[data-theme=delrobaa] .catalog-filters select { border-color: var(--line); background: #fff; }
body[data-theme=delrobaa] .filter-button { border-radius: 20px; }
body[data-theme=delrobaa] .store-footer { background: var(--store-surface); border-top: 1px solid var(--line); }
body[data-theme=delrobaa] .footer-grid { padding-block: 40px; }
body[data-theme=delrobaa] .footer-brand { color: var(--primary); font-weight: 850; }
body[data-theme=delrobaa] .shopping-benefits { border-bottom-color: var(--line); padding-block: 32px; }
body[data-theme=delrobaa] .footer-bottom { border-top-color: var(--line); }
body[data-theme=delrobaa] :is(a, button, input, select):focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
@media (max-width: 1100px) {
    body[data-theme=delrobaa] .store-header { gap: 25px; }
    body[data-theme=delrobaa] .announcement .store-contact-phone { display: none; }
    body[data-theme=delrobaa] .category-section .category-grid { grid-auto-columns: calc((100% - 32px) / 3); }
    body[data-theme=delrobaa] .product-shelf { grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; }
    body[data-theme=delrobaa] .beauty-hero { min-height: 340px; }
    body[data-theme=delrobaa] .beauty-hero .hero-copy { width: 54%; padding: 28px; min-height: 340px; }
}
@media (max-width: 800px) {
    body[data-theme=delrobaa] .header-help > span,
    body[data-theme=delrobaa] .cart-header-link > span { display: none; }
    body[data-theme=delrobaa] .header-help,
    body[data-theme=delrobaa] .cart-header-link { padding: 9px; }
    body[data-theme=delrobaa] .utility-menu { display: none; }
    body[data-theme=delrobaa] .announcement .container { justify-content: center; min-height: 30px; }
    body[data-theme=delrobaa] .store-header { min-height: 95px; }
    body[data-theme=delrobaa] .brand { font-size: 1.35rem; }
    body[data-theme=delrobaa] .category-menu summary { min-width: 190px; padding-inline: 12px; }
    body[data-theme=delrobaa] .navigation-inner { gap: 18px; }
    body[data-theme=delrobaa] .product-shelf { grid-auto-columns: calc((100% - 32px) / 3); }
    body[data-theme=delrobaa] .beauty-hero .hero-copy { width: 58%; }
    body[data-theme=delrobaa] .hero h1 { font-size: 1.65rem; }
}
@media (max-width: 540px) {
    body[data-theme=delrobaa] .container { padding-inline: 14px; }
    body[data-theme=delrobaa] .store-header { gap: 14px; padding-block: 18px; }
    body[data-theme=delrobaa] .header-search { max-width: none; }
    body[data-theme=delrobaa] .header-search button { width: 36px; height: 36px; }
    body[data-theme=delrobaa] .category-menu summary { min-width: 0; min-height: 44px; font-size: .7rem; }
    body[data-theme=delrobaa] .store-menu { gap: 18px; }
    body[data-theme=delrobaa] .home-hero-layout { margin: 16px 0 22px; }
    body[data-theme=delrobaa] .beauty-hero { min-height: 325px; aspect-ratio: auto; border-radius: 16px; }
    body[data-theme=delrobaa] .beauty-hero > img { opacity: .32; object-fit: cover; }
    body[data-theme=delrobaa] .beauty-hero .hero-copy {
        width: 100%; min-height: 325px; padding: 28px 24px;
        background: linear-gradient(90deg, color-mix(in srgb, var(--hero-background) 88%, transparent), transparent);
    }
    body[data-theme=delrobaa] .hero p { max-width: 290px; font-size: .78rem; }
    body[data-theme=delrobaa] .category-section .category-grid { grid-auto-columns: 78%; gap: 12px; }
    body[data-theme=delrobaa] .category-grid > a { padding: 17px 14px; border-radius: 14px; gap: 7px; }
    body[data-theme=delrobaa] .category-art { width: 58px; height: 65px; }
    body[data-theme=delrobaa] .category-grid > a > strong { font-size: .8rem; }
    .category-explore { font-size: .55rem; gap: 4px; }
    body[data-theme=delrobaa] .editorial-grid { grid-template-columns: 1fr; gap: 12px; }
    body[data-theme=delrobaa] .editorial-card { min-height: 145px; padding: 20px; }
    body[data-theme=delrobaa] .featured-section { padding: 15px; border-radius: 18px; }
    body[data-theme=delrobaa] .product-shelf { grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; }
    body[data-theme=delrobaa] .product-grid { gap: 12px; }
    body[data-theme=delrobaa] .card-details { padding: 8px 10px 12px; }
    body[data-theme=delrobaa] .card-details h3 { font-size: .7rem; }
    body[data-theme=delrobaa] .card-bottom strong { font-size: .85rem; }
    body[data-theme=delrobaa] .card-button { font-size: .64rem; }
    body[data-theme=delrobaa] .section-title h2 { font-size: 1rem; }
}
/* در گوشی تصویر و نوشته در دو ردیف مستقل‌اند تا قواعد بنر دسکتاپ تداخل نکنند. */
@media (max-width: 800px) {
    body[data-theme=delrobaa] .beauty-hero {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        height: auto;
        min-height: 0;
        aspect-ratio: auto;
        gap: 0;
        align-items: stretch;
    }
    body[data-theme=delrobaa] .beauty-hero > img {
        position: static;
        inset: auto;
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
        opacity: 1;
        z-index: auto;
        margin: 0;
    }
    body[data-theme=delrobaa] .beauty-hero .hero-copy {
        width: 100%;
        max-width: none;
        min-width: 0;
        height: auto;
        min-height: 0;
        margin: 0;
        padding: 24px;
        background: var(--hero-background);
        overflow-wrap: anywhere;
    }
    body[data-theme=delrobaa] .beauty-hero .hero-copy p { max-width: none; }
    body[data-theme=delrobaa] .beauty-hero .store-button { max-width: 100%; white-space: normal; }
    body[data-theme=delrobaa] .beauty-hero .hero-ornament { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    body[data-theme=delrobaa] .product-card { transition: none; }
    body[data-theme=delrobaa] .product-card:hover { transform: none; }
}
