/*
 * Product page — clean & fresh. Colours, fonts, corners and buttons follow Appearance → Site style
 * (--orange = main colour, --ink/--text = text, --gray = light surface, --line = borders, --gm-btn-* = buttons).
 */
.pp{--pp-gap:clamp(24px,3.4vw,52px);--pp-radius:calc(var(--ui-radius,12px) + 6px);padding-bottom:56px}

/* Breadcrumb: one quiet line */
.pp-crumbs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:18px 0 14px;font-size:var(--t-xs,12px);color:var(--ui-muted,#7a8896)}
.pp-crumbs a{color:inherit}.pp-crumbs a:hover{color:var(--orange)}
.pp-crumbs [aria-current]{color:var(--text);max-width:40ch;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Top: pictures left, details right (books: plus "more by the writer" on the far right) */
.pp-top{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:var(--pp-gap);align-items:start}

/* ---------- Pictures ---------- */
.pp-stage{position:relative;display:block;aspect-ratio:auto;max-height:none;place-items:initial;border-radius:var(--pp-radius);overflow:hidden;background:var(--gray)}
.pp-stage>img{display:block;width:100%;height:auto;max-width:none}   /* the picture fills the whole width, shown as it is */
.pp-stage .no-image{display:grid;place-items:center;aspect-ratio:1;color:var(--ui-muted)}
.pp-book .pp-stage{background:transparent;border-radius:calc(var(--ui-radius,12px) - 4px)}
.pp-read{position:absolute;left:0;top:18px;z-index:3;display:inline-flex;align-items:center;gap:7px;padding:9px 16px 9px 12px;border:0;border-radius:0 999px 999px 0;background:var(--orange);color:var(--gm-on-accent,#fff);font:inherit;font-size:var(--t-sm,13.5px);font-weight:700;cursor:pointer;box-shadow:0 6px 16px -6px rgba(16,24,40,.35);transition:padding .15s}
.pp-read:hover{padding-left:16px}
.pp-stage:has(.pp-read) .pp-stage-badge{left:auto;right:16px}
.pp-gallery{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0}
.pp-gallery[data-gallery-style=left]{grid-template-columns:76px minmax(0,1fr)}
.pp-gallery[data-gallery-style=left] .pp-thumbs{grid-row:1;grid-column:1;flex-direction:column;max-height:560px}
.pp-gallery[data-gallery-style=left] .pp-stage{grid-column:2}
.pp-stage .no-image{color:var(--ui-muted)}
.pp-stage-badge{position:absolute;top:16px;left:16px;z-index:2;padding:6px 11px;border-radius:999px;background:var(--gm-badge-bg,#14864f);color:var(--gm-badge-ink,#fff);font-weight:700;font-size:var(--t-sm,13.5px)}
.pp .gallery-open{position:absolute;top:14px;right:14px;z-index:2;display:grid;place-items:center;width:42px;height:42px;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:var(--ink);box-shadow:0 4px 14px rgba(16,24,40,.14);cursor:zoom-in;transition:transform .15s}
.pp .gallery-open:hover{transform:scale(1.07)}
.pp .gallery-feedback:empty{display:none}
.pp-thumbs{display:flex;flex-direction:row;max-height:none;gap:10px;overflow:auto;scrollbar-width:none;padding:2px}
.pp-thumbs::-webkit-scrollbar{display:none}
.pp-thumbs a{flex:0 0 76px;height:76px;padding:0;border-radius:calc(var(--ui-radius,12px) - 2px);background:var(--gray);border:2px solid transparent;overflow:hidden;display:grid;place-items:center;transition:border-color .15s,opacity .15s;opacity:.72}
.pp-thumbs a:hover{opacity:1}
.pp-thumbs a[aria-current=true]{border-color:var(--orange);opacity:1}
.pp-thumbs img{width:100%;height:100%;object-fit:contain;padding:6px}

/* ---------- Details ---------- */
.pp-info{display:flex;flex-direction:column;gap:16px;min-width:0;padding-top:4px}
.pp-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.pp-chip{display:inline-flex;align-items:center;padding:5px 12px;border-radius:999px;background:var(--gray);color:var(--text);font-size:var(--t-xs,12px);font-weight:600;letter-spacing:.02em}
a.pp-chip:hover{color:var(--orange)}
.pp .availability-badge{display:inline-flex;align-items:center;gap:7px;font-size:var(--t-xs,12px);font-weight:700;color:#15803d}
.pp .availability-badge i{width:8px;height:8px;border-radius:50%;background:currentColor;box-shadow:0 0 0 4px color-mix(in srgb,currentColor 18%,transparent)}
.pp .availability-badge.is-unavailable{color:#b42318}
.pp .product-brand{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;font-size:var(--t-sm,13.5px);font-weight:700;color:var(--text);letter-spacing:.04em;text-transform:uppercase}
.pp .product-brand img{width:28px;height:28px;object-fit:contain;border-radius:6px}
.pp .product-brand:hover{color:var(--orange)}
.pp h1{margin:-4px 0 0;font-size:clamp(calc(24px * var(--gm-font,1)),2.6vw,calc(36px * var(--gm-font,1) * var(--gm-head-scale,1)));line-height:1.18;letter-spacing:-.02em;color:var(--gm-head-color,var(--ink));font-weight:var(--gm-head-weight,700);overflow-wrap:anywhere}

/* Book: writer / publisher / translator */
.pp-people{display:flex;flex-wrap:wrap;gap:6px 22px;margin:-4px 0 0}
.pp-people div{display:flex;gap:6px;align-items:baseline;min-width:0}
.pp-people dt{font-size:var(--t-sm,13.5px);color:var(--ui-muted)}
.pp-people dt::after{content:':'}
.pp-people dd{margin:0;font-size:var(--t-md,16px);font-weight:600}
.pp-people a{color:var(--ink);text-decoration:underline;text-decoration-color:color-mix(in srgb,var(--orange) 45%,transparent);text-underline-offset:4px;text-decoration-thickness:2px}
.pp-people a:hover{color:var(--orange)}

/* Rating */
.pp .product-rating{margin:-6px 0 0;font-size:var(--t-sm,13.5px);color:var(--ui-muted)}
.pp .product-rating a{display:inline-flex;align-items:center;gap:8px;color:var(--ink);font-weight:600}
.pp .product-rating a span:last-child{color:var(--ui-muted);font-weight:400}
.pp-stars{--rating:0%;position:relative;display:inline-block;font-size:15px;line-height:1;letter-spacing:2px;color:#d6dbe1}
.pp-stars::before{content:"★★★★★"}
.pp-stars::after{content:"★★★★★";position:absolute;inset:0;width:var(--rating);overflow:hidden;color:#f5a524}

/* Price */
.pp-price{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;padding:16px 18px;border-radius:var(--pp-radius);background:color-mix(in srgb,var(--orange) 5%,var(--gray))}
.pp .current-price{font-size:clamp(calc(26px * var(--gm-font,1)),2.6vw,calc(34px * var(--gm-font,1)));font-weight:800;letter-spacing:-.02em;color:var(--ink);line-height:1.1}
.pp-price del{font-size:var(--t-md,16px);color:var(--ui-muted)}
.pp-price .sale-badge{position:static;padding:5px 10px;border-radius:999px;font-size:var(--t-xs,12px)}

/* Summary, facts, attributes */
.pp .product-summary{color:var(--text);font-size:var(--t-base,15px)}
.pp .product-facts{display:flex;flex-wrap:wrap;gap:6px 18px;margin:0;font-size:var(--t-xs,12px);color:var(--ui-muted)}
.pp .product-facts div{display:flex;gap:6px}.pp .product-facts dt::after{content:':'}.pp .product-facts dd{margin:0;color:var(--text);font-weight:600}
.pp .product-attributes{display:grid;gap:12px}
.pp .product-attribute{display:grid;gap:8px}
.pp .attribute-label{font-size:var(--t-sm,13.5px);font-weight:700;color:var(--ink)}
.pp .attribute-values{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.pp .attribute-chip{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:6px 14px;border:1.5px solid var(--line);border-radius:999px;background:var(--gm-surface-color,#fff);font-size:var(--t-sm,13.5px);color:var(--ink)}
.pp .attribute-swatch{width:16px;height:16px;border-radius:50%;background:var(--swatch-color);box-shadow:inset 0 0 0 1px rgba(0,0,0,.12)}
.pp .attribute-note{margin:0;font-size:var(--t-xs,12px);color:var(--ui-muted)}

/* ---------- Buying ---------- */
.pp .product-purchase{display:grid;gap:12px;padding-top:4px}
.pp-buy-row{display:flex;align-items:center;gap:12px}
.pp .purchase-quantity{display:flex;align-items:center;gap:12px}
.pp-qty-label{font-size:var(--t-sm,13.5px);font-weight:600;color:var(--text)}
.pp .quantity-control{display:inline-flex;align-items:center;height:48px;border:1.5px solid var(--line);border-radius:999px;background:var(--gm-surface-color,#fff);overflow:hidden}
.pp .quantity-control button{width:44px;height:100%;border:0;background:none;font-size:20px;color:var(--ink);cursor:pointer}
.pp .quantity-control button:hover:not(:disabled){background:var(--gray)}
.pp .quantity-control button:disabled{opacity:.4;cursor:not-allowed}
.pp .quantity-control input{width:48px;height:100%;min-height:0!important;border:0!important;padding:0!important;text-align:center;font:inherit;font-weight:700;background:transparent;-moz-appearance:textfield;box-shadow:none!important}
.pp .quantity-control input::-webkit-inner-spin-button,.pp .quantity-control input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.pp .product-wishlist{margin-left:auto;display:inline-flex;align-items:center;gap:8px;height:48px;padding:0 16px;border:1.5px solid var(--line);border-radius:999px;background:var(--gm-surface-color,#fff);color:var(--ink);font:inherit;font-size:var(--t-sm,13.5px);font-weight:600;cursor:pointer;transition:border-color .15s,color .15s}
.pp .product-wishlist:hover{border-color:var(--ink)}
.pp .product-wishlist[aria-pressed=true]{color:#e11d48;border-color:color-mix(in srgb,#e11d48 40%,var(--line))}
.pp .product-wishlist[aria-pressed=true] svg{fill:currentColor}
.pp .pp-wishlist-solo{margin-left:0;align-self:flex-start}
.pp .stock{margin:-4px 0 0;font-size:var(--t-xs,12px);color:var(--ui-muted)}
.pp .purchase-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pp .purchase-buttons .button{width:100%;min-height:54px;margin:0;font-size:calc(var(--gm-btn-fs,15px) * var(--gm-font,1) * 1.05)}
.pp .purchase-buttons .pp-buy-now{background:var(--ink)!important;border-color:var(--ink)!important;color:#fff!important}
.pp .purchase-buttons .pp-buy-now:hover:not(:disabled){filter:brightness(1.25)}
.pp .purchase-buttons .button:disabled{opacity:.5;cursor:not-allowed}
.pp .purchase-buttons>.product-whatsapp{grid-column:1/-1}
.product-whatsapp{display:flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:10px;border-radius:var(--gm-btn-radius,10px);background:#16a34a;color:#fff!important;font-weight:500;font-size:var(--t-sm,13.5px);transition:filter .15s}
.product-whatsapp:hover{filter:brightness(.94)}
.product-whatsapp[aria-disabled=true]{opacity:.55;cursor:not-allowed}
.product-whatsapp svg{flex-shrink:0}
.product-chat-note{font-size:var(--t-xs,12px);color:var(--ui-muted);line-height:1.6;margin:-4px 0 0}
.pp .purchase-feedback:empty{display:none}
.pp .purchase-feedback{margin:0;font-size:var(--t-sm,13.5px)}
.pp .purchase-feedback[data-state=success]{color:#166534;background:#ecfdf3;padding:10px 14px;border-radius:10px}
.pp .purchase-feedback[data-state=error]{color:#b42318;background:#fef3f2;padding:10px 14px;border-radius:10px}
.pp .purchase-cart-link{font-size:var(--t-sm,13.5px);font-weight:700;color:var(--orange);display:inline-flex;min-height:36px;align-items:center}

/* Options (variable products) */
.pp #variationSelection{display:grid;gap:12px;padding:18px;border:1px solid var(--line);border-radius:var(--pp-radius);background:var(--gm-surface-color,#fff)}
.pp #variationSelection .variation-field{margin:0}
.pp #variationSelection .variation-field label,.pp .quantity-label{font-size:var(--t-sm,13.5px);font-weight:700;color:var(--ink)}
.pp #variationSelection .price-row{padding:12px 14px;border-radius:12px;background:var(--gray)}
.pp #variationSelection .sku{font-size:var(--t-xs,12px);color:var(--ui-muted)}
.pp #variationFeedback{margin:0;font-size:var(--t-xs,12px);line-height:1.7;color:var(--ui-muted)}
.pp .variation-choices{display:flex;gap:8px;flex-wrap:wrap}
.pp .variation-choices .attribute-chip{margin:0;min-height:42px;cursor:pointer;font:inherit;font-size:var(--t-sm,13.5px)}
.pp .variation-choices [aria-pressed=true]{border-color:var(--orange);background:color-mix(in srgb,var(--orange) 8%,#fff);box-shadow:0 0 0 1px var(--orange);color:var(--ink)}
.pp .variation-choices button:disabled{opacity:.45;cursor:not-allowed;text-decoration:line-through}

/* Trust tiles */
.pp-trust{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pp-trust a{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--line);border-radius:calc(var(--ui-radius,12px) + 2px);color:var(--ink);transition:border-color .15s,background .15s}
.pp-trust a:hover{border-color:color-mix(in srgb,var(--orange) 40%,var(--line));background:color-mix(in srgb,var(--orange) 4%,#fff)}
.pp-trust svg{flex-shrink:0;width:40px;height:40px;padding:10px;border-radius:12px;background:var(--gray);color:var(--orange)}
.pp-trust strong{display:block;font-size:var(--t-sm,13.5px)}
.pp-trust small{display:block;font-size:var(--t-xs,12px);color:var(--ui-muted)}

/* ---------- Details tabs ---------- */
.pp-details{margin-top:clamp(40px,5vw,64px);border:1px solid var(--line);border-radius:var(--pp-radius);background:var(--gm-surface-color,#fff);overflow:hidden}
.pp-details [role=tablist]{display:flex;gap:4px;padding:8px 10px 0;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none;background:color-mix(in srgb,var(--gray) 55%,#fff)}
.pp-details [role=tablist]::-webkit-scrollbar{display:none}
.pp-details [role=tab]{flex:none;position:relative;padding:14px 18px;border:0;background:none;font:inherit;font-weight:600;font-size:var(--t-base,15px);color:var(--ui-muted);cursor:pointer;white-space:nowrap}
.pp-details [role=tab]:hover{color:var(--ink)}
.pp-details [role=tab][aria-selected=true]{color:var(--ink)}
.pp-details [role=tab][aria-selected=true]::after{content:"";position:absolute;left:14px;right:14px;bottom:-1px;height:3px;border-radius:3px 3px 0 0;background:var(--orange)}
.pp-details [role=tabpanel]{padding:clamp(20px,3vw,36px)}
.pp-details [role=tabpanel]>*{max-width:820px}
.pp-details [role=tabpanel] h2{font-size:var(--t-lg,18px);margin:0 0 10px}
.pp-details [role=tabpanel] h2:not(:first-child){margin-top:24px}
.rich-product-content{overflow-wrap:anywhere;line-height:1.85;color:var(--text)}
.rich-product-content p,.rich-product-content ul,.rich-product-content ol,.rich-product-content blockquote{margin:0 0 .8em}
.rich-product-content ul,.rich-product-content ol{padding-left:1.5em}
.rich-product-content li{margin:.25em 0}
.rich-product-content>:last-child{margin-bottom:0}
.product-specifications{display:grid;margin:0;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.product-specifications div{display:grid;grid-template-columns:minmax(120px,32%) 1fr;gap:16px;padding:12px 16px}
.product-specifications div:nth-child(odd){background:color-mix(in srgb,var(--gray) 70%,#fff)}
.product-specifications dt{font-weight:600;color:var(--ui-muted);font-size:var(--t-sm,13.5px)}
.product-specifications dd{margin:0;color:var(--ink);font-weight:500;overflow-wrap:anywhere}
.pp-author{display:flex;gap:22px;align-items:flex-start}
.pp-author img{flex:none;width:112px;height:112px;border-radius:50%;object-fit:cover;background:var(--gray)}
.pp-author h2{margin-top:0!important}
.pp-author a{display:inline-block;margin-top:12px;font-weight:700;color:var(--orange)}
.pp-details [role=tabpanel]>a{display:inline-block;margin-top:14px;font-weight:700;color:var(--orange)}

/* Reviews */
.review-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding-bottom:20px;border-bottom:1px solid var(--line)}
.review-overview h2{margin:6px 0}
.review-overview p{font-size:var(--t-sm,13.5px);color:var(--ui-muted);margin:0}
.review-score{display:grid;gap:4px;text-align:center;background:var(--gray);border-radius:14px;padding:14px 22px}
.review-score strong{font-size:calc(26px * var(--gm-font,1));color:var(--ink)}
.review-score span{font-size:var(--t-xs,12px);color:var(--ui-muted)}
.product-review{border-bottom:1px solid var(--line);padding:16px 0}
.product-review h3{font-size:var(--t-base,15px);margin:0 0 4px}
.product-review>p{font-size:var(--t-sm,13.5px);color:var(--text)}
.product-review-form{max-width:560px;display:grid;gap:10px;margin-top:24px;padding:22px;background:var(--gray);border-radius:var(--pp-radius)}
.product-review-form h3{margin:0}
.product-review-form label{font-size:var(--t-sm,13.5px);font-weight:600}
.product-review-form input,.product-review-form select,.product-review-form textarea{width:100%;min-width:0;border:1px solid var(--line);border-radius:10px;padding:10px 12px;font:inherit;background:#fff}
.product-review-form p{font-size:var(--t-sm,13.5px)}
.product-review-form button{min-height:48px;border:0;border-radius:var(--gm-btn-radius,10px);background:var(--gm-btn-bg,var(--orange));color:var(--gm-btn-text,#fff);font:inherit;font-weight:700;cursor:pointer}

/* More by the writer / related */
.pp-more{margin-top:clamp(40px,5vw,64px)}
.pp-more .section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.pp-more .product-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}

/* Image viewer */
.product-lightbox{width:min(1000px,96vw);max-width:96vw;max-height:94dvh;padding:12px;border:0;border-radius:18px;color:var(--ink)}
.product-lightbox::backdrop{background:rgba(8,14,24,.86)}
.lightbox-toolbar{display:flex;gap:8px;justify-content:flex-end;margin-bottom:10px}
.lightbox-toolbar button{min-height:42px;min-width:42px;border:1px solid var(--line);background:var(--gray);border-radius:10px;padding:8px 12px;font:inherit;font-size:var(--t-sm,13.5px);cursor:pointer}
.lightbox-art{overflow:auto;max-height:72dvh;touch-action:pan-x pan-y}
.lightbox-art img{display:block;width:100%;height:68dvh;object-fit:contain}
.lightbox-art[data-zoom=true] img{width:180%;height:120dvh;max-width:none}
.product-lightbox [data-gallery-status]{font-size:var(--t-xs,12px);text-align:center;margin:8px;color:var(--ui-muted)}

/* Book reader ("একটু পড়ে দেখুন") */

/* Mobile buy bar */
.product-mobile-purchase{display:none}

/* ---------- Tablet ---------- */
@media(max-width:1060px){
  .pp-more .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .pp .purchase-buttons{grid-template-columns:1fr}
}
@media(max-width:860px){
  .pp-top{grid-template-columns:minmax(0,1fr)}
  .pp-gallery{position:static}
  .pp-stage{aspect-ratio:1/1}
  .pp-book .pp-stage{aspect-ratio:1/1}
  .pp .purchase-buttons{grid-template-columns:1fr 1fr}
  .pp-more .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
/* ---------- Phone ---------- */
@media(max-width:760px){
  .pp{padding-bottom:110px}
  .pp-crumbs{padding:12px 0 10px}
  .pp-gallery[data-gallery-style=left] .pp-stage,.pp-gallery[data-gallery-style=left] .pp-read{grid-column:auto}
  .pp-stage{margin-inline:-14px;border-radius:0}
  .pp-thumbs a{flex-basis:62px;height:62px}
  .pp-info{gap:14px}
  .pp-trust{grid-template-columns:1fr}
  .pp-details{border-radius:14px}
  .pp-details [role=tab]{padding:12px 14px;font-size:var(--t-sm,13.5px)}
  .product-specifications div{grid-template-columns:1fr;gap:2px}
  .pp-author{flex-direction:column;gap:14px}
  .pp-more .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .product-mobile-purchase{display:flex;align-items:center;gap:8px;position:fixed;bottom:0;left:0;right:0;z-index:35;padding:10px max(12px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));border-top:1px solid var(--line);background:rgba(255,255,255,.96);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 -8px 24px rgba(16,24,40,.08)}
  .product-mobile-purchase[hidden]{display:none}
  .product-mobile-purchase>div{margin-right:auto;min-width:0}
  .product-mobile-purchase>div span{display:block;font-size:11px;color:var(--ui-muted)}
  .product-mobile-purchase strong{display:block;font-size:calc(16px * var(--gm-font,1));font-weight:800;color:var(--ink)}
  .product-mobile-purchase .button{min-height:46px;padding:10px 14px;font-size:var(--t-sm,13.5px);margin:0;white-space:nowrap}
  .product-mobile-purchase .button-outline{background:var(--ink)!important;border-color:var(--ink)!important;color:#fff!important}
  .product-mobile-purchase .button:disabled{opacity:.5}
}
@media(prefers-reduced-motion:reduce){.pp *{transition:none!important}}

/* ---------- Book layout: cover | details | more by the writer ---------- */
.pp-book .pp-top:has(.pp-side){grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr) 270px}
.pp-saved{flex-basis:100%;font-size:var(--t-sm,13.5px);font-weight:600;color:#15803d}
.pp-side{border:1px solid var(--line);border-radius:var(--pp-radius);padding:16px;background:var(--gm-surface-color,#fff)}
.pp-side h2{margin:0 0 10px;font-size:var(--t-base,15px);font-weight:700;color:var(--ink)}
.pp-side ul{list-style:none;margin:0;padding:0;display:grid}
.pp-side li+li{border-top:1px solid var(--line)}
.pp-side li a{display:flex;gap:12px;padding:10px 0;color:var(--ink)}
.pp-side-pic{flex:none;width:52px;height:74px;border-radius:4px;overflow:hidden;background:var(--gray)}
.pp-side-pic img{width:100%;height:100%;object-fit:cover}
.pp-side-text{display:grid;align-content:start;gap:2px;min-width:0}
.pp-side-text strong{font-size:var(--t-sm,13.5px);font-weight:600;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pp-side li a:hover strong{color:var(--orange)}
.pp-side-text small{font-size:var(--t-xs,12px);color:var(--ui-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pp-side-text b{font-size:var(--t-sm,13.5px);color:var(--orange)}
.pp-side-text del{margin-left:6px;font-weight:400;color:var(--ui-muted);font-size:var(--t-xs,12px)}
.pp-side-all{display:inline-block;margin-top:8px;font-size:var(--t-sm,13.5px);font-weight:700;color:var(--orange)}
@media(max-width:1180px){.pp-book .pp-top:has(.pp-side){grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}.pp-book .pp-side{grid-column:1/-1}.pp-side ul{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));column-gap:20px}.pp-side li+li{border-top:0}}
@media(max-width:860px){.pp-book .pp-top:has(.pp-side){grid-template-columns:minmax(0,1fr)}}

/* ---------- "একটু পড়ে দেখুন" reader: pages + buy card ---------- */
.pp-reader{width:min(1100px,96vw);max-width:96vw;height:92dvh;max-height:92dvh;padding:0;border:0;border-radius:18px;overflow:hidden;background:#eef0f3}
.pp-reader::backdrop{background:rgba(8,14,24,.86)}
.pp-reader[open]{display:grid;grid-template-columns:minmax(0,1fr) 290px}
.pp-reader-main{display:flex;flex-direction:column;min-width:0;min-height:0}
.pp-reader-bar{display:flex;align-items:center;gap:8px;padding:10px 14px;background:#fff;border-bottom:1px solid var(--line)}
.pp-reader-bar strong{margin-right:4px}
.pp-reader-bar span{flex:1;font-size:var(--t-xs,12px);color:var(--ui-muted)}
.pp-reader-bar button{width:38px;height:38px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:20px;line-height:1;cursor:pointer;color:var(--ink)}
.pp-reader-bar button:hover{background:var(--gray)}
.pp-reader-bar .pp-reader-close{border:0;border-radius:50%;background:var(--gray);font-size:24px;margin-left:6px}
.pp-reader-pages{--reader-scale:1;flex:1;overflow:auto;display:grid;gap:16px;padding:20px;justify-items:center;align-content:start}
.pp-reader-pages img{width:calc(100% * var(--reader-scale));max-width:calc(720px * var(--reader-scale));height:auto;background:#fff;border-radius:4px;box-shadow:0 4px 18px rgba(16,24,40,.12)}
.pp-reader-buy{display:flex;flex-direction:column;gap:12px;padding:18px;background:#fff;border-left:1px solid var(--line);overflow:auto}
.pp-reader-item{display:flex;gap:12px}
.pp-reader-item img{flex:none;width:72px;height:auto;border-radius:4px}
.pp-reader-item strong{display:block;font-size:var(--t-base,15px);line-height:1.35}
.pp-reader-item small{display:block;margin-top:4px;font-size:var(--t-sm,13.5px);color:var(--ui-muted)}
.pp-reader-price{margin:0;display:flex;align-items:baseline;gap:10px}
.pp-reader-price del{color:var(--ui-muted)}
.pp-reader-price b{font-size:calc(22px * var(--gm-font,1));color:var(--ink)}
.pp-reader-save{margin:-6px 0 0;font-size:var(--t-sm,13.5px);font-weight:600;color:#15803d}
.pp-reader-buy .button{width:100%;min-height:50px;margin:0}
.pp-reader-added{margin:0;padding:10px 12px;border-radius:10px;font-size:var(--t-sm,13.5px);background:#ecfdf3;color:#166534}
.pp-reader-added[data-state=error]{background:#fef3f2;color:#b42318}
.pp-reader-added[data-state=loading]{background:var(--gray);color:var(--text)}
@media(max-width:760px){
  .pp-reader{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}
  .pp-reader[open]{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto}
  .pp-reader-buy{border-left:0;border-top:1px solid var(--line);padding:12px 14px;gap:8px}
  .pp-reader-item img{width:44px}
  .pp-reader-pages{padding:12px}
}

/* ---------- Compact page: whole page fits a normal screen ---------- */
.pp.shell{width:min(1160px,calc(100% - 48px))}
.pp-top{grid-template-columns:minmax(0,470px) minmax(0,1fr)}
.pp-book .pp-top{grid-template-columns:minmax(0,400px) minmax(0,1fr)}
.pp-book .pp-top:has(.pp-side){grid-template-columns:minmax(0,360px) minmax(0,1fr) 250px}
/* A picture never grows taller than the screen; very tall pictures shrink to fit. */
.pp-stage>img{max-height:calc(100vh - 190px);object-fit:contain}
.pp h1{font-size:clamp(calc(22px * var(--gm-font,1)),2.2vw,calc(30px * var(--gm-font,1) * var(--gm-head-scale,1)))}
.pp .current-price{font-size:clamp(calc(24px * var(--gm-font,1)),2.2vw,calc(30px * var(--gm-font,1)))}
.pp-details{max-width:100%}
.pp-more .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1180px){.pp-book .pp-top:has(.pp-side){grid-template-columns:minmax(0,360px) minmax(0,1fr)}}
@media(max-width:1060px){.pp-top,.pp-book .pp-top{grid-template-columns:minmax(0,400px) minmax(0,1fr)}.pp-more .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:860px){.pp-top,.pp-book .pp-top,.pp-book .pp-top:has(.pp-side){grid-template-columns:minmax(0,1fr)}.pp-gallery{max-width:520px;width:100%;justify-self:center}.pp-stage>img{max-height:70vh}}
@media(max-width:760px){.pp.shell{width:calc(100% - 28px)}.pp-gallery{max-width:none}.pp-more .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---------- Refined layout: product in one clean card ---------- */
.pp-top{padding:clamp(16px,2.4vw,32px);border:1px solid var(--line);border-radius:calc(var(--pp-radius) + 4px);background:var(--gm-surface-color,#fff);box-shadow:0 1px 2px rgba(16,24,40,.04),0 12px 32px -18px rgba(16,24,40,.16)}
.pp-info{gap:14px}
.pp-meta{justify-content:flex-start}
.pp-meta .product-wishlist{margin-left:auto;width:42px;height:42px;padding:0;justify-content:center;border-radius:50%}
.pp-price{padding:0;background:none;border-radius:0}
.pp-price+.product-summary,.pp #variationSelection+.product-summary{padding-top:14px;border-top:1px dashed var(--line)}

/* Quantity · Add to cart · Buy now in one row; WhatsApp full width below */
.pp .product-purchase>.purchase-buttons{display:grid;grid-template-columns:auto 1fr 1fr;gap:10px;align-items:stretch}
.pp .product-purchase>.purchase-buttons .quantity-control{height:auto;min-height:52px;max-width:none}
.pp .product-purchase>.purchase-buttons .button{min-height:52px}
.pp .product-purchase>.purchase-buttons>.product-whatsapp{grid-column:1/-1}

/* Options (variable products): no box, same one-row buying */
.pp #variationSelection{grid-template-columns:auto 1fr 1fr;padding:0;border:0;background:none;gap:12px 10px}
.pp #variationSelection>*{grid-column:1/-1}
.pp #variationSelection>.quantity-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.pp #variationSelection>.quantity-control{grid-column:1;height:auto;min-height:52px;max-width:none}
.pp #variationSelection>.purchase-buttons{display:contents}
.pp #variationSelection>.purchase-buttons>.button{grid-column:auto;min-height:52px;margin:0}
.pp #variationSelection>.purchase-buttons>.product-whatsapp,.pp #variationSelection>.purchase-buttons>.product-chat-note{grid-column:1/-1}
.pp #variationSelection .price-row{padding:0;background:none}
.pp #variationSelection .current-price{font-size:calc(24px * var(--gm-font,1))}
.pp #variationSelection .variation-field label{margin-bottom:8px}
.pp .variation-choices .attribute-chip{border-radius:calc(var(--gm-btn-radius,8px) * .6 + 2px);min-width:48px;justify-content:center}
.pp .variation-choices [aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:#fff;box-shadow:none}
.pp .variation-choices [aria-pressed=true] .attribute-swatch{box-shadow:0 0 0 2px #fff}
/* "Clear" is a small text link, and only when something is chosen */
.pp .variation-choices [data-value=""]{order:9;min-width:0;min-height:42px;border:0;background:none;color:var(--ui-muted);text-decoration:underline;padding:6px 4px}
.pp .variation-choices [data-value=""][aria-pressed=true]{display:none}

/* Buttons that can't be used yet look calm, not broken */
.pp .purchase-buttons .button:disabled,.pp #variationSelection .button:disabled{opacity:1;background:var(--gray)!important;border-color:var(--line)!important;color:var(--ui-muted)!important;cursor:not-allowed;box-shadow:none}
.pp .product-whatsapp[aria-disabled=true]{opacity:1;background:var(--gray);color:var(--ui-muted)!important}

@media(max-width:600px){
  .pp-top{padding:0;border:0;box-shadow:none;background:none}
  .pp .product-purchase>.purchase-buttons,.pp #variationSelection{grid-template-columns:auto 1fr}
  .pp .product-purchase>.purchase-buttons .pp-buy-now,.pp #variationSelection #variationBuy{grid-column:1/-1}
}

/* Brand sits in the small facts line under the buttons (not above the name) */
.pp .product-facts{padding-top:12px;border-top:1px dashed var(--line)}
.pp .product-facts .product-brand{display:inline-flex;align-items:center;gap:6px;font-size:inherit;font-weight:600;letter-spacing:0;text-transform:none;color:var(--ink)}
.pp .product-facts .product-brand img{width:20px;height:20px;object-fit:contain;border-radius:4px}
.pp .product-facts .product-brand:hover{color:var(--orange)}

/* Delivery information tile (button) + popup */
.pp-trust button{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--line);border-radius:calc(var(--ui-radius,12px) + 2px);background:var(--gm-surface-color,#fff);color:var(--ink);font:inherit;text-align:left;cursor:pointer;transition:border-color .15s,background .15s}
.pp-trust button:hover{border-color:color-mix(in srgb,var(--orange) 40%,var(--line));background:color-mix(in srgb,var(--orange) 4%,#fff)}
.pp-trust button svg{flex-shrink:0;width:40px;height:40px;padding:10px;border-radius:12px;background:var(--gray);color:var(--orange)}
.pp-trust button strong{display:block;font-size:var(--t-sm,13.5px)}.pp-trust button small{display:block;font-size:var(--t-xs,12px);color:var(--ui-muted)}
.pp-delivery{width:min(520px,94vw);max-height:88dvh;padding:0;border:0;border-radius:18px;color:var(--ink);overflow:auto}
.pp-delivery::backdrop{background:rgba(8,14,24,.6)}
.pp-delivery-head{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;padding:16px 20px;background:#fff;border-bottom:1px solid var(--line)}
.pp-delivery-head h2{margin:0;font-size:var(--t-lg,18px)}
.pp-delivery-head button{width:38px;height:38px;border:0;border-radius:50%;background:var(--gray);font-size:22px;line-height:1;cursor:pointer}
.pp-delivery-list{list-style:none;margin:0;padding:8px 20px}
.pp-delivery-list li{padding:12px 0}.pp-delivery-list li+li{border-top:1px solid var(--line)}
.pp-delivery-list li>strong{display:block;margin-bottom:6px;font-size:var(--t-base,15px)}
.pp-delivery-list div{display:flex;justify-content:space-between;gap:12px;padding:4px 0;font-size:var(--t-sm,13.5px)}
.pp-delivery-list span small,.pp-delivery-list b small{display:block;font-size:var(--t-xs,12px);font-weight:400;color:var(--ui-muted)}
.pp-delivery-list b{text-align:right;color:var(--orange);white-space:nowrap}
.pp-delivery-note{margin:0;padding:0 20px 10px;font-size:var(--t-sm,13.5px);color:var(--text)}
.pp-delivery-policy{padding:0 20px 10px;font-size:var(--t-sm,13.5px)}
.pp-delivery>a{display:inline-block;margin:4px 20px 18px;font-weight:700;color:var(--orange)}

/* ---------- Readable text sizes (Bangla needs a little more size than English) ---------- */
.pp .product-summary{font-size:var(--t-md,16px);line-height:1.8}
.pp-details [role=tabpanel],.pp-details .rich-product-content{font-size:var(--t-md,16px);line-height:1.85}
.pp-details [role=tabpanel] h2{font-size:var(--t-xl,22px)}
.product-specifications dt{font-size:var(--t-base,15px)}
.product-specifications dd{font-size:var(--t-md,16px)}
.product-review>p,.review-overview p{font-size:var(--t-base,15px)}
.product-review h3{font-size:var(--t-md,16px)}
.pp .product-rating,.pp .attribute-chip,.pp .variation-choices .attribute-chip,.pp-qty-label{font-size:var(--t-base,15px)}
.pp .attribute-label,.pp #variationSelection .variation-field label{font-size:var(--t-base,15px)}
.pp .product-facts,.pp #variationSelection .sku,.pp #variationFeedback,.pp .stock,.pp .attribute-note{font-size:var(--t-sm,13.5px)}
.pp .availability-badge,.pp-chip{font-size:var(--t-sm,13.5px)}
.pp-crumbs{font-size:var(--t-sm,13.5px)}
.pp-trust strong,.pp-trust button strong{font-size:var(--t-base,15px)}
.pp-trust small,.pp-trust button small{font-size:var(--t-sm,13.5px)}
.pp-people dt{font-size:var(--t-base,15px)}
.pp-side-text strong{font-size:var(--t-base,15px)}
.pp-side-text small{font-size:var(--t-sm,13.5px)}
.pp-saved,.pp-reader-save{font-size:var(--t-base,15px)}
.pp-delivery-list div,.pp-delivery-note,.pp-delivery-policy{font-size:var(--t-base,15px)}
.pp-delivery-list span small,.pp-delivery-list b small{font-size:var(--t-sm,13.5px)}
.product-chat-note{font-size:var(--t-sm,13.5px)}
@media(max-width:600px){.pp .product-summary,.pp-details [role=tabpanel],.pp-details .rich-product-content{font-size:var(--t-base,15px)}}

/* Chosen colour / size: main-colour outline on a light tint (not black) */
.pp .variation-choices [aria-pressed=true]{background:color-mix(in srgb,var(--orange) 9%,#fff);border-color:var(--orange);color:var(--ink);box-shadow:0 0 0 1px var(--orange);font-weight:600}
.pp .variation-choices [aria-pressed=true] .attribute-swatch{box-shadow:inset 0 0 0 1px rgba(0,0,0,.12),0 0 0 2px #fff,0 0 0 3px var(--orange)}
.pp .variation-choices .attribute-chip:not(:disabled):not([aria-pressed=true]):hover{border-color:color-mix(in srgb,var(--orange) 50%,var(--line))}
/* Chosen option: one thin outline only (no extra ring) */
.pp .variation-choices [aria-pressed=true]{box-shadow:none}
.pp .variation-choices [aria-pressed=true] .attribute-swatch{box-shadow:inset 0 0 0 1px rgba(0,0,0,.12)}
/* Book with "একটু পড়ে দেখুন": the cover is clickable too */
.pp-stage:has(.pp-read) > #product-main-image{cursor:pointer}

/* ---------- Reader v2: pages use the full width; buy strip along the bottom (no empty side column) ---------- */
.pp-reader{width:min(960px,96vw)}
.pp-reader[open]{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto}
.pp-reader-buy{flex-direction:row;align-items:center;flex-wrap:wrap;gap:10px 18px;padding:12px 18px;border-left:0;border-top:1px solid var(--line);box-shadow:0 -6px 18px rgba(16,24,40,.06);overflow:visible}
.pp-reader-item{flex:1 1 220px;min-width:0;align-items:center}
.pp-reader-item img{width:40px;border-radius:3px}
.pp-reader-item strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pp-reader-item small{margin-top:2px}
.pp-reader-price{flex:none}
.pp-reader-save{flex:none;margin:0}
.pp-reader-buy .button{width:auto;min-width:190px;min-height:48px;flex:none}
.pp-reader-added{flex-basis:100%;order:9}
@media(max-width:760px){
  .pp-reader-buy{gap:8px 12px;padding:10px 12px}
  .pp-reader-item{flex-basis:100%}
  .pp-reader-buy .button{flex:1;min-width:0}
}

/* Breadcrumb: the same space above (under the menu bar) and below (above the product card) */
.pp-crumbs{padding:18px 0}
.pp .pp-top{margin-top:0}
@media(max-width:760px){.pp-crumbs{padding:12px 0}}

/* ---------- Appearance - Product page options ---------- */
/* Small pictures beside the big one ("Side on desktop") */
@media(min-width:861px){
  .pp-gallery[data-gallery-style=side]{grid-template-columns:76px minmax(0,1fr)}
  .pp-gallery[data-gallery-style=side] .pp-thumbs{grid-row:1;grid-column:1;flex-direction:column;max-height:560px}
  .pp-gallery[data-gallery-style=side] .pp-stage{grid-column:2}
  .pp-gallery[data-gallery-style=side] .pp-thumbs a{flex-basis:76px}
}
/* Picture shape */
.pp.pp-shape-square .pp-stage,.pp.pp-shape-portrait .pp-stage{aspect-ratio:1}
.pp.pp-shape-portrait .pp-stage{aspect-ratio:4/5}
.pp.pp-shape-square .pp-stage>img,.pp.pp-shape-portrait .pp-stage>img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover}
.pp.pp-book.pp-shape-square .pp-stage>img,.pp.pp-book.pp-shape-portrait .pp-stage>img{object-fit:contain}
/* No white card */
.pp.pp-no-card .pp-top{padding:0;border:0;border-radius:0;background:none;box-shadow:none}
/* "You save" hidden */
.pp.pp-no-save .pp-saved,.pp.pp-no-save .pp-reader-save{display:none}
/* Buy Now look */
.pp.pp-buy-outline .purchase-buttons .pp-buy-now{background:transparent!important;border-color:var(--gm-btn-bg,var(--orange))!important;color:var(--gm-btn-bg,var(--orange))!important}
.pp.pp-buy-outline .purchase-buttons .pp-buy-now:hover:not(:disabled){background:var(--gm-btn-bg,var(--orange))!important;color:var(--gm-btn-text,#fff)!important;filter:none}
.pp.pp-buy-main .purchase-buttons .pp-buy-now{background:var(--gm-btn-bg,var(--orange))!important;border-color:var(--gm-btn-bg,var(--orange))!important;color:var(--gm-btn-text,#fff)!important}
.pp.pp-buy-main .purchase-buttons .pp-buy-now:hover:not(:disabled){background:var(--gm-btn-hover,var(--orange))!important;filter:none}
/* Only one info box shown → full width */
.pp-trust:has(>:only-child){grid-template-columns:1fr}
@media(min-width:861px){.pp-gallery[data-gallery-style=side]:not(:has(.pp-thumbs)){grid-template-columns:minmax(0,1fr)}.pp-gallery[data-gallery-style=side]:not(:has(.pp-thumbs)) .pp-stage{grid-column:1}}
/* Buy Now not usable yet (options not chosen / out of stock): calm grey for every Buy Now look */
.pp.pp .purchase-buttons .pp-buy-now:disabled{background:var(--gray)!important;border-color:var(--line)!important;color:var(--ui-muted)!important;filter:none}
/* Book: subject / writer / publisher one under another, names without underline */
.pp-people{flex-direction:column;gap:6px;margin:0}
.pp-people div{gap:8px}
.pp-people dt{min-width:72px}
.pp-people a{text-decoration:none;font-weight:600}
.pp-people a:hover{color:var(--orange);text-decoration:none}
/* Tighter book info lines */
.pp-people{gap:2px}
.pp-people div{gap:6px;line-height:1.5}
.pp-people dt{min-width:0}
/* Phone buy bar: Buy Now follows Product page → "Buy now look" (and is always readable) */
.pp .product-mobile-purchase .button.pp-buy-now{background:var(--ink)!important;border-color:var(--ink)!important;color:#fff!important}
.pp.pp-buy-outline .product-mobile-purchase .button.pp-buy-now{background:#fff!important;border-color:var(--gm-btn-bg,var(--orange))!important;color:var(--gm-btn-bg,var(--orange))!important}
.pp.pp-buy-main .product-mobile-purchase .button.pp-buy-now{background:var(--gm-btn-bg,var(--orange))!important;border-color:var(--gm-btn-bg,var(--orange))!important;color:var(--gm-btn-text,#fff)!important}
.pp .product-mobile-purchase .button.pp-buy-now:disabled{background:var(--gray)!important;border-color:var(--line)!important;color:var(--ui-muted)!important}
/* "As uploaded" shape on computers: the box hugs the picture (no grey side bands when a tall picture is fitted to the screen height); badge and zoom button stay on the picture's corners. */
@media(min-width:861px){
  .pp.pp-shape-natural .pp-stage{width:fit-content;max-width:100%;margin-inline:auto;justify-self:center}
  .pp.pp-shape-natural .pp-stage>img{width:auto;max-width:100%}
}
/* No picture yet: a calm book icon instead of an empty box. */
.pp-side-pic:not(:has(img)){display:grid;place-items:center;color:var(--ui-muted,#94a3b8)}
/* Book "More by the writer" list. Decided by the product box's own width (not the screen), so every laptop/desktop gets a layout that fits:
   - box 1240px or wider: picture | details | list (details keep at least ~520px for the buy buttons)
   - narrower: picture | details, and the list goes below as a row of cards. Phones keep their one-column layout. */
.pp.pp-book{container:pp-page / inline-size}
@media(min-width:861px){
  .pp.pp-book .pp-top:has(.pp-side){grid-template-columns:minmax(0,400px) minmax(0,1fr)}
  .pp.pp-book .pp-top .pp-side{grid-column:1/-1}
}
@container pp-page (min-width:1240px){
  .pp.pp-book .pp-top:has(.pp-side){grid-template-columns:minmax(0,360px) minmax(520px,1fr) 260px}
  .pp.pp-book .pp-top .pp-side{grid-column:auto}
}
/* Buy row follows the width of the details column itself (narrow when the "More by the writer" list sits beside it):
   quantity + Add to Cart on one line, Buy Now full width below — same as on phones. */
.pp .pp-info{container:pp-info / inline-size}
@container pp-info (max-width:480px){
  .pp .product-purchase>.purchase-buttons,.pp #variationSelection{grid-template-columns:auto 1fr}
  .pp .product-purchase>.purchase-buttons .pp-buy-now,.pp #variationSelection #variationBuy{grid-column:1/-1}
  .pp .purchase-buttons .button{white-space:nowrap}
}
/* "More by the writer": compact rows (small cover + name, writer, price), 4 equal columns on computers, a list on phones.
   Small polish: heading with View all on the right, soft hover, rounded cover with a light shadow. Colours from Site style. */
.pp.pp-book .pp-side-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:6px}
.pp.pp-book .pp-side-head h2{margin:0}
.pp.pp-book .pp-side-head h2 span{color:var(--gm-brand-color,var(--ink))}
.pp.pp-book .pp-side-all{margin:0;white-space:nowrap}
.pp.pp-book .pp-side li a{align-items:flex-start;padding:10px 8px;margin:0 -8px;border-radius:10px;transition:background-color .15s ease}
.pp.pp-book .pp-side li a:hover{background:var(--gm-section-color,var(--gray))}
.pp.pp-book .pp-side-pic{border-radius:6px;box-shadow:0 3px 10px -4px rgba(16,24,40,.25)}
@media(min-width:861px){
  .pp.pp-book .pp-side ul{grid-template-columns:repeat(4,minmax(0,1fr));column-gap:24px}
  .pp.pp-book .pp-side li+li{border-top:0}
  .pp.pp-book .pp-side li a{margin:0}
}
/* Rare wide layout with the list beside the details: one column again. */
@container pp-page (min-width:1240px){
  .pp.pp-book .pp-side ul{grid-template-columns:none}
  .pp.pp-book .pp-side li+li{border-top:1px solid var(--line)}
  .pp.pp-book .pp-side-head{flex-direction:column;gap:4px}
}
/* Short description "… আরো পড়ুন" / "সংক্ষিপ্ত করুন" (link right after the text). */
.pp .pp-read-more{display:inline;margin:0 0 0 4px;padding:0;border:0;background:none;color:var(--gm-accent-color,var(--ink));font:inherit;font-weight:500;cursor:pointer}
.pp .pp-read-more:hover{text-decoration:underline}
.pp .pp-summary-full>p:last-of-type{display:inline}
.pp .pp-summary-full[hidden],.pp .pp-summary-short[hidden]{display:none}
/* Writer / publisher / subject links in Site style brand colour (not black), underline on hover. */
.pp .pp-people a{color:var(--gm-brand-color,var(--orange));text-decoration:none;font-weight:600}
.pp .pp-people a:hover{color:var(--gm-brand-color,var(--orange));text-decoration:underline;text-underline-offset:3px}
/* Free delivery (Settings → Delivery charges): text in the Site style accent colour, no background. */
.pp-free-pill{color:var(--gm-accent-color);font-weight:700}
.pp-free-note{margin:0;padding:0 20px 10px;font-weight:700;font-size:var(--t-base,15px);color:var(--gm-accent-color)}

/* Review list stars: the same gold as the rating under the product name. */
.review-stars{color:#f5a524;letter-spacing:1px;font-size:15px}.review-stars-off{color:#d6dbe1}

/* Size chart: link next to the options, popup with Inch / CM switch (accent colour from Site style). */
.pp-size-link{display:inline-flex;align-items:center;gap:6px;margin:4px 0 10px;padding:0;border:0;background:none;color:var(--gm-accent-color);font-weight:700;font-size:var(--t-sm,14px);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.pp-size{width:min(640px,calc(100vw - 24px));border:0;border-radius:16px;padding:0;box-shadow:0 20px 60px rgba(0,0,0,.25)}
.pp-size::backdrop{background:rgba(15,23,42,.45)}
.pp-size-units{display:inline-flex;margin:16px 20px 14px;border:1px solid var(--gm-border-color,#e5e7eb);border-radius:10px;overflow:hidden}
.pp-size-units button{border:0;background:none;padding:7px 18px;font-weight:700;font-size:13px;cursor:pointer;color:var(--text)}
.pp-size-units button[aria-pressed=true]{background:var(--gm-accent-color);color:var(--gm-on-accent,#fff)}
.pp-size-table{overflow-x:auto;margin:0 20px 14px}
.pp-size-table table{width:100%;border-collapse:collapse;font-size:var(--t-sm,14px)}
.pp-size-table th,.pp-size-table td{padding:9px 12px;border-bottom:1px solid var(--gm-border-color,#eee);text-align:left;white-space:nowrap}
.pp-size-table thead th{background:var(--gm-section-color,#f5f6f8);font-weight:700}
.pp-size-table tbody th{font-weight:700;color:var(--gm-accent-color)}
