/* ProthomShop new design — scoped under .ps-theme so old pages (shop/product/checkout) are unaffected */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@400;500;600;700;800&display=swap');

.ps-theme{
  --ps-orange:#ff6500;
  --ps-orange2:#ff8a25;
  --ps-ink:#171717;
  --ps-muted:#777;
  --ps-white:#fff;
  --ps-line:#ece8e1;
  --ps-shadow:0 14px 40px rgba(35,25,10,.08);
  font-family:'Noto Sans Bengali','Jost',Arial,sans-serif;
  color:var(--ps-ink);
  background:#fbfaf7;
}
.ps-theme *{box-sizing:border-box}
.ps-theme a{text-decoration:none}
:where(.ps-theme) a{color:inherit}
.ps-theme button{font:inherit;border:0;cursor:pointer}
:where(.ps-theme) button{background:none}
.ps-theme ul{list-style:none;margin:0;padding:0}
.ps-theme img{max-width:100%;display:block}

.ps-container{width:min(1320px,calc(100% - 40px));margin:auto}

/* Header */
.ps-topbar{background:#fbfaf7;padding:22px 0 16px}
.ps-header{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.ps-logo{display:flex;align-items:center;gap:12px;flex:0 0 auto}
.ps-logo-mark{
  width:50px;height:50px;border-radius:15px;background:var(--ps-orange);color:#fff;
  display:grid;place-items:center;font-size:26px;font-weight:800;
  box-shadow:6px 6px 0 #ffd5b8;overflow:hidden;flex:0 0 auto
}
.ps-logo strong{font-size:22px;letter-spacing:-1px;white-space:nowrap}
.ps-logo strong span{color:var(--ps-orange)}
.ps-logo small{display:block;color:#777;font-size:11px;margin-top:-2px}

.ps-search{flex:1 1 320px;min-width:220px;height:52px;background:#fff;border:1px solid var(--ps-line);
  border-radius:30px;display:flex;align-items:center;padding:5px 6px 5px 20px;box-shadow:0 8px 25px rgba(0,0,0,.04)}
.ps-search input{border:0;outline:0;background:transparent;flex:1;font-size:14px;font-family:inherit;min-width:0}
.ps-search button{width:42px;height:42px;border-radius:50%;background:var(--ps-orange);color:#fff;font-size:18px;flex:0 0 auto}

.ps-actions{display:flex;gap:18px;flex:0 0 auto}
.ps-action{text-align:center;font-size:12px;color:#555;position:relative}
.ps-action .ps-icon{font-size:20px;display:block;margin-bottom:1px;color:#111}
.ps-cart-count{
  position:absolute;top:-4px;right:-8px;background:var(--ps-orange);color:#fff;
  border-radius:50%;width:18px;height:18px;font-size:10px;display:grid;place-items:center;font-weight:700
}

.ps-nav-wrap{padding:6px 0 20px}
.ps-nav{background:#fff;border:1px solid var(--ps-line);border-radius:22px;padding:8px;
  display:flex;align-items:center;gap:5px;box-shadow:0 8px 30px rgba(0,0,0,.035);overflow:auto}
.ps-nav-item{white-space:nowrap;padding:11px 16px;border-radius:15px;font-size:13px;
  display:flex;align-items:center;gap:6px;transition:.2s}
.ps-nav-item:hover{background:#fff3e9;color:var(--ps-orange)}
.ps-nav-item.active{background:#151515;color:#fff}

/* Hero */
.ps-hero{min-height:410px;border-radius:32px;overflow:hidden;position:relative;
  background:linear-gradient(115deg,#fffaf3 0%,#fff5e8 55%,#f5eee2 100%);
  border:1px solid #eee7dc;box-shadow:var(--ps-shadow);display:grid;grid-template-columns:50% 50%;align-items:stretch}
.ps-hero-copy{padding:52px 40px 40px 56px;position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center}
.ps-kicker{display:inline-flex;padding:6px 13px;border-radius:30px;background:#fff;color:var(--ps-orange);
  font-weight:700;font-size:12px;box-shadow:0 5px 20px rgba(0,0,0,.05)}
.ps-hero h1{font-size:clamp(34px,4.2vw,56px);line-height:1.15;letter-spacing:-1.5px;margin:18px 0 8px}
.ps-hero h1 span{color:var(--ps-orange)}
.ps-hero-script{font-family:cursive;font-size:20px;margin:6px 0 20px;color:#333}
.ps-hero-text{max-width:420px;color:#666;line-height:1.8;font-size:14px}
.ps-hero-features{display:flex;gap:16px;margin:22px 0;flex-wrap:wrap}
.ps-feature{display:flex;align-items:center;gap:8px;font-size:11px}
.ps-feature b{width:32px;height:32px;border-radius:50%;background:#fff;display:grid;place-items:center;
  box-shadow:0 5px 15px rgba(0,0,0,.06);font-style:normal}
.ps-cta{background:#171717;color:#fff;padding:13px 21px;border-radius:12px;display:inline-flex;
  align-items:center;gap:8px;font-weight:700;font-size:14px}
.ps-cta:hover{background:var(--ps-orange)}

.ps-hero-visual{position:relative;display:flex;align-items:center;justify-content:center;min-height:100%;padding:30px}
.ps-hero-graphic{
  width:min(72%,340px);aspect-ratio:1/1;border-radius:50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.9) 0 9%, transparent 10%),
    linear-gradient(135deg,#ffe3cc 0%,#fff3e6 100%);
  display:grid;place-items:center;
  box-shadow:0 20px 50px rgba(255,101,0,.15), inset 0 0 0 10px rgba(255,255,255,.6);
}
.ps-hero-emoji{font-size:min(22vw,120px);line-height:1;filter:drop-shadow(0 10px 18px rgba(0,0,0,.12))}
.ps-discount{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:108px;height:108px;
  border-radius:50%;background:#fff;display:grid;place-items:center;text-align:center;
  border:8px solid var(--ps-orange);box-shadow:0 12px 35px rgba(0,0,0,.12);z-index:4}
.ps-discount small{font-size:11px;font-weight:700;display:block}
.ps-discount strong{font-size:28px;color:var(--ps-orange);line-height:1;display:block}

/* Sections */
.ps-section{padding:34px 0}
.ps-section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:18px;gap:12px;flex-wrap:wrap}
.ps-section-title{font-size:24px;font-weight:800}
.ps-section-title:after{content:"";display:block;width:50px;height:4px;border-radius:5px;background:var(--ps-orange);margin-top:7px}
.ps-view-all{border:1px solid var(--ps-line);background:#fff;padding:9px 16px;border-radius:25px;font-size:13px}

/* Products */
.ps-products{display:flex;flex-wrap:wrap;gap:16px}
.ps-product{flex:0 0 calc((100% - 80px) / 6);min-width:0;overflow:hidden;background:#fff;border:1px solid var(--ps-line);border-radius:18px;padding:10px;position:relative;transition:.25s}
.ps-product:hover{transform:translateY(-5px);box-shadow:var(--ps-shadow)}
.ps-product-img{height:160px;border-radius:13px;background:#f2efe9;display:flex;align-items:center;justify-content:center;overflow:hidden}
.ps-product-img img{width:100%;height:100%;object-fit:cover}
.ps-product h3{font-size:13px;margin:12px 3px 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ps-price{margin:0 3px 10px;font-weight:800;color:var(--ps-orange);font-size:14px}
.ps-old{font-size:11px;color:#aaa;text-decoration:line-through;margin-left:6px;font-weight:400}
.ps-add{width:100%;background:#171717;color:#fff;border-radius:10px;padding:9px;font-size:12px;font-weight:700}
.ps-add:hover{background:var(--ps-orange)}

/* Categories */
.ps-categories{display:flex;flex-wrap:wrap;gap:14px}
.ps-cat{flex:0 0 calc((100% - 70px) / 6);min-width:0;overflow:hidden;background:#fff;border:1px solid var(--ps-line);border-radius:18px;min-height:118px;padding:14px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;transition:.2s}
.ps-cat:hover{border-color:var(--ps-orange);color:var(--ps-orange)}
.ps-cat-icon{font-size:30px}
.ps-cat b{font-size:12px}

/* Footer */
.ps-footer{margin-top:30px;background:#171717;color:#fff;padding:46px 0 24px;border-radius:28px 28px 0 0}
.ps-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:32px}
.ps-footer p{color:#aaa;line-height:1.8;font-size:13px;margin-top:8px}
.ps-footer h4{margin-bottom:12px;font-size:15px}
.ps-footer li{color:#aaa;font-size:13px;margin:8px 0}
.ps-copyright{border-top:1px solid #333;margin-top:28px;padding-top:18px;color:#888;font-size:12px}

/* Single product page */
.ps-breadcrumb{font-size:13px;color:#888;margin:6px 0 22px}
.ps-breadcrumb span{color:var(--ps-orange)}
.ps-product-wrap{background:#fff;border:1px solid var(--ps-line);border-radius:28px;padding:24px;box-shadow:0 15px 45px rgba(35,25,10,.05)}
.ps-product-detail-grid{display:grid;grid-template-columns:46% 54%;gap:40px}
.ps-gallery{display:grid;grid-template-columns:88px 1fr;gap:15px}
.ps-thumbs{display:flex;flex-direction:column;gap:12px}
.ps-thumb{height:82px;border-radius:15px;border:1px solid var(--ps-line);background:#f6f3ed;overflow:hidden;padding:3px}
.ps-thumb.active{border:2px solid var(--ps-orange)}
.ps-thumb img{width:100%;height:100%;object-fit:cover;border-radius:11px}
.ps-main-photo{height:460px;border-radius:22px;background:#f7f4ee;overflow:hidden;position:relative}
.ps-main-photo img{width:100%;height:100%;object-fit:cover}
.ps-pd-badge{position:absolute;top:16px;left:16px;background:var(--ps-orange);color:#fff;padding:7px 13px;border-radius:20px;font-size:12px;font-weight:700}
.ps-pd-info{padding:6px 4px}
.ps-pd-category{color:var(--ps-orange);font-size:12px;font-weight:700}
.ps-pd-info h1{font-size:28px;line-height:1.3;margin:10px 0 12px;letter-spacing:-.5px}
.ps-availability{font-size:13px;margin-bottom:16px}
.ps-availability b{color:#15803d}
.ps-availability.out b{color:#c0392b}
.ps-rating{display:flex;align-items:center;gap:10px;margin-bottom:16px;flex-wrap:wrap}
.ps-rating .ps-stars{color:#f49a16;font-size:16px;letter-spacing:1px}
.ps-rating span{font-size:12px;color:#888}
.ps-variants{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}
.ps-variant{background:#fff;border:1px solid #ddd;border-radius:10px;padding:9px 15px;font-size:13px}
.ps-variant.active{border:2px solid var(--ps-orange);color:var(--ps-orange);padding:8px 14px;background:#fff8f3}
.ps-option-title{font-size:13px;font-weight:700;margin-bottom:10px}
.ps-pd-price-box{background:#fff7f0;border:1px solid #ffe0ca;border-radius:16px;padding:16px;margin-bottom:18px}
.ps-pd-price{font-size:30px;color:var(--ps-orange);font-weight:800}
.ps-pd-old{text-decoration:line-through;color:#aaa;font-size:14px;margin-left:8px}
.ps-pd-save{font-size:12px;color:#15803d;margin-left:6px;font-weight:700}
.ps-pd-desc{color:#666;font-size:14px;line-height:1.9;border-bottom:1px solid var(--ps-line);padding-bottom:18px;margin-bottom:18px}
.ps-pd-buy{width:100%;background:#171717;color:#fff;border-radius:13px;padding:15px;font-weight:800;font-size:15px;margin-bottom:18px}
.ps-pd-buy:hover{background:var(--ps-orange)}
.ps-pd-delivery{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ps-pd-delivery-card{border:1px solid var(--ps-line);border-radius:14px;padding:12px;font-size:12px;line-height:1.7;background:#fff}
.ps-pd-delivery-card b{display:block;font-size:13px;margin-bottom:2px}
.ps-pd-delivery-card a{color:var(--ps-orange);font-weight:700}

.ps-below{margin-top:26px;display:grid;grid-template-columns:2fr 1fr;gap:18px}
.ps-panel{background:#fff;border:1px solid var(--ps-line);border-radius:20px;padding:22px}
.ps-panel h3{margin-bottom:14px;font-size:16px}
.ps-panel p{font-size:14px;color:#666;line-height:2}
.ps-charge-table{width:100%;border-collapse:collapse;margin-top:14px;font-size:13px}
.ps-charge-table td{padding:8px;border-bottom:1px solid var(--ps-line)}
.ps-tabs{display:flex;gap:22px;border-bottom:1px solid var(--ps-line);margin-bottom:18px;flex-wrap:wrap}
.ps-tab{padding:0 0 12px;color:#888;font-size:14px}
.ps-tab.active{color:var(--ps-orange);border-bottom:3px solid var(--ps-orange);font-weight:700}
.ps-tab-panel{display:none}
.ps-tab-panel.active{display:block}
.ps-spec{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:6px}
.ps-spec div{background:#faf8f4;padding:11px;border-radius:10px;font-size:12px}

/* Cart + Checkout page */
.ps-co-crumb{font-size:12px;color:#999;margin:8px 0 18px}
.ps-co-crumb span{color:var(--ps-orange)}
.ps-co-title{font-size:26px;margin-bottom:20px}
.ps-co-layout{display:grid;grid-template-columns:1fr 380px;gap:20px}
.ps-co-panel{background:#fff;border:1px solid var(--ps-line);border-radius:22px;padding:22px;margin-bottom:16px}
.ps-co-panel h2{font-size:16px;margin-bottom:15px}
.ps-co-field{margin-bottom:14px}
.ps-co-field label{font-size:12px;font-weight:600;display:block;margin-bottom:6px}
.ps-co-field input,.ps-co-field select,.ps-co-field textarea{
  width:100%;height:46px;border:1px solid #ddd;border-radius:10px;padding:0 13px;
  font-family:inherit;font-size:13px;outline:none;background:#fff
}
.ps-co-field textarea{height:80px;padding-top:12px;resize:vertical}
.ps-co-field input:focus,.ps-co-field select:focus{border-color:var(--ps-orange);box-shadow:0 0 0 3px #fff0e5}
.ps-co-grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ps-co-callbox{font-size:14px;text-align:center;color:#555;margin-bottom:16px;line-height:1.9}
.ps-co-callbox a{color:#fff;background:#01b496;padding:4px 10px;border-radius:6px;font-weight:700}
.ps-co-place{width:100%;height:52px;border-radius:13px;background:var(--ps-orange);color:#fff;font-weight:800;font-size:15px}
.ps-co-place:hover{background:#e95500}

.ps-co-item{display:grid;grid-template-columns:64px 1fr auto;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid var(--ps-line)}
.ps-co-item:last-of-type{border-bottom:0}
.ps-co-thumb{width:64px;height:64px;border-radius:12px;overflow:hidden;background:#f2efe9}
.ps-co-thumb img{width:100%;height:100%;object-fit:cover}
.ps-co-name{font-size:12px;font-weight:700}
.ps-co-price{font-size:12px;font-weight:800;color:var(--ps-orange);margin-top:5px}
.ps-co-qty{display:inline-flex;border:1px solid var(--ps-line);border-radius:9px;overflow:hidden;margin-top:8px}
.ps-co-qty button{width:26px;height:26px;background:#fff;font-size:13px}
.ps-co-qty span{width:26px;height:26px;display:grid;place-items:center;font-size:11px;font-weight:700}
.ps-co-remove{justify-self:end;color:#aaa;font-size:16px;background:none}
.ps-co-summary-row{display:flex;justify-content:space-between;font-size:13px;color:#666;margin:11px 0}
.ps-co-total{border-top:1px solid var(--ps-line);padding-top:15px;margin-top:15px;font-size:16px;font-weight:800}
.ps-co-total b{color:var(--ps-orange)}
.ps-co-empty{background:#fff;border:1px solid var(--ps-line);border-radius:22px;padding:60px 20px;text-align:center;color:#777}

/* Thank you page */
.ps-ty-wrap{padding:40px 0}
.ps-ty-card{background:#fff;border:1px solid var(--ps-line);border-radius:28px;padding:40px;box-shadow:var(--ps-shadow);text-align:center;max-width:700px;margin:auto}
.ps-ty-check{width:80px;height:80px;border-radius:50%;background:#eaf8ef;color:#15803d;display:grid;place-items:center;font-size:40px;margin:0 auto 18px;border:8px solid #f4fbf6}
.ps-ty-card h1{font-size:30px;margin-bottom:10px}
.ps-ty-card h1 span{color:var(--ps-orange)}
.ps-ty-lead{color:#777;font-size:14px;line-height:1.9}
.ps-ty-orderno{display:inline-block;margin:18px 0;background:#fff4ea;border:1px solid #ffd8bd;border-radius:25px;padding:8px 16px;font-size:13px}
.ps-ty-box{background:#faf8f4;border-radius:16px;padding:16px;text-align:left;margin:16px 0}
.ps-ty-row{display:flex;justify-content:space-between;gap:14px;font-size:13px;padding:8px 0;border-bottom:1px solid #e8e3da}
.ps-ty-row:last-child{border:0;font-weight:800;font-size:15px}
.ps-ty-row:last-child b{color:var(--ps-orange)}
.ps-ty-actions{display:flex;justify-content:center;gap:10px;margin-top:20px;flex-wrap:wrap}
.ps-ty-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:22px}
.ps-ty-step{padding:12px;border:1px solid var(--ps-line);border-radius:13px;font-size:11px;color:#777}
.ps-ty-step b{display:block;color:#171717;margin-bottom:4px}

/* Responsive */
@media(max-width:1100px){
  .ps-hero{grid-template-columns:1fr}
  .ps-hero-copy{padding:36px}
  .ps-hero-visual{min-height:280px}
  .ps-product{flex-basis:calc((100% - 32px) / 3)}
  .ps-cat{flex-basis:calc((100% - 28px) / 3)}
  .ps-product-detail-grid{grid-template-columns:1fr}
  .ps-main-photo{height:380px}
  .ps-below{grid-template-columns:1fr}
  .ps-co-layout{grid-template-columns:1fr}
}

@media(max-width:650px){
  .ps-container{width:min(100% - 24px,1320px)}
  .ps-header{gap:12px}
  .ps-actions{gap:14px}
  .ps-hero{border-radius:22px}
  .ps-hero-copy{padding:28px 20px}
  .ps-hero h1{font-size:34px}
  .ps-hero-visual{min-height:220px}
  .ps-discount{width:82px;height:82px;border-width:6px}
  .ps-discount strong{font-size:20px}
  .ps-products{gap:10px}
  .ps-product{flex-basis:calc((100% - 10px) / 2)}
  .ps-product-img{height:130px}
  .ps-cat{flex-basis:calc((100% - 14px) / 2)}
  .ps-footer-grid{grid-template-columns:1fr 1fr}
  .ps-gallery{grid-template-columns:56px 1fr;gap:8px}
  .ps-thumb{height:56px}
  .ps-main-photo{height:300px}
  .ps-co-grid2{grid-template-columns:1fr}
  .ps-ty-card{padding:24px 16px;border-radius:20px}
  .ps-ty-steps{grid-template-columns:1fr}
  .ps-ty-actions{flex-direction:column}
}
