/* DECOR ROYAL CITY — product details with Noel-style presentation.
   Scope: only .pd-mode and #product-page-root. Header/footer and homepage remain untouched.
   Inspired by existing /odercaythongnoel visual structure; no asset copy. */
#product-page-root .pd-wrapper{background:#fcf8ee;color:#143c2b;padding-bottom:65px}
#product-page-root .pd-container{max-width:1300px;padding:0 24px}
#product-page-root .pd-spotlight{
  position:relative;isolation:isolate;
  margin:0 -24px 26px;
  padding:0 clamp(16px,2.7vw,37px) clamp(24px,3vw,38px);
  border-radius:0 0 20px 20px;
  background:radial-gradient(circle at 76% 25%,#356c54 0%,#174e3c 44%,#083b2d 88%);
  color:#fff;overflow:hidden
}
#product-page-root .pd-spotlight:before{content:"✦  ✧  ✶";position:absolute;right:3%;top:10%;color:#ecca6721;font-size:38px;letter-spacing:40px;z-index:-1}
#product-page-root .pd-breadcrumb{padding:15px 2px 19px;color:#e6e3c5bd}
#product-page-root .pd-breadcrumb a{color:#f7e6bb}
#product-page-root .pd-breadcrumb .pd-crumb-current{color:#fff0c9}
#product-page-root .pd-hero{grid-template-columns:minmax(0,.97fr) minmax(0,1.03fr);gap:clamp(20px,3.2vw,50px);align-items:center}
#product-page-root .pd-gallery{width:100%;max-width:535px;margin-inline:auto}
#product-page-root .pd-primary-photo{aspect-ratio:3/4;border:2px solid #e8cb84;border-radius:20px;background:#e8e2d4;box-shadow:0 17px 36px #001d164d;display:flex;align-items:center;justify-content:center;touch-action:pan-y}
#product-page-root .pd-primary-photo img{width:100%;height:100%;max-width:100%;object-fit:contain;display:block;border:0;border-radius:0}
#product-page-root .pd-image-ribbon{background:#0c4b39df;color:#fff0c0;top:14px;left:14px;font-size:10px;padding:7px 10px;z-index:2}
#product-page-root .pd-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;background:#0b3e32cb;border:1px solid #f6e4b787;color:#fff;width:43px;height:49px;border-radius:11px;font-size:35px;line-height:1;display:grid;place-items:center;cursor:pointer}
#product-page-root .pd-gallery-arrow.prev{left:9px}
#product-page-root .pd-gallery-arrow.next{right:9px}
#product-page-root .pd-gallery-arrow:hover,#product-page-root .pd-gallery-arrow:focus-visible{background:#165c48}
#product-page-root .pd-gallery-arrow[hidden]{display:none}
#product-page-root .pd-photo-zoom{right:11px;bottom:11px;background:#133f32b6;color:#fff;border:0;font-size:18px;width:40px;height:36px;border-radius:10px;z-index:2}
#product-page-root .pd-gallery-count{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);color:#fff;z-index:3;font-weight:900;letter-spacing:2px;font-size:14px;text-shadow:0 2px 8px #001d17}
#product-page-root .pd-thumbs{display:flex;gap:10px;overflow:auto;padding:12px 4px 8px;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;touch-action:pan-x;scrollbar-width:thin}
#product-page-root .pd-thumb{scroll-snap-align:start;flex:0 0 78px;width:78px;height:83px;padding:3px;border:2px solid #e9dabe9c;background:#ede6d3;border-radius:13px;opacity:.84}
#product-page-root .pd-thumb.selected{border-color:#ffdd85;box-shadow:0 0 0 2px #d9ab47;opacity:1}
#product-page-root .pd-thumb img{width:100%;height:100%;object-fit:cover;border-radius:8px}
#product-page-root .pd-photo-note{font-size:11px;text-align:center;color:#f3e9c9bf;margin:5px 0 0;line-height:1.55}
#product-page-root .pd-summary{border:0;border-radius:0;padding:15px 0;background:transparent;box-shadow:none;color:#fff}
#product-page-root .pd-kicker{color:#eac16d;font-size:11px;letter-spacing:2px;text-transform:uppercase;line-height:1.8}
#product-page-root .pd-kicker-dot{color:#e2bd74}
#product-page-root .pd-summary h1{color:#fff;font-family:Georgia,'Times New Roman',serif;font-size:clamp(30px,3.8vw,49px);line-height:1.08;letter-spacing:-.025em;margin:13px 0 16px}
#product-page-root .pd-summary-sub{font-size:15px;color:#e8eee7;line-height:1.7;font-weight:540}
#product-page-root .pd-price-box{background:#fffaf0;border:2px solid #ecc975;border-radius:15px;box-shadow:0 8px 21px #062b211c;margin:22px 0 15px;padding:15px 18px}
#product-page-root .pd-price-box small{font-size:11px;color:#916c2c}
#product-page-root .pd-current-price{font-size:clamp(22px,2.6vw,35px);color:#b52b3a;line-height:1.23;font-weight:900}
#product-page-root .pd-price-old{font-size:12px}
#product-page-root .pd-status{background:#0c6d4b;color:#fff;font-weight:850;font-size:11px}
#product-page-root .pd-status.pd-preview{background:#e8f1e9;color:#285c43}
#product-page-root .pd-highlight{background:#e4f0e72b;border:1px solid #e0efdb47;border-left:3px solid #f1c975;border-radius:9px;color:#f4f1e7;padding:11px 13px;font-size:12px}
#product-page-root .pd-quantity{color:#fff;gap:10px}
#product-page-root .pd-quantity small{color:#e1eace}
#product-page-root .pd-qty-controls{border:1px solid #b2cbab}
#product-page-root .pd-qty-controls button{background:#f2f1dc;color:#12533b}
#product-page-root .pd-qty-controls input{color:#0c4934}
#product-page-root .pd-actions button,#product-page-root .pd-actions a{min-height:51px;font-size:13px;border-radius:12px}
#product-page-root .pd-action-primary{background:#e7bc5e;color:#163e30;border:1px solid #f5dc8b;box-shadow:0 5px 14px #001f173b}
#product-page-root .pd-action-primary:hover{background:#f3d283}
#product-page-root .pd-action-secondary{background:#ffffff10;border:1px solid #f0d7a2b3;color:#fff}
#product-page-root .pd-action-secondary:hover{background:#ffffff1e}
#product-page-root .pd-promise{border-top-color:#e2e9d45c}
#product-page-root .pd-promise span{color:#eac16d;font-size:20px}
#product-page-root .pd-promise strong{color:#fff;font-size:11px}
#product-page-root .pd-promise small{color:#e0ead8d6;font-size:10px}
#product-page-root .pd-colors{color:#fff}
#product-page-root .pd-colors legend{color:#fff5ce}
#product-page-root .pd-colors small{color:#e5eadc}
#product-page-root .pd-color-chip{color:#2a5640;background:#fffcf4}
#product-page-root .pd-noel-divider{width:60px;height:3px;border-radius:4px;background:#e8c876;margin:14px 0 10px}
#product-page-root .pd-info-grid{margin-top:24px;gap:15px}
#product-page-root .pd-info-card{background:#fffdf9;border-color:#e8d7b5;box-shadow:0 4px 18px #09412b0e}
#product-page-root .pd-related-section{padding-top:32px}
#product-page-root .pd-related-heading h2{font-size:29px}
#product-page-root .pd-related-track{grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}
#product-page-root .pd-related-card{background:#fff;border-color:#e3d4b6}
#product-page-root .pd-related-card .pd-related-photo{aspect-ratio:1/1;background:#f3ede2}
#product-page-root .pd-related-text{padding:11px}
#product-page-root .pd-related-name{font-size:12px}
#product-page-root .pd-related-price.is-ready{font-size:16px}
#product-page-root .pd-related-btn{background:#075638}
#product-page-root .pd-related-outline{background:#f5e9ce;color:#205135}
#product-page-root .pd-related-heading a{color:#135b45}
#product-page-root .pd-lightbox{position:fixed;z-index:150;inset:0;display:flex;justify-content:center;align-items:center;background:#071b16f5;padding:55px 56px 32px;box-sizing:border-box;color:#fff}
#product-page-root .pd-lightbox[hidden]{display:none!important}
#product-page-root .pd-lightbox figure{display:flex;flex-direction:column;justify-content:center;align-items:center;max-height:100%;min-height:0;margin:0}
#product-page-root .pd-lightbox img{max-width:100%;max-height:calc(100dvh - 133px);object-fit:contain;width:auto;height:auto;border-radius:9px}
#product-page-root .pd-lightbox figcaption{padding-top:13px;font-size:12px;color:#f3e6c6;font-weight:750}
#product-page-root .pd-lightbox-close{position:absolute;top:calc(14px + env(safe-area-inset-top));right:20px;background:#194938;border:1px solid #eeddb685;border-radius:50%;color:#fff;width:43px;height:43px;z-index:3;cursor:pointer;font-size:27px}
#product-page-root .pd-lightbox-arrow{position:absolute;top:50%;transform:translateY(-50%);width:43px;height:52px;background:#114333d9;border:0;border-radius:10px;color:#fff;font-size:37px;cursor:pointer}
#product-page-root .pd-lightbox-arrow.prev{left:8px}
#product-page-root .pd-lightbox-arrow.next{right:8px}
#product-page-root .pd-lightbox-arrow[hidden]{display:none}
@media(max-width:1100px){
 #product-page-root .pd-related-track{grid-template-columns:repeat(3,minmax(0,1fr))}
 #product-page-root .pd-hero{gap:22px}
 #product-page-root .pd-summary h1{font-size:clamp(30px,3.5vw,42px)}
}
@media(max-width:760px){
 #product-page-root .pd-container{padding:0 13px}
 #product-page-root .pd-spotlight{margin:0 -13px 16px;padding:0 13px 22px;border-radius:0 0 14px 14px}
 #product-page-root .pd-hero{grid-template-columns:minmax(0,1fr);gap:13px}
 #product-page-root .pd-gallery{max-width:min(100%,480px)}
 #product-page-root .pd-primary-photo{aspect-ratio:3/4;max-height:520px;border-radius:18px}
 #product-page-root .pd-summary{padding:10px 3px}
 #product-page-root .pd-summary h1{font-size:clamp(29px,7vw,42px)}
 #product-page-root .pd-summary-sub{font-size:13px}
 #product-page-root .pd-gallery-arrow{width:37px;height:42px;font-size:31px}
 #product-page-root .pd-thumbs{padding:10px 3px 6px}
 #product-page-root .pd-thumb{flex-basis:65px;width:65px;height:74px}
 #product-page-root .pd-photo-note{font-size:10px}
 #product-page-root .pd-breadcrumb{padding:12px 0 16px}
 #product-page-root .pd-price-box{margin:17px 0 12px;padding:13px}
 #product-page-root .pd-current-price{font-size:25px}
 #product-page-root .pd-colors legend{font-size:12px}
 #product-page-root .pd-info-grid{grid-template-columns:1fr;margin-top:14px;gap:12px}
 #product-page-root .pd-info-card{padding:19px 16px}
 #product-page-root .pd-related-track{display:flex;overflow-x:auto;gap:10px;padding-bottom:13px;scroll-snap-type:x mandatory}
 #product-page-root .pd-related-card{flex:0 0 min(58vw,228px);scroll-snap-align:start}
 #product-page-root .pd-related-heading{gap:9px}
 #product-page-root .pd-related-heading h2{font-size:24px}
 #product-page-root .pd-wrapper{padding-bottom:150px}
 #product-page-root .pd-mobile-dock{display:flex;background:#fffdf4f2;bottom:calc(64px + env(safe-area-inset-bottom));z-index:47}
 #product-page-root .pd-mobile-dock button{background:#0a6646}
 #product-page-root .pd-lightbox{padding:60px 8px 38px}
 #product-page-root .pd-lightbox img{max-height:calc(100dvh - 143px)}
 #product-page-root .pd-lightbox-arrow{width:31px;height:46px;font-size:29px}
}
@media(max-width:380px){
 #product-page-root .pd-summary h1{font-size:27px}
 #product-page-root .pd-primary-photo{aspect-ratio:3/4}
 #product-page-root .pd-summary-sub{font-size:12px}
 #product-page-root .pd-price-box{gap:5px}
 #product-page-root .pd-status{font-size:9px;padding:7px}
 #product-page-root .pd-actions button,#product-page-root .pd-actions a{font-size:11px}
}
@media(prefers-reduced-motion:reduce){
 #product-page-root .pd-related-photo img{transition:none}
}

/* Keep mixed supplier photography well-framed; soften the backdrop instead of empty bars. */
#product-page-root .pd-primary-photo{
 aspect-ratio:1/1;
 background-color:#173e31;
 background-size:cover;
 background-position:center;
}
#product-page-root .pd-primary-photo::before{
 content:"";position:absolute;inset:-18px;
 background-image:inherit;background-size:cover;background-position:center;
 filter:blur(19px) brightness(.62) saturate(.85);transform:scale(1.06);
 pointer-events:none;
}
#product-page-root .pd-primary-photo img{
 position:relative;z-index:1;
}
#product-page-root .pd-image-ribbon[hidden]{display:none!important}
@media(max-width:760px){
 #product-page-root .pd-primary-photo{aspect-ratio:1/1;max-height:none}
}
