/* ArjangSSR product detail — Figma "Shop/Details" (30259:7627), size sheet (30519:2625), mini cart (30328:11953),
   custom size form (30328:12775). The iransite skin keeps a phone-width column, so the layout is the 390px design.
   Palette: --primary-main-color #C49E31, --primary-subtle #FFEBC9, darker #8A6738, page #4a0505. */
.ec-arjang-pd {
    --arj-gold: #C49E31;
    --arj-gold-dark: #8A6738;
    --arj-cream: #FFEBC9;
    --arj-ink: #1D1D1D;
    --arj-grey: #53565A;
    --arj-maroon: #4a0505;
    --arj-glass: rgba(43, 4, 4, .2);
    --arj-line: rgba(255, 235, 201, .3);
    color: var(--arj-cream);
    /* the skin's floating nav bar sits over the top of the page (Figma: breadcrumb at y 137) */
    padding: 100px 1rem 2rem;
    overflow-x: clip;
    font-size: 15px;
    line-height: 30px;
}
.ec-arjang-pd *, .ec-arjang-pd *::before, .ec-arjang-pd *::after { box-sizing: border-box; }
.ec-arjang-pd button { font: inherit; color: inherit; cursor: pointer; }
.ec-arjang-pd button[disabled] { cursor: default; opacity: .55; }
.ec-arjang-pd .arj-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ec-arjang-pd .arj-note, .ec-arjang-pd .arj-empty { padding: 1rem; border: 1px solid var(--arj-line); border-radius: 1rem; text-align: center; }

/* breadcrumb */
.ec-arjang-pd .arj-crumbs ol { display: flex; flex-wrap: wrap; gap: 0 .25rem; margin: 0 0 1rem; padding: 0; list-style: none; font-size: 12px; line-height: 18px; color: var(--arj-cream); }
.ec-arjang-pd .arj-crumbs li + li::before { content: "/"; margin-inline-end: .25rem; }
.ec-arjang-pd .arj-crumbs a { color: var(--arj-cream); text-decoration: none; }
.ec-arjang-pd .arj-crumbs a:hover { color: var(--arj-gold); }

/* gallery: swipe between the main picture and the size crops */
.ec-arjang-pd .arj-gal { position: relative; margin-bottom: 1.1rem; }
.ec-arjang-pd .arj-gal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 6px; aspect-ratio: 358 / 512; background: rgba(0, 0, 0, .15); outline: 0; }
.ec-arjang-pd .arj-gal-track::-webkit-scrollbar { display: none; }
.ec-arjang-pd .arj-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; }
.ec-arjang-pd .arj-slide img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; display: block; }
.ec-arjang-pd .arj-gal-tools { position: absolute; top: 24px; left: 18px; display: flex; flex-direction: column; gap: 12px; z-index: 2; }
.ec-arjang-pd .arj-tool { width: 38.39px; height: 38.39px; padding: 0; border: 0; border-radius: 50%; background: none; backdrop-filter: blur(4px); display: block; }
.ec-arjang-pd .arj-tool img { display: block; }
.ec-arjang-pd .arj-tool.ec-on, .ec-arjang-pd .arj-tool[aria-pressed=true] { background: rgba(196, 158, 49, .55); }
.ec-arjang-pd .arj-tool.ec-busy { opacity: .5; }
.ec-arjang-pd .arj-dots { display: flex; align-items: center; gap: 2px; margin-top: 12px; padding: 0 17px; direction: ltr; overflow: hidden; }
.ec-arjang-pd .arj-dots button { flex: 0 0 auto; width: 5px; height: 5px; margin: 0 1px; padding: 0; border: 0; border-radius: 150px; background: rgba(217, 217, 217, .3); }
.ec-arjang-pd .arj-dots button.arj-on { width: 10px; height: 10px; background: var(--arj-gold); }

/* section heads */
.ec-arjang-pd .arj-head { display: flex; align-items: center; gap: 6px; margin: 0 0 16px; font-size: 12px; line-height: 24px; font-weight: 400; color: var(--arj-cream); }
.ec-arjang-pd .arj-head small { font-size: 8px; }

