/* PahalGiri Amazon Mode - everything is scoped to html.pg-amz-on, so this
   file does nothing outside the break. Colours are the theme's own. */

/* Hide the Diwali sale (its discounts only apply to website orders) */
html.pg-amz-on .pg-announcement,
html.pg-amz-on .pg-mini-offer,
html.pg-amz-on .pg-mini-discount,
html.pg-amz-on .pg-photo-offers,
html.pg-amz-on .pg-zigzag-offer,
html.pg-amz-on .pg-sale-panel,
html.pg-amz-on .pg-product-discount,
html.pg-amz-on .pg-festive-photo-badge,
html.pg-amz-on .pg-photo-deal,
html.pg-amz-on .pg-offer-card,
html.pg-amz-on #pgOfferCard,
html.pg-amz-on .pg-online-payment-offer{display:none!important}

/* No cart while orders are paused */
html.pg-amz-on header a.icon-btn[aria-label="Cart"],
html.pg-amz-on #cartDrawer,
html.pg-amz-on #cartOverlay{display:none!important}

/* Break notice at the top of every page */
.pg-amz-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 14px;
  padding:9px 16px;background:#0F1B2C;color:#fff;font-size:13px;line-height:1.45;text-align:center}
.pg-amz-bar a{color:#fff;font-weight:700;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}

.pg-amz-bar-pill{display:inline-block;padding:3px 10px;border:1px dashed #E9C875;border-radius:999px;color:#FFE29B;font-weight:700;font-size:12px;letter-spacing:.02em;white-space:nowrap}

/* Highlighted Amazon coupon ticket */
.pg-amz-coupons{display:flex;flex-direction:column;gap:8px;margin:0 0 12px}
.pg-amz-coupon{position:relative;display:flex;align-items:stretch;box-sizing:border-box;width:100%;margin:2px 0 12px;
  border:1.5px dashed #1D5FA6;border-radius:12px;background:#F2F7FD;overflow:hidden;text-align:left}
.pg-amz-coupons .pg-amz-coupon{margin:0}
.pg-amz-coupon::before,.pg-amz-coupon::after{content:"";position:absolute;left:84px;width:14px;height:14px;border-radius:50%;
  background:#fff;border:1.5px dashed #1D5FA6;transform:translateX(-50%)}
.pg-amz-coupon::before{top:-8px}
.pg-amz-coupon::after{bottom:-8px}
.pg-amz-coupon-pct{flex:0 0 84px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px 6px;
  background:#1D5FA6;color:#fff;text-align:center}
.pg-amz-coupon-pct strong{font-family:"Cormorant Garamond",Georgia,serif;font-size:30px;font-weight:600;line-height:1}
.pg-amz-coupon-pct span{margin-top:3px;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;opacity:.9}
.pg-amz-coupon-txt{display:flex;flex-direction:column;justify-content:center;gap:3px;padding:10px 14px 10px 18px}
.pg-amz-coupon-txt b{color:#0F1B2C;font-size:14px;line-height:1.3}
.pg-amz-coupon-txt span{color:#2F3A4A;font-size:12.5px;line-height:1.45}
.pg-amz-coupon-txt em{font-style:normal;font-weight:700;color:#1D5FA6}

/* Offer strip under the Shop-on-Amazon heading */
.pgam-offer{display:flex;flex-direction:column;align-items:center;gap:6px;max-width:620px;margin:22px auto 0;padding:16px 20px;
  border:1.5px dashed #1D5FA6;border-radius:14px;background:#F2F7FD}
.pgam-offer-tag{padding:3px 12px;border-radius:999px;background:#1D5FA6;color:#fff;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.pgam-offer-row{color:#0F1B2C;font-size:17px;line-height:1.4}
.pgam-offer-row strong{color:#1D5FA6;font-family:"Cormorant Garamond",Georgia,serif;font-size:24px;font-weight:600}
.pgam-offer-row i{margin:0 8px;font-style:normal;color:#7A8699}
.pgam-offer-how{color:#2F3A4A;font-size:13px;line-height:1.5}
.pgam-offer-how em{font-style:normal;font-weight:700;color:#1D5FA6}

/* Buy on Amazon buttons */
.pg-amz-btn,a.pg-amz-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;
  min-height:46px;padding:12px 22px;border:1px solid #1D5FA6;border-radius:8px;background:#1D5FA6;color:#fff!important;
  font-size:14px;font-weight:700;line-height:1.2;text-decoration:none!important;cursor:pointer}
.pg-amz-btn:hover{background:#0F3D73;border-color:#0F3D73}
.pg-amz-btn::after{content:"\2197";font-size:13px;opacity:.85}
.pg-amz-btn.pg-amz-btn-alt{background:#fff;color:#1D5FA6!important}
.pg-amz-btn.pg-amz-btn-alt:hover{background:#E6F0FA}
.pg-amz-buy-row{display:flex;flex-wrap:wrap;gap:10px}
.pg-amz-buy-row .pg-amz-btn{flex:1 1 180px}
.pg-amz-note{margin:10px 0 0;color:#4A5568;font-size:12.5px;line-height:1.55}
.pg-mobile-buy .pg-amz-btn{min-height:44px;padding:10px 18px;flex:0 0 auto;max-width:55%}

/* Shop-on-Amazon page (shown on Cart / Checkout) */
.pgam-page{padding:48px 0 64px}
.pgam-page .wrap{max-width:960px;margin:0 auto;padding:0 20px;box-sizing:border-box}
.pgam-hero{text-align:center}
.pgam-hero h1{margin:10px 0 12px;color:#0F1B2C;font-family:"Cormorant Garamond",Georgia,serif;font-size:44px;font-weight:500;line-height:1.1}
.pgam-lead{max-width:620px;margin:0 auto;color:#2F3A4A;font-size:15px;line-height:1.7}
.pgam-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:34px!important}
.pgam-card{display:flex;flex-direction:column;border:1px solid #DCE4EE;border-radius:14px;background:#fff;overflow:hidden}
.pgam-card-img{display:block;background:#F5F7FA}
.pgam-card-img img{display:block;width:100%;height:260px;object-fit:contain}
.pgam-card-body{display:flex;flex-direction:column;gap:8px;padding:18px 20px 20px}
.pgam-card-body h2{margin:0;color:#0F1B2C;font-family:"Cormorant Garamond",Georgia,serif;font-size:23px;font-weight:600;line-height:1.25}
.pgam-price{margin:0 0 6px;color:#0F1B2C;font-size:17px;font-weight:700}
.pgam-notes{margin-top:26px!important;text-align:center;color:#2F3A4A;font-size:14px;line-height:1.7}
.pgam-notes p{margin:0 0 12px}
.pgam-store,.pgam-back{color:#1D5FA6;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.pgam-help{max-width:620px;margin:8px auto 14px;padding:14px 16px;border:1px solid #DCE4EE;border-radius:10px;background:#F5F7FA;font-size:13px}
.pgam-help p{margin:0 0 6px}
.pgam-help p:last-child{margin:0}
.pgam-help a{color:#1D5FA6}
@media(max-width:600px){
  .pgam-page{padding:32px 0 48px}
  .pgam-hero h1{font-size:34px}
  .pgam-page .wrap{padding:0 16px}
  .pgam-grid{grid-template-columns:1fr;gap:16px}
  .pgam-card-img img{height:220px}
  .pg-amz-bar{font-size:12px;padding:8px 14px}
}
