/* Yas o Yar — shared visual language for gallery, commerce and administration. */
@font-face {
    font-family: 'Vazirmatn';
    src: url('/fonts/Vazirmatn-Variable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
:root {
    --sage: #c7d1bc;
    --sage-dark: #4f6046;
    --sage-soft: #edf0e6;
    --cream: #f8f6f0;
    --paper: #fffefa;
    --ink: #363c32;
    --muted: #6d7166;
    --line: #dce0d2;
    --border: #dce0d2;
    --gold: #80683e;
    --danger: #944c46;
    --radius: 24px;
    --shadow: 0 12px 38px rgb(52 64 47 / 5%);
}
.yas-theme {
    isolation: isolate;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.95;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
.yas-theme *, .yas-theme *::before, .yas-theme *::after { box-sizing: border-box; }
.yas-theme [hidden], .yas-theme .hidden { display: none !important; }
.yas-theme ::selection { background: #d4ddc6; color: #36412f; }
.yas-theme input, .yas-theme select, .yas-theme textarea, .yas-theme button,
.yas-theme .account-menu { font-family: 'Vazirmatn', Tahoma, sans-serif; }
.yas-theme h1, .yas-theme h2, .yas-theme h3 { color: #5e5139; font-weight: 450; line-height: 1.65; }
.yas-theme h1 { letter-spacing: -.6px; }
.yas-theme h2 { letter-spacing: -.3px; }
.yas-theme .brand__name { font-weight: 500; font-size: 24px; }
.yas-theme .brand__subtitle { font-size: 10px; font-weight: 400; letter-spacing: 0; }
.yas-theme .brand__mark, .yas-theme .brand-mark {
    width: 46px; height: 46px; border: 1px solid #b4aa8d;
    border-radius: 50%; background: #f3f1e7; color: var(--gold);
}
.yas-theme .header__inner { min-height: 88px; }
.yas-theme .header__actions { gap: 10px; }
.yas-theme .cart-link, .yas-theme .account-menu summary {
    border-radius: 999px; min-height: 42px; padding: 8px 16px;
    font-size: 12px; font-weight: 450; transition: background .2s, border-color .2s;
}
.yas-theme .account-menu summary::marker { color: #8b967b; }
.yas-theme .account-menu__panel { border-radius: 20px; padding: 18px; box-shadow: 0 16px 50px #35432e1a; }
.yas-theme .account-menu__identity { font-weight: 600; color: #4f6046; }
.yas-theme .account-menu__panel a, .yas-theme .account-menu__panel button { padding: 10px 6px; border-radius: 8px; }
.yas-theme .account-menu__panel a:hover, .yas-theme .account-menu__panel button:hover { background: #f0f3e9; }
/* Primary actions are softly pill shaped, with the same geometry on every page. */
.yas-theme .button, .yas-theme .btn, .yas-theme .orders-button,
.yas-theme .admin-orders button {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 12px 24px;
    border: 1px solid #4f6046; border-radius: 999px;
    background: #4f6046; color: #fffefa;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    font-size: 14px; font-weight: 500; line-height: 1.7;
    text-decoration: none; cursor: pointer;
    box-shadow: 0 4px 12px rgb(52 64 47 / 9%);
    transition: background .2s, box-shadow .2s, transform .2s;
}
.yas-theme .button:not(:disabled):hover, .yas-theme .btn:not(:disabled):hover,
.yas-theme .orders-button:hover, .yas-theme .admin-orders button:not(:disabled):hover {
    background: #3e5036; box-shadow: 0 6px 18px rgb(52 64 47 / 15%); transform: translateY(-1px); filter: none;
}
.yas-theme .button:not(:disabled):active, .yas-theme .btn:not(:disabled):active { transform: translateY(0); }
.yas-theme .btn-secondary, .yas-theme .google,
.yas-theme .orders-pagination button {
    min-height: 46px; border: 1px solid #cdd5bf; border-radius: 999px;
    background: #f4f6ed; color: #4f6046; box-shadow: none; text-decoration: none;
}
.yas-theme .btn-secondary:not(:disabled):hover, .yas-theme .google:hover,
.yas-theme .orders-pagination button:not(:disabled):hover { background: #e7eddd; color: #3e5036; }
.yas-theme .btn-danger { background: #fbefed; color: #944c46; border-color: #e7ceca; box-shadow: none; }
.yas-theme .btn-danger:not(:disabled):hover { background: #f2dfda; color: #823d36; }
.yas-theme .btn-small { min-height: 38px; padding: 8px 16px; font-size: 12px; }
.yas-theme button:disabled, .yas-theme .button:disabled {
    cursor: not-allowed; background: #e0e4d8; border-color: #d7ddce;
    color: #767e6b; box-shadow: none; opacity: .85; transform: none;
}
.yas-theme .checkout-tabs, .yas-theme .tabs {
    padding: 5px; gap: 5px; background: #eff2e8; border: 1px solid #e0e5d5; border-radius: 999px;
}
.yas-theme .checkout-tab, .yas-theme .tab {
    min-height: 44px; padding: 9px 16px; border-radius: 999px;
    border: 1px solid transparent; background: transparent; color: #68735c; font-weight: 500;
}
.yas-theme .checkout-tab[aria-selected="true"], .yas-theme .tab.active {
    color: #435338; background: #fffefa; border-color: #d8e0cc; box-shadow: 0 2px 6px #35432e08;
}
.yas-theme input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.yas-theme select, .yas-theme textarea {
    min-height: 48px; border: 1px solid #d7decd; border-radius: 14px;
    background: #fffefa; color: #363c32; padding: 12px 14px;
    font-size: 15px; line-height: 1.8; transition: border-color .2s, box-shadow .2s;
}
.yas-theme input::placeholder, .yas-theme textarea::placeholder { color: #818778; opacity: 1; }
.yas-theme input:focus, .yas-theme textarea:focus, .yas-theme select:focus {
    border-color: #879b73; box-shadow: 0 0 0 3px #c7d1bc40; outline: 0;
}
.yas-theme input[type="file"] { max-width: 100%; font-size: 13px; }
.yas-theme input[type="file"]::file-selector-button {
    font: inherit; border: 1px solid #cdd5bf; border-radius: 999px;
    background: #edf1e5; color: #4f6046; padding: 8px 15px; margin-inline-end: 10px; cursor: pointer;
}
.yas-theme label, .yas-theme .checkout-field label { color: #5f6955; font-size: 13px; font-weight: 500; }
.yas-theme a:focus-visible, .yas-theme button:focus-visible, .yas-theme summary:focus-visible {
    outline: 2px solid #80683e; outline-offset: 4px;
}
/* Give the works room; decoration stays outside product photography. */
.yas-theme .hero { padding: 56px 0 42px; }
.yas-theme .hero h1 { font-size: clamp(27px, 4vw, 42px); font-weight: 350; margin: 14px 0; }
.yas-theme .hero__eyebrow { font-family: Georgia, serif; font-size: 11px; letter-spacing: 3px; }
.yas-theme .hero p { font-size: 14px; line-height: 2; }
.yas-theme .grid { gap: 28px; }
.yas-theme .card { border-radius: 22px; background: #fffefa; border-color: #e1e4d8; }
.yas-theme .grid > a.card { border-color: transparent; background: transparent; box-shadow: none; }
.yas-theme .grid > a.card:hover { border-color: #dce0d2; background: #fffefa; box-shadow: 0 14px 36px #35432e0a; }
.yas-theme .card__image { border-radius: 20px; overflow: hidden; }
.yas-theme .card__image img { transition: transform .6s ease; }
.yas-theme a.card:hover .card__image img { transform: scale(1.025); }
.yas-theme .card__body { padding: 20px 12px 24px; }
.yas-theme .card h2 { font-size: 19px; font-weight: 450; min-height: 0; margin: 8px 0 10px; }
.yas-theme .card__description { line-height: 2; font-size: 12px; }
.yas-theme .card__footer { border-top: 1px solid #e3e6db; margin-top: 20px; padding-top: 16px; }
.yas-theme .price { font-size: 14px; font-weight: 550; color: #675334; }
.yas-theme .badge { border: 1px solid #e5e6dc; padding: 5px 13px; font-size: 11px; backdrop-filter: blur(8px); }
.yas-theme .detail { gap: 56px; padding-top: 44px; }
.yas-theme .gallery__main { border-radius: 120px 120px 22px 22px; }
.yas-theme .gallery__thumbs button { border-radius: 15px; }
.yas-theme .gallery__thumbs button[aria-pressed="true"] { border-color: #a18d60; }
.yas-theme .detail h1 { font-size: clamp(27px,4vw,40px); font-weight: 400; }
.yas-theme .detail__description { font-size: 14px; line-height: 2.2; }
.yas-theme .detail__price { font-size: 25px; font-weight: 500; }
.yas-theme .availability { border: 1px solid #dce5ce; border-radius: 14px; background: #eff4e8; }
.yas-theme .availability--out { background: #faf0ed; border-color: #efdbd3; }
.yas-theme .cart-list, .yas-theme .cart-summary, .yas-theme .checkout-card,
.yas-theme .orders-card, .yas-theme .order-detail, .yas-theme .admin-order {
    background: #fffefa; border: 1px solid #dce0d2; border-radius: 24px; box-shadow: 0 10px 28px #35432e04;
}
.yas-theme .cart-summary, .yas-theme .checkout-card, .yas-theme .orders-card { padding: 28px; }
.yas-theme .cart-item { padding: 24px; border-color: #e6e9df; }
.yas-theme .cart-item__name { font-weight: 500; }
.yas-theme .cart-item__image { border-radius: 16px; }
.yas-theme .cart-remove { border-radius: 999px; font-size: 12px; }
.yas-theme .cart-remove:hover { background: #faeeeb; }
.yas-theme .cart-quantity { padding: 6px!important; min-height: 40px!important; width: 70px; }
.yas-theme .order-row { border-color: #dce0d2; border-radius: 18px; padding: 22px; transition: background .2s; }
.yas-theme .order-row:hover { background: #f5f7ee; }
.yas-theme .order-row__number, .yas-theme .order-row__amount { font-weight: 550; }
.yas-theme .order-row__meta { display: block; margin-top: 6px; font-size: 12px; }
.yas-theme .order-detail__section { border-color: #e1e6d6; }
.yas-theme .checkout-page__heading, .yas-theme .cart-page__heading, .yas-theme .orders-heading { font-weight: 400; }
.yas-theme .home-hero { background-color: #cbd4c1; box-shadow: inset 0 0 0 11px #cbd4c1, inset 0 0 0 12px #aebd9d; }
.yas-theme .home-hero h1 { font-family: 'Vazirmatn', Tahoma, sans-serif; font-size: clamp(56px,7vw,88px); font-weight: 300; letter-spacing: -2px; }
.yas-theme .home-hero__signature { font-size: 16px; line-height: 2.1; font-weight: 350; }
.yas-theme .home-hero .button { border-radius: 999px; min-width: 230px; margin-top: 22px; }
.yas-theme .home-note h2 { font-size: 18px; font-weight: 450; }
.yas-theme .home-note p { font-size: 13px; }
/* Standalone authentication and product administration use this same foundation. */
.yas-theme.theme-auth {
    background: radial-gradient(ellipse at 10% 15%, #e6ecdc 0, transparent 45%), #f8f6f0;
}
.yas-theme.theme-auth::before {
    content: ''; position: fixed; inset-inline-start: -100px; bottom: -100px;
    width: 330px; height: 550px; background: url('/images/jasmine-branch.svg') center / contain no-repeat;
    opacity: .23; pointer-events: none; z-index: -1;
}
.yas-theme.theme-auth .page { width: min(100% - 32px, 520px); padding: 44px 0; }
.yas-theme.theme-auth .brand { margin-bottom: 26px; text-decoration: none; }
.yas-theme.theme-auth .card { padding: 34px; border: 1px solid #d9dfce; border-radius: 30px; box-shadow: 0 20px 70px #35432e0a; }
.yas-theme.theme-auth h1 { font-size: 27px; font-weight: 450; }
.yas-theme.theme-auth .subtitle { line-height: 2; font-size: 13px; }
.yas-theme.theme-auth .field { margin-bottom: 18px; }
.yas-theme.theme-auth .google { display: block; padding: 12px; text-align: center; font-size: 14px; }
.yas-theme.theme-auth .back { color: #66705b; }
.yas-theme.theme-admin .page { padding-top: 32px; }
.yas-theme.theme-admin .header { border-bottom: 1px solid #dce0d2; padding-bottom: 24px; }
.yas-theme.theme-admin .card { box-shadow: 0 8px 30px #35432e06; }
.yas-theme.theme-admin .card:hover { transform: none; }
.yas-theme.theme-admin .grid { gap: 18px; }
.yas-theme .admin-orders form { padding: 24px; border: 1px solid #dce0d2; border-radius: 24px; background: #fffefa; align-items: end; }
.yas-theme .admin-orders form label { flex: 1 1 170px; min-width: 0; }
.yas-theme .admin-orders input, .yas-theme .admin-orders select { width: 100%; }
.yas-theme .admin-orders nav a { color: #536149; border-bottom: 1px solid #b6c3a5; }
.yas-theme .admin-orders h1 { font-weight: 400; }
.yas-theme .footer { background: #e9eedf; padding-block: 40px; }
.yas-theme .brand-footer__name { font-size: 28px; font-weight: 400; }
.yas-theme .brand-footer__signature { font-weight: 350; line-height: 2; }
@media(max-width:900px) {
    .yas-theme .detail { gap: 30px; }
    .yas-theme .header__actions { gap: 7px; }
    .yas-theme .grid { gap: 20px; }
}
@media(max-width:640px) {
    .yas-theme { font-size: 14px; }
    .yas-theme .header__inner { min-height: 74px; }
    .yas-theme .header__actions { gap: 6px; }
    .yas-theme .cart-link, .yas-theme .account-menu summary { min-height: 40px; padding: 8px 11px; font-size: 11px; }
    .yas-theme .hero { padding: 34px 0 30px; }
    .yas-theme .hero p { font-size: 12px; }
    .yas-theme .detail { padding-top: 24px; gap: 24px; }
    .yas-theme .gallery__main { border-radius: 90px 90px 20px 20px; }
    .yas-theme .cart-summary, .yas-theme .checkout-card, .yas-theme .orders-card { padding: 20px; }
    .yas-theme .cart-item { padding: 16px; }
    .yas-theme .checkout-field input, .yas-theme .checkout-field textarea,
    .yas-theme.theme-auth input, .yas-theme.theme-admin input,
    .yas-theme input, .yas-theme select, .yas-theme textarea { font-size: 16px; }
    .yas-theme .button, .yas-theme .btn, .yas-theme .orders-button { min-height: 48px; font-size: 13px; padding: 12px 20px; }
    .yas-theme .home-hero h1 { font-size: 60px; }
    .yas-theme .home-hero__signature { font-size: 14px; }
    .yas-theme.theme-auth .card { padding: 26px 22px; border-radius: 24px; }
    .yas-theme.theme-admin .header { flex-wrap: wrap; }
    .yas-theme .admin-orders form { padding: 18px; }
    .yas-theme .admin-orders form label { flex-basis: 100%; }
    .yas-theme .admin-orders dl { grid-template-columns: 1fr; gap: 5px; }
    .yas-theme .admin-orders dd { margin-bottom: 12px; }
    .yas-theme .footer { padding-block: 30px; }
}
@media(prefers-reduced-motion:reduce) {
    .yas-theme *, .yas-theme *::before, .yas-theme *::after { animation: none!important; transition: none!important; scroll-behavior: auto!important; }
}

/* Original supplied mark, colored sage and placed on the existing site background. */
.yas-theme .yas-brand-logo { display: block; width: 64px; height: 64px; object-fit: contain; flex: 0 0 64px; }
.home-slideshow { position: relative; width: 100%; }
.home-slideshow .home-slide { position: relative; inset: auto; width: min(100%, 460px); margin: auto; transform: none; }
.home-slide[hidden] { display: none !important; }
.home-slide:not([hidden]) { animation: home-slide-reveal .65s ease; }
.slideshow-toggle { display: block; margin: 14px auto; font: inherit; font-size: 12px; background: transparent; color: var(--sage-dark); border: 1px solid var(--border); border-radius: 20px; padding: 6px 16px; cursor: pointer; }
@keyframes home-slide-reveal { from { opacity: 0; } to { opacity: 1; } }
@media(max-width:640px) { .yas-theme .yas-brand-logo { width: 52px; height: 52px; flex-basis: 52px; } .yas-theme .header__inner { flex-wrap: wrap; } .yas-theme .header__actions { flex-wrap: wrap; } }
@media(prefers-reduced-motion:reduce) { .home-slide:not([hidden]) { animation: none; } }