/* size chips: three visible + "N more sizes" (sheet) */
.ec-arjang-pd .arj-sizes { margin-bottom: 15px; }
.ec-arjang-pd .arj-chips { display: flex; gap: 6px; }
.ec-arjang-pd .arj-chip { flex: 1 1 0; min-width: 0; max-width: 80.6px; margin: 0; line-height: 1; min-height: 0; box-shadow: none; text-transform: none; letter-spacing: 0; height: 34.55px; padding: 0 8px; border: 0; border-radius: 150px; background: var(--arj-glass); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; white-space: nowrap; }
.ec-arjang-pd .arj-chip.arj-hide { display: none; }
.ec-arjang-pd .arj-chip.arj-on { background: rgba(255, 235, 201, .6); color: var(--arj-maroon); }
.ec-arjang-pd .arj-chip.arj-on .arj-sz img { filter: brightness(.25) sepia(1) hue-rotate(-30deg) saturate(6); }
.ec-arjang-pd .arj-chip.arj-off { opacity: .55; }
.ec-arjang-pd .arj-chip .arj-sz-text { font-size: 12px; }
.ec-arjang-pd .arj-chip.arj-more { flex: 1.2 1 0; max-width: 98px; padding: 0 4px; font-size: clamp(10px, 3.3vw, 12px) !important; overflow: hidden; text-overflow: ellipsis; border: 1px solid var(--arj-gold-dark); font-size: 12px; line-height: 24px; }
.ec-arjang-pd .arj-sz { display: inline-flex; align-items: center; gap: clamp(4px, 2vw, 9px); }
.ec-arjang-pd .arj-sz b { font-weight: 400; }
.ec-arjang-pd .arj-sz img { display: block; width: 10.75px; height: 12.6px; }

/* frame shapes (radio pills) */
.ec-arjang-pd .arj-frames { margin-bottom: 29px; }
.ec-arjang-pd .arj-frame-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(8px, 3.6vw, 14px); container-type: inline-size; }
.ec-arjang-pd .arj-frame { min-width: 0; overflow: hidden; margin: 0; height: 44px; padding: 0 8px; border: 0; border-radius: 150px; background: var(--arj-glass); display: flex; align-items: center; gap: clamp(4px, 2.6vw, 12px); white-space: nowrap; font-size: 12px; line-height: 24px; text-align: start; }
.ec-arjang-pd .arj-frame-en { margin-inline-start: auto; font-family: "Tsukimi Rounded", inherit; font-size: clamp(10px, 2.9vw, 12px) !important; text-transform: uppercase; letter-spacing: 0; }
/* too narrow for both names: keep the Persian one */
@container (max-width: 340px) { .ec-arjang-pd .arj-frame-en { display: none; } }
.ec-arjang-pd .arj-frame-ico { flex: 0 0 24px; height: 30.56px; display: flex; align-items: center; justify-content: center; opacity: .55; }
.ec-arjang-pd .arj-frame-ico img { display: block; }
.ec-arjang-pd .arj-frame-ico i { display: block; border: 1px solid var(--arj-cream); background: rgba(255, 235, 201, .5); }
.ec-arjang-pd .arj-frame-ico .arj-rect { width: 18px; height: 27px; border-radius: 3px; }
.ec-arjang-pd .arj-frame-ico .arj-square { width: 22px; height: 22px; border-radius: 3px; }
.ec-arjang-pd .arj-frame[aria-checked=true] { box-shadow: inset 0 0 0 1px var(--arj-gold); }
.ec-arjang-pd .arj-frame[aria-checked=true] .arj-frame-ico { opacity: 1; filter: drop-shadow(0 0 3px rgba(196, 158, 49, .8)); }

