/* Every rule is scoped to the Deals page body class. No fonts or JS. */
body.ptb-deals-design { --ptb-deals-green:#18453b; --ptb-deals-cream:#faf7ee; }
body.ptb-deals-design .page-header.titleimg,
body.ptb-deals-design .breadcrumbs { display:none; }
body.ptb-deals-design #primary { width:100%; float:none; }
body.ptb-deals-design #main { padding-top:24px; }
body.ptb-deals-design .ptb-deals-intro { text-align:center; margin:0 0 28px; }
body.ptb-deals-design .ptb-deals-intro h1 { color:var(--ptb-deals-green); font-size:clamp(28px,3.4vw,42px); line-height:1.15; margin:0 0 10px; letter-spacing:-.7px; }
body.ptb-deals-design .ptb-deals-intro p { margin:0; color:#454545; font-size:16px; line-height:1.5; }
body.ptb-deals-design .ptb-deals-feature { display:grid; grid-template-columns:1.15fr 1fr; gap:30px; padding:20px; border-radius:8px; background:var(--ptb-deals-cream); align-items:center; }
body.ptb-deals-design .ptb-deals-feature__image { display:block; align-self:stretch; min-width:0; }
body.ptb-deals-design .ptb-deals-feature__image img { width:100%; height:100%; min-height:280px; object-fit:contain; border-radius:5px; display:block; }
body.ptb-deals-design .ptb-deals-feature__content { padding:8px 12px 8px 0; min-width:0; }
body.ptb-deals-design .ptb-deals-eyebrow { color:#795c0d; text-transform:uppercase; font-size:12px; font-weight:700; letter-spacing:1.4px; margin:0 0 12px; }
body.ptb-deals-design .ptb-deals-feature h2 { color:var(--ptb-deals-green); font-size:clamp(23px,2.4vw,32px); line-height:1.2; margin:0 0 18px; }
body.ptb-deals-design .ptb-deals-includes { margin:0 0 20px; padding-left:20px; color:#303833; line-height:1.6; }
body.ptb-deals-design .ptb-deals-feature__price { color:var(--ptb-deals-green); font-size:30px; font-weight:700; line-height:1.3; margin-bottom:12px; }
body.ptb-deals-design .ptb-deals-feature__price del { font-size:18px; opacity:.7; margin-right:.4em; }
body.ptb-deals-design .ptb-deals-feature__price ins { background:none; text-decoration:none; }
body.ptb-deals-design .ptb-deals-offer-note { color:#584617; font-weight:600; margin:0 0 10px; }
body.ptb-deals-design .ptb-deals-expiry { font-size:14px; margin:0 0 14px; }
body.ptb-deals-design .ptb-deals-button { display:block; background:var(--ptb-deals-green); color:#fff; border:1px solid var(--ptb-deals-green); border-radius:5px; padding:14px 18px; text-align:center; text-decoration:none; font-weight:700; line-height:1.4; }
body.ptb-deals-design .ptb-deals-button:hover { background:#10362e; color:#fff; }
body.ptb-deals-design .ptb-deals-delivery { text-align:center; margin:18px 0 28px; font-size:14px; }
body.ptb-deals-design .ptb-deals-delivery a { color:var(--ptb-deals-green); text-decoration:underline; text-underline-offset:3px; }
body.ptb-deals-design .ptb-deals-grid-heading { font-size:28px; color:var(--ptb-deals-green); text-align:center; margin:0 0 24px; }
body.ptb-deals-design .tagsect .wc-block-grid__products { display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin:0 !important; padding:0; }
body.ptb-deals-design .tagsect .wc-block-grid__product { display:flex; flex-direction:column; position:relative; min-width:0; width:auto !important; max-width:none !important; flex-basis:auto !important; margin:0 !important; padding:0 0 16px !important; border:1px solid #dce3df; border-radius:6px; background:#fff; text-align:left; }
body.ptb-deals-design .tagsect .wc-block-grid__product-link { color:var(--ptb-deals-green); text-decoration:none; }
body.ptb-deals-design .tagsect .wc-block-grid__product-image { position:relative; margin:0 0 14px; }
body.ptb-deals-design .tagsect .wc-block-grid__product-image img { display:block; width:100%; height:auto; aspect-ratio:1/1; object-fit:contain; border-radius:5px 5px 0 0; }
body.ptb-deals-design .tagsect .wc-block-grid__product-title { padding:0 14px; margin:0 0 10px; font-size:16px; font-weight:700; line-height:1.4; }
body.ptb-deals-design .tagsect .wc-block-grid__product-price,
body.ptb-deals-design .tagsect .wc-block-grid__product-rating { margin:0 14px 12px; }
body.ptb-deals-design .tagsect .wc-block-grid__product-price { color:var(--ptb-deals-green); font-size:17px; }
body.ptb-deals-design .tagsect .wc-block-grid__product-price ins { background:none; text-decoration:none; font-weight:700; }
body.ptb-deals-design .tagsect .wc-block-grid__product-price del { opacity:.7; }
body.ptb-deals-design .tagsect .wc-block-grid__product-add-to-cart { margin: auto 14px 0; padding-top:8px; }
body.ptb-deals-design .tagsect .wc-block-grid__product-add-to-cart a { display:flex; justify-content:center; align-items:center; min-height:44px; width:100%; box-sizing:border-box; border:1px solid var(--ptb-deals-green); border-radius:4px; background:var(--ptb-deals-green); color:#fff; padding:10px 8px; text-align:center; text-decoration:none; font-size:14px; font-weight:600; line-height:1.3; white-space:normal; }
body.ptb-deals-design .tagsect .wc-block-grid__product-add-to-cart a:hover { background:#10362e; color:#fff; }
body.ptb-deals-design .tagsect .tinv-wraper { position:absolute; top:8px; left:8px; z-index:10; }
/* Existing label-plugin badges are preserved; this plugin does not create badges. */
body.ptb-deals-design #main a:focus-visible { outline:3px solid #a37b12; outline-offset:3px; }
@media(max-width:767px) {
    body.ptb-deals-design #main { padding-top:18px; }
    body.ptb-deals-design .ptb-deals-intro { margin-bottom:20px; }
    body.ptb-deals-design .ptb-deals-feature { grid-template-columns:minmax(0,1fr); padding:12px; gap:18px; }
    body.ptb-deals-design .ptb-deals-feature__image img { min-height:0; max-height:320px; height:auto; }
    body.ptb-deals-design .ptb-deals-feature__content { padding:0 6px 6px; }
    body.ptb-deals-design .ptb-deals-feature h2 { font-size:25px; }
    body.ptb-deals-design .tagsect .wc-block-grid__products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; align-items:stretch !important; }
    /* Keep mobile cards stretched and pin each shopping button to the bottom,
       including cards where WooCommerce omits the review-rating element. */
    body.ptb-deals-design .tagsect .wc-block-grid__product { display:flex !important; flex-direction:column !important; align-self:stretch !important; height:100% !important; box-sizing:border-box; }
    body.ptb-deals-design .tagsect .wc-block-grid__product > .wc-block-grid__product-link,
    body.ptb-deals-design .tagsect .wc-block-grid__product > .wc-block-grid__product-price,
    body.ptb-deals-design .tagsect .wc-block-grid__product > .wc-block-grid__product-rating { flex-shrink:0; }
    body.ptb-deals-design .tagsect .wc-block-grid__product-title { font-size:14px; padding:0 10px; }
    body.ptb-deals-design .tagsect .wc-block-grid__product-price,
    body.ptb-deals-design .tagsect .wc-block-grid__product-rating { margin-left:10px; margin-right:10px; }
    body.ptb-deals-design .tagsect .wc-block-grid__product > .wc-block-grid__product-add-to-cart { margin: auto 10px 0 !important; flex:0 0 auto; }
    body.ptb-deals-design .tagsect .wc-block-grid__product-price { font-size:15px; }
}
@media(max-width:359px) { body.ptb-deals-design .tagsect .wc-block-grid__products { grid-template-columns:minmax(0,1fr); } }
