:root {
    --green-950: #0b2c22;
    --green-900: #103c2e;
    --green-800: #16513d;
    --green-700: #1d684d;
    --green-100: #e3eee8;
    --cream: #f7f3e9;
    --cream-deep: #eee7d7;
    --paper: #fffdf8;
    --gold: #c99948;
    --gold-light: #e4c98e;
    --ink: #17251f;
    --muted: #65736c;
    --line: #e4e2d8;
    --danger: #b6423c;
    --shadow: 0 22px 60px rgba(23, 50, 39, .11);
    --radius-lg: 28px;
    --radius-md: 18px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Noto Kufi Arabic", Tahoma, sans-serif;
    -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }


.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,253,248,.93); border-bottom: 1px solid rgba(22,81,61,.09); backdrop-filter: blur(16px); }
.header-inner { height: 58px; display: flex; align-items: center; gap: 54px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark { width: 38px; height: 41px; display: grid; place-items: center; position: relative; border: 1px solid rgba(201,153,72,.62); border-radius: 50% 50% 45% 45%; color: var(--gold); background: var(--green-900); box-shadow: inset 0 0 0 4px rgba(255,255,255,.04); transform: rotate(3deg); }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; top: -5px; width: 16px; height: 11px; border-radius: 100% 0 100% 0; background: var(--green-700); }
.brand-mark::before { right: 7px; transform: rotate(22deg); }
.brand-mark::after { left: 7px; transform: scaleX(-1) rotate(22deg); }
.brand-mark span { font-family: "Noto Naskh Arabic", serif; font-size: 27px; font-weight: 700; transform: rotate(-3deg); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy strong { color: var(--green-900); font-family: "Noto Naskh Arabic", serif; font-size: 19px; letter-spacing: -.4px; }
.brand-copy small { margin-top: 4px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: 1.3px; }
.main-nav { display: flex; align-items: center; gap: 34px; margin-inline-end: auto; }
.main-nav a { position: relative; padding: 31px 0 28px; color: #4d5c54; font-size: 12px; font-weight: 600; }
.main-nav a::after { content: ""; position: absolute; bottom: 19px; right: 0; width: 0; height: 2px; background: var(--gold); transition: width .25s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--green-800); }
.main-nav a:hover::after, .main-nav a.active::after { width: 22px; }
.cart-button { display: flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 10px 14px 10px 11px; color: var(--paper); background: var(--green-900); box-shadow: 0 8px 24px rgba(16,60,46,.16); }
.cart-icon { font-size: 23px; line-height: 1; transform: rotate(180deg); }
.cart-label { font-size: 11px; }
.cart-count { min-width: 24px; height: 24px; display: grid; place-items: center; padding: 0 6px; border-radius: 50%; color: var(--green-950); background: var(--gold-light); font-size: 10px; font-weight: 800; }
.mobile-menu-button { display: none; }

.hero { position: relative; overflow: hidden; background: var(--green-900); line-height: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 38%, rgba(219,188,117,.12), transparent 31%), linear-gradient(110deg, transparent 0 62%, rgba(4,26,20,.18) 62%); }
.hero-pattern { position: absolute; inset: 0; opacity: .1; background-image: radial-gradient(rgba(239,223,180,.8) .7px, transparent .7px); background-size: 26px 26px; mask-image: linear-gradient(90deg, black, transparent 45%, black); }
.section-kicker { color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .8px; }
.values-story h2 em { color: var(--gold-light); font-style: normal; font-weight: 500; }
.button { min-height: 49px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; border-radius: 6px; padding: 11px 24px; font-size: 12px; font-weight: 700; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--green-950); background: var(--gold-light); box-shadow: 0 12px 30px rgba(14,37,28,.18); }
.button-primary:hover { background: #ebd49f; box-shadow: 0 14px 34px rgba(14,37,28,.24); }
.button-outline { color: var(--green-800); border-color: #cfd8d2; background: transparent; }
.button-outline:hover { background: var(--green-100); }
.button-full { width: 100%; }
.button-small { min-height: 39px; padding: 8px 18px; }

.hero-banner { position: relative; margin: 0; width: 100%; height: clamp(150px, 48vw, 330px); overflow: hidden; }
.hero-banner img { display: block; width: 100%; height: 100%; object-fit: cover; }

.category-strip { border-bottom: 1px solid var(--line); background: var(--cream); }
.category-strip-inner { min-height: 83px; display: flex; align-items: center; gap: 36px; }
.category-strip-inner > span { color: #7a6850; font-size: 10px; font-weight: 700; white-space: nowrap; }
.category-links { min-width: 0; max-width: 100%; display: flex; align-items: center; gap: 9px; overflow-x: auto; scrollbar-width: none; }
.category-links::-webkit-scrollbar { display: none; }
.category-chip { flex: 0 0 auto; border: 1px solid #d8d2c3; border-radius: 999px; padding: 8px 16px; color: #57635d; background: transparent; font-size: 10px; transition: .2s ease; }
.category-chip:hover, .category-chip.active { color: white; border-color: var(--green-800); background: var(--green-800); }

.products-section { padding: 30px 0 90px; background: var(--paper); }
.section-heading { display: flex; justify-content: flex-end; align-items: flex-end; gap: 30px; margin-bottom: 18px; }
.section-heading h2, .payment-showcase h2 { margin: 8px 0 7px; color: var(--green-900); font-family: "Noto Naskh Arabic", serif; font-size: 43px; line-height: 1.2; }
.section-heading p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.product-search { width: 242px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid #cdd2cd; padding: 8px 2px; }
.product-search span { color: var(--green-700); font-size: 22px; }
.product-search input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 11px; }
.products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 21px; }
.product-card { min-width: 0; border: 1px solid #e5e2d8; border-radius: 4px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 rgba(16,60,46,.02); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.product-card:hover { transform: translateY(-6px); border-color: #d8d1bf; box-shadow: 0 18px 48px rgba(18,62,47,.1); }
.product-card.filtered-out { display: none; }
.product-visual { height: 232px; position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--accent), white 71%), #efede5 68%); }
.product-visual::before { content: ""; position: absolute; width: 150px; height: 150px; border: 1px solid color-mix(in srgb, var(--accent), transparent 60%); border-radius: 50%; }
.product-visual::after { content: ""; position: absolute; width: 91px; height: 35px; bottom: 47px; border-radius: 50%; background: color-mix(in srgb, var(--accent), #3b3028 40%); box-shadow: inset 0 8px 10px rgba(255,255,255,.25), 0 13px 18px rgba(64,49,31,.16); transform: perspective(80px) rotateX(22deg); }
.product-visual picture { display: contents; }
.product-visual img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 2; }
.product-category { position: absolute; z-index: 4; top: 15px; right: 15px; border-radius: 99px; padding: 5px 10px; color: var(--green-900); background: rgba(255,255,255,.82); font-size: 8px; font-weight: 700; backdrop-filter: blur(8px); }
.product-emoji { position: relative; z-index: 3; margin-top: -1px; font-size: 65px; filter: drop-shadow(0 14px 12px rgba(44,45,26,.18)); }
.product-shadow { position: absolute; bottom: 33px; width: 105px; height: 13px; border-radius: 50%; background: rgba(26,44,34,.13); filter: blur(5px); }
.product-body { padding: 21px 20px 19px; }
.product-meta { color: var(--gold); font-size: 9px; font-weight: 700; }
.product-body h3 { margin: 6px 0 8px; color: var(--green-900); font-family: "Noto Naskh Arabic", serif; font-size: 22px; line-height: 1.25; }
.product-body > p { min-height: 44px; display: -webkit-box; margin: 0; overflow: hidden; color: #6c756f; font-size: 9px; line-height: 1.8; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-top: 17px; padding-top: 15px; border-top: 1px solid #efede6; }
.product-footer > strong { color: var(--green-800); font-size: 13px; white-space: nowrap; }
.product-purchase { display: flex; align-items: center; gap: 7px; }
.product-card-quantity { height: 30px; display: flex; align-items: center; overflow: hidden; border: 1px solid #d9ddd9; border-radius: 10px; background: white; }
.product-card-quantity button { width: 25px; height: 100%; display: grid; place-items: center; border: 0; color: var(--green-800); background: #f5f6f2; font-size: 14px; font-weight: 700; }
.product-card-quantity button:hover { color: white; background: var(--green-700); }
.product-card-quantity input { width: 35px; height: 100%; border: 0; outline: 0; color: var(--green-900); background: white; text-align: center; font-size: 10px; font-weight: 700; }
.product-card-quantity:focus-within { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(194,151,74,.12); }
.add-button { min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 10px; padding: 0 14px; color: #fff; background: var(--green-800); font-size: 13px; font-weight: 700; transition: background .2s ease; }
.add-button:hover { background: var(--green-700); }
.add-button span { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(255,255,255,.22); font-size: 15px; transition: transform .2s ease; }
.add-button:hover span { transform: rotate(90deg); }
.add-button.added { background: var(--gold); color: var(--green-950); }
.add-button:disabled { cursor: not-allowed; color: #a05049; background: #f3eeec; }
.product-unavailable .product-visual img { filter: saturate(.55); }
.empty-products { padding: 85px 20px; text-align: center; }
.empty-products span { font-size: 45px; }
.empty-products h3 { margin: 13px 0 5px; color: var(--green-900); }
.empty-products p { margin: 0; color: var(--muted); font-size: 12px; }

.values-section { padding: 110px 0; color: white; background: var(--green-950); }
.values-grid { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 105px; }
.section-kicker.light { color: var(--gold-light); }
.values-story h2 { margin: 16px 0 24px; font-family: "Noto Naskh Arabic", serif; font-size: 48px; line-height: 1.17; }
.values-story > p { max-width: 500px; margin: 0; color: #b6c5bd; font-size: 12px; line-height: 2; }
.signature { margin-top: 34px; color: var(--gold-light); font-family: "Noto Naskh Arabic", serif; font-size: 21px; }
.signature span { margin-inline-start: 9px; color: #859990; font-family: "Noto Kufi Arabic", sans-serif; font-size: 8px; }
.values-list { display: flex; flex-direction: column; }
.values-list article { display: grid; grid-template-columns: 54px 1fr; gap: 22px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.values-list article:first-child { border-top: 1px solid rgba(255,255,255,.12); }
.value-number { color: var(--gold); font-family: Georgia, serif; font-size: 13px; font-style: italic; }
.values-list h3 { margin: 0 0 7px; color: #f4ead4; font-size: 14px; }
.values-list p { margin: 0; color: #93a69d; font-size: 10px; line-height: 1.8; }

.payment-showcase { padding: 70px 0; background: var(--cream); }
.payment-showcase-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.payment-showcase h2 { margin-bottom: 0; font-size: 31px; }
.payment-logos { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 11px; }
.payment-logos > span { display: flex; align-items: center; gap: 9px; border: 1px solid #ded9cd; border-radius: 10px; padding: 11px 14px; color: #4d5c54; background: rgba(255,255,255,.56); font-size: 10px; font-weight: 700; }
.payment-logos i { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; color: white; background: var(--payment-accent); font-size: 9px; font-style: normal; font-weight: 800; }

footer { padding-top: 71px; color: #c2d0c9; background: #09271e; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .65fr .8fr .9fr; gap: 65px; padding-bottom: 57px; }
.brand-light .brand-copy strong { color: #f3ead8; }
.footer-grid > div:first-child > p { margin: 20px 0 0; color: #879c92; font-family: "Noto Naskh Arabic", serif; font-size: 17px; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-grid h3 { margin: 0 0 8px; color: #f0e6d1; font-size: 11px; }
.footer-grid a, .footer-grid button, .footer-grid span { border: 0; padding: 0; color: #8fa198; background: none; font-size: 9px; }
.footer-grid a:hover, .footer-grid button:hover { color: var(--gold-light); }
.footer-note { padding: 20px !important; border: 1px solid rgba(228,201,142,.14); border-radius: 8px; background: rgba(255,255,255,.025); }
.footer-note strong { color: var(--gold-light); font-size: 14px; }
.footer-note small { color: #789086; font-size: 8px; }
.footer-bottom { display: flex; justify-content: space-between; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.08); color: #657a70; font-size: 8px; }

.drawer-backdrop, .modal-backdrop, .success-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(4,24,17,.58); backdrop-filter: blur(5px); animation: fadeIn .2s ease; }
.cart-drawer { width: min(440px, 100%); position: fixed; z-index: 100; top: 0; bottom: 0; left: 0; display: flex; flex-direction: column; padding: 31px; background: var(--paper); box-shadow: 20px 0 70px rgba(0,0,0,.2); transform: translateX(-105%); transition: transform .3s cubic-bezier(.2,.75,.25,1); }
.cart-drawer.open { transform: translateX(0); }
.drawer-header { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 23px; border-bottom: 1px solid var(--line); }
.drawer-header span { color: var(--gold); font-size: 9px; font-weight: 700; }
.drawer-header h2 { margin: 3px 0 0; color: var(--green-900); font-family: "Noto Naskh Arabic", serif; font-size: 28px; }
.drawer-header button, .modal-close { width: 37px; height: 37px; display: grid; place-items: center; border: 1px solid #d7dbd7; border-radius: 50%; color: #526159; background: transparent; font-size: 23px; line-height: 1; }
.cart-items { flex: 1; overflow-y: auto; padding: 14px 2px; }
.cart-item { display: grid; grid-template-columns: 65px 1fr auto; gap: 13px; align-items: center; padding: 14px 0; border-bottom: 1px solid #ebe8df; }
.cart-item-visual { width: 65px; height: 65px; display: grid; place-items: center; overflow: hidden; border-radius: 11px; background: var(--cream-deep); font-size: 26px; }
.cart-item-visual img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-copy { display: flex; flex-direction: column; min-width: 0; }
.cart-item-copy strong { overflow: hidden; color: var(--green-900); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.cart-item-copy small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.cart-item-copy small b, .cart-item-copy small span { display: block; }
.cart-item-copy small b { color: var(--green-700); font-size: 9px; }
.cart-item-copy small span { margin-top: 2px; color: #8c9690; }
.quantity-control { display: flex; align-items: center; gap: 9px; margin-top: 9px; }
.quantity-control button { width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid #d9ddd9; border-radius: 50%; color: var(--green-800); background: white; font-size: 14px; }
.quantity-control input { width: 47px; height: 27px; border: 1px solid #d9ddd9; border-radius: 7px; outline: 0; color: var(--green-900); background: white; text-align: center; font-size: 10px; font-weight: 700; }
.quantity-control input:focus { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(194,151,74,.12); }
.cart-item-side { display: flex; flex-direction: column; align-items: flex-end; gap: 13px; }
.cart-item-side strong { color: var(--green-800); font-size: 10px; white-space: nowrap; }
.cart-item-side button { border: 0; color: #a47a70; background: transparent; font-size: 8px; }
.cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.cart-empty > span { font-size: 49px; }
.cart-empty h3 { margin: 17px 0 4px; color: var(--green-900); font-family: "Noto Naskh Arabic", serif; font-size: 24px; }
.cart-empty p { margin: 0 0 21px; color: var(--muted); font-size: 10px; }
.cart-summary { padding-top: 21px; border-top: 1px solid var(--line); }
.cart-summary > div { display: flex; justify-content: space-between; align-items: center; }
.cart-summary span { color: #4f5d56; font-size: 11px; }
.cart-summary strong { color: var(--green-900); font-size: 20px; }
.cart-summary p { margin: 9px 0 17px; color: #7a847e; font-size: 8px; line-height: 1.7; }
.cart-share-button { margin-bottom: 9px; }

.checkout-modal, .admin-modal { width: min(760px, calc(100% - 28px)); max-height: calc(100vh - 34px); position: absolute; top: 50%; left: 50%; overflow-y: auto; border-radius: 16px; padding: 37px 40px 40px; background: var(--paper); box-shadow: var(--shadow); transform: translate(-50%, -50%); animation: modalUp .3s ease; }
.modal-close { position: absolute; top: 23px; left: 23px; }
.checkout-head { padding-inline-end: 42px; margin-bottom: 25px; }
.checkout-step { color: var(--gold); font-size: 9px; font-weight: 700; }
.checkout-head h2 { margin: 6px 0; color: var(--green-900); font-family: "Noto Naskh Arabic", serif; font-size: 31px; }
.checkout-head p { margin: 0; color: var(--muted); font-size: 9px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-hint { color: #7d8982; font-size: 7px; line-height: 1.7; }
.field-wide { grid-column: 1 / -1; }
.field > span, .field > span small { color: #43524a; font-size: 9px; font-weight: 700; }
.field > span small { color: #929c96; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #dcded9; border-radius: 7px; outline: 0; padding: 11px 13px; color: var(--ink); background: white; font-size: 10px; transition: border .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(29,104,77,.09); }
.field input[readonly] { color: #78847d; background: #f2f1ec; }
.field textarea { resize: vertical; line-height: 1.7; }
.payment-options { margin: 25px 0 0; border: 0; border-top: 1px solid var(--line); padding: 21px 0 0; }
.payment-options legend { padding: 0; color: var(--green-900); font-size: 10px; font-weight: 700; }
.payment-option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.payment-option { min-height: 67px; position: relative; display: grid; grid-template-columns: 37px 1fr 18px; align-items: center; gap: 10px; border: 1px solid #dfe1dc; border-radius: 9px; padding: 10px; cursor: pointer; transition: .2s ease; }
.payment-option:has(input:checked) { border-color: var(--payment-accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--payment-accent), transparent 88%); }
.payment-option input { position: absolute; opacity: 0; pointer-events: none; }
.payment-option > i { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 9px; color: white; background: var(--payment-accent); font-size: 9px; font-style: normal; font-weight: 800; }
.payment-option > span { display: flex; flex-direction: column; }
.payment-option strong { color: #2e4238; font-size: 9px; }
.payment-option small { margin-top: 3px; color: #88938d; font-size: 7px; line-height: 1.5; }
.payment-option > b { width: 17px; height: 17px; display: grid; place-items: center; border: 1px solid #d9ddd9; border-radius: 50%; color: transparent; font-size: 9px; }
.payment-option:has(input:checked) > b { color: white; border-color: var(--payment-accent); background: var(--payment-accent); }
.payment-help { margin: 9px 0 0; color: #849088; font-size: 7px; }
.checkout-disabled { padding: 15px; border-radius: 8px; color: #8b423e; background: #f9e8e6; font-size: 10px; }
.card-upload-panel { margin-top: 19px; border: 1px solid #dfe3dc; border-radius: 12px; padding: 18px; background: #f7f8f4; }
.card-upload-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 15px; }
.card-upload-head > div { display: flex; flex-direction: column; }
.card-upload-head > div > span { color: var(--gold); font-size: 8px; font-weight: 700; }
.card-upload-head h3 { margin: 3px 0; color: var(--green-900); font-size: 13px; }
.card-upload-head p { margin: 0; color: #76827b; font-size: 8px; line-height: 1.7; }
.local-ocr-badge { flex: 0 0 auto; border-radius: 99px; padding: 6px 9px; color: #236149; background: #e1eee7; font-size: 7px; font-weight: 700; }
.card-upload-controls { display: grid; grid-template-columns: 150px 1fr; gap: 11px; align-items: stretch; }
.card-file-button { min-height: 65px; display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-content: center; border: 1px dashed #adc1b5; border-radius: 8px; padding: 10px 14px; color: var(--green-800); background: #edf4ef; cursor: pointer; }
.card-file-button input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.card-file-button > span { width: 32px; height: 32px; grid-row: 1 / 3; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green-700); font-size: 17px; }
.card-file-button strong { align-self: end; font-size: 9px; }
.card-file-button small { color: #78867e; font-size: 7px; }
.card-reading-list { display: flex; flex-direction: column; gap: 8px; margin-top: 13px; }
.card-list-empty { border: 1px dashed #d7ddd8; border-radius: 8px; padding: 15px; color: #87928c; text-align: center; font-size: 8px; }
.card-reading-item { display: grid; grid-template-columns: 55px 1fr 105px 27px; align-items: center; gap: 10px; border: 1px solid #e0e4df; border-radius: 9px; padding: 8px; background: white; }
.card-reading-item > img { width: 55px; height: 48px; border-radius: 7px; object-fit: cover; }
.card-reading-copy { min-width: 0; display: flex; flex-direction: column; }
.card-reading-copy > strong { color: var(--green-900); font-size: 8px; }
.card-reading-copy > small { overflow: hidden; color: #929c96; font-size: 6px; text-overflow: ellipsis; white-space: nowrap; }
.card-read-status { position: relative; display: inline-flex; align-items: center; margin-top: 4px; font-size: 6px; line-height: 1.5; }
.card-read-status.reading { color: #8a681f; }
.card-read-status.reading i { width: 34px; height: 3px; position: relative; margin-left: 6px; overflow: hidden; border-radius: 9px; background: #eee7d7; }
.card-read-status.reading i::after { content: ""; position: absolute; inset: 0; width: var(--progress); background: var(--gold); }
.card-read-status.ready { color: #247052; }
.card-read-status.error { color: #a3423c; }
.card-reading-item > label { display: flex; flex-direction: column; gap: 3px; }
.card-reading-item > label span { color: #87928c; font-size: 6px; }
.card-reading-item select { width: 100%; border: 1px solid #dce1dc; border-radius: 6px; padding: 6px; color: #3f5047; background: white; font-size: 7px; }
.card-reading-item > button { width: 25px; height: 25px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #9d4943; background: #f8e8e6; font-size: 15px; }
.card-payment-totals { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 13px; border: 1px solid #e0e4df; border-radius: 9px; overflow: hidden; background: white; }
.card-payment-totals > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-left: 1px solid #e8ebe7; }
.card-payment-totals > div:last-child { border-left: 0; }
.card-payment-totals span { color: #7b8881; font-size: 6px; }
.card-payment-totals strong { color: var(--green-900); font-size: 10px; }
.card-payment-totals .credit strong { color: #23724f; }
.card-payment-totals .short strong { color: #a84a43; }
.card-privacy-note { margin: 10px 0 0; padding-right: 17px; position: relative; color: #728078; font-size: 7px; line-height: 1.7; }
.card-privacy-note::before { content: "●"; position: absolute; right: 2px; color: var(--green-700); font-size: 6px; }
.wallet-use-panel { margin-top: 13px; border: 1px solid #dfe3dc; border-radius: 10px; overflow: hidden; background: white; }
.wallet-use-panel > button { width: 100%; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; border: 0; padding: 12px 14px; color: var(--green-800); background: transparent; text-align: right; }
.wallet-use-panel > button > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: var(--gold); background: var(--cream); font-size: 16px; }
.wallet-use-panel > button > div { display: flex; flex-direction: column; }
.wallet-use-panel > button strong { font-size: 8px; }
.wallet-use-panel > button small { margin-top: 2px; color: #87928c; font-size: 6px; }
.wallet-use-panel > button b { font-size: 16px; font-weight: 400; }
.wallet-check-form { padding: 12px 14px 14px; border-top: 1px solid #e6e9e5; background: #fafbf8; }
.wallet-check-form > p { margin: 0 0 9px; color: #7c8882; font-size: 7px; line-height: 1.7; }
.wallet-check-form > div:not(.wallet-result) { display: flex; align-items: flex-end; gap: 9px; }
.wallet-check-form .field { flex: 1; }
.wallet-check-form .button { min-height: 39px; padding: 8px 14px; }
.wallet-result { margin-top: 9px; border-radius: 7px; padding: 9px 11px; font-size: 8px; }
.wallet-result.loading { color: #7a611f; background: #faf0d9; }
.wallet-result.success { color: #236149; background: #e4f1e9; }
.wallet-result.error { color: #99433e; background: #fae8e6; }
.wallet-result strong { margin-inline: 4px; }
.checkout-total { display: flex; justify-content: space-between; align-items: center; margin: 23px 0 15px; padding-top: 18px; border-top: 1px solid var(--line); }
.checkout-total span { color: #56655d; font-size: 10px; }
.checkout-total strong { color: var(--green-900); font-size: 18px; }
.checkout-total-stack { display: flex; flex-direction: column; align-items: stretch; gap: 7px; }
.checkout-total-stack > div { display: flex; align-items: center; justify-content: space-between; }
.checkout-total-stack > div:not(.checkout-due) strong { font-size: 10px; }
.checkout-total-stack .checkout-due { margin-top: 4px; padding-top: 9px; border-top: 1px dashed #d8ddd8; }
.checkout-submit:disabled { cursor: not-allowed; opacity: .55; }
.form-error { margin: 0 0 12px; border-radius: 7px; padding: 10px 12px; color: #903d38; background: #f9e8e6; font-size: 9px; }

.success-card { width: min(440px, calc(100% - 30px)); position: absolute; top: 50%; left: 50%; border-radius: 17px; padding: 42px; text-align: center; background: var(--paper); transform: translate(-50%, -50%); animation: modalUp .3s ease; }
.success-check { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 50%; color: white; background: var(--green-700); box-shadow: 0 0 0 10px var(--green-100); font-size: 26px; }
.success-card > span { color: var(--gold); font-size: 9px; font-weight: 700; }
.success-card h2 { margin: 7px 0; color: var(--green-900); font-family: "Noto Naskh Arabic", serif; font-size: 29px; }
.success-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.8; }
.order-number { display: flex; flex-direction: column; gap: 3px; margin: 22px 0; border: 1px dashed #cfd5d0; border-radius: 9px; padding: 13px; background: var(--cream); }
.order-number small { color: #7b8780; font-size: 8px; }
.order-number strong { color: var(--green-800); font-size: 17px; letter-spacing: 1px; }
.success-wallet-credit { display: flex; flex-direction: column; gap: 3px; margin: -9px 0 19px; border-radius: 9px; padding: 13px; color: #24674c; background: #e5f1e9; }
.success-wallet-credit > span { font-size: 7px; }
.success-wallet-credit > strong { font-size: 18px; }
.success-wallet-credit > small { font-size: 7px; }
.new-wallet-code { display: flex; flex-direction: column; gap: 5px; margin: -9px 0 19px; border: 1px dashed #d1b16e; border-radius: 9px; padding: 13px; background: #fbf2de; }
.new-wallet-code small { color: #7e672f; font-size: 7px; }
.new-wallet-code strong { color: var(--green-900); font-size: 21px; letter-spacing: 4px; }
.toast { position: fixed; z-index: 200; right: 50%; bottom: 25px; border-radius: 8px; padding: 12px 17px; color: white; background: var(--green-900); box-shadow: var(--shadow); font-size: 10px; opacity: 0; pointer-events: none; transform: translate(50%, 20px); transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(50%, 0); }

/* Admin */
.admin-body { min-height: 100vh; background: #f4f5f1; }
.auth-shell { min-height: 100vh; display: grid; place-items: center; position: relative; padding: 100px 20px 40px; overflow: hidden; background: radial-gradient(circle at 10% 10%, rgba(228,201,142,.12), transparent 25%), var(--green-950); }
.auth-shell::after { content: ""; position: absolute; inset: 0; opacity: .08; background-image: radial-gradient(#e8d7af .8px, transparent .8px); background-size: 27px 27px; }
.auth-brand { position: absolute; z-index: 2; top: 34px; right: 40px; }
.auth-brand .brand-copy strong { color: #f7eedc; }
.auth-card { width: min(455px, 100%); position: relative; z-index: 2; border-radius: 18px; padding: 39px; background: var(--paper); box-shadow: 0 30px 80px rgba(0,0,0,.28); }
.auth-icon { width: 51px; height: 51px; display: grid; place-items: center; margin-bottom: 19px; border-radius: 50%; color: var(--gold); background: var(--green-100); font-size: 23px; }
.auth-card h1 { margin: 7px 0; color: var(--green-900); font-family: "Noto Naskh Arabic", serif; font-size: 34px; }
.auth-card > p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.9; }
.auth-form { display: flex; flex-direction: column; gap: 14px; margin-top: 25px; }
.auth-form input { height: 49px; }
.back-store { display: block; margin-top: 18px; color: var(--green-700); text-align: center; font-size: 9px; }
.alert { margin-bottom: 20px; border-radius: 8px; padding: 12px 15px; font-size: 10px; line-height: 1.7; }
.auth-card .alert { margin: 16px 0 0; }
.alert-success { color: #175a42; border: 1px solid #c9e2d5; background: #e7f3ed; }
.alert-error { color: #8e3d38; border: 1px solid #efd2ce; background: #f9e8e6; }

.admin-shell { min-height: 100vh; display: flex; }
.admin-sidebar { width: 246px; position: fixed; z-index: 40; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; padding: 27px 19px 20px; color: white; background: var(--green-950); }
.admin-brand { padding: 0 8px 25px; border-bottom: 1px solid rgba(255,255,255,.09); }
.admin-brand .brand-mark { width: 42px; height: 45px; }
.admin-brand .brand-copy strong { font-size: 21px; }
.admin-nav { display: flex; flex-direction: column; gap: 5px; margin-top: 27px; }
.admin-nav a { min-height: 47px; display: flex; align-items: center; gap: 12px; border-radius: 8px; padding: 10px 13px; color: #9db1a7; font-size: 10px; font-weight: 600; }
.admin-nav a > span { width: 22px; color: var(--gold-light); text-align: center; font-size: 17px; }
.admin-nav a b { min-width: 21px; height: 21px; display: grid; place-items: center; margin-inline-start: auto; border-radius: 50%; color: var(--green-950); background: var(--gold-light); font-size: 8px; }
.admin-nav a:hover, .admin-nav a.active { color: white; background: rgba(255,255,255,.08); }
.admin-sidebar-foot { display: flex; flex-direction: column; gap: 4px; margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.09); }
.admin-sidebar-foot a, .admin-sidebar-foot button { width: 100%; display: flex; align-items: center; gap: 11px; border: 0; border-radius: 7px; padding: 11px 12px; color: #91a79c; background: transparent; text-align: right; font-size: 9px; }
.admin-sidebar-foot a:hover, .admin-sidebar-foot button:hover { color: white; background: rgba(255,255,255,.06); }
.admin-main { min-width: 0; flex: 1; margin-right: 246px; }
.admin-topbar { height: 75px; display: flex; align-items: center; justify-content: space-between; padding: 0 34px; border-bottom: 1px solid #dfe4df; background: rgba(255,255,255,.88); backdrop-filter: blur(12px); }
.admin-topbar > div:first-of-type { display: flex; flex-direction: column; }
.admin-topbar > div:first-of-type span { color: #89948e; font-size: 8px; }
.admin-topbar > div:first-of-type strong { color: var(--green-900); font-size: 11px; }
.admin-user { display: flex; align-items: center; gap: 10px; color: #53625a; font-size: 9px; }
.admin-user i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--gold-light); background: var(--green-900); font-family: "Noto Naskh Arabic", serif; font-size: 18px; font-style: normal; }
.admin-menu-toggle { display: none; }
.admin-content { padding: 37px 35px 55px; }
.admin-content > .alert { position: fixed; z-index: 80; top: 89px; left: 28px; max-width: 390px; box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.admin-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 28px; }
.admin-page-head > div > span { color: var(--gold); font-size: 9px; font-weight: 700; }
.admin-page-head h1 { margin: 4px 0 2px; color: var(--green-900); font-family: "Noto Naskh Arabic", serif; font-size: 35px; }
.admin-page-head p { margin: 0; color: var(--muted); font-size: 9px; }
.head-count { border-radius: 999px; padding: 8px 13px; color: var(--green-700); background: var(--green-100); font-size: 9px; font-weight: 700; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-bottom: 22px; }
.metric-grid article { display: flex; align-items: center; gap: 14px; border: 1px solid #e2e6e1; border-radius: 12px; padding: 19px; background: white; }
.metric-icon { width: 45px; height: 45px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; font-size: 17px; }
.metric-icon.green { color: #176246; background: #e2f0e8; }
.metric-icon.gold { color: #9a6b1d; background: #f7edd6; }
.metric-icon.plum { color: #795171; background: #f2e6ef; }
.metric-icon.blue { color: #3d6689; background: #e5eef5; font-size: 9px; }
.metric-grid article div { min-width: 0; display: flex; flex-direction: column; }
.metric-grid small { color: #7c8982; font-size: 8px; }
.metric-grid strong { margin: 1px 0 -1px; color: var(--green-900); font-size: 22px; }
.metric-grid em { overflow: hidden; color: #9ba49f; font-size: 7px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-panel { border: 1px solid #e0e5e0; border-radius: 13px; background: white; box-shadow: 0 5px 20px rgba(21,55,42,.035); }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 25px; border-bottom: 1px solid #e9ebe8; }
.panel-head h2 { margin: 3px 0 0; color: var(--green-900); font-size: 14px; }
.panel-head a { color: var(--green-700); font-size: 9px; font-weight: 700; }
.panel-toolbar { min-height: 67px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 20px; border-bottom: 1px solid #e9ebe8; }
.panel-toolbar > span { color: #849089; font-size: 8px; }
.product-filters { flex-wrap: wrap; }
.product-filters .admin-search { flex: 1 1 200px; }
.field-inline { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); white-space: nowrap; }
.field-inline select { height: 36px; padding: 0 8px; border: 1px solid #d9ddd9; border-radius: 8px; color: var(--green-900); background: #fff; font-size: 12px; }
.admin-search { width: min(330px, 70%); display: flex; align-items: center; gap: 8px; border: 1px solid #dfe3df; border-radius: 7px; padding: 8px 11px; }
.admin-search span { color: var(--green-700); font-size: 18px; }
.admin-search input { width: 100%; border: 0; outline: 0; font-size: 9px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; text-align: right; }
.admin-table th { padding: 13px 17px; color: #78857e; background: #fafbf9; font-size: 8px; font-weight: 600; white-space: nowrap; }
.admin-table td { padding: 15px 17px; border-top: 1px solid #edefec; color: #526159; font-size: 9px; vertical-align: middle; }
.admin-table td > strong { color: var(--green-900); }
.admin-table td > small, .admin-table td > a { display: block; margin-top: 2px; color: #929c96; font-size: 7px; }
.status { display: inline-flex; align-items: center; border-radius: 99px; padding: 5px 9px; font-size: 7px; font-weight: 700; white-space: nowrap; }
.status-new { color: #8b5e18; background: #fbefd7; }
.status-confirmed { color: #335f83; background: #e4eef6; }
.status-preparing { color: #694d8c; background: #eee7f6; }
.status-shipping { color: #176248; background: #e1f0e8; }
.status-completed { color: #315c3b; background: #e1eee4; }
.status-cancelled { color: #93423d; background: #f7e5e3; }
.panel-empty { padding: 55px 20px; text-align: center; }
.panel-empty.full { grid-column: 1 / -1; border: 1px dashed #d4dad5; border-radius: 13px; background: white; }
.panel-empty span { font-size: 36px; }
.panel-empty h3 { margin: 9px 0 3px; color: var(--green-900); font-size: 13px; }
.panel-empty p { margin: 0; color: var(--muted); font-size: 8px; }
.admin-product-cell { display: flex; align-items: center; gap: 11px; min-width: 180px; }
.admin-product-cell > span { width: 42px; height: 42px; display: grid; place-items: center; overflow: hidden; flex: 0 0 auto; border-radius: 9px; background: color-mix(in srgb, var(--accent), white 78%); font-size: 20px; }
.admin-product-cell img { width: 100%; height: 100%; object-fit: cover; }
.admin-product-cell div { display: flex; flex-direction: column; }
.admin-product-cell strong { color: var(--green-900); font-size: 9px; }
.admin-product-cell small { color: #8c9690; font-size: 7px; }
.soft-badge { border-radius: 99px; padding: 5px 8px; color: #5f6d65; background: #f0f2ef; font-size: 7px; }
.stock-state { position: relative; padding-right: 12px; font-size: 8px; }
.stock-state::before { content: ""; position: absolute; top: 50%; right: 0; width: 6px; height: 6px; border-radius: 50%; transform: translateY(-50%); }
.stock-state.in { color: #28694d; }.stock-state.in::before { background: #3b9a72; }
.stock-state.out { color: #a05049; }.stock-state.out::before { background: #c95a51; }
.inline-form { display: inline; }
.toggle { width: 38px; height: 21px; position: relative; border: 0; border-radius: 99px; padding: 0; background: #c9ceca; transition: background .2s; }
.toggle > i { width: 15px !important; height: 15px !important; position: absolute; top: 3px; right: 3px; border-radius: 50% !important; background: white !important; box-shadow: 0 1px 4px rgba(0,0,0,.18); transition: transform .2s; }
.toggle.on { background: var(--green-700); }
.toggle.on > i { transform: translateX(-17px); }
.row-actions { display: flex; align-items: center; gap: 9px; }
.row-actions button { border: 0; padding: 4px; color: var(--green-700); background: transparent; font-size: 8px; font-weight: 600; }
.row-actions .danger-link { color: var(--danger); }
.orders-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.order-card { border: 1px solid #e0e5e0; border-radius: 13px; padding: 21px; background: white; box-shadow: 0 5px 20px rgba(21,55,42,.035); }
.order-card-head, .order-pay { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.order-card-head > div { display: flex; flex-direction: column; }
.order-card-head > div span { color: var(--green-800); font-size: 10px; font-weight: 800; letter-spacing: .5px; }
.order-card-head > div small { margin-top: 2px; color: #929d97; font-size: 7px; }
.order-customer { display: flex; align-items: center; gap: 10px; margin: 18px 0; padding: 13px; border-radius: 9px; background: #f6f7f4; }
.avatar { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 50%; color: var(--gold-light); background: var(--green-900); font-size: 13px; font-weight: 700; }
.order-customer div { display: flex; flex-direction: column; }
.order-customer strong { color: var(--green-900); font-size: 9px; }
.order-customer a { margin-top: 2px; color: var(--green-700); font-size: 8px; }
.order-details { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.order-details div { display: grid; grid-template-columns: 58px 1fr; gap: 8px; }
.order-details dt { color: #8b9690; font-size: 7px; }
.order-details dd { margin: 0; color: #4f5e56; font-size: 8px; line-height: 1.7; }
.order-pay { margin-top: 17px; padding: 13px 0; border-top: 1px solid #ecefeb; border-bottom: 1px solid #ecefeb; }
.order-pay span { display: flex; flex-direction: column; }
.order-pay span:last-child { align-items: flex-end; }
.order-pay small { color: #8b9690; font-size: 7px; }
.order-pay strong { margin-top: 2px; color: var(--green-900); font-size: 10px; }
.order-card-codes { margin-top: 14px; border: 1px solid #ead9b5; border-radius: 10px; padding: 12px; background: #fffaf0; }
.admin-card-uploads { margin-top: 14px; border: 1px solid #d9e2dc; border-radius: 10px; padding: 12px; background: #f6f9f7; }
.admin-card-uploads-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.admin-card-uploads-head > div { display: flex; flex-direction: column; }
.admin-card-uploads-head span { color: #718078; font-size: 7px; }
.admin-card-uploads-head strong { color: var(--green-900); font-size: 9px; }
.admin-card-uploads-head > button { border: 0; border-radius: 7px; padding: 8px 10px; color: white; background: var(--green-700); font-size: 7px; font-weight: 700; }
.admin-card-uploads-head > button:disabled { cursor: wait; opacity: .7; }
.admin-card-uploads-head > b { color: #26704f; font-size: 7px; }
.pending-credit-note { margin-top: 8px; border-radius: 6px; padding: 7px 9px; color: #80621e; background: #fbefd7; font-size: 6px; line-height: 1.7; }
.admin-card-upload-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 9px; }
.admin-card-upload-item { display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 8px; overflow: hidden; border: 1px solid #dfe5e0; border-radius: 8px; padding: 7px; background: white; }
.admin-card-image-link { display: flex; flex-direction: column; gap: 3px; color: var(--green-700); text-decoration: none; }
.admin-card-image-link img { width: 62px; height: 53px; border-radius: 6px; object-fit: cover; cursor: zoom-in; }
.admin-card-image-link small { font-size: 5px; line-height: 1.35; text-align: center; }
.admin-card-upload-item > div { min-width: 0; display: flex; flex-direction: column; }
.admin-card-upload-item strong { color: var(--green-900); font-size: 7px; }
.admin-card-upload-item span { margin-top: 3px; color: #957329; font-size: 6px; line-height: 1.5; }
.admin-card-upload-item span.success, .admin-card-upload-item[data-status="processed"] span { color: #26704f; }
.admin-card-upload-item span.error { color: #a3443e; }
.admin-card-upload-item span.reading { color: #80621e; }
.telegram-retry { align-self: flex-start; margin-top: 5px; border: 0; border-radius: 5px; padding: 5px 7px; color: white; background: #229ed9; font-family: inherit; font-size: 5.5px; font-weight: 700; }
.telegram-retry:disabled { opacity: .6; }
.order-card-codes-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.order-card-codes-head > div { display: flex; flex-direction: column; }
.order-card-codes-head span { color: #91702b; font-size: 7px; }
.order-card-codes-head strong { color: var(--green-900); font-size: 9px; }
.order-card-codes-head > b { border-radius: 99px; padding: 5px 8px; color: #226a4b; background: #e0efe6; font-size: 6px; }
.extracted-card { margin-top: 8px; border: 1px solid #e8dfcc; border-radius: 8px; padding: 10px; background: white; }
.extracted-card-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 7px; border-bottom: 1px solid #efebe2; }
.extracted-card-head span { color: #5d6b63; font-size: 7px; font-weight: 700; }
.extracted-card-head strong { color: var(--green-800); font-size: 8px; }
.primary-pin { margin-top: 8px; }
.primary-pin > small { display: flex; align-items: center; gap: 5px; color: #738078; font-size: 6px; }
.primary-pin > small b { border-radius: 99px; padding: 2px 5px; color: #246b4e; background: #e2f0e8; font-size: 6px; }
.primary-pin > div { display: flex; align-items: center; gap: 7px; margin-top: 5px; }
.primary-pin code, .candidate-pin-list code { flex: 1; color: #172d23; font-family: Consolas, monospace; font-size: 13px; font-weight: 700; letter-spacing: .8px; }
.primary-pin button, .candidate-pin-list button { border: 0; border-radius: 5px; padding: 5px 7px; color: var(--green-700); background: var(--green-100); font-size: 6px; }
.extracted-card details { margin-top: 8px; padding-top: 7px; border-top: 1px dashed #ddd7cb; }
.extracted-card summary { color: #6f7c75; font-size: 7px; cursor: pointer; }
.candidate-pin-list { display: flex; flex-direction: column; gap: 5px; margin-top: 7px; }
.candidate-pin-list > div { display: grid; grid-template-columns: 1fr 72px 34px; align-items: center; gap: 5px; border-radius: 6px; padding: 6px; background: #f6f7f4; }
.candidate-pin-list > div.likely { background: #eaf3ed; }
.candidate-pin-list code { font-size: 10px; }
.candidate-pin-list span { color: #7c8982; font-size: 6px; }
.wallet-order-note { margin-top: 9px; border-radius: 7px; padding: 8px 10px; color: #38624f; background: #edf4ef; font-size: 7px; }
.wallet-order-note strong { margin-inline-start: 4px; }
.status-form { display: flex; align-items: flex-end; gap: 10px; margin-top: 16px; }
.status-form label { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.status-form label span { color: #7a8780; font-size: 7px; }
.status-form select { height: 39px; border: 1px solid #dce1dc; border-radius: 7px; outline: none; padding: 0 9px; color: #3f5047; background: white; font-size: 8px; }
.settings-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; align-items: start; }
.settings-intro { margin: 0; padding: 18px 24px 8px; color: var(--muted); font-size: 9px; line-height: 1.8; }
.payment-setting-list { display: flex; flex-direction: column; padding: 8px 24px 24px; }
.payment-setting-list article { min-height: 71px; display: grid; grid-template-columns: 43px 1fr auto; align-items: center; gap: 12px; border-bottom: 1px solid #ecefeb; }
.payment-setting-list article > i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: white; background: var(--payment-accent); font-size: 9px; font-style: normal; font-weight: 800; }
.payment-setting-list article > div { display: flex; flex-direction: column; }
.payment-setting-list article strong { color: var(--green-900); font-size: 9px; }
.payment-setting-list article small { margin-top: 3px; color: #8c9791; font-size: 7px; }
.payment-setting-list article form { display: grid; grid-template-columns: auto 30px; align-items: center; gap: 8px; }
.payment-setting-list article form > span { color: #849089; font-size: 7px; }
.delivery-settings form { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 10px 24px 24px; }
.delivery-settings .field { width: 100%; }
.telegram-settings { grid-column: 1 / -1; }
.telegram-settings form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 10px 24px 24px; }
.telegram-settings form > .button, .telegram-options { grid-column: 1 / -1; justify-self: start; }
.telegram-state { align-self: center; border-radius: 99px; padding: 5px 9px; color: #8a5e54; background: #f8e9e4; font-size: 6px; font-weight: 800; }
.telegram-state.on { color: #196c4c; background: #e2f2e8; }
.wallet-total-badge { display: flex; flex-direction: column; gap: 2px; border: 1px solid #cddfd4; border-radius: 9px; padding: 9px 13px; color: #688077; background: #eef5f1; font-size: 7px; }
.wallet-total-badge strong { color: var(--green-800); font-size: 13px; }
.wallet-admin-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; align-items: start; }
.wallet-balance-value { color: var(--green-700) !important; }
.wallet-transaction-list { display: flex; flex-direction: column; max-height: 540px; overflow-y: auto; }
.wallet-transaction-list article { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 13px 17px; border-bottom: 1px solid #ecefeb; }
.transaction-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; font-size: 14px; font-weight: 700; }
.transaction-icon.credit { color: #236149; background: #e3f0e8; }
.transaction-icon.debit { color: #9a443e; background: #f8e8e6; }
.wallet-transaction-list article > div { min-width: 0; display: flex; flex-direction: column; }
.wallet-transaction-list article > div strong { color: var(--green-900); font-size: 8px; }
.wallet-transaction-list article > div small { margin-top: 2px; color: #8b9690; font-size: 6px; }
.wallet-transaction-list article > b { font-size: 8px; white-space: nowrap; }
.wallet-transaction-list article > b.credit { color: #26704f; }
.wallet-transaction-list article > b.debit { color: #a04640; }
.product-modal-backdrop { z-index: 100; }
.admin-modal { width: min(690px, calc(100% - 28px)); }
.product-form { display: flex; flex-direction: column; gap: 18px; }
.checkbox-row { display: flex; gap: 24px; padding: 14px; border-radius: 8px; background: #f2f5f2; }
.checkbox-row label { display: flex; align-items: center; gap: 7px; color: #4c5d54; font-size: 9px; cursor: pointer; }
.checkbox-row input { accent-color: var(--green-700); }

.credits-body { min-height: 100vh; color: var(--ink); background: #f5f2e9; }
.credits-header { border-bottom: 1px solid #e1ddd0; background: rgba(255,255,255,.86); }
.credits-header > div { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.credits-main { padding-top: 70px; padding-bottom: 90px; }
.credits-intro { max-width: 760px; margin-bottom: 34px; }
.credits-intro h1 { margin: 8px 0 12px; color: var(--green-900); font-family: Georgia, 'Noto Kufi Arabic', serif; font-size: clamp(36px, 6vw, 66px); }
.credits-intro p { color: #64736b; font-size: 11px; line-height: 2; }
.credits-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.credit-card { min-width: 0; display: grid; grid-template-columns: 112px 1fr; gap: 14px; border: 1px solid #e0ddd3; border-radius: 12px; padding: 10px; background: white; }
.credit-card > img { width: 112px; height: 100px; border-radius: 9px; object-fit: cover; background: #e9ece7; }
.credit-card > div { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.credit-card h2 { color: var(--green-900); font-size: 11px; }
.credit-card p { margin-top: 4px; color: #78847e; font-size: 6px; line-height: 1.7; }
.credit-links { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 8px; }
.credit-links a, .credit-links span { color: var(--green-700); font-size: 6px; font-weight: 700; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalUp { from { opacity: 0; transform: translate(-50%, calc(-50% + 20px)); } to { opacity: 1; transform: translate(-50%, -50%); } }

@media (max-width: 1040px) {
    .header-inner { gap: 25px; }
    .main-nav { gap: 20px; }
    .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .values-grid { gap: 55px; }
    .footer-grid { grid-template-columns: 1.2fr .7fr .8fr; }
    .footer-note { display: none !important; }
    .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .settings-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .header-inner { height: 50px; gap: 12px; }
    .brand-mark { width: 32px; height: 34px; }
    .brand-copy strong { font-size: 16px; }
    .brand-copy small { font-size: 8px; }
    .mobile-menu-button { width: 34px; height: 34px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; margin-inline-start: auto; border: 0; border-radius: 50%; background: var(--green-100); }
    .mobile-menu-button span { width: 16px; height: 1px; background: var(--green-800); }
    .main-nav { position: absolute; top: 50px; right: 14px; left: 14px; display: none; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid #e0e3de; border-radius: 12px; padding: 9px; background: var(--paper); box-shadow: var(--shadow); }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px; }
    .main-nav a::after { display: none; }
    .cart-button { padding: 8px; }
    .cart-label { display: none; }
    .cart-icon { font-size: 20px; }
    .category-strip-inner { align-items: flex-start; flex-direction: column; gap: 12px; padding: 18px 0; }
    .category-links { width: 100%; }
    .products-section { padding: 18px 0 60px; }
    .section-heading { align-items: stretch; flex-direction: column; }
    .product-search { width: 100%; }
    .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
    .product-visual { height: 108px; }
    .product-category { top: 7px; right: 7px; padding: 3px 7px; font-size: 7px; }
    .product-body { padding: 8px 9px 9px; }
    .product-meta { font-size: 8px; }
    .product-body h3 { display: -webkit-box; overflow: hidden; margin: 2px 0 3px; font-size: 14px; line-height: 1.25; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
    .product-body > p { min-height: 0; font-size: 8px; line-height: 1.5; -webkit-line-clamp: 1; }
    .product-footer { align-items: stretch; flex-direction: column; gap: 6px; margin-top: 6px; padding-top: 6px; }
    .product-footer > strong { font-size: 12px; }
    .product-purchase { width: 100%; gap: 6px; justify-content: space-between; }
    .product-purchase .add-button { flex: 1; min-height: 38px; padding: 0 8px; font-size: 12px; }
    .add-button { width: 100%; }
    .values-section { padding: 77px 0; }
    .values-grid { grid-template-columns: 1fr; gap: 50px; }
    .values-story { text-align: center; }
    .values-story h2 { font-size: 39px; }
    .values-story > p { margin-inline: auto; }
    .payment-showcase-inner { align-items: flex-start; flex-direction: column; }
    .payment-logos { justify-content: flex-start; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 39px 25px; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .form-grid, .payment-option-grid { grid-template-columns: 1fr; }
    .checkout-modal, .admin-modal { padding: 32px 22px; }
    .field-wide { grid-column: auto; }
    .card-upload-controls { grid-template-columns: 1fr; }
    .card-reading-item { grid-template-columns: 48px 1fr 27px; }
    .card-reading-item > img { width: 48px; }
    .card-reading-item > label { grid-column: 2 / 3; }
    .card-reading-item > button { grid-column: 3; grid-row: 1; }
    .cart-drawer { padding: 23px; }

    .admin-sidebar { width: min(270px, 82vw); transform: translateX(105%); transition: transform .25s ease; box-shadow: -20px 0 50px rgba(0,0,0,.22); }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-main { margin-right: 0; }
    .admin-topbar { height: 66px; padding: 0 17px; }
    .admin-menu-toggle { display: grid; place-items: center; border: 0; color: var(--green-800); background: transparent; font-size: 21px; }
    .admin-content { padding: 25px 15px 45px; }
    .admin-page-head { align-items: stretch; flex-direction: column; }
    .admin-page-head .button { align-self: flex-start; }
    .orders-grid { grid-template-columns: 1fr; }
    .admin-card-upload-grid { grid-template-columns: 1fr; }
    .wallet-admin-grid { grid-template-columns: 1fr; }
    .telegram-settings form { grid-template-columns: 1fr; }
    .telegram-settings form > .button, .telegram-options { grid-column: auto; }
    .admin-content > .alert { top: 76px; right: 15px; left: 15px; max-width: none; }
    .credits-grid { grid-template-columns: 1fr; }
}

@media (max-width: 470px) {
    .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .product-visual { height: 100px; }
    .product-body { padding: 7px 8px 8px; }
    .product-body h3 { font-size: 13px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > div:first-child { grid-column: auto; }
    .footer-bottom { align-items: center; flex-direction: column; gap: 6px; }
    .checkout-modal { top: 0; left: 0; width: 100%; max-height: 100vh; border-radius: 0; transform: none; animation: fadeIn .2s ease; }
    .success-card { padding: 35px 24px; }
    .metric-grid { grid-template-columns: 1fr; }
    .auth-card { padding: 30px 22px; }
    .auth-brand { top: 28px; right: 20px; }
    .checkbox-row { align-items: flex-start; flex-direction: column; gap: 10px; }
    .card-upload-head { flex-direction: column; }
    .card-payment-totals { grid-template-columns: 1fr; }
    .card-payment-totals > div { border-left: 0; border-bottom: 1px solid #e8ebe7; }
    .card-payment-totals > div:last-child { border-bottom: 0; }
    .wallet-check-form > div:not(.wallet-result) { align-items: stretch; flex-direction: column; }
    .credits-header > div { min-height: 74px; }
    .credits-header .brand-copy { display: none; }
    .credit-card { grid-template-columns: 82px 1fr; }
    .credit-card > img { width: 82px; height: 82px; }
}

@media (max-width: 780px) {
    .field input, .field select, .field textarea,
    .product-search input, .admin-search input,
    .product-card-quantity input, .quantity-control input,
    .card-reading-item select, .status-form select { font-size: 16px; }
    .product-card-quantity { height: 34px; }
    .product-card-quantity input { width: 42px; }
    .product-card-quantity button { width: 30px; }
    .quantity-control input { width: 54px; height: 32px; }
}

/* ---- share-to-pay link (success card) ---- */
.share-pay { display: flex; flex-direction: column; gap: 6px; margin: 16px 0 4px; border: 1px solid #e6e0cf; border-radius: 12px; padding: 14px; text-align: right; background: #fbf8f0; }
.share-pay > strong { color: var(--green-900); font-size: 14px; }
.share-pay > small { color: var(--muted); font-size: 10px; line-height: 1.7; }
.share-pay-link { display: flex; gap: 6px; margin: 6px 0; }
.share-pay-link input { min-width: 0; flex: 1; border: 1px solid #dcded9; border-radius: 8px; padding: 9px 10px; color: var(--ink); background: #fff; font-size: 11px; direction: ltr; text-align: left; }
.share-pay-link button { border: 1px solid var(--green-800); border-radius: 8px; padding: 0 14px; color: var(--green-800); background: #fff; font-size: 11px; font-weight: 700; }
.share-pay-link button:hover { color: #fff; background: var(--green-800); }

/* ---- pay.php ---- */
.pay-page { background: var(--cream); }
.pay-wrap { padding: 26px 0 60px; }
.pay-card { border: 1px solid var(--line); border-radius: 14px; padding: 22px 20px 24px; background: var(--paper); box-shadow: 0 10px 34px rgba(18,62,47,.06); }
.pay-card h1 { margin: 6px 0 8px; color: var(--green-900); font-family: "Noto Naskh Arabic", serif; font-size: 27px; line-height: 1.3; }
.pay-card h2 { margin: 0 0 8px; color: var(--green-900); font-size: 15px; }
.pay-intro { margin: 0 0 18px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.pay-summary, .pay-delivery { margin-bottom: 18px; border: 1px solid #eceade; border-radius: 11px; padding: 14px; background: #fcfbf7; }
.pay-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 12px; }
.pay-row > span { flex: 0 0 auto; color: var(--muted); }
.pay-row > strong { color: var(--green-900); text-align: left; font-weight: 700; }
.pay-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #efece1; }
.pay-item:last-of-type { border-bottom: 0; }
.pay-item strong { display: block; color: var(--green-900); font-size: 13px; }
.pay-item small { color: var(--muted); font-size: 10px; }
.pay-item > span { color: var(--green-800); font-size: 13px; font-weight: 700; white-space: nowrap; }
.pay-total { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding-top: 11px; border-top: 1px dashed #ddd8c6; }
.pay-total > span { color: var(--muted); font-size: 12px; }
.pay-total > strong { color: var(--green-800); font-size: 19px; }
.pay-note { margin: 10px 0 0; color: #a05049; font-size: 11px; text-align: center; }
.pay-error, .pay-done { text-align: center; }
.pay-error .button, .pay-done .button { margin-top: 14px; }

@media (max-width: 470px) {
    .pay-card { padding: 18px 15px 20px; }
    .pay-card h1 { font-size: 22px; }
    .share-pay-link { flex-direction: column; }
    .share-pay-link button { padding: 10px; }
}

/* ---- admin order action buttons (replaces the status dropdown) ---- */
.order-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.order-actions form { margin: 0; }
.order-action { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 9px; padding: 0 16px; font-size: 12px; font-weight: 700; transition: background .2s ease, color .2s ease; }
.order-action.prep { color: #8a6320; border-color: #e4d3ad; background: #fdf6e6; }
.order-action.prep:hover { color: #fff; background: #b58a34; }
.order-action.done { color: var(--green-800); border-color: #bcd6c9; background: #eef6f1; }
.order-action.done:hover { color: #fff; background: var(--green-800); }
.order-action.danger { color: #a3352c; border-color: #e8c3bf; background: #fdf0ee; }
.order-action.danger:hover { color: #fff; background: #a3352c; }
.order-action.current { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.order-action.prep.current { background: #b58a34; border-color: #b58a34; }
.order-action.done.current { background: var(--green-800); border-color: var(--green-800); }

@media (max-width: 470px) {
    .order-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .order-actions form:last-child { grid-column: 1 / -1; }
    .order-action { width: 100%; }
}

.pay-later-cta { display: flex; flex-direction: column; align-items: center; gap: 7px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed #ddd8c6; }
.pay-later-cta > span { color: var(--muted); font-size: 11px; }
.pay-later-cta .button { min-height: 46px; font-size: 12px; line-height: 1.5; text-align: center; }

/* ---- expanded product view (tap a card) ---- */
.product-modal-backdrop { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; background: rgba(4,24,17,.6); backdrop-filter: blur(5px); animation: fadeIn .2s ease; }
.product-modal { width: min(460px, 100%); max-height: calc(100vh - 40px); position: relative; display: flex; flex-direction: column; overflow-y: auto; border-radius: 16px; background: var(--paper); box-shadow: var(--shadow); animation: modalUp .25s ease; }
.product-modal-close { position: absolute; z-index: 3; top: 10px; left: 10px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; color: var(--green-900); background: rgba(255,255,255,.9); font-size: 22px; line-height: 1; }
.product-modal-visual { height: 260px; overflow: hidden; background: #efede5; }
.product-modal-visual img { width: 100%; height: 100%; display: block; object-fit: cover; }
.product-modal-body { display: flex; flex-direction: column; gap: 7px; padding: 18px 18px 20px; }
.product-modal-category { align-self: flex-start; border-radius: 99px; padding: 4px 11px; color: var(--green-900); background: var(--green-100); font-size: 10px; font-weight: 700; }
.product-modal-body h2 { margin: 2px 0 0; color: var(--green-900); font-family: "Noto Naskh Arabic", serif; font-size: 26px; line-height: 1.3; }
.product-modal-unit { color: var(--gold); font-size: 11px; font-weight: 700; }
.product-modal-desc { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
.product-modal-price { display: flex; align-items: baseline; justify-content: space-between; margin-top: 10px; padding-top: 12px; border-top: 1px solid #efede6; }
.product-modal-price > span { color: var(--muted); font-size: 11px; }
.product-modal-price > strong { color: var(--green-800); font-size: 24px; }
.product-modal-buy { display: flex; gap: 10px; margin-top: 12px; }
.product-modal-qty { height: 52px; display: flex; align-items: center; overflow: hidden; border: 1px solid #d9ddd9; border-radius: 11px; background: #fff; }
.product-modal-qty button { width: 44px; height: 100%; display: grid; place-items: center; border: 0; color: var(--green-800); background: #f5f6f2; font-size: 20px; font-weight: 700; }
.product-modal-qty button:hover { color: #fff; background: var(--green-700); }
.product-modal-qty input { width: 52px; height: 100%; border: 0; outline: 0; color: var(--green-900); background: #fff; text-align: center; font-size: 17px; font-weight: 700; }
.product-modal-add { flex: 1; min-height: 52px; font-size: 15px; }
.product-card { cursor: pointer; }

@media (max-width: 620px) {
    .product-modal-backdrop { padding: 0; }
    .product-modal { width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
    .product-modal-visual { height: 46vh; }
    .product-modal-body { flex: 1; padding: 20px 16px 26px; }
    .product-modal-body h2 { font-size: 24px; }
    .product-modal-qty, .product-modal-add { height: 56px; min-height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---- accounts: register/login switch, header link, payout sections, share buttons ---- */
.auth-switch { display: flex; gap: 8px; margin: 4px 0 14px; padding: 4px; border-radius: 11px; background: #f5f6f2; }
.auth-switch a { flex: 1; text-align: center; padding: 9px 0; border-radius: 8px; color: var(--muted); font-size: 12px; font-weight: 700; text-decoration: none; }
.auth-switch a.active { color: #fff; background: var(--green-700); }

.account-link { display: inline-flex; align-items: center; padding: 0 12px; height: 38px; border-radius: 9px; color: var(--green-900); background: #f5f6f2; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.account-link:hover { background: var(--green-100); }

.payout-alert { border: 1px solid transparent; }
.payout-alert-red { border-color: #e8c3bf; background: #fdf0ee; }
.payout-alert-green { border-color: #bcd6c9; background: #eef6f1; }
.payout-alert .card-upload-head h3 { margin: 2px 0 0; }

.agent-share-button { margin-top: 8px; }
.agent-share-address { margin-top: 10px; }
.agent-share-address .field { margin-bottom: 8px; }

.payout-record { padding: 12px; border-radius: 11px; background: #f5f6f2; margin-bottom: 10px; }
.payout-record-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.payout-record-head span { color: var(--muted); font-size: 11px; }
.payout-record-head strong { color: var(--green-900); font-size: 14px; }
.payout-record-image { display: block; width: 100%; max-width: 320px; border-radius: 9px; border: 1px solid #d9ddd9; }
.payout-barcode-preview { margin: 6px 0; }
.payout-barcode-preview img { display: block; width: 100%; max-width: 220px; border-radius: 9px; border: 1px solid #d9ddd9; }

.payout-request-card { padding: 14px; border: 1px solid #e4d3ad; border-radius: 11px; background: #fdf6e6; margin-bottom: 12px; }
.payout-request-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.payout-request-head strong { display: block; color: var(--green-900); font-size: 14px; }
.payout-request-head small { color: var(--muted); font-size: 11px; }
.payout-request-amount { text-align: left; }
.payout-request-amount span { display: block; color: var(--muted); font-size: 10px; }
.payout-request-amount strong { color: #b58a34; font-size: 16px; }
.payout-request-method { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; font-size: 12px; color: var(--green-900); }
.payout-request-method a { color: var(--green-700); font-weight: 700; text-decoration: none; }
.share-buttons, .share-agent-panel .share-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.share-buttons button, .share-agent-panel .share-buttons button { flex: 1 1 auto; min-height: 42px; padding: 0 14px; border: 1px solid #d9ddd9; border-radius: 9px; color: var(--green-900); background: #fff; font-size: 12px; font-weight: 700; }
.share-buttons button:hover, .share-agent-panel .share-buttons button:hover { background: var(--green-100); }

.share-agent-panel { margin-top: 22px; padding-top: 18px; border-top: 1px dashed #ddd8c6; }
.share-agent-panel h2 { margin: 0 0 4px; color: var(--green-900); font-size: 17px; }
.share-agent-panel p { margin: 0 0 10px; color: var(--muted); font-size: 12px; }

.card-read-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 9px; background: #f5f6f2; margin-bottom: 6px; }
.card-read-row strong { display: block; color: var(--green-900); font-size: 13px; }
.card-read-row small { color: var(--muted); font-size: 11px; }

/* ---- floating checkout button ---- */
.floating-cart-button { position: fixed; z-index: 90; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 0; border-radius: 99px; color: #fff; background: var(--green-700); box-shadow: 0 10px 24px rgba(18, 63, 48, .35); font-size: 13px; font-weight: 800; }
.floating-cart-button strong { color: var(--gold, #d8b16a); font-size: 13px; }
@media (min-width: 900px) { .floating-cart-button { display: none; } }

/* ---- agent's previous lists panel (inside checkout modal) ---- */
.my-lists-panel { margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px dashed #ddd8c6; }
.my-lists-panel h3 { margin: 0 0 8px; color: var(--green-900); font-size: 14px; }
.my-list-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 9px; background: #f5f6f2; margin-bottom: 6px; }
.my-list-row strong { display: block; color: var(--green-900); font-size: 13px; }
.my-list-row small { color: var(--muted); font-size: 11px; }
.my-list-row a { flex-shrink: 0; color: var(--green-700); font-size: 12px; font-weight: 700; text-decoration: none; }
