/* ==========================================================================
   Storefront theme – marketplace-style colour scheme layered over style.css
   ========================================================================== */
:root {
    --st-navy: #131921;
    --st-navy-2: #232f3e;
    --st-navy-3: #37475a;
    --st-navy-4: #485769;
    --st-orange: #ff9900;
    --st-yellow: #ffd814;
    --st-yellow-hover: #f7ca00;
    --st-btn-orange: #ffa41c;
    --st-btn-orange-hover: #fa8900;
    --st-page: #e3e6e6;
    --st-card: #ffffff;
    --st-text: #0f1111;
    --st-muted: #565959;
    --st-link: #007185;
    --st-link-hover: #c7511f;
    --st-deal: #cc0c39;
    --st-border: #d5d9d9;
    --st-radius: 8px;
    --st-font: "Amazon Ember", Arial, "Helvetica Neue", Helvetica, sans-serif;
}

body {
    background: var(--st-page);
    color: var(--st-text);
    font-family: var(--st-font);
}
html[dir="rtl"] body, body.st-rtl { font-family: "Almarai", var(--st-font); }
a { color: var(--st-link); }
a:hover, a:focus { color: var(--st-link-hover); text-decoration: none; }
img { max-width: 100%; }

/* ------------------------------ Header ------------------------------ */
.st-header { position: sticky; top: 0; z-index: 1000; font-family: inherit; }
.st-top {
    background: var(--st-navy);
    display: flex; align-items: center; gap: 12px;
    padding: 8px 16px; min-height: 60px;
}
.st-logo { display: flex; align-items: center; padding: 6px 8px; border: 1px solid transparent; border-radius: 2px; flex-shrink: 0; }
.st-logo:hover { border-color: #fff; }
.st-logo img { height: 34px; width: auto; filter: brightness(0) invert(1); }

.st-search { flex: 1; display: flex; height: 40px; border-radius: 4px; overflow: hidden; min-width: 0; }
.st-search:focus-within { box-shadow: 0 0 0 3px var(--st-orange); }
.st-search select {
    background: #e6e6e6; border: 0; color: #555; font-size: 12px;
    padding: 0 8px; max-width: 150px; cursor: pointer; border-inline-end: 1px solid #cdcdcd;
}
.st-search input {
    flex: 1; border: 0; padding: 0 12px; font-size: 15px; color: var(--st-text); min-width: 0; outline: none;
}
.st-search button {
    background: #febd69; border: 0; width: 46px; color: var(--st-navy); font-size: 18px; cursor: pointer;
}
.st-search button:hover { background: #f3a847; }

.st-tool {
    color: #fff; padding: 6px 9px; border: 1px solid transparent; border-radius: 2px;
    line-height: 1.15; white-space: nowrap; position: relative; flex-shrink: 0;
}
.st-tool:hover { border-color: #fff; color: #fff; }
.st-tool small { display: block; font-size: 12px; color: #ccc; }
.st-tool strong { font-size: 14px; font-weight: 700; color: #fff; }
.st-tool a { color: #fff; }

.st-dropdown { position: relative; }
.st-dropdown > summary { list-style: none; cursor: pointer; }
.st-dropdown > summary::-webkit-details-marker { display: none; }
.st-dropdown-menu {
    position: absolute; top: calc(100% + 6px); inset-inline-end: 0; min-width: 190px;
    background: #fff; border-radius: 6px; box-shadow: 0 4px 14px rgba(0,0,0,.25); padding: 8px 0; z-index: 1100;
}
.st-dropdown-menu a { display: block; padding: 8px 16px; color: var(--st-text); font-size: 14px; }
.st-dropdown-menu a:hover { background: #f3f3f3; color: var(--st-link-hover); }
.st-dropdown-menu .st-btn { margin: 6px 16px 10px; display: block; text-align: center; }
.st-dropdown-menu form { margin: 0; }

.st-nav {
    background: var(--st-navy-2);
    display: flex; align-items: center; gap: 2px;
    padding: 0 12px; height: 40px; overflow-x: auto; scrollbar-width: none;
}
.st-nav::-webkit-scrollbar { display: none; }
.st-nav a {
    color: #fff; font-size: 14px; padding: 7px 9px; border: 1px solid transparent; border-radius: 2px; white-space: nowrap;
}
.st-nav a:hover { border-color: #fff; color: #fff; }
.st-nav .st-nav-all { font-weight: 700; }
.st-nav .st-nav-sep { width: 1px; height: 20px; background: var(--st-navy-4); margin: 0 6px; flex-shrink: 0; }

/* The theme's own header / mobile menu are replaced by .st-header */
.site-header, .mobile-menu, .mean-bar { display: none !important; }

/* ------------------------------ Buttons ------------------------------ */
.st-btn, .btn.btn-primary, .btn-primary {
    display: inline-block; background: var(--st-yellow); border: 1px solid #fcd200; color: var(--st-text) !important;
    border-radius: 100px; padding: 7px 18px; font-size: 13px; font-weight: 400; line-height: 1.4;
    box-shadow: 0 2px 5px rgba(213,217,217,.5); text-align: center; cursor: pointer; transition: background .15s;
}
.st-btn:hover, .btn.btn-primary:hover, .btn-primary:hover, .btn-primary:focus {
    background: var(--st-yellow-hover); border-color: #f2c200; color: var(--st-text) !important; box-shadow: 0 2px 5px rgba(213,217,217,.5);
}
.st-btn-orange { background: var(--st-btn-orange); border-color: #ff8f00; }
.st-btn-orange:hover { background: var(--st-btn-orange-hover); border-color: #e77600; }
.st-btn-block { display: block; width: 100%; }

/* ------------------------------ Home ------------------------------ */
.st-home { max-width: 1500px; margin: 0 auto; padding-bottom: 24px; }
.st-hero {
    position: relative; min-height: 340px; padding: 48px 32px 150px;
    background:
        radial-gradient(circle at 85% 20%, rgba(255,153,0,.35), transparent 45%),
        linear-gradient(135deg, #0a3d62 0%, #1b6ca8 45%, #3ec1d3 100%);
    color: #fff; overflow: hidden;
}
.st-hero::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 160px;
    background: linear-gradient(to bottom, rgba(227,230,230,0), var(--st-page));
}
.st-hero-inner { position: relative; z-index: 1; max-width: 640px; }
.st-hero h1 { color: #fff; font-size: 40px; font-weight: 700; line-height: 1.15; margin: 0 0 12px; }
.st-hero p { color: #eaf6ff; font-size: 18px; margin: 0 0 22px; }
.st-hero-covers {
    position: absolute; z-index: 1; inset-inline-end: 4%; top: 36px; display: flex; gap: 14px; align-items: flex-end;
}
.st-hero-covers img {
    width: 120px; border-radius: 4px; box-shadow: 0 10px 25px rgba(0,0,0,.35); transform: rotate(-4deg);
}
.st-hero-covers img:nth-child(2) { width: 140px; transform: rotate(0); }
.st-hero-covers img:nth-child(3) { transform: rotate(4deg); }

.st-section { position: relative; z-index: 2; padding: 0 20px; margin-bottom: 20px; }
.st-overlap { margin-top: -140px; }

.st-grid-cats {
    display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.st-card {
    background: var(--st-card); padding: 20px; border-radius: 0; display: flex; flex-direction: column;
}
.st-card h2 { font-size: 21px; font-weight: 700; color: var(--st-text); margin: 0 0 12px; line-height: 1.25; }
.st-card-quad { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; flex: 1; }
.st-card-quad a { display: block; color: var(--st-text); font-size: 12px; line-height: 1.3; }
.st-card-quad .st-quad-img {
    background: #f7f8f8; height: 120px; display: flex; align-items: center; justify-content: center; margin-bottom: 4px;
}
.st-card-quad img { max-height: 110px; width: auto; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.st-card-quad span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.st-card-link { margin-top: 14px; font-size: 13px; color: var(--st-link); }

.st-row { background: var(--st-card); padding: 20px 20px 10px; }
.st-row-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 10px; }
.st-row-head h2 { font-size: 21px; font-weight: 700; margin: 0; color: var(--st-text); }
.st-row-head a { font-size: 13px; }
.st-scroller {
    display: flex; gap: 16px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x proximity;
    scrollbar-width: thin; scrollbar-color: #c1c1c1 transparent;
}
.st-scroller::-webkit-scrollbar { height: 8px; }
.st-scroller::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 4px; }
.st-mini { flex: 0 0 160px; scroll-snap-align: start; color: var(--st-text); }
.st-mini .st-mini-img { height: 220px; display: flex; align-items: center; justify-content: center; background: #f7f8f8; margin-bottom: 6px; }
.st-mini img { max-height: 210px; width: auto; transition: transform .15s; }
.st-mini:hover img { transform: scale(1.03); }
.st-mini .st-title { font-size: 14px; line-height: 1.3; color: var(--st-link); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.st-mini:hover .st-title { color: var(--st-link-hover); }

/* Product grid card */
.st-products { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.st-product {
    background: var(--st-card); border: 1px solid #eaeded; border-radius: 4px; padding: 14px;
    display: flex; flex-direction: column; position: relative; transition: box-shadow .15s;
}
.st-product:hover { box-shadow: 0 4px 16px rgba(15,17,17,.15); }
.st-product .st-p-img { height: 250px; display: flex; align-items: center; justify-content: center; background: #f7f8f8; margin: -14px -14px 12px; border-radius: 4px 4px 0 0; }
.st-product .st-p-img img { max-height: 225px; width: auto; box-shadow: 0 3px 8px rgba(0,0,0,.18); }
.st-product .st-title { font-size: 15px; line-height: 1.35; color: var(--st-text); font-weight: 400; margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.st-product a.st-title:hover { color: var(--st-link-hover); }
.st-product .st-author { font-size: 13px; color: var(--st-muted); margin-bottom: 4px; }
.st-product .st-author a { color: var(--st-link); }
.st-product .st-meta { font-size: 12px; color: var(--st-muted); margin-bottom: 6px; }
.st-product .st-btn { margin-top: auto; }
.st-badge {
    position: absolute; top: 10px; inset-inline-start: 0; background: #e47911; color: #fff;
    font-size: 12px; padding: 3px 10px 3px 8px; z-index: 1;
    clip-path: polygon(0 0, 100% 0, 92% 50%, 100% 100%, 0 100%);
}
html[dir="rtl"] .st-badge { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 8% 50%); padding: 3px 8px 3px 10px; }

.st-price { color: var(--st-text); margin: 2px 0 10px; line-height: 1; white-space: nowrap; }
.st-price sup { font-size: 12px; top: -.75em; }
.st-price .st-whole { font-size: 28px; font-weight: 400; }
.st-mini .st-price { margin: 4px 0 0; }
.st-mini .st-price .st-whole { font-size: 21px; }

.st-page-title { background: var(--st-card); padding: 14px 20px; margin-bottom: 16px; font-size: 14px; color: var(--st-text); border-bottom: 1px solid #ddd; }
.st-page-title strong { color: var(--st-link-hover); }
.st-empty { background: var(--st-card); padding: 40px 20px; text-align: center; font-size: 16px; }

/* ------------------------------ Footer ------------------------------ */
.st-footer { margin-top: 30px; font-family: inherit; }
.st-backtop { display: block; background: var(--st-navy-3); color: #fff; text-align: center; padding: 15px 0; font-size: 13px; }
.st-backtop:hover { background: var(--st-navy-4); color: #fff; }
.st-footer-main { background: var(--st-navy-2); padding: 40px 20px 30px; }
.st-footer-cols { max-width: 1000px; margin: 0 auto; display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.st-footer-cols h4 { color: #fff; font-size: 16px; font-weight: 700; margin: 0 0 12px; }
.st-footer-cols p, .st-footer-cols a { color: #ddd; font-size: 14px; line-height: 1.6; }
.st-footer-cols a:hover { color: #fff; text-decoration: underline; }
.st-footer-cols ul { list-style: none; padding: 0; margin: 0; }
.st-footer-cols li { margin-bottom: 8px; }
.st-social { display: flex; gap: 10px; margin-top: 12px; }
.st-social a { width: 34px; height: 34px; border: 1px solid #5d6b7c; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.st-footer-logo { text-align: center; border-top: 1px solid #3a4553; margin-top: 30px; padding-top: 24px; }
.st-footer-logo img { height: 30px; filter: brightness(0) invert(1); }
.st-footer-bottom { background: var(--st-navy); color: #ddd; text-align: center; font-size: 12px; padding: 20px 16px 26px; }
.st-footer-bottom p { margin: 2px 0; color: #ddd; }
.site-footer { display: none !important; }

/* ---------------- Existing inner pages: harmonise colours ---------------- */
.site-content, .page-content, .single-post-area, .blog-page-block, .category-page-block { background: transparent; }
.section-title, .page-title, .entry-title, h1, h2, h3 { color: var(--st-text); font-family: inherit; }
.entry-title a { color: var(--st-text); }
.entry-title a:hover { color: var(--st-link-hover); }
.widget-categories .cat-item a { color: var(--st-text); }
.widget-categories .cat-item .count, .widget .count {
    background: #f0f2f2 !important; color: var(--st-muted) !important; border: 1px solid var(--st-border); border-radius: 4px;
}
.widget-categories .cat-item a.btn-primary { width: 100%; font-weight: 700; }
.widget-categories .cat-item:last-child a.btn-primary { background: var(--st-btn-orange); border-color: #ff8f00; }
.star { color: var(--st-orange) !important; }
.entry-category .cat, .cat { color: var(--st-link) !important; }
.breadcrumb-item a { color: var(--st-link); }
.post.hentry, .single-post, .widget { background: var(--st-card); }

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 991px) {
    .st-top { flex-wrap: wrap; }
    .st-search { order: 5; flex-basis: 100%; }
    .st-search select { display: none; }
    .st-top .st-spacer { flex: 1; }
    .st-hero-covers { display: none; }
    .st-hero h1 { font-size: 30px; }
}
@media (max-width: 575px) {
    .st-top { padding: 8px 10px; gap: 6px; }
    .st-tool small { display: none; }
    .st-hero { padding: 30px 16px 140px; min-height: 0; }
    .st-hero h1 { font-size: 26px; }
    .st-hero p { font-size: 15px; }
    .st-section { padding: 0 10px; }
    .st-products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .st-product .st-p-img { height: 190px; }
    .st-product .st-p-img img { max-height: 170px; }
    .st-mini { flex-basis: 130px; }
    .st-mini .st-mini-img { height: 180px; }
    .st-mini img { max-height: 170px; }
}

/* ---- Logo: transparent header version needs no recolouring ---- */
.st-logo img.st-logo-clean, .st-footer-logo img.st-logo-clean { filter: none; }
.st-logo img.st-logo-clean { height: 38px; }

/* ---- Category card CTA ---- */
.st-card { height: 100%; }
.st-card-quad { align-content: start; }
.st-card-link {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    align-self: stretch; margin-top: 18px; padding: 10px 18px;
    background: var(--st-navy-2); color: #fff !important; border-radius: 100px;
    font-size: 14px; font-weight: 700; letter-spacing: .2px; text-decoration: none;
    box-shadow: 0 2px 6px rgba(15,17,17,.18); transition: background .15s, color .15s, transform .15s;
}
.st-card-link i { font-size: 12px; transition: transform .15s; }
.st-card-link:hover, .st-card-link:focus {
    background: var(--st-orange); color: var(--st-navy) !important; text-decoration: none; transform: translateY(-1px);
}
.st-card-link:hover i { transform: translateX(3px); }
html[dir="rtl"] .st-card-link i { transform: scaleX(-1); }
html[dir="rtl"] .st-card-link:hover i { transform: scaleX(-1) translateX(3px); }

/* ------------------------------ Announcement popup ------------------------------ */
.st-popup { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.st-popup[hidden] { display: none; }
.st-popup-backdrop { position: absolute; inset: 0; background: rgba(15,17,17,.62); opacity: 0; transition: opacity .2s; }
.st-popup-box {
    position: relative; display: flex; width: 100%; max-width: 760px; max-height: calc(100vh - 32px);
    background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 25px 60px rgba(0,0,0,.35);
    transform: translateY(16px) scale(.97); opacity: 0; transition: transform .22s ease, opacity .22s ease;
}
.st-popup.is-open .st-popup-backdrop { opacity: 1; }
.st-popup.is-open .st-popup-box { transform: none; opacity: 1; }
.st-popup-media { flex: 0 0 42%; background: #f3f4f4; }
.st-popup-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-popup-content { flex: 1; padding: 36px 32px 30px; overflow-y: auto; border-top: 5px solid var(--st-orange); }
.st-popup-brand { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #e47911; margin: 0 0 6px; }
.st-popup-content h2 { font-size: 26px; font-weight: 800; line-height: 1.2; color: var(--st-text); margin: 0 0 10px; }
.st-popup-text { font-size: 15px; line-height: 1.6; color: var(--st-muted); margin: 0 0 22px; }
.st-popup-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.st-popup-cta { padding: 11px 26px; font-size: 15px; font-weight: 700; }
.st-popup-later { background: none; border: 0; color: var(--st-link); font-size: 14px; cursor: pointer; padding: 6px 2px; }
.st-popup-later:hover { color: var(--st-link-hover); text-decoration: underline; }
.st-popup-close {
    position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
    border: 0; background: rgba(255,255,255,.92); color: #333; box-shadow: 0 2px 8px rgba(0,0,0,.2); cursor: pointer; font-size: 15px;
}
.st-popup-close:hover { background: #fff; color: #000; }
.st-popup--top .st-popup-box { flex-direction: column; max-width: 520px; }
.st-popup--top .st-popup-media { flex: none; height: 230px; }
.st-popup--text .st-popup-box, .st-popup--noimg .st-popup-box { max-width: 520px; }
html.st-popup-lock, html.st-popup-lock body { overflow: hidden; }
@media (max-width: 640px) {
    .st-popup-box { flex-direction: column; max-width: 440px; }
    .st-popup-media { flex: none; height: 190px; }
    .st-popup-content { padding: 26px 22px 22px; }
    .st-popup-content h2 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .st-popup-box, .st-popup-backdrop { transition: none; } }

/* ------------------------------ Bestseller marquee ------------------------------ */
.st-marquee {
    overflow: hidden; padding-bottom: 12px;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent);
            mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent);
}
.st-marquee-track { display: flex; width: max-content; animation: st-marquee var(--st-marquee-duration, 40s) linear infinite; }
.st-marquee-group { display: flex; gap: 16px; padding-inline-end: 16px; }
.st-marquee:hover .st-marquee-track, .st-marquee:focus-within .st-marquee-track { animation-play-state: paused; }
@keyframes st-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* Arabic reads right-to-left, so the belt moves the other way */
html[dir="rtl"] .st-marquee-track { animation-name: st-marquee-rtl; }
@keyframes st-marquee-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) {
    .st-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
    .st-marquee-track { animation: none; }
    .st-marquee-group[aria-hidden="true"] { display: none; }
}

/* ------------------------------ Scroll-to-top button (theme) ------------------------------ */
#scroll-top.topbutton {
    background: var(--st-navy-2) !important; color: #fff !important; border: 2px solid var(--st-orange) !important;
    box-shadow: 0 6px 18px rgba(15,17,17,.3) !important; transition: background .15s, color .15s, transform .15s;
}
#scroll-top.topbutton:hover { background: var(--st-orange) !important; color: var(--st-navy) !important; transform: translateY(-2px); }
#scroll-top.topbutton span { color: inherit !important; }

/* ------------------------------ Product (book) page ------------------------------ */
.st-pdp { max-width: 1500px; margin: 0 auto; padding: 0 20px 20px; color: var(--st-text); }
.st-pdp-crumbs { font-size: 12px; padding: 14px 0; color: var(--st-muted); }
.st-pdp-crumbs a { color: var(--st-muted); }
.st-pdp-crumbs a:hover { color: var(--st-link-hover); text-decoration: underline; }
.st-pdp-crumbs span { margin: 0 6px; }

.st-pdp-main {
    display: grid; gap: 28px; background: var(--st-card); padding: 24px; border-radius: 8px;
    grid-template-columns: minmax(260px, 38fr) minmax(0, 44fr) minmax(240px, 22fr); align-items: start;
}
.st-pdp-gallery { position: sticky; top: 120px; }
.st-pdp-cover {
    position: relative; overflow: hidden; border-radius: 6px; background: #f7f8f8;
    display: flex; align-items: center; justify-content: center; min-height: 420px; padding: 24px; cursor: zoom-in;
}
.st-pdp-cover img { max-height: 560px; width: auto; max-width: 100%; box-shadow: 0 10px 30px rgba(15,17,17,.25); transition: transform .12s ease-out; }
.st-pdp-cover .st-badge { top: 16px; }

.st-pdp-title { font-size: 28px; line-height: 1.25; font-weight: 400; margin: 0 0 6px; color: var(--st-text); }
.st-pdp-byline { font-size: 14px; margin: 0 0 8px; }
.st-pdp-byline a { color: var(--st-link); }
.st-pdp-byline a:hover { color: var(--st-link-hover); text-decoration: underline; }
.st-pdp-role { color: var(--st-muted); }
.st-pdp-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; }
.st-pdp-rank { background: #e47911; color: #fff; padding: 3px 10px; border-radius: 3px; font-weight: 700; font-size: 12px; }
.st-pdp-cat { background: #f0f2f2; border: 1px solid var(--st-border); color: var(--st-text); padding: 2px 10px; border-radius: 100px; }
.st-pdp-cat:hover { border-color: var(--st-orange); color: var(--st-text); }
.st-pdp-reviewlink { color: var(--st-link); }
.st-pdp-info hr, .st-pdp-reviews hr { border: 0; border-top: 1px solid #e7e7e7; margin: 14px 0; }
.st-pdp-info .st-price .st-whole { font-size: 32px; }

.st-pdp-formats { display: flex; gap: 10px; margin: 6px 0 18px; }
.st-pdp-format { border: 1px solid var(--st-border); border-radius: 8px; padding: 8px 14px; min-width: 130px; }
.st-pdp-format.is-selected { border: 2px solid #e77600; background: #fef8f2; box-shadow: 0 0 0 3px rgba(228,121,17,.12); }
.st-pdp-format-name { display: block; font-size: 13px; font-weight: 700; }
.st-pdp-format-price { display: block; font-size: 13px; color: #b12704; }

.st-pdp-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); border-top: 1px solid #e7e7e7; border-bottom: 1px solid #e7e7e7; margin: 0 0 18px; }
.st-pdp-highlight { text-align: center; padding: 12px 8px; font-size: 12px; }
.st-pdp-highlight + .st-pdp-highlight { border-inline-start: 1px solid #e7e7e7; }
.st-pdp-hl-label { display: block; color: var(--st-muted); margin-bottom: 6px; }
.st-pdp-highlight i { font-size: 22px; color: var(--st-navy-3); display: block; margin-bottom: 6px; }
.st-pdp-hl-value { display: block; font-weight: 700; word-break: break-word; }

.st-pdp-h2 { font-size: 20px; font-weight: 700; margin: 0 0 10px; color: var(--st-text); }
.st-pdp-desc { font-size: 15px; line-height: 1.65; color: var(--st-text); position: relative; }
.st-pdp-desc p { color: var(--st-text); margin: 0 0 10px; }
.st-pdp-desc.is-clamped { max-height: 220px; overflow: hidden; }
.st-pdp-desc.is-clamped::after { content: ""; position: absolute; inset: auto 0 0 0; height: 70px; background: linear-gradient(transparent, #fff); }
.st-pdp-more { background: none; border: 0; padding: 6px 0; color: var(--st-link); font-size: 14px; cursor: pointer; }
.st-pdp-more:hover { color: var(--st-link-hover); text-decoration: underline; }

.st-pdp-buybox { border: 1px solid var(--st-border); border-radius: 8px; padding: 18px; position: sticky; top: 120px; }
.st-pdp-buybox .st-price .st-whole { font-size: 30px; }
.st-pdp-buy-format { font-size: 13px; color: var(--st-muted); margin: 0 0 14px; }
.st-pdp-buy { margin-bottom: 10px; padding: 10px 16px; font-size: 14px; }
.st-pdp-buy i { margin-inline-end: 6px; }
.st-pdp-buy-note { font-size: 12px; color: var(--st-muted); line-height: 1.5; margin: 6px 0 14px; }
.st-pdp-buy-note i { color: #888; margin-inline-end: 4px; }
.st-pdp-share { display: flex; align-items: center; gap: 8px; border-top: 1px solid #e7e7e7; padding-top: 12px; font-size: 13px; }
.st-pdp-share a, .st-pdp-share button {
    width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--st-border); background: #fff; color: var(--st-navy-3);
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 13px;
}
.st-pdp-share a:hover, .st-pdp-share button:hover { border-color: var(--st-orange); color: #e47911; }

.st-pdp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.st-pdp-card { background: var(--st-card); border-radius: 8px; padding: 22px 24px; margin-top: 20px; }
.st-pdp-grid .st-pdp-card { margin-top: 0; }
.st-pdp-details { margin: 0; }
.st-pdp-details div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 7px 0; font-size: 14px; border-bottom: 1px dashed #eee; }
.st-pdp-details dt { font-weight: 700; }
.st-pdp-details dd { margin: 0; color: var(--st-text); word-break: break-word; }
.st-pdp-author-row { display: flex; gap: 18px; align-items: flex-start; }
.st-pdp-author-row img, .st-pdp-avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.st-pdp-avatar { display: inline-flex; align-items: center; justify-content: center; background: var(--st-navy-2); color: #fff; font-size: 32px; font-weight: 700; }
.st-pdp-avatar-sm { width: 34px; height: 34px; font-size: 14px; }
.st-pdp-author-name { font-size: 17px; font-weight: 700; margin: 0 0 4px; color: var(--st-text); }
.st-pdp-author-bio { font-size: 14px; color: var(--st-muted); line-height: 1.55; margin-bottom: 8px; }
.st-pdp-link { font-size: 14px; color: var(--st-link); }

.st-pdp-reviews { display: grid; grid-template-columns: 320px 1fr; gap: 40px; }
.st-pdp-review-total { color: var(--st-muted); font-size: 14px; margin: 0; }
.st-pdp-reviews h3 { font-size: 17px; font-weight: 700; margin: 0 0 4px; color: var(--st-text); }
.st-pdp-muted { color: var(--st-muted); font-size: 13px; margin: 0 0 10px; }
.st-pdp-review-form textarea {
    width: 100%; border: 1px solid #888c8c; border-radius: 8px; padding: 10px 12px; font-size: 14px; margin-bottom: 10px;
    box-shadow: inset 0 1px 2px rgba(15,17,17,.15); font-family: inherit; resize: vertical;
}
.st-pdp-review-form textarea:focus { outline: none; border-color: #e77600; box-shadow: 0 0 0 3px rgba(228,121,17,.25); }
.st-pdp-error { color: #b12704; font-size: 13px; margin: -4px 0 8px; }
.st-pdp-flash { background: #f0fbf4; border: 1px solid #067d62; color: #067d62; border-radius: 8px; padding: 10px 14px; font-size: 14px; }
.st-pdp-review { padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid #eee; }
.st-pdp-review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; font-size: 14px; }
.st-pdp-review-head img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.st-pdp-review-text { font-size: 14px; line-height: 1.6; margin: 0 0 8px; color: var(--st-text); }
.st-pdp-delete { background: #fff; border: 1px solid var(--st-border); border-radius: 100px; padding: 3px 12px; font-size: 12px; cursor: pointer; }
.st-pdp-delete:hover { background: #f7f7f7; }
.st-pdp-noreviews { text-align: center; padding: 40px 10px; color: var(--st-muted); }
.st-pdp-noreviews i { font-size: 44px; color: var(--st-orange); }

@media (max-width: 1199px) {
    .st-pdp-main { grid-template-columns: minmax(240px, 40fr) minmax(0, 60fr); }
    .st-pdp-buybox { grid-column: 2; position: static; }
}
@media (max-width: 767px) {
    .st-pdp { padding: 0 10px 10px; }
    .st-pdp-main { grid-template-columns: 1fr; padding: 16px; }
    .st-pdp-gallery, .st-pdp-buybox { position: static; grid-column: auto; }
    .st-pdp-cover { min-height: 300px; }
    .st-pdp-cover img { max-height: 380px; }
    .st-pdp-title { font-size: 22px; }
    .st-pdp-grid, .st-pdp-reviews { grid-template-columns: 1fr; gap: 20px; }
    .st-pdp-details div { grid-template-columns: 120px 1fr; }
}
