.pd-store-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(44px, 7vw, 78px) 0 46px;
    border-bottom: 1px solid var(--pd-line);
    background:
        radial-gradient(720px 360px at 15% 0%, rgba(40, 235, 217, .16), transparent 68%),
        linear-gradient(135deg, rgba(9, 30, 52, .96), rgba(8, 18, 35, .9));
}
.pd-store-hero::after {
    position: absolute;
    right: -120px;
    bottom: -180px;
    width: 460px;
    height: 460px;
    border: 1px solid rgba(40, 235, 217, .18);
    border-radius: 50%;
    box-shadow: inset 0 0 0 70px rgba(40, 235, 217, .025), inset 0 0 0 140px rgba(255, 223, 0, .018);
    content: "";
}
.pd-store-hero__inner { position: relative; z-index: 1; display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.pd-store-hero h1 { max-width: 850px; margin: 0; color: var(--pd-ink); font-size: clamp(2rem, 4.8vw, 3.55rem); line-height: 1.18; letter-spacing: -.035em; }
.pd-store-hero p:not(.pd-kicker) { max-width: 760px; margin: 15px 0 0; color: #c5d9e5; font-size: 1rem; }
.pd-store-hero__meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.pd-store-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid var(--pd-line-strong); border-radius: 999px; color: #dffbff; background: rgba(7, 25, 43, .68); font-size: .76rem; font-weight: 750; white-space: nowrap; }
.pd-store-pill::before { width: 7px; height: 7px; border-radius: 50%; background: var(--pd-brand); box-shadow: 0 0 0 4px var(--pd-brand-soft); content: ""; }

.pd-store-steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 10px; border: 1px solid var(--pd-line); border-radius: 14px; background: rgba(4, 18, 33, .55); }
.pd-store-steps span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 9px; color: var(--pd-muted); font-size: .76rem; font-weight: 750; }
.pd-store-steps b { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid rgba(85, 224, 217, .24); border-radius: 50%; color: #8dece5; font-size: .65rem; }
.pd-store-steps .is-active { color: #efffff; background: rgba(40, 235, 217, .07); }
.pd-store-steps .is-active b { border-color: rgba(247, 211, 89, .52); color: var(--pd-accent); background: rgba(247, 211, 89, .08); }

.pd-store-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 30px; align-items: start; }
.pd-store-catalog { display: grid; gap: 26px; min-width: 0; }
.pd-store-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 20px 22px; border: 1px solid var(--pd-line); border-radius: 15px; background: linear-gradient(140deg, rgba(13, 42, 67, .88), rgba(7, 22, 40, .96)); box-shadow: var(--pd-shadow-sm); }
.pd-store-section-head__copy { display: grid; gap: 5px; }
.pd-store-section-head h2 { margin: 0; color: var(--pd-ink); font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.35; }
.pd-store-section-head p { margin: 0; color: var(--pd-muted); font-size: .86rem; }
.pd-store-section-head__count { flex: 0 0 auto; padding: 7px 11px; border: 1px solid rgba(40, 235, 217, .25); border-radius: 999px; color: #9af8ef; background: rgba(40, 235, 217, .07); font-size: .74rem; font-weight: 800; white-space: nowrap; }

.pd-store-department { scroll-margin-top: 100px; }
.pd-store-department__head { display: flex; justify-content: space-between; gap: 18px; align-items: end; margin-bottom: 13px; padding-bottom: 12px; border-bottom: 1px solid var(--pd-line); }
.pd-store-department__head h2 { margin: 0; color: var(--pd-ink); font-size: clamp(1.2rem, 2.6vw, 1.55rem); }
.pd-store-department__head span { color: var(--pd-muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pd-store-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 16px; }

.pd-book-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--pd-line); border-radius: 16px; background: linear-gradient(145deg, rgba(12, 38, 61, .94), rgba(7, 22, 40, .97)); box-shadow: var(--pd-shadow-sm); transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.pd-book-card:hover { border-color: rgba(74, 224, 220, .48); box-shadow: var(--pd-shadow-md); transform: translateY(-2px); }
.pd-book-card--selected { border-color: rgba(40, 235, 217, .82); box-shadow: 0 0 0 1px rgba(40, 235, 217, .18), 0 16px 42px rgba(2, 16, 28, .34); }
.pd-book-card--unavailable { opacity: .64; }
.pd-book-pick { position: relative; display: grid; grid-template-columns: 30px 106px minmax(0, 1fr); gap: 14px; align-items: start; min-height: 162px; padding: 18px; cursor: pointer; }
.pd-book-card--unavailable .pd-book-pick { cursor: not-allowed; }
.pd-book-pick input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.pd-book-checkmark { display: grid; place-items: center; width: 28px; height: 28px; margin-top: 3px; border: 1px solid rgba(105, 200, 205, .5); border-radius: 8px; background: rgba(4, 18, 32, .72); color: transparent; font-size: 1rem; font-weight: 900; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease; }
.pd-book-pick input:checked + .pd-book-checkmark { border-color: #62f4e7; background: linear-gradient(135deg, #25ddcf, #73f7e9); color: #05262c; transform: scale(1.03); }
.pd-book-pick input:checked + .pd-book-checkmark::after { content: "✓"; }
.pd-book-pick input:focus-visible + .pd-book-checkmark { outline: 2px solid var(--pd-accent); outline-offset: 3px; }
.pd-book-cover { display: block; width: 106px; aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); border-radius: 8px 13px 13px 8px; background: linear-gradient(160deg, #13596d, #0a2339 64%, #17234a); box-shadow: 7px 8px 0 rgba(0, 0, 0, .15); }
.pd-book-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pd-book-cover__fallback { display: grid; place-items: center; width: 100%; height: 100%; color: var(--pd-accent); }
.pd-book-cover__fallback span { display: grid; place-items: center; width: 44px; height: 58px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 4px 9px 9px 4px; background: rgba(255, 255, 255, .06); font-size: 1.2rem; }
.pd-book-info { display: flex; flex-direction: column; min-width: 0; min-height: 100%; }
.pd-book-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.pd-book-tag { display: inline-flex; padding: 4px 8px; border: 1px solid rgba(40, 235, 217, .3); border-radius: 999px; color: #91f7ed; background: rgba(40, 235, 217, .08); font-size: .64rem; font-weight: 800; letter-spacing: .03em; }
.pd-book-tag--low-stock { border-color: rgba(255, 223, 0, .32); color: #ffe865; background: rgba(255, 223, 0, .08); }
.pd-book-tag--stock-out { border-color: rgba(255, 111, 111, .32); color: #ff9d9d; background: rgba(255, 70, 70, .08); }
.pd-book-tag--custom { border-color: rgba(160, 165, 255, .34); color: #c7c9ff; background: rgba(126, 135, 255, .08); }
.pd-book-stock { color: #8ca6b8; font-size: .66rem; font-weight: 750; white-space: nowrap; }
.pd-book-title { margin: 10px 0 5px; color: var(--pd-ink); font-size: 1.03rem; font-weight: 750; line-height: 1.4; }
.pd-book-summary { display: -webkit-box; margin: 0 0 10px; overflow: hidden; color: var(--pd-muted); font-size: .8rem; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.pd-book-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; margin-top: auto; }
.pd-book-price strong { color: var(--pd-accent); font-size: 1.19rem; line-height: 1; }
.pd-book-price del { color: #71899b; font-size: .75rem; }

.pd-book-order-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 11px 16px; align-items: center; padding: 13px 18px 16px; border-top: 1px solid rgba(107, 205, 211, .12); background: rgba(3, 14, 26, .32); }
.pd-book-qty-shell { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.pd-book-qty-shell > span { color: #8fa9ba; font-size: .67rem; font-weight: 850; letter-spacing: .065em; text-transform: uppercase; }
.pd-book-stepper { display: inline-grid; grid-template-columns: 34px 46px 34px; align-items: center; overflow: hidden; border: 1px solid rgba(107, 205, 211, .3); border-radius: 8px; background: rgba(4, 17, 30, .78); }
.pd-book-stepper button { height: 34px; border: 0; color: #dffffb; background: transparent; font-size: 1.05rem; font-weight: 800; cursor: pointer; }
.pd-book-stepper button:hover { background: rgba(40, 235, 217, .1); }
.pd-book-stepper input { width: 46px; height: 34px; padding: 0; border: 0; border-inline: 1px solid rgba(107, 205, 211, .18); color: var(--pd-ink); background: transparent; text-align: center; font: inherit; font-size: .84rem; font-weight: 800; -moz-appearance: textfield; appearance: textfield; }
.pd-book-stepper input::-webkit-outer-spin-button,
.pd-book-stepper input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.pd-book-presets { display: inline-flex; gap: 4px; }
.pd-book-presets button { min-width: 27px; height: 27px; padding: 0 6px; border: 1px solid rgba(107, 205, 211, .2); border-radius: 6px; color: #a7c2cf; background: transparent; font-size: .7rem; font-weight: 800; cursor: pointer; }
.pd-book-presets button:hover { border-color: rgba(40, 235, 217, .5); color: #ecfffd; }
.pd-book-line-total { display: grid; justify-items: end; gap: 2px; }
.pd-book-line-total span { color: #7893a5; font-size: .62rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.pd-book-line-total strong { color: #dffcf8; font-size: .9rem; }

.pd-store-checkout { position: sticky; top: 90px; overflow: hidden; border: 1px solid var(--pd-line); border-radius: 16px; background: linear-gradient(160deg, rgba(13, 42, 67, .98), rgba(6, 19, 34, .99)); box-shadow: var(--pd-shadow-md); }
.pd-store-checkout__head { padding: 19px 21px 15px; border-bottom: 1px solid var(--pd-line); }
.pd-store-checkout__head h2 { margin: 0 0 4px; color: var(--pd-ink); font-size: 1.18rem; }
.pd-store-checkout__head p { margin: 0; color: var(--pd-muted); font-size: .78rem; }
.pd-store-checkout__body { padding: 18px 21px 21px; }
.pd-store-summary { display: grid; gap: 0; margin: 0 0 17px; padding: 0; list-style: none; }
.pd-store-summary li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 9px 0; border-bottom: 1px dashed rgba(107, 205, 211, .15); color: var(--pd-text); font-size: .79rem; }
.pd-store-summary li span:first-child { overflow-wrap: anywhere; }
.pd-store-summary li span:last-child { color: var(--pd-ink); font-weight: 800; white-space: nowrap; }
.pd-store-summary__empty { color: var(--pd-muted) !important; font-style: italic; }

.pd-store-reference { display: grid; gap: 6px; margin: 0 0 18px; padding: 13px; border: 1px solid rgba(107, 205, 211, .2); border-radius: 11px; background: rgba(3, 15, 27, .34); }
.pd-store-reference label { color: #dcecf4; font-size: .69rem; font-weight: 850; letter-spacing: .055em; text-transform: uppercase; }
.pd-store-reference__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; }
.pd-store-reference input { width: 100%; min-width: 0; height: 40px; padding: 8px 10px; border: 1px solid rgba(107, 205, 211, .3); border-radius: 7px; color: var(--pd-ink); background: rgba(4, 16, 29, .78); font: inherit; font-size: .8rem; }
.pd-store-reference input:focus { border-color: var(--pd-brand); outline: 0; box-shadow: 0 0 0 3px rgba(40, 235, 217, .09); }
.pd-store-reference button { min-width: 68px; height: 40px; padding: 0 11px; border: 1px solid transparent; border-radius: 7px; color: #042128; background: #55e6dc; font: inherit; font-size: .76rem; font-weight: 900; cursor: pointer; }
.pd-store-reference button:disabled { opacity: .55; cursor: wait; }
.pd-store-reference p { min-height: 16px; margin: 0; color: #7f99aa; font-size: .69rem; line-height: 1.45; }
.pd-store-reference p.is-valid { color: #84f6b2; }
.pd-store-reference p.is-invalid { color: #ff9bab; }

.pd-store-total { display: grid; gap: 7px; }
.pd-store-total__row { display: flex; justify-content: space-between; gap: 14px; color: var(--pd-muted); font-size: .81rem; }
.pd-store-total__row[hidden] { display: none; }
.pd-store-total__row--discount { color: #79e5ad; }
.pd-store-total__row--grand { margin-top: 4px; padding-top: 11px; border-top: 1px solid var(--pd-line); color: var(--pd-ink); font-size: 1.08rem; font-weight: 800; }
.pd-store-total__row--grand strong { color: var(--pd-accent); }
.pd-store-checkout__note { margin: 14px 0 0; padding-top: 13px; border-top: 1px dashed rgba(107, 205, 211, .18); color: #8198a8; font-size: .7rem; line-height: 1.55; }

.pd-store-details { margin-top: 28px; padding: clamp(20px, 3vw, 28px); border: 1px solid var(--pd-line); border-radius: 16px; background: linear-gradient(150deg, rgba(13, 42, 67, .92), rgba(6, 19, 34, .98)); box-shadow: var(--pd-shadow-sm); }
.pd-store-details__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 19px; padding-bottom: 14px; border-bottom: 1px solid var(--pd-line); }
.pd-store-details__head h2 { margin: 0 0 4px; color: var(--pd-ink); font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
.pd-store-details__head p { margin: 0; color: var(--pd-muted); font-size: .82rem; }
.pd-store-details__head span { flex: 0 0 auto; color: var(--pd-accent); font-size: .7rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.pd-store-details__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pd-store-field { display: grid; gap: 5px; min-width: 0; }
.pd-store-field--full { grid-column: 1 / -1; }
.pd-store-field label { color: #d8e9f2; font-size: .71rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.pd-store-field label span { color: #829bab; font-weight: 600; letter-spacing: 0; text-transform: none; }
.pd-store-field input,
.pd-store-field textarea,
.pd-store-field select { width: 100%; min-height: 44px; padding: 10px 11px; border: 1px solid rgba(107, 205, 211, .28); border-radius: 8px; color: var(--pd-ink); background: rgba(4, 16, 29, .76); font: inherit; font-size: .86rem; transition: border-color 160ms ease, box-shadow 160ms ease; }
.pd-store-field textarea { min-height: 86px; resize: vertical; }
.pd-store-field input::placeholder,
.pd-store-field textarea::placeholder { color: #698395; }
.pd-store-field input:focus,
.pd-store-field textarea:focus,
.pd-store-field select:focus { border-color: var(--pd-brand); outline: none; box-shadow: 0 0 0 3px rgba(40, 235, 217, .1); }
.pd-store-field select:disabled { opacity: .58; cursor: not-allowed; }
.pd-store-location { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

.pd-store-delivery { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 13px; align-items: center; margin-top: 17px; padding: 14px 15px; border: 1px solid rgba(40, 235, 217, .28); border-radius: 11px; background: rgba(20, 122, 113, .12); }
.pd-store-delivery__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; color: #07272c; background: linear-gradient(135deg, #27d9cc, #8affef); font-size: 1.05rem; font-weight: 900; }
.pd-store-delivery strong { display: block; color: #edffff; font-size: .84rem; }
.pd-store-delivery p { margin: 3px 0 0; color: #93b1be; font-size: .73rem; line-height: 1.45; }
.pd-store-delivery__charge { color: var(--pd-accent); font-size: 1rem; font-weight: 900; white-space: nowrap; }

.pd-store-confirm { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--pd-line); }
.pd-store-confirm__amount { display: grid; gap: 2px; }
.pd-store-confirm__amount span { color: #85a0b0; font-size: .68rem; font-weight: 850; letter-spacing: .065em; text-transform: uppercase; }
.pd-store-confirm__amount strong { color: var(--pd-accent); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.1; }
.pd-store-confirm__amount small { color: #7e97a8; font-size: .69rem; }
.pd-store-submit { min-width: 220px; min-height: 50px; padding: 11px 22px; border: 0; border-radius: 10px; color: #032128; background: linear-gradient(135deg, #27e3d4, #81faeb); font: inherit; font-weight: 900; box-shadow: 0 10px 28px rgba(40, 235, 217, .18); cursor: pointer; }
.pd-store-submit:hover { background: linear-gradient(135deg, #49f3e3, #a2fff0); }
.pd-store-submit:disabled { opacity: .55; cursor: not-allowed; }
.pd-store-note { margin: 10px 0 0; color: #8098aa; font-size: .7rem; line-height: 1.5; }

.pd-store-alert { display: grid; gap: 5px; margin-bottom: 18px; padding: 13px 15px; border: 1px solid rgba(255, 116, 116, .38); border-radius: 10px; color: #ffd3d3; background: rgba(132, 26, 32, .18); font-size: .86rem; }
.pd-store-alert--success { border-color: rgba(40, 235, 217, .34); color: #d8fffb; background: rgba(16, 130, 114, .2); }
.pd-store-alert ul { margin: 3px 0 0; padding-left: 18px; }

.pd-store-confirmation { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr) 280px; margin-bottom: 30px; padding: 26px; border: 1px solid rgba(40, 235, 217, .35); border-radius: var(--pd-radius); background: linear-gradient(140deg, rgba(13, 92, 91, .24), rgba(8, 28, 47, .94)); box-shadow: var(--pd-shadow-md); }
.pd-store-confirmation h2 { margin: 0 0 7px; color: var(--pd-ink); font-size: 1.55rem; }
.pd-store-confirmation p { margin: 0; color: var(--pd-muted); }
.pd-store-reference--order { display: inline-flex; margin-top: 14px; padding: 9px 12px; border: 1px dashed rgba(255, 223, 0, .45); border-radius: 8px; color: var(--pd-accent); background: rgba(255, 223, 0, .06); font-size: .86rem; font-weight: 800; letter-spacing: .05em; }
.pd-store-order-list { margin: 13px 0 0; padding: 0; list-style: none; }
.pd-store-order-list li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid rgba(107, 205, 211, .12); color: var(--pd-text); font-size: .86rem; }
.pd-store-confirmation__aside { padding: 16px; border: 1px solid var(--pd-line); border-radius: 12px; background: rgba(3, 15, 27, .42); }
.pd-store-confirmation__aside dt { margin-top: 10px; color: #7892a5; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.pd-store-confirmation__aside dd { margin: 3px 0 0; color: var(--pd-ink); font-size: .88rem; }

.pd-store-empty { padding: 42px; border: 1px dashed var(--pd-line-strong); border-radius: var(--pd-radius); text-align: center; background: var(--pd-surface-soft); }
.pd-store-empty h2 { margin: 0 0 8px; color: var(--pd-ink); }
.pd-store-empty p { margin: 0 auto 18px; max-width: 580px; color: var(--pd-muted); }

.pd-tracker-layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 26px; align-items: start; }
.pd-tracker-search { padding: 24px; border: 1px solid var(--pd-line); border-radius: var(--pd-radius); background: linear-gradient(150deg, rgba(13, 42, 67, .94), rgba(7, 21, 37, .97)); box-shadow: var(--pd-shadow-sm); }
.pd-tracker-search h2 { margin: 0 0 7px; color: var(--pd-ink); font-size: 1.2rem; }
.pd-tracker-search p { margin: 0 0 18px; color: var(--pd-muted); font-size: .86rem; }
.pd-tracker-search form { display: grid; gap: 13px; }
.pd-tracker-search label { color: #dbeaf2; font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.pd-tracker-search input { width: 100%; height: 46px; padding: 10px 12px; border: 1px solid rgba(107, 205, 211, .28); border-radius: 9px; color: var(--pd-ink); background: rgba(4, 16, 29, .78); }
.pd-tracker-search button { min-height: 46px; border: 0; border-radius: 9px; color: #032128; background: linear-gradient(135deg, #27e3d4, #79f9e7); font-weight: 900; }
.pd-tracker-list { display: grid; gap: 18px; }
.pd-tracker-order { overflow: hidden; border: 1px solid var(--pd-line); border-radius: var(--pd-radius); background: linear-gradient(145deg, rgba(12, 38, 61, .93), rgba(7, 22, 40, .97)); box-shadow: var(--pd-shadow-sm); }
.pd-tracker-order__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 20px 22px; border-bottom: 1px solid var(--pd-line); }
.pd-tracker-order__head h2 { margin: 0; color: var(--pd-ink); font-size: 1.08rem; }
.pd-tracker-order__head p { margin: 4px 0 0; color: var(--pd-muted); font-size: .8rem; }
.pd-tracker-status { display: inline-flex; padding: 6px 10px; border: 1px solid rgba(40, 235, 217, .28); border-radius: 999px; color: #a4fff6; background: rgba(40, 235, 217, .08); font-size: .72rem; font-weight: 800; }
.pd-tracker-order__body { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; padding: 22px; }
.pd-tracker-order__body h3 { margin: 0 0 10px; color: var(--pd-ink); font-size: .95rem; }
.pd-tracker-items { margin: 0; padding: 0; list-style: none; }
.pd-tracker-items li { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid rgba(107, 205, 211, .12); color: var(--pd-text); font-size: .85rem; }
.pd-tracker-timeline { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.pd-tracker-timeline li { position: relative; padding: 0 0 20px 25px; border-left: 1px solid rgba(107, 205, 211, .22); }
.pd-tracker-timeline li::before { position: absolute; top: 4px; left: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--pd-brand); box-shadow: 0 0 0 4px rgba(40, 235, 217, .09); content: ""; }
.pd-tracker-timeline li:last-child { padding-bottom: 0; border-color: transparent; }
.pd-tracker-timeline strong { display: block; color: var(--pd-ink); font-size: .88rem; }
.pd-tracker-timeline small { display: block; margin-top: 2px; color: var(--pd-muted); font-size: .74rem; }
.pd-tracker-timeline p { margin: 5px 0 0; color: var(--pd-muted); font-size: .8rem; }
.pd-tracker-courier { margin-top: 15px; padding: 12px; border: 1px dashed var(--pd-line-strong); border-radius: 9px; color: var(--pd-muted); font-size: .8rem; }
.pd-tracker-courier strong { color: var(--pd-ink); }
.pd-tracker-courier a { display: inline-flex; margin-top: 7px; }

@media (max-width: 1050px) {
    .pd-store-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; }
    .pd-store-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .pd-store-hero__inner,
    .pd-store-layout,
    .pd-store-confirmation { grid-template-columns: 1fr; }
    .pd-store-hero__meta { justify-content: flex-start; }
    .pd-store-checkout { position: static; }
    .pd-store-details__grid { grid-template-columns: 1fr; }
    .pd-store-field--full,
    .pd-store-location { grid-column: 1; }
    .pd-store-location { grid-template-columns: 1fr; }
    .pd-store-confirm { grid-template-columns: 1fr; }
    .pd-store-submit { width: 100%; }
    .pd-tracker-layout,
    .pd-tracker-order__body { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .pd-store-hero { padding-top: 38px; }
    .pd-store-steps { display: grid; grid-template-columns: 1fr; }
    .pd-store-section-head { flex-direction: column; }
    .pd-book-pick { grid-template-columns: 27px 88px minmax(0, 1fr); gap: 11px; padding: 15px; }
    .pd-book-cover { width: 88px; }
    .pd-book-order-row { grid-template-columns: 1fr; }
    .pd-book-line-total { justify-items: start; }
    .pd-store-delivery { grid-template-columns: auto minmax(0, 1fr); }
    .pd-store-delivery__charge { grid-column: 2; }
    .pd-store-department__head { align-items: flex-start; flex-direction: column; gap: 4px; }
}
 
/* =========================================================
   Compact Bangla book checkout (theme/purchase.php)
   ========================================================= */
.pd-shop-page,
.pd-shop-page * { box-sizing: border-box; }
.pd-shop-page {
    min-height: 100vh;
    margin: 0;
    color: #f3fbff;
    background: #061622;
    font-family: 'Hind Siliguri', 'Noto Sans Bengali', 'SolaimanLipi', sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
.pd-shop-page button,
.pd-shop-page input,
.pd-shop-page select,
.pd-shop-page textarea { font: inherit; }
.pd-shop-page a { color: inherit; text-decoration: none; }
.pd-shop-page img { display: block; max-width: 100%; }
.pd-shop-page ::selection { color: #041a20; background: #79f5e6; }
.pd-shop-atmosphere {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(850px 520px at 4% -8%, rgba(35, 203, 190, .18), transparent 64%),
        radial-gradient(700px 600px at 100% 8%, rgba(38, 102, 160, .2), transparent 66%),
        radial-gradient(760px 540px at 50% 108%, rgba(13, 137, 112, .12), transparent 68%),
        linear-gradient(145deg, #071b2b 0%, #061622 55%, #081b27 100%);
}
.pd-shop-atmosphere::after {
    position: absolute;
    inset: 0;
    opacity: .25;
    background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
    content: "";
}
.pd-shop-topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 18px 0 12px; }
.pd-shop-brand { display: inline-flex; align-items: center; gap: 11px; }
.pd-shop-brand__mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(103, 246, 228, .38); border-radius: 13px; color: #042128; background: linear-gradient(145deg, #79f7e7, #26c7b9); box-shadow: 0 8px 24px rgba(30, 218, 198, .2), inset 0 1px rgba(255,255,255,.48); font-family: 'Manrope', sans-serif; font-size: 13px; font-weight: 800; letter-spacing: -.03em; }
.pd-shop-brand > span:last-child { display: grid; line-height: 1.12; }
.pd-shop-brand strong { color: #f6feff; font-family: 'Manrope', sans-serif; font-size: 15px; letter-spacing: -.02em; }
.pd-shop-brand small { margin-top: 4px; color: #7899a6; font-size: 11px; letter-spacing: .04em; }
.pd-shop-home { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border: 1px solid rgba(127, 218, 214, .18); border-radius: 999px; color: #a8c2ca; background: rgba(4, 20, 31, .42); font-size: 13px; font-weight: 600; transition: color .2s, border-color .2s, transform .2s; }
.pd-shop-home:hover { color: #efffff; border-color: rgba(93, 242, 223, .42); transform: translateY(-1px); }
.pd-shop-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0 54px; }
.pd-shop-intro { max-width: 780px; margin-bottom: 28px; }
.pd-shop-kicker { margin: 0 0 7px; color: #55e8d7; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pd-shop-intro h1 { margin: 0; color: #f7feff; font-size: clamp(2rem, 4vw, 3.15rem); font-weight: 700; line-height: 1.08; letter-spacing: -.035em; }
.pd-shop-intro > p:last-child { max-width: 690px; margin: 12px 0 0; color: #8caab6; font-size: 15px; }
.pd-shop-alert { margin: 0 0 20px; padding: 15px 18px; border: 1px solid rgba(104, 237, 164, .32); border-radius: 13px; color: #c7f7dd; background: rgba(27, 126, 87, .13); font-size: 14px; }
.pd-shop-alert ul { margin: 7px 0 0; padding-left: 20px; }
.pd-shop-alert--error { border-color: rgba(255, 122, 131, .4); color: #ffd1d5; background: rgba(155, 34, 53, .15); }
.pd-shop-form { display: block; }
.pd-shop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 24px; align-items: start; }
.pd-shop-catalog { min-width: 0; }
.pd-shop-section-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 13px; }
.pd-shop-section-head > div { display: flex; align-items: baseline; gap: 10px; }
.pd-shop-section-head > div > span { color: #4be4d3; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pd-shop-section-head h2 { margin: 0; color: #f2fcff; font-size: 1.22rem; line-height: 1.25; }
.pd-shop-selected-count { flex: 0 0 auto; padding: 6px 10px; border: 1px solid rgba(80, 226, 211, .2); border-radius: 999px; color: #94c7c9; background: rgba(11, 52, 61, .4); font-size: 11px; font-weight: 600; }
.pd-shop-selected-count b { color: #72f6e7; font-family: 'Manrope', sans-serif; }
.pd-shop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.pd-shop-grid:has(> .pd-shop-book:only-child) { grid-template-columns: minmax(0, 1fr); }
.pd-shop-book { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 13px; min-width: 0; padding: 14px; overflow: hidden; border: 1px solid rgba(114, 201, 205, .15); border-radius: 15px; color: #edfaff; background: linear-gradient(150deg, rgba(13, 46, 62, .86), rgba(7, 27, 41, .94)); box-shadow: 0 12px 34px rgba(0, 10, 18, .18); cursor: pointer; outline: none; transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease, background .22s ease; }
.pd-shop-book::after { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(135deg, rgba(112, 255, 235, .08), transparent 42%); opacity: 0; content: ""; transition: opacity .22s; }
.pd-shop-book:hover { border-color: rgba(92, 224, 214, .38); transform: translateY(-2px); box-shadow: 0 17px 38px rgba(0, 9, 17, .28); }
.pd-shop-book:focus-visible { border-color: #5be5d6; box-shadow: 0 0 0 3px rgba(63, 231, 212, .14); }
.pd-shop-book.is-selected { border-color: rgba(68, 240, 214, .7); background: linear-gradient(150deg, rgba(15, 68, 72, .96), rgba(7, 34, 45, .98)); box-shadow: 0 0 0 1px rgba(72, 242, 217, .14), 0 16px 40px rgba(0, 10, 18, .28); }
.pd-shop-book.is-selected::after { opacity: 1; }
.pd-shop-book.is-bumping { animation: pd-book-bump .35s ease; }
@keyframes pd-book-bump { 0% { transform: scale(.985); } 55% { transform: scale(1.012); } 100% { transform: scale(1); } }
.pd-shop-book__check { position: absolute; top: 11px; right: 11px; z-index: 2; display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid rgba(130, 208, 210, .3); border-radius: 7px; color: transparent; background: rgba(5, 22, 32, .76); font-family: 'Manrope', sans-serif; font-size: 13px; font-weight: 800; transition: color .18s, background .18s, border-color .18s, transform .18s; }
.pd-shop-book.is-selected .pd-shop-book__check { color: #04251f; background: #59f3d8; border-color: #59f3d8; transform: scale(1.06); }
.pd-shop-book__cover { position: relative; display: grid; place-items: center; align-self: start; width: 84px; aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid rgba(131, 221, 217, .1); border-radius: 9px; background: #0b2c3b; box-shadow: 0 8px 18px rgba(0, 9, 16, .22); }
.pd-shop-book__cover img { width: 100%; height: 100%; object-fit: cover; }
.pd-shop-book__fallback { display: grid; place-content: center; width: 100%; height: 100%; padding: 8px; text-align: center; background: radial-gradient(circle at 50% 20%, rgba(77, 232, 216, .18), transparent 60%), linear-gradient(155deg, #123d4a, #071b29); }
.pd-shop-book__fallback b { color: #7ef9e8; font-family: 'Manrope', sans-serif; font-size: 24px; letter-spacing: -.08em; }
.pd-shop-book__fallback small { margin-top: 4px; color: #6d9ca5; font-size: 8px; letter-spacing: .04em; text-transform: uppercase; }
.pd-shop-book__body { display: flex; flex-direction: column; min-width: 0; padding-right: 16px; }
.pd-shop-book__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 5px; color: #7eacb4; font-size: 10px; line-height: 1.35; }
.pd-shop-book__meta em { padding: 2px 6px; border: 1px solid rgba(110, 224, 213, .15); border-radius: 999px; color: #80e9dc; background: rgba(21, 104, 99, .15); font-style: normal; font-size: 9px; white-space: nowrap; }
.pd-shop-book__meta em.is-low-stock { color: #ffda85; border-color: rgba(255, 205, 91, .18); background: rgba(153, 103, 18, .13); }
.pd-shop-book__meta em.is-stock-out { color: #ffb1b8; border-color: rgba(255, 112, 124, .18); }
.pd-shop-book__title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: #f2fbff; font-size: 13px; font-weight: 600; line-height: 1.45; }
.pd-shop-book__price { display: flex; align-items: baseline; gap: 7px; margin-top: 7px; }
.pd-shop-book__price b { color: #ffd671; font-family: 'Manrope', sans-serif; font-size: 15px; letter-spacing: -.03em; }
.pd-shop-book__price del { color: #698b95; font-family: 'Manrope', sans-serif; font-size: 10px; }
.pd-shop-book__stock { margin-top: auto; padding-top: 5px; color: #6f9aa4; font-size: 10px; }
.pd-shop-book__footer { display: grid; grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px; padding-top: 11px; border-top: 1px solid rgba(122, 213, 210, .1); }
.pd-shop-book__footer > span:first-child { color: #7397a1; font-size: 10px; }
.pd-shop-book__footer > b { color: #90b9bf; font-family: 'Manrope', sans-serif; font-size: 11px; }
.pd-shop-qty { display: inline-grid; grid-template-columns: 25px 34px 25px; align-items: center; width: max-content; justify-self: start; border: 1px solid rgba(126, 217, 213, .18); border-radius: 8px; overflow: hidden; background: rgba(5, 23, 34, .58); }
.pd-shop-qty button { width: 25px; height: 27px; padding: 0; border: 0; color: #b8d5d9; background: transparent; cursor: pointer; font-family: 'Manrope', sans-serif; font-size: 16px; line-height: 1; transition: color .15s, background .15s; }
.pd-shop-qty button:hover { color: #03251f; background: #59ead8; }
.pd-shop-qty input { width: 34px; height: 27px; padding: 0; border: 0; border-right: 1px solid rgba(126, 217, 213, .13); border-left: 1px solid rgba(126, 217, 213, .13); color: #f0ffff; background: transparent; text-align: center; font-family: 'Manrope', sans-serif; font-size: 11px; font-weight: 700; appearance: textfield; }
.pd-shop-qty input::-webkit-outer-spin-button,
.pd-shop-qty input::-webkit-inner-spin-button { margin: 0; appearance: none; }
.pd-shop-qty input:focus { outline: 1px solid #54ead8; outline-offset: -1px; }
.pd-shop-checkout { position: sticky; top: 15px; overflow: hidden; border: 1px solid rgba(125, 213, 211, .17); border-radius: 17px; background: linear-gradient(155deg, rgba(11, 43, 59, .96), rgba(5, 24, 38, .98)); box-shadow: 0 22px 60px rgba(0, 8, 16, .32); }
.pd-shop-checkout__head { padding: 19px 20px 15px; border-bottom: 1px solid rgba(120, 209, 207, .11); }
.pd-shop-checkout__head > span { color: #4ce4d4; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pd-shop-checkout__head h2 { margin: 3px 0 1px; color: #f1fcff; font-size: 1.18rem; line-height: 1.3; }
.pd-shop-checkout__head p { margin: 0; color: #7898a4; font-size: 11px; }
.pd-shop-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; padding: 17px 20px 0; }
.pd-shop-field { display: grid; align-content: start; gap: 5px; min-width: 0; }
.pd-shop-field--full { grid-column: 1 / -1; }
.pd-shop-field > span { color: #bad1d7; font-size: 11px; font-weight: 600; }
.pd-shop-field > span b { color: #54e8d5; font-weight: 700; }
.pd-shop-field > span small { color: #6e919c; font-size: 9px; font-weight: 400; }
.pd-shop-field input,
.pd-shop-field textarea,
.pd-shop-field select { width: 100%; min-width: 0; min-height: 40px; padding: 8px 10px; border: 1px solid rgba(123, 207, 208, .17); border-radius: 8px; color: #effcff; background: rgba(2, 17, 27, .54); outline: none; font-size: 12px; transition: border-color .18s, box-shadow .18s, background .18s; }
.pd-shop-field input::placeholder,
.pd-shop-field textarea::placeholder { color: #527986; }
.pd-shop-field textarea { min-height: 70px; resize: vertical; line-height: 1.5; }
.pd-shop-field input:focus,
.pd-shop-field textarea:focus,
.pd-shop-field select:focus { border-color: rgba(83, 236, 218, .65); background: rgba(3, 22, 33, .78); box-shadow: 0 0 0 3px rgba(67, 229, 211, .08); }
.pd-shop-field select:disabled { color: #496b76; cursor: not-allowed; opacity: .68; }
.pd-shop-location { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 11px 20px 0; }
.pd-shop-note-field { margin: 11px 20px 0; }
.pd-shop-note-field textarea { min-height: 56px; }
.pd-shop-cod { display: flex; align-items: center; gap: 11px; margin: 14px 20px 0; padding: 11px 12px; border: 1px solid rgba(172, 234, 158, .16); border-radius: 10px; background: rgba(33, 122, 78, .1); }
.pd-shop-cod__icon { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 8px; color: #1b3c28; background: #a2efad; font-family: 'Manrope', sans-serif; font-size: 14px; font-weight: 800; }
.pd-shop-cod > span:last-child { display: grid; gap: 1px; min-width: 0; }
.pd-shop-cod strong { color: #d8f7df; font-size: 11px; }
.pd-shop-cod small { color: #76a48b; font-size: 9.5px; line-height: 1.4; }
.pd-shop-summary { margin-top: 16px; padding: 15px 20px 19px; border-top: 1px solid rgba(118, 207, 205, .12); background: rgba(3, 19, 29, .28); }
.pd-shop-summary__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.pd-shop-summary__head h2 { margin: 0; color: #def6fa; font-size: .93rem; }
.pd-shop-summary__head > span { display: grid; place-items: center; min-width: 21px; height: 21px; padding: 0 6px; border-radius: 999px; color: #03241f; background: #53e9d7; font-family: 'Manrope', sans-serif; font-size: 9px; font-weight: 800; }
.pd-shop-summary__items { display: grid; gap: 0; max-height: 136px; margin: 0 0 9px; padding: 0; overflow-y: auto; list-style: none; scrollbar-width: thin; scrollbar-color: #285a61 transparent; }
.pd-shop-summary__items li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed rgba(117, 207, 205, .09); color: #91b1ba; font-size: 10.5px; line-height: 1.4; }
.pd-shop-summary__items li:last-child { border-bottom: 0; }
.pd-shop-summary__items li b { flex: 0 0 auto; color: #c3e4e5; font-family: 'Manrope', sans-serif; font-size: 10px; }
.pd-shop-summary__items li.is-empty { color: #628691; font-style: italic; }
.pd-shop-reference { margin: 9px 0 11px; border: 1px solid rgba(121, 205, 206, .12); border-radius: 8px; background: rgba(3, 19, 29, .32); }
.pd-shop-reference summary { padding: 7px 9px; color: #89aab4; cursor: pointer; font-size: 10px; list-style: none; }
.pd-shop-reference summary::-webkit-details-marker { display: none; }
.pd-shop-reference summary::before { margin-right: 6px; color: #54dfd2; content: '+'; }
.pd-shop-reference[open] summary::before { content: '−'; }
.pd-shop-reference summary span { color: #577d88; font-size: 9px; }
.pd-shop-reference__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; padding: 0 8px 4px; }
.pd-shop-reference__row input { width: 100%; height: 33px; min-width: 0; padding: 6px 8px; border: 1px solid rgba(119, 208, 205, .17); border-radius: 6px; color: #efffff; background: rgba(3, 17, 26, .64); font-family: 'Manrope', sans-serif; font-size: 10px; outline: 0; }
.pd-shop-reference__row button { padding: 0 10px; border: 1px solid rgba(78, 231, 212, .3); border-radius: 6px; color: #73f1e2; background: rgba(22, 108, 99, .2); font-size: 9px; font-weight: 700; cursor: pointer; }
.pd-shop-reference p { min-height: 14px; margin: 0; padding: 0 9px 6px; color: #64848e; font-size: 8.5px; line-height: 1.4; }
.pd-shop-reference p.is-valid { color: #7eecb1; }
.pd-shop-reference p.is-invalid { color: #ff9ca7; }
.pd-shop-totals { display: grid; gap: 5px; padding-top: 4px; }
.pd-shop-totals > div { display: flex; justify-content: space-between; gap: 14px; color: #84a6af; font-size: 10.5px; }
.pd-shop-totals > div[hidden] { display: none; }
.pd-shop-totals b { color: #c5dfe4; font-family: 'Manrope', sans-serif; font-size: 10px; font-weight: 600; }
.pd-shop-totals #storeDiscount { color: #78e5a9; }
.pd-shop-totals__grand { align-items: baseline; margin-top: 4px; padding-top: 9px; border-top: 1px solid rgba(117, 207, 205, .13); color: #dff8fb !important; font-size: 12px !important; font-weight: 600; }
.pd-shop-totals__grand strong { color: #ffd66f; font-family: 'Manrope', sans-serif; font-size: 20px; line-height: 1; letter-spacing: -.04em; }
.pd-shop-delivery-hint { margin: 7px 0 0; color: #648791; font-size: 8.5px; line-height: 1.45; }
.pd-shop-client-error { margin-top: 8px; padding: 7px 9px; border: 1px solid rgba(255, 110, 124, .28); border-radius: 7px; color: #ffc1c7; background: rgba(137, 27, 41, .15); font-size: 9.5px; }
.pd-shop-client-error[hidden] { display: none; }
.pd-shop-submit { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 47px; margin-top: 11px; padding: 7px 13px; border: 0; border-radius: 9px; color: #04221f; background: linear-gradient(120deg, #63f2dd, #29cbbb); box-shadow: 0 9px 24px rgba(21, 197, 177, .2), inset 0 1px rgba(255,255,255,.42); cursor: pointer; font-size: 12px; font-weight: 700; transition: filter .18s, transform .18s, box-shadow .18s; }
.pd-shop-submit:hover:not(:disabled) { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 13px 29px rgba(21, 197, 177, .27), inset 0 1px rgba(255,255,255,.42); }
.pd-shop-submit:disabled { cursor: default; opacity: .58; }
.pd-shop-submit__amount { margin-left: auto; padding-left: 10px; border-left: 1px solid rgba(3, 54, 49, .14); font-family: 'Manrope', sans-serif; font-size: 11px; font-weight: 800; }
.pd-shop-submit > span:last-child { font-family: 'Manrope', sans-serif; font-size: 16px; }
.pd-shop-terms { margin: 8px 0 0; color: #557985; font-size: 8px; line-height: 1.45; text-align: center; }
.pd-shop-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.pd-shop-empty { padding: 54px 24px; border: 1px solid rgba(118, 208, 206, .15); border-radius: 18px; background: rgba(8, 35, 49, .72); text-align: center; }
.pd-shop-empty > span { font-size: 34px; }
.pd-shop-empty h2 { margin: 9px 0 4px; color: #f0fcff; font-size: 1.2rem; }
.pd-shop-empty p { margin: 0 0 17px; color: #7e9fa9; font-size: 13px; }
.pd-shop-empty a { display: inline-flex; padding: 9px 18px; border-radius: 999px; color: #04221f; background: #59efdc; font-size: 12px; font-weight: 700; }
.pd-shop-modal-open { overflow: hidden; }
.pd-shop-modal { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 18px; }
.pd-shop-modal[hidden] { display: none; }
.pd-shop-modal__backdrop { position: absolute; inset: 0; background: rgba(1, 10, 18, .74); opacity: 0; backdrop-filter: blur(10px); transition: opacity .3s ease; }
.pd-shop-modal__dialog { position: relative; z-index: 1; width: min(500px, 100%); max-height: calc(100vh - 36px); overflow-y: auto; padding: clamp(24px, 5vw, 38px); border: 1px solid rgba(121, 229, 216, .24); border-radius: 22px; color: #edfbfe; background: radial-gradient(430px 230px at 50% 0%, rgba(42, 195, 177, .16), transparent 68%), linear-gradient(155deg, #0b2d3d, #061923 72%); box-shadow: 0 35px 110px rgba(0, 4, 9, .56), inset 0 1px rgba(255,255,255,.05); outline: 0; opacity: 0; transform: translateY(20px) scale(.94); transition: opacity .32s ease, transform .38s cubic-bezier(.2, .8, .2, 1); }
.pd-shop-modal.is-open .pd-shop-modal__backdrop { opacity: 1; }
.pd-shop-modal.is-open .pd-shop-modal__dialog { opacity: 1; transform: translateY(0) scale(1); }
.pd-shop-modal.is-closing .pd-shop-modal__dialog { opacity: 0; transform: translateY(12px) scale(.96); }
.pd-shop-modal.is-closing .pd-shop-modal__backdrop { opacity: 0; }
.pd-shop-modal__close { position: absolute; top: 13px; right: 13px; z-index: 3; display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid rgba(123, 215, 211, .18); border-radius: 50%; color: #92b5bd; background: rgba(3, 18, 27, .55); cursor: pointer; font-family: 'Manrope', sans-serif; font-size: 18px; line-height: 1; transition: color .18s, background .18s, transform .18s; }
.pd-shop-modal__close:hover { color: #efffff; background: rgba(31, 117, 110, .35); transform: rotate(8deg); }
.pd-shop-modal__close[hidden] { display: none; }
.pd-shop-stage { text-align: center; }
.pd-shop-stage[hidden] { display: none; }
.pd-shop-stage.is-active { animation: pd-stage-in .4s ease both; }
@keyframes pd-stage-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
.pd-shop-parcel { position: relative; width: 132px; height: 92px; margin: 1px auto 16px; }
.pd-shop-parcel__box { position: absolute; top: 10px; left: 49px; width: 40px; height: 35px; border-radius: 4px; background: linear-gradient(145deg, #f4c86d, #c88e35); box-shadow: inset -5px -5px rgba(76, 45, 5, .16), 0 8px 18px rgba(0, 8, 12, .3); animation: pd-parcel-hop 1.25s ease-in-out infinite; }
.pd-shop-parcel__box::before { position: absolute; top: 0; left: 17px; width: 7px; height: 100%; background: rgba(255, 249, 214, .55); content: ""; }
.pd-shop-parcel__box i { position: absolute; bottom: -9px; left: 4px; width: 34px; height: 11px; border-radius: 0 0 7px 7px; background: linear-gradient(135deg, #29cbbb, #188c83); clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%); }
.pd-shop-parcel__road { position: absolute; right: 4px; bottom: 18px; left: 4px; height: 2px; border-radius: 99px; background: linear-gradient(90deg, transparent, rgba(102, 235, 219, .35), transparent); }
.pd-shop-parcel__road::after { position: absolute; top: -1px; left: 8px; width: 34px; height: 2px; background: #50e4d3; box-shadow: 0 0 12px #50e4d3; content: ""; animation: pd-road-run 1.8s linear infinite; }
.pd-shop-parcel__dot { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #58e9d7; opacity: 0; animation: pd-dot-rise 1.8s ease-out infinite; }
.pd-shop-parcel__dot--1 { right: 30px; bottom: 28px; }
.pd-shop-parcel__dot--2 { right: 42px; bottom: 31px; animation-delay: .4s; }
.pd-shop-parcel__dot--3 { right: 54px; bottom: 26px; animation-delay: .8s; }
@keyframes pd-parcel-hop { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-6px) rotate(1deg); } }
@keyframes pd-road-run { from { transform: translateX(0); } to { transform: translateX(75px); } }
@keyframes pd-dot-rise { 0% { opacity: 0; transform: translateY(0); } 35% { opacity: .8; } 100% { opacity: 0; transform: translateY(-22px) translateX(-8px); } }
.pd-shop-modal__kicker { margin: 0 0 6px; color: #50e9d8; font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.pd-shop-modal__kicker--success { color: #71efaa; }
.pd-shop-modal__kicker--error { color: #ff9ca6; }
.pd-shop-modal__dialog h2 { margin: 0; color: #f7feff; font-size: clamp(1.35rem, 4vw, 1.75rem); line-height: 1.24; letter-spacing: -.025em; }
.pd-shop-stage > p:not(.pd-shop-modal__kicker) { max-width: 390px; margin: 9px auto 0; color: #87a9b3; font-size: 12px; line-height: 1.6; }
.pd-shop-progress { width: min(300px, 90%); height: 5px; margin: 19px auto 10px; overflow: hidden; border-radius: 99px; background: rgba(95, 188, 188, .12); }
.pd-shop-progress span { display: block; width: 42%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #29cbbb, #8affec); box-shadow: 0 0 14px rgba(89, 241, 222, .4); animation: pd-progress-run 1.35s ease-in-out infinite; }
@keyframes pd-progress-run { 0% { transform: translateX(-105%); } 100% { transform: translateX(245%); } }
.pd-shop-steps { display: flex; justify-content: center; gap: 13px; margin-top: 7px; }
.pd-shop-steps span { position: relative; color: #587c86; font-size: 8px; }
.pd-shop-steps span + span::before { position: absolute; top: 50%; left: -9px; width: 4px; height: 1px; background: #2d5962; content: ""; }
.pd-shop-steps span.is-active { color: #72eadd; }
.pd-shop-confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.pd-shop-confetti i { position: absolute; top: 12%; left: calc((var(--i) * 7%) - 4%); width: 5px; height: 9px; border-radius: 1px; background: hsl(calc(var(--i) * 43deg) 75% 63%); opacity: 0; animation: pd-confetti-fall 1.45s ease-out calc(var(--i) * .035s) both; }
@keyframes pd-confetti-fall { 0% { opacity: 0; transform: translateY(-20px) rotate(0); } 12% { opacity: 1; } 100% { opacity: 0; transform: translateY(170px) translateX(calc((var(--i) - 7) * 4px)) rotate(260deg); } }
.pd-shop-success-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: radial-gradient(circle, rgba(105, 255, 176, .24), transparent 68%); box-shadow: 0 0 0 1px rgba(104, 241, 170, .24), 0 0 45px rgba(88, 235, 164, .19); }
.pd-shop-success-icon span { display: grid; place-items: center; width: 47px; height: 47px; border-radius: 50%; color: #073625; background: linear-gradient(145deg, #9bffc0, #50e69a); font-family: 'Manrope', sans-serif; font-size: 24px; font-weight: 800; box-shadow: 0 7px 20px rgba(45, 205, 132, .28); animation: pd-check-pop .5s .12s cubic-bezier(.17, .89, .32, 1.35) both; }
@keyframes pd-check-pop { from { opacity: 0; transform: scale(.45) rotate(-13deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
.pd-shop-success-copy { color: #a3c3ca !important; }
.pd-shop-success-copy b { color: #efffff; }
.pd-shop-courier-card { display: flex; align-items: center; gap: 11px; max-width: 370px; margin: 17px auto 0; padding: 11px 13px; border: 1px solid rgba(80, 230, 210, .18); border-radius: 11px; background: rgba(13, 77, 79, .17); text-align: left; }
.pd-shop-courier-card__mark { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 9px; color: #05281f; background: #66eed9; font-family: 'Manrope', sans-serif; font-size: 10px; font-weight: 800; }
.pd-shop-courier-card > span:last-child { display: grid; gap: 1px; }
.pd-shop-courier-card strong { color: #e0fbfa; font-family: 'Manrope', sans-serif; font-size: 11px; }
.pd-shop-courier-card small { color: #7ea8ae; font-size: 9px; line-height: 1.45; }
.pd-shop-success-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 370px; margin: 13px auto 0; padding: 0; }
.pd-shop-success-meta div { padding: 8px 10px; border: 1px solid rgba(114, 204, 202, .12); border-radius: 8px; background: rgba(3, 21, 30, .35); text-align: left; }
.pd-shop-success-meta dt { color: #6e919b; font-size: 8px; }
.pd-shop-success-meta dd { margin: 2px 0 0; overflow-wrap: anywhere; color: #d5f3f4; font-family: 'Manrope', sans-serif; font-size: 9px; font-weight: 700; }
.pd-shop-success-actions { display: flex; justify-content: center; gap: 8px; margin-top: 17px; }
.pd-shop-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 39px; padding: 8px 16px; border: 1px solid transparent; border-radius: 8px; cursor: pointer; font-size: 11px; font-weight: 700; transition: transform .18s, filter .18s, border-color .18s, background .18s; }
.pd-shop-btn:hover { transform: translateY(-1px); }
.pd-shop-btn--primary { color: #04241f; background: linear-gradient(120deg, #68f2df, #30cdbd); box-shadow: 0 8px 20px rgba(31, 201, 182, .18); }
.pd-shop-btn--primary:hover { filter: brightness(1.06); }
.pd-shop-btn--ghost { border-color: rgba(116, 208, 204, .2); color: #b5d8dc; background: rgba(9, 47, 59, .36); }
.pd-shop-btn--ghost:hover { border-color: rgba(116, 222, 217, .42); }
.pd-shop-error-icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 14px; border: 1px solid rgba(255, 120, 131, .25); border-radius: 50%; color: #ffd0d3; background: rgba(134, 31, 43, .2); font-family: 'Manrope', sans-serif; font-size: 24px; font-weight: 800; }
.pd-shop-error-list { max-width: 390px; margin: 13px auto 0; padding: 10px 13px 10px 29px; border: 1px solid rgba(255, 111, 123, .18); border-radius: 9px; color: #ffc4c9; background: rgba(123, 28, 40, .12); font-size: 10px; line-height: 1.5; text-align: left; }
.pd-shop-error-list:empty { display: none; }
@media (max-width: 1030px) {
    .pd-shop-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 18px; }
    .pd-shop-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
    .pd-shop-layout { grid-template-columns: 1fr; }
    .pd-shop-checkout { position: static; }
    .pd-shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .pd-shop-topbar, .pd-shop-shell { width: calc(100% - 24px); }
    .pd-shop-topbar { padding-top: 12px; }
    .pd-shop-brand__mark { width: 37px; height: 37px; border-radius: 11px; font-size: 11px; }
    .pd-shop-brand strong { font-size: 13px; }
    .pd-shop-brand small { font-size: 9px; }
    .pd-shop-home { padding: 7px 10px; font-size: 11px; }
    .pd-shop-shell { padding-top: 22px; }
    .pd-shop-intro { margin-bottom: 22px; }
    .pd-shop-intro h1 { font-size: 2rem; }
    .pd-shop-intro > p:last-child { font-size: 13px; }
    .pd-shop-grid { grid-template-columns: 1fr; }
    .pd-shop-book { grid-template-columns: 74px minmax(0, 1fr); padding: 12px; }
    .pd-shop-book__cover { width: 74px; }
    .pd-shop-checkout__head, .pd-shop-fields { padding-right: 16px; padding-left: 16px; }
    .pd-shop-location { grid-template-columns: 1fr; padding-right: 16px; padding-left: 16px; }
    .pd-shop-note-field, .pd-shop-cod { margin-right: 16px; margin-left: 16px; }
    .pd-shop-summary { padding-right: 16px; padding-left: 16px; }
    .pd-shop-totals__grand strong { font-size: 19px; }
    .pd-shop-modal { padding: 12px; }
    .pd-shop-modal__dialog { border-radius: 18px; padding: 26px 18px 21px; }
    .pd-shop-success-actions { flex-direction: column-reverse; }
    .pd-shop-btn { width: 100%; }
}
@media (max-width: 390px) {
    .pd-shop-fields { grid-template-columns: 1fr; }
    .pd-shop-field--full { grid-column: 1; }
    .pd-shop-book { grid-template-columns: 65px minmax(0, 1fr); gap: 10px; }
    .pd-shop-book__cover { width: 65px; }
}
@media (prefers-reduced-motion: reduce) {
    .pd-shop-page *, .pd-shop-page *::before, .pd-shop-page *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Site-integrated book store */
body.pd-store-page,
body.pd-store-page * { font-family: var(--pd-font-body); }
body.pd-store-page .pd-store-body { padding: clamp(28px, 4vw, 44px) 0 clamp(54px, 7vw, 82px); }
body.pd-store-page .pd-store-layout { display: block; }
body.pd-store-page .pd-store-catalog { margin-bottom: 30px; }
body.pd-store-page .pd-store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.pd-store-page .pd-store-grid > :only-child,
body.pd-store-page .pd-store-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
body.pd-store-page .pd-store-step-head { display: flex; align-items: baseline; gap: 11px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--pd-line); }
body.pd-store-page .pd-store-step-head span,
body.pd-store-page .pd-store-checkout__head > span { color: var(--pd-accent); font-size: .72rem; font-weight: 850; letter-spacing: .06em; }
body.pd-store-page .pd-store-step-head h2 { margin: 0; color: var(--pd-ink); font-size: clamp(1.25rem, 2.4vw, 1.55rem); }
body.pd-store-page .pd-book-card.is-selected { border-color: rgba(40, 235, 217, .82); box-shadow: 0 0 0 1px rgba(40, 235, 217, .18), 0 16px 42px rgba(2, 16, 28, .34); }
body.pd-store-page .pd-store-checkout { position: static; }
body.pd-store-page .pd-shop-checkout__head h2 { font-size: 1.18rem; }
body.pd-store-page .pd-shop-checkout__head p { font-size: .78rem; }
body.pd-store-page .pd-shop-field > span { font-size: .76rem; }
body.pd-store-page .pd-shop-field input,
body.pd-store-page .pd-shop-field textarea,
body.pd-store-page .pd-shop-field select { min-height: 44px; font-size: .88rem; }
body.pd-store-page .pd-shop-field textarea { min-height: 78px; }
body.pd-store-page .pd-shop-summary__head h2 { font-size: 1.02rem; }
body.pd-store-page .pd-shop-summary__step { display: block; margin-bottom: 2px; color: var(--pd-accent); font-size: .7rem; font-weight: 850; letter-spacing: .06em; }
body.pd-store-page .pd-shop-summary__head > span { font-size: .72rem; }
body.pd-store-page .pd-shop-summary__items li { font-size: .78rem; }
body.pd-store-page .pd-shop-summary__items li b { font-size: .76rem; }
body.pd-store-page .pd-shop-reference summary { font-size: .78rem; }
body.pd-store-page .pd-shop-reference__row input { height: 39px; font-size: .82rem; }
body.pd-store-page .pd-shop-reference__row button { font-size: .74rem; }
body.pd-store-page .pd-shop-reference p { font-size: .72rem; }
body.pd-store-page .pd-shop-totals > div { font-size: .82rem; }
body.pd-store-page .pd-shop-totals b { font-size: .8rem; }
body.pd-store-page .pd-shop-totals__grand strong { font-size: 1.25rem; }
body.pd-store-page .pd-shop-delivery-hint,
body.pd-store-page .pd-shop-terms { font-size: .72rem; }
body.pd-store-page .pd-shop-client-error { font-size: .76rem; }
body.pd-store-page .pd-shop-summary { padding-bottom: 24px; }
body.pd-store-page .pd-shop-submit { width: min(100%, 430px); min-height: 54px; margin: 24px auto 10px; padding: 10px 18px; border-radius: 11px; font-size: 1rem; }
body.pd-store-page .pd-shop-submit > span:first-child { margin-right: auto; }
body.pd-store-page .pd-shop-submit__amount { font-size: .86rem; }
body.pd-store-page .pd-store-empty .pd-button { display: inline-flex; align-items: center; min-height: 42px; padding: 9px 18px; border-radius: 9px; color: #032128; background: linear-gradient(135deg, #27e3d4, #81faeb); font-weight: 800; text-decoration: none; }
body.pd-store-page .pd-shop-modal__dialog h2 { letter-spacing: 0; }
@media (max-width: 860px) {
    body.pd-store-page .pd-store-checkout { position: static; }
}
@media (max-width: 700px) {
    body.pd-store-page .pd-store-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    body.pd-store-page .pd-shop-submit { width: 100%; margin-top: 20px; }
}