/* buy box */
.ec-arjang-pd .arj-buy { padding: 12px 11px 12px; border-radius: 30px; background: rgba(74, 5, 5, .2); box-shadow: inset 0 0 0 1px var(--arj-line); margin-bottom: 34px; }
.ec-arjang-pd .arj-row { display: flex; align-items: center; justify-content: space-between; min-height: 30px; padding: 0 4px 0 28px; }
.ec-arjang-pd .arj-row + .arj-row { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--arj-line); }
.ec-arjang-pd .arj-row:nth-child(2) { padding-top: 13px; padding-left: 0; }
.ec-arjang-pd .arj-label small { font-size: 8px; line-height: 24px; }
.ec-arjang-pd .arj-picked .arj-sz { gap: 5px; }
.ec-arjang-pd .arj-picked .arj-sz-text { font-size: 13px; }
.ec-arjang-pd .arj-price { direction: rtl; }
.ec-arjang-pd .arj-price small { font-size: 10px; margin-inline-start: 4px; }
.ec-arjang-pd .arj-price del { display: block; font-size: 11px; line-height: 16px; opacity: .6; text-align: end; }
.ec-arjang-pd .arj-qty { width: 143px; height: 43px; border-radius: 150px; background: rgba(74, 5, 5, .2); box-shadow: inset 0 0 0 1px var(--arj-line); display: flex; align-items: center; justify-content: space-between; padding: 0 14px; direction: rtl; }
.ec-arjang-pd .arj-qty button { width: 24px; height: 24px; padding: 0; border: 0; background: none; display: flex; align-items: center; justify-content: center; }
.ec-arjang-pd .arj-qty output { min-width: 2rem; text-align: center; font-size: 15px; }
/* the skin styles bare buttons (size, padding, font); keep the design's box */
.ec-arjang-pd .arj-btn { max-width: 100%; margin-left: 0; margin-right: 0; letter-spacing: 0; text-transform: none; height: auto; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; padding: 6px 16px; border-radius: 150px; border: 1px solid var(--arj-gold); font-size: 15px; line-height: 30px; text-decoration: none; text-align: center; }
.ec-arjang-pd .arj-buy .arj-btn { margin-top: 13px; }
.ec-arjang-pd .arj-buy .arj-row:last-of-type + .arj-btn { margin-top: 17px; }
.ec-arjang-pd .arj-btn-gold { background: linear-gradient(90deg, #DABB46 0%, #D9C383 51.44%, #C59F32 96.15%); color: #000 !important; }
.ec-arjang-pd .arj-btn-line { background: linear-gradient(90deg, rgba(218, 187, 70, .1) 0%, rgba(217, 195, 131, .1) 51.44%, rgba(197, 159, 50, .1) 96.15%); color: var(--arj-cream) !important; }
.ec-arjang-pd .arj-btn-gold:hover { filter: brightness(1.06); }
.ec-arjang-pd .arj-btn-line:hover { background: rgba(196, 158, 49, .18); }
.ec-arjang-pd .arj-btn.ec-busy { opacity: .6; pointer-events: none; }

/* trust badges */
.ec-arjang-pd .arj-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 22px; padding: 0 15px; margin-bottom: 51px; color: #F5F5F5; text-align: center; }
.ec-arjang-pd .arj-trust div { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ec-arjang-pd .arj-trust img { height: 43px; width: auto; margin-bottom: 15px; object-fit: contain; }
.ec-arjang-pd .arj-trust b { font-weight: 400; font-size: 12px; line-height: 24px; }
.ec-arjang-pd .arj-trust span { font-size: 10px; line-height: 20px; margin-top: 8px; }

/* description */
.ec-arjang-pd .arj-info { padding: 26px 16px 16px; border-radius: 30px; box-shadow: inset 0 0 0 1px var(--arj-line); background: rgba(74, 5, 5, .2); margin-bottom: 1.5rem; }
.ec-arjang-pd .arj-info h2 { margin: 0 0 20px; font-size: 15px; line-height: 30px; font-weight: 400; color: var(--arj-cream); }
.ec-arjang-pd .arj-desc { font-size: 15px; line-height: 30px; text-align: justify; color: var(--arj-cream); }
.ec-arjang-pd .arj-desc p { margin: 0 0 .5rem; }
.ec-arjang-pd .arj-desc * { color: inherit !important; background: none !important; font-family: inherit !important; }

/* bottom sheets */
.arj-sheet { position: fixed; inset: 0; z-index: 100000; display: flex; flex-direction: column; align-items: flex-start; direction: ltr; overflow-y: auto; padding-top: 70px; background: rgba(29, 29, 29, .85); color: var(--arj-ink, #1D1D1D); font-size: 15px; line-height: 30px; }
.arj-sheet[hidden] { display: none; }
/* same width and place as the site column (--arj-col-*, set by the script; the skin keeps a phone-width column) */
.arj-sheet-box { position: relative; width: var(--arj-col-w, 100%); max-width: 100%; max-height: calc(100% - 96px); margin: auto 0 0 var(--arj-col-x, 0px); direction: rtl; padding: 18px 23px 25px 19px; background: #EBDBBE; display: flex; flex-direction: column; animation: arj-up .25s ease-out; }
.arj-sheet-box::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 65px; margin-bottom: -1px; background: url(../images/paper.png) center bottom / 100% 100% no-repeat; pointer-events: none; }
@keyframes arj-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.arj-sheet-title { position: relative; display: flex; align-items: center; justify-content: center; min-height: 28px; margin: 0 0 20px; font-size: 12px; line-height: 24px; }
.arj-sheet .arj-x { position: absolute; left: 0; top: 0; width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.arj-sheet .arj-x img { display: block; }
/* ltr box so the gold scrollbar sits on the right like the design; rows stay rtl */
.arj-sheet-list { display: flex; flex-direction: column; gap: 6px; overflow-y: auto; direction: ltr; padding-right: 12px; margin-right: -14px; scrollbar-width: thin; scrollbar-color: var(--arj-gold, #C49E31) rgba(101, 77, 77, .2); }
.arj-srow { direction: rtl; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 6px 32px; border: 0; border-radius: 150px; background: rgba(232, 195, 128, .2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); color: #000; font: inherit; cursor: pointer; }
.arj-srow .arj-sz { display: flex; width: 100%; justify-content: space-between; padding: 0 47px; align-items: center; }
.arj-srow .arj-sz b { font-weight: 400; }
.arj-srow .arj-sz img { width: 14px; height: 14px; }
.arj-srow.arj-on { background: rgba(196, 158, 49, .35); box-shadow: inset 0 0 0 1px var(--arj-gold, #C49E31); }
.arj-srow.arj-off { opacity: .5; }
.arj-sheet-cta { display: flex; flex-direction: row-reverse; gap: 15px; margin-top: 16px; padding-top: 8px; }
.arj-sheet-cta .arj-btn { flex: 1 1 0; display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 6px 16px; border-radius: 150px; font: inherit; font-size: 15px; line-height: 30px; text-decoration: none; cursor: pointer; }
.arj-sheet .arj-btn-dark { border: 0; background: #4a0505; color: #FFEBC9 !important; }
.arj-sheet .arj-btn-outline { border: 1px solid #C49E31; background: none; color: #1D1D1D !important; }
.arj-sheet .arj-btn-dark:hover { background: #5e0a0a; }
.arj-sheet .arj-btn.ec-busy { opacity: .6; pointer-events: none; }

/* custom size form */
.arj-custom { max-height: none; flex-shrink: 0; }
.arj-flabel { display: block; margin: 0 0 12px; font-size: 15px; line-height: 30px; color: #53565A; }
.arj-field { display: flex; align-items: center; min-height: 58px; margin-bottom: 30px; padding: 0 20px; border-radius: 30px; background: rgba(232, 195, 128, .35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.arj-field input, .arj-field textarea { width: 100%; min-width: 0; border: 0; background: none; color: #1D1D1D; font: inherit; font-size: 15px; text-align: center; outline: 0; }
.arj-field input::placeholder { color: #1D1D1D; opacity: 1; }
.arj-field.arj-invalid { box-shadow: inset 0 0 0 1px #950000; }
.arj-dims { gap: 12px; }
.arj-dims img { flex: 0 0 auto; opacity: .7; }
.arj-sheet .arj-qty { justify-content: space-between; padding: 0 70px; }
.arj-sheet .arj-qty button { width: 32px; height: 32px; padding: 0; border: 0; background: none; color: #53565A; font-size: 24px; line-height: 1; cursor: pointer; }
.arj-sheet .arj-qty output { font-size: 22px; }
.arj-area { position: relative; align-items: stretch; min-height: 200px; padding: 14px 16px 26px; margin-bottom: 8px; }
.arj-area textarea { resize: none; text-align: start; line-height: 26px; }
.arj-count { position: absolute; left: 10px; bottom: 6px; font-size: 10px; line-height: 20px; color: #53565A; }

/* mini cart */
.arj-mini { display: flex; flex-direction: row-reverse; gap: 8px; align-items: flex-start; padding: 8px; border-radius: 20px; background: rgba(74, 5, 5, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); direction: ltr; }
.arj-mini-img { position: relative; flex: 0 0 84.76px; height: 101.7px; }
.arj-mini-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; display: block; }
.arj-mini-off { position: absolute; right: 4px; bottom: 4px; min-width: 30.5px; height: 16.3px; padding: 0 4px; border-radius: 6px; background: #FF0905; color: #fff; font-size: 12px; line-height: 16px; text-align: center; direction: ltr; }
.arj-mini-body { flex: 1 1 auto; display: flex; flex-direction: column; align-items: flex-end; direction: rtl; text-align: right; min-width: 0; }
.arj-mini-name { width: 100%; font-size: 14px; line-height: 28px; color: #1D1D1D; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arj-mini-size { font-size: 12px; line-height: 20px; color: #53565A; }
.arj-mini-size .arj-sz { gap: 4px; }
.arj-mini-size .arj-sz b { font-weight: 400; }
.arj-mini-size .arj-sz img { width: 8px; height: 9px; }
.arj-mini-size .arj-mini-n { margin-inline-start: 10px; }
.arj-mini-price { width: 100%; font-size: 15px; line-height: 30px; color: #1D1D1D; text-align: start; }
.arj-mini-price small { font-size: 10px; line-height: 20px; margin-inline-start: 8px; }
.arj-mini-old { width: 100%; text-align: start; font-size: 12px; line-height: 24px; color: #53565A; }
.arj-mini-del { flex: 0 0 auto; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; align-self: flex-start; margin-top: 4px; }
.arj-mini-del img { display: block; }

/* zoom */
/* above the skin's floating nav bar and widgets */
.arj-lightbox { position: fixed; inset: 0; z-index: 100001; background: rgba(0, 0, 0, .92); display: flex; align-items: center; justify-content: center; overflow: auto; touch-action: pinch-zoom; }
.arj-lightbox[hidden] { display: none; }
.arj-lightbox > img { max-width: min(100%, var(--arj-col-w, 100%)); max-height: 100%; object-fit: contain; }
.arj-lightbox .arj-x { position: fixed; top: max(16px, env(safe-area-inset-top)); left: 16px; z-index: 1; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 235, 201, .8); cursor: pointer; }
.arj-lightbox .arj-x img { display: block; }
html.arj-lock, html.arj-lock body { overflow: hidden; }
/* «قیمت تقریبی» of the custom size (store formula) */
.arj-custom [hidden] { display: none !important; }
.arj-estimate { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; margin: 6px 0 14px; padding: 10px 16px; border-radius: 18px; background: rgba(196, 158, 49, .14); border: 1px solid rgba(196, 158, 49, .35); }
.arj-estimate span { font-size: 13px; color: inherit; }
.arj-estimate b { font-size: 16px; color: #b08f50; }
.arj-estimate small { flex-basis: 100%; font-size: 11px; opacity: .75; }

/* «فروشگاه قاب»: the frame picture whole (contain), the chosen design under it in the frame's window */
.ec-arjang-pd.arj-frame-mode .arj-slide img { object-fit: contain; border-radius: 0; }
.ec-arjang-pd .arj-frame-fig { position: relative; }
.ec-arjang-pd .arj-frame-fig > img:not(.arj-print-art) { position: relative; z-index: 1; }
.ec-arjang-pd .arj-print-stage { position: absolute; z-index: 0; pointer-events: none; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.ec-arjang-pd .arj-frame-fig .arj-print-art { position: absolute; display: block; max-width: none; object-fit: cover !important; border-radius: 0 !important; transition: opacity .25s ease; }
/* the design chips (like the size chips): small pictures, the chosen one ringed in gold */
.ec-arjang-pd .arj-prints { margin: 14px 0 22px; }
.ec-arjang-pd .arj-print-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ec-arjang-pd .arj-pchip { width: 52px; height: 52px; padding: 2px; border: 1px solid rgba(255, 235, 201, .25); border-radius: 12px; background: rgba(255, 255, 255, .08); cursor: pointer; overflow: hidden; }
.ec-arjang-pd .arj-pchip img { width: 100%; height: 100%; object-fit: cover; border-radius: 9px; display: block; }
.ec-arjang-pd .arj-pchip.arj-on { border-color: #c49e31; box-shadow: 0 0 0 2px rgba(196, 158, 49, .45); }
.ec-arjang-pd .arj-print-more { height: 52px; }
/* the sheet: filters, then a grid of every design */
.arj-print-sheet .arj-print-filters { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 12px; }
.arj-print-sheet .arj-pf-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.arj-print-sheet .arj-pf { flex: 0 0 auto; padding: 4px 14px; border: 1px solid rgba(83, 86, 90, .25); border-radius: 150px; background: rgba(255, 255, 255, .35); font-family: inherit; font-size: 13px; color: #53565a; cursor: pointer; }
.arj-print-sheet .arj-pf.arj-on { border-color: #c49e31; background: #c49e31; color: #fff; }
.arj-print-sheet .arj-print-grid { max-height: 52vh; overflow-x: hidden; overflow-y: auto; padding: 2px; }
.arj-print-sheet .arj-print-cols { columns: 3; column-gap: 10px; }
.arj-print-sheet .arj-pcell { display: flex; flex-direction: column; gap: 4px; width: 100%; margin: 0 0 10px; break-inside: avoid; -webkit-column-break-inside: avoid; padding: 3px; border: 1px solid transparent; border-radius: 14px; background: none; cursor: pointer; font-family: inherit; color: #53565a; }
.arj-print-sheet .arj-pcell[hidden] { display: none; }
.arj-print-sheet .arj-pcell img { width: 100%; height: auto; max-height: none; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 11px; display: block; background: rgba(83, 86, 90, .12); }
.arj-print-sheet .arj-pcell span { font-size: 11px; line-height: 18px; text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.arj-print-sheet .arj-pcell.arj-on { border-color: #c49e31; box-shadow: 0 0 0 2px rgba(196, 158, 49, .4); }
.ec-arjang-pd .arj-print-picked { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; color: #ffebc9; }
.ec-arjang-pd .arj-print-picked span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 160px; }
.ec-arjang-pd .arj-print-picked img { width: 28px; height: 28px; max-height: none; object-fit: cover; border-radius: 8px; box-shadow: 0 0 0 1px rgba(196, 158, 49, .6); }
.ec-arjang-pd .arj-print-row[hidden] { display: none !important; }
/* the "+N more" chips are hidden by the script when nothing is left (their display rule must not show them) */
.ec-arjang-pd .arj-chip[hidden] { display: none !important; }

/******************* QC 2026-10-21 — product detail *****************/
/* D3: the product block is part of the page (no card look): only a soft shadow separates the picture and the text */
.ec-arjang-pd .arj-gal-track { background: transparent; box-shadow: 0 18px 40px rgba(0, 0, 0, .28); }
.ec-arjang-pd.arj-frame-mode .arj-gal-track { box-shadow: none; }
.ec-arjang-pd .arj-info { background: transparent; box-shadow: 0 14px 38px rgba(0, 0, 0, .22); }
/* D1: the tools follow the picture's corner (js placeTools) */
.ec-arjang-pd .arj-gal-tools { transition: left .2s ease, top .2s ease; }
/* D10: one dot per size, not clickable; the chosen size's dot is the big gold one (Figma "44Size") */
.ec-arjang-pd .arj-dots { flex-wrap: wrap; row-gap: 4px; pointer-events: none; min-height: 10px; }
.ec-arjang-pd .arj-dots i { flex: 0 0 auto; width: 5px; height: 5px; margin: 0 1px; border-radius: 150px; background: rgba(217, 217, 217, .3); transition: width .2s ease, height .2s ease, background .2s ease; }
.ec-arjang-pd .arj-dots i.arj-on { width: 10px; height: 10px; background: var(--arj-gold); }
/* D6 + D11: frame shape preview — the frame lies on the picture, what it cuts off is 50% black */
.ec-arjang-pd .arj-shape { position: absolute; z-index: 1; overflow: hidden; pointer-events: none; border-radius: 6px; animation: arj-shape-in .35s ease; }
.ec-arjang-pd .arj-shape i { position: absolute; border-radius: 50%; box-shadow: 0 0 0 9999px rgba(0, 0, 0, .5), inset 0 0 0 2px rgba(196, 158, 49, .95), 0 0 0 4px rgba(196, 158, 49, .25); transition: width .3s ease, height .3s ease, left .3s ease, top .3s ease; }
@keyframes arj-shape-in { from { opacity: 0; } to { opacity: 1; } }
.ec-arjang-pd .arj-gal-tools { z-index: 2; }
.ec-arjang-pd .arj-frame-ico .arj-oval { width: 18px; height: 27px; border-radius: 50%; }
.ec-arjang-pd .arj-frame-ico .arj-circle { width: 22px; height: 22px; border-radius: 50%; }
.ec-arjang-pd .arj-frames.arj-never { display: none !important; }
/* D7: the order box in the Figma glass look (rgba(74,5,5,.2), radius 30, light edge top-left, blur behind) */
.ec-arjang-pd .arj-buy {
	position: relative; isolation: isolate;
	background: linear-gradient(145deg, rgba(255, 235, 201, .07), rgba(74, 5, 5, .2) 40%, rgba(43, 4, 4, .25));
	box-shadow: inset 1.5px 1.5px 0 rgba(255, 255, 255, .22), inset -1px -1px 0 rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(255, 235, 201, .12), 0 16px 40px rgba(0, 0, 0, .25);
	-webkit-backdrop-filter: blur(10px) saturate(1.3); backdrop-filter: blur(10px) saturate(1.3);
}
/* D8: quantity pill on the box's inner edge, the buttons full width under it (Figma "Basket") */
.ec-arjang-pd .arj-row:has(.arj-qty) { padding-left: 0; }
.ec-arjang-pd .arj-row:nth-child(2) { padding-top: 14px; padding-left: 28px; }
.ec-arjang-pd .arj-row:has(.arj-qty) .arj-qty { margin-left: 0; }
.ec-arjang-pd .arj-buy .arj-btn { min-height: 50px; }
/* D4: the magnifier */
.arj-lightbox { overflow: hidden; touch-action: none; user-select: none; }
.arj-lightbox > img { transform-origin: 50% 50%; cursor: zoom-in; will-change: transform; -webkit-user-drag: none; }
.arj-lightbox.arj-zoomed > img { cursor: grab; }
.arj-lightbox.arj-zoomed > img:active { cursor: grabbing; }
.arj-lightbox .arj-zoom-tools { position: fixed; bottom: max(20px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 2; }
.arj-lightbox .arj-zoom-tools button { width: 44px; height: 44px; padding: 0; border: 1px solid rgba(196, 158, 49, .8); border-radius: 50%; background: rgba(43, 4, 4, .75); color: #FFEBC9; font-size: 24px; line-height: 1; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
/* feedback 1405-08-04: «طرح در جهت خودش چاپ می‌شود» under the custom size */
.arj-print-note { display: flex; align-items: center; gap: 8px; margin: 10px 4px 2px; color: #7a4a12; font-size: 12.5px; line-height: 20px; text-align: right; }
.arj-print-note b { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: #C49E31; color: #fff; font-size: 12px; line-height: 1; }
.arj-dots { display: none !important; }
/* feedback 1405-08-04: share row */
.arj-share { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 18px 16px 6px; }
.arj-share-t { color: #FFEBC9; font-size: 13px; margin-left: 4px; }
.arj-sh { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(196, 158, 49, .7); border-radius: 50%; background: rgba(43, 4, 4, .35); color: #C49E31 !important; cursor: pointer; text-decoration: none !important; transition: background .2s, color .2s; }
.arj-sh:hover, .arj-sh:focus-visible { background: #C49E31; color: #2b0404 !important; }
.arj-sh[hidden] { display: none; }
/* feedback 1405-08-04: a size's slide shows its picture whole, in its own proportions and scaled to the size
   (--arj-scale = its longest side / the product's largest size), in the middle of the gallery */
.ec-arjang-pd .arj-slide.arj-sized img { object-fit: contain; border-radius: 0; transform: scale(var(--arj-scale, 1)); filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .35)); }
.arj-print-note[hidden] { display: none !important; }
