/* =========================================================================
   Shop — WooCommerce in the Power Plus design.
   Navy, amber, green only. No new colours.
   ========================================================================= */

.pp-shop{padding:36px 0 64px}
.pp-shop-hero h1{margin-bottom:.35em}

/* ---- toolbar ---- */
.woocommerce .woocommerce-result-count{color:var(--muted);font-size:14px;margin:0 0 18px}
.woocommerce .woocommerce-ordering select{min-height:44px;border:1.5px solid var(--border);border-radius:9px;
  padding:0 12px;font-family:Inter,sans-serif;font-size:14px;background:#fff;color:var(--navy)}

/* ---- product grid ---- */
.woocommerce ul.products{display:grid!important;grid-template-columns:1fr 1fr;gap:14px;margin:0!important}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}
@media(min-width:760px){.woocommerce ul.products{grid-template-columns:repeat(3,1fr);gap:20px}}
.woocommerce ul.products li.product{width:auto!important;margin:0!important;float:none!important;
  background:#fff;border:1px solid var(--border);border-radius:14px;padding:12px 12px 16px;
  display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s}
.woocommerce ul.products li.product:hover{box-shadow:0 12px 30px rgba(0,11,37,.10);transform:translateY(-2px)}
.woocommerce ul.products li.product a img{aspect-ratio:1/1;object-fit:contain;background:var(--surface-50);
  border-radius:10px;padding:10px;margin:0 0 12px!important;width:100%}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-family:'Plus Jakarta Sans',Inter,sans-serif;font-weight:700;font-size:15.5px!important;
  line-height:1.3;color:var(--navy);padding:0!important;margin:0 0 8px}
.woocommerce ul.products li.product .price{color:var(--navy)!important;font-family:'Plus Jakarta Sans',Inter,sans-serif;
  font-weight:800;font-size:18px!important;margin:0 0 12px!important}
.woocommerce ul.products li.product .button{margin-top:auto!important}

/* ---- sale / featured badge ---- */
.woocommerce span.onsale{background:var(--ember)!important;color:var(--navy)!important;border-radius:6px!important;
  min-height:auto!important;min-width:auto!important;line-height:1!important;padding:7px 11px!important;
  font-weight:700;font-size:12px;top:18px!important;left:18px!important;right:auto!important}

/* ---- price on request ---- */
.pp-por{font-size:15px;font-weight:700;color:var(--muted)!important;font-family:Inter,sans-serif}

/* ---- buttons ---- */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,
.woocommerce #respond input#submit{background:var(--ember)!important;color:var(--navy)!important;
  border-radius:10px!important;font-family:Inter,sans-serif!important;font-weight:700!important;
  font-size:14.5px!important;min-height:46px;padding:0 18px!important;display:inline-flex!important;
  align-items:center;justify-content:center;border:0!important;text-align:center;line-height:1.2}
.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--ember-700)!important;color:#fff!important}
.woocommerce a.button.alt,.woocommerce button.button.alt{background:var(--navy)!important;color:#fff!important}
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{background:#141E36!important}
.woocommerce a.pp-wa-btn,.woocommerce .pp-wa-btn{background:var(--green)!important;color:#fff!important}
.woocommerce a.pp-wa-btn:hover{background:#06752E!important;color:#fff!important}
.pp-wa-big{width:100%;min-height:54px!important;font-size:16px!important;margin-top:10px}

/* ---- single product ---- */
.woocommerce div.product{display:grid;gap:28px}
@media(min-width:900px){.woocommerce div.product{grid-template-columns:1.05fr 1fr;gap:48px;align-items:start}}
.woocommerce div.product div.images,.woocommerce div.product div.summary{width:100%!important;float:none!important}
.woocommerce div.product div.images img{background:var(--surface-50);border-radius:14px;padding:14px}
.woocommerce div.product .product_title{font-family:'Plus Jakarta Sans',Inter,sans-serif;font-weight:800;
  font-size:clamp(26px,4vw,36px);line-height:1.12;letter-spacing:-.02em;margin:0 0 12px}
.woocommerce div.product p.price{font-family:'Plus Jakarta Sans',Inter,sans-serif;font-weight:800;
  font-size:30px!important;color:var(--navy)!important;margin:0 0 16px}
.woocommerce div.product .woocommerce-product-details__short-description{color:#4b5568;font-size:15.5px}
.woocommerce div.product form.cart{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 6px}
.woocommerce div.product form.cart .quantity input{min-height:50px;width:76px;border:1.5px solid var(--border);
  border-radius:10px;text-align:center;font-size:16px}
.woocommerce div.product form.cart .button{flex:1;min-height:52px}
.pp-wa-alt{display:inline-block;margin:6px 0 4px;font-weight:700;color:var(--green);text-decoration:none;font-size:15px}
.pp-por-note{font-size:14px;color:var(--muted);margin:6px 0 0}
.pp-trust{list-style:none;padding:0;margin:20px 0 0;display:flex;flex-wrap:wrap;gap:8px}
.pp-trust li{font-size:13px;font-weight:600;background:var(--surface-50);border:1px solid var(--border);
  border-radius:999px;padding:7px 13px}
.woocommerce div.product .product_meta{font-size:13px;color:var(--muted);margin-top:18px}

/* ---- tabs ---- */
.woocommerce div.product .woocommerce-tabs{grid-column:1/-1}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0!important;margin:0 0 18px!important;display:flex;gap:8px;
  border-bottom:1px solid var(--border)}
.woocommerce div.product .woocommerce-tabs ul.tabs::before{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li{border:0!important;background:none!important;margin:0!important;
  padding:0!important;border-radius:0!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:12px 14px!important;font-weight:600;color:var(--muted)!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--navy)!important;box-shadow:inset 0 -3px 0 var(--ember)}
.woocommerce table.shop_attributes{border:1px solid var(--border)!important;border-radius:10px;overflow:hidden}
.woocommerce table.shop_attributes th,.woocommerce table.shop_attributes td{padding:11px 14px!important;
  border-color:var(--border)!important;font-style:normal!important}
.woocommerce table.shop_attributes th{background:var(--surface-50);font-weight:600;width:38%}

/* ---- related ---- */
.woocommerce .related,.woocommerce .upsells{grid-column:1/-1;margin-top:20px}
.woocommerce .related > h2{font-family:'Plus Jakarta Sans',Inter,sans-serif;font-weight:800;font-size:24px;margin:0 0 16px}

/* ---- cart & checkout ---- */
.woocommerce table.shop_table{border-radius:12px!important;border-color:var(--border)!important;overflow:hidden}
.woocommerce table.shop_table th{background:var(--surface-50)}
.woocommerce .cart-collaterals .cart_totals{width:100%!important;float:none!important}
@media(min-width:900px){.woocommerce .cart-collaterals .cart_totals{width:48%!important;float:right!important}}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,
.woocommerce form .form-row select{min-height:48px;border:1.5px solid var(--border);border-radius:10px;
  padding:10px 13px;font-size:16px;font-family:Inter,sans-serif}
.woocommerce form .form-row input.input-text:focus{border-color:var(--ember);outline:none}
.woocommerce form .form-row label{font-size:13px;font-weight:600;color:#4b5568}
.pp-cart-wa{margin-top:12px}

/* ---- notices ---- */
.woocommerce-message,.woocommerce-info{border-top-color:var(--ember)!important;background:var(--surface-50)!important;
  border-radius:0 0 10px 10px}
.woocommerce-message::before,.woocommerce-info::before{color:var(--ember)!important}
.woocommerce-error{border-top-color:#C0392B!important}

/* ---- breadcrumb ---- */
.pp-bc{display:flex;gap:7px;flex-wrap:wrap;font-size:12.5px}
.pp-bc a{color:var(--muted);text-decoration:none}

/* ---- toolbar: search + category + brand, one panel ---- */
.pp-toolbar{background:var(--surface-50);border:1px solid var(--border);border-radius:14px;
  padding:14px;margin:0 0 22px}
.pp-toolbar .pp-search{margin:0 0 12px}
.pp-toolbar .pp-chips{margin:0}
.pp-toolbar .pp-chips + .pp-chips{margin-top:10px;padding-top:12px;border-top:1px solid var(--border)}
.pp-toolbar .pp-chips-sub{margin:0;padding-top:12px;border-top:1px solid var(--border)}

/* ---- category / brand chips ---- */
.pp-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px;align-items:center}
.pp-chips-sub{margin:-8px 0 20px;padding-top:14px;border-top:1px solid var(--border)}
.pp-chips-label{font-size:11.5px;font-weight:700;letter-spacing:.09em;color:var(--muted);
  text-transform:uppercase;min-width:64px}
.pp-chip{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 15px;border-radius:999px;
  border:1.5px solid var(--border);background:#fff;color:var(--navy);text-decoration:none;
  font-size:14px;font-weight:600;transition:border-color .15s,background .15s}
.pp-chip:hover{border-color:var(--ember);background:#FFFCF5}
.pp-chip.on{background:var(--navy);border-color:var(--navy);color:#fff}
.pp-chip span{font-size:12px;font-weight:700;color:var(--muted);background:var(--surface-50);
  border-radius:999px;padding:2px 7px;min-width:22px;text-align:center}
.pp-chip.on span{background:rgba(255,255,255,.16);color:#fff}
.pp-chip:hover span{background:#FFF1D6;color:var(--ember-700)}

/* ---- search ---- */
.pp-search{position:relative;display:flex;align-items:center;gap:8px;background:#fff;
  border:1.5px solid var(--border);border-radius:12px;padding:6px 6px 6px 14px;margin:0 0 16px}
.pp-search:focus-within{border-color:var(--ember);box-shadow:0 0 0 3px rgba(245,158,11,.14)}
.pp-search-ic{font-size:16px;line-height:1;opacity:.6}
.pp-search input[type=search]{flex:1;border:0;outline:none;min-height:44px;font-size:15px;
  font-family:Inter,sans-serif;background:transparent;color:var(--navy);min-width:0}
.pp-search button{border:0;background:var(--navy);color:#fff;border-radius:9px;min-height:44px;
  padding:0 18px;font-family:Inter,sans-serif;font-weight:700;font-size:14px;cursor:pointer;white-space:nowrap}
.pp-search button:hover{background:var(--ember);color:var(--navy)}
@media(max-width:560px){ .pp-search button{padding:0 13px;font-size:13px} }

.pp-sugg{position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:90;background:#fff;
  border:1px solid var(--border);border-radius:12px;box-shadow:0 18px 44px rgba(0,11,37,.16);
  padding:8px;max-height:420px;overflow:auto}
.pp-sugg-head{font-size:11px;font-weight:700;letter-spacing:.1em;color:var(--muted);
  padding:8px 10px 6px;text-transform:uppercase}
.pp-sugg-cat{display:flex;align-items:center;gap:8px;padding:9px 10px;border-radius:8px;
  text-decoration:none;color:var(--navy);font-weight:600;font-size:14px}
.pp-sugg-cat span{font-size:11.5px;font-weight:700;color:var(--muted);background:var(--surface-50);
  border-radius:999px;padding:2px 7px}
.pp-sugg-item{display:flex;align-items:center;gap:11px;padding:8px 10px;border-radius:8px;
  text-decoration:none;color:var(--navy)}
.pp-sugg-cat:hover,.pp-sugg-item:hover{background:var(--surface-50)}
.pp-sugg-item img,.pp-sugg-noimg{width:44px;height:44px;border-radius:7px;object-fit:contain;
  background:var(--surface-50);flex:0 0 auto}
.pp-sugg-txt b{display:block;font-size:14px;font-weight:600;line-height:1.3}
.pp-sugg-txt em{font-style:normal;font-size:12.5px;color:var(--muted)}
.pp-sugg-none{padding:16px 12px;font-size:14px;color:var(--muted);line-height:1.6}
.pp-sugg-none a{color:var(--green);font-weight:700;text-decoration:none}

/* =========================================================================
   Card alignment — prices and buttons on one line across the whole row,
   however long a product name happens to be.
   ========================================================================= */
.woocommerce ul.products li.product{display:flex;flex-direction:column;height:100%}

/* title: always the same height, longer names get an ellipsis */
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
  min-height:3.9em;margin:0 0 10px}

/* price block: pushed to the bottom, and the same height whether or not
   the product is on sale */
.woocommerce ul.products li.product .price{
  margin-top:auto!important;margin-bottom:12px!important;
  display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;
  min-height:1.5em;line-height:1.2}
.woocommerce ul.products li.product .price del{
  color:var(--muted)!important;font-size:.62em!important;font-weight:700;
  text-decoration:line-through;text-decoration-thickness:2px;opacity:1}
.woocommerce ul.products li.product .price ins{
  text-decoration:none!important;background:transparent;font-weight:800}
.woocommerce ul.products li.product .price .pp-por{font-size:.86em}

.woocommerce ul.products li.product .button{margin:0!important;width:100%}

/* the rule under the title sat wherever the title ended — pin it instead */
.woocommerce ul.products li.product .woocommerce-loop-product__title::after{content:none}

/* =========================================================================
   Shop hero — one column, compact. The two-column page hero used elsewhere
   leaves a hole on a phone, and the title should never sit off to the side.
   ========================================================================= */
.pp-shop-hero{padding:26px 0 30px}
.pp-shop-hero .wrap{display:block!important;grid-template-columns:none!important;max-width:820px}
.pp-shop-hero .eyebrow{margin:0 0 8px}
.pp-shop-hero h1{font-size:clamp(28px,7vw,44px);line-height:1.08;margin:0;text-align:left}
.pp-shop-sub{color:#c2cadb;font-size:15px;line-height:1.5;margin:10px 0 0;max-width:46ch}
@media(min-width:760px){
  .pp-shop-hero{padding:38px 0 42px}
  .pp-shop-sub{font-size:16px}
}

/* ---- toolbar on a phone: one scrollable row per filter, not a wall ---- */
@media(max-width:700px){
  .pp-toolbar{padding:12px}
  .pp-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;
    padding-bottom:2px;margin-right:-12px;padding-right:12px}
  .pp-chips::-webkit-scrollbar{display:none}
  .pp-chips-label{position:sticky;left:0;background:var(--surface-50);z-index:2;
    padding-right:8px;min-width:auto;flex:0 0 auto}
  .pp-chip{flex:0 0 auto;min-height:38px;padding:0 13px;font-size:13.5px}
  .pp-search input[type=search]{font-size:16px}   /* stops iOS zooming on focus */
}

/* =========================================================================
   FILTER SIDEBAR
   Desktop: a column on the left. Phone: the same panel slides in from a
   "Filters" button, so there is only one set of markup to maintain.
   ========================================================================= */
.pp-shop-layout{display:block}
.pp-shop-main{min-width:0}

.pp-filters{background:#fff;border:1px solid var(--border);border-radius:14px;padding:18px}
.pp-filters-top{display:none;align-items:center;margin:0 0 14px}
.pp-filters-top b{font-family:'Plus Jakarta Sans',Inter,sans-serif;font-weight:800;font-size:17px}
.pp-filters-close{margin-left:auto;border:0;background:none;font-size:28px;line-height:1;
  color:var(--muted);cursor:pointer;width:44px;height:44px}

.pp-clear{display:inline-block;font-size:13px;font-weight:600;color:var(--ember-700);
  text-decoration:underline;text-underline-offset:2px;margin:0 0 14px}
.pp-fgroup + .pp-fgroup{margin-top:20px;padding-top:18px;border-top:1px solid var(--border)}
.pp-fgroup h3{font-family:Inter,sans-serif;font-size:11.5px;font-weight:700;letter-spacing:.1em;
  text-transform:uppercase;color:var(--muted);margin:0 0 10px}
.pp-fgroup ul{list-style:none;margin:0;padding:0}
.pp-fgroup li{margin:0}
.pp-fgroup a{display:flex;align-items:center;gap:8px;padding:9px 10px;border-radius:8px;
  text-decoration:none;color:var(--navy);font-size:14.5px;font-weight:500;line-height:1.3}
.pp-fgroup a:hover{background:var(--surface-50)}
.pp-fgroup a.on{background:var(--navy);color:#fff;font-weight:700}
.pp-fgroup a span{margin-left:auto;font-size:12px;font-weight:700;color:var(--muted);
  background:var(--surface-50);border-radius:999px;padding:2px 8px;min-width:24px;text-align:center}
.pp-fgroup a.on span{background:rgba(255,255,255,.18);color:#fff}

.pp-fhelp{margin-top:22px;padding-top:18px;border-top:1px solid var(--border)}
.pp-fhelp b{display:block;font-size:14px;margin-bottom:4px}
.pp-fhelp p{font-size:13px;color:var(--muted);line-height:1.5;margin:0 0 12px}
.pp-fwa{display:block;text-align:center;background:var(--green);color:#fff;text-decoration:none;
  font-weight:700;font-size:14px;padding:12px;border-radius:9px}

/* the button only a phone sees */
.pp-filter-btn{display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:0 18px;
  border-radius:10px;border:1.5px solid var(--navy);background:var(--navy);color:#fff;
  font-family:Inter,sans-serif;font-weight:700;font-size:14.5px;cursor:pointer;margin:0 0 16px}
.pp-filter-btn span{background:var(--ember);color:var(--navy);border-radius:999px;
  padding:1px 8px;font-size:12px}

/* above the sticky header (800) and the floating WhatsApp button (860),
   below the main nav panel (900) */
.pp-filters-veil{position:fixed;inset:0;background:rgba(0,11,37,.55);z-index:870}

@media(min-width:900px){
  .pp-shop-layout{display:grid;grid-template-columns:250px 1fr;gap:30px;align-items:start}
  .pp-filters{position:sticky;top:96px}
  .pp-filter-btn{display:none}
  .pp-filters-veil{display:none!important}
}
@media(max-width:899px){
  .pp-filters{position:fixed;top:0;bottom:0;left:0;width:85%;max-width:340px;z-index:880;
    border-radius:0;border:0;overflow-y:auto;padding:18px;
    transform:translateX(-100%);transition:transform .22s ease;
    box-shadow:0 0 44px rgba(0,11,37,.28)}
  .pp-filters.open{transform:translateX(0)}
  .pp-filters-top{display:flex}
}

/* ---- while a filter is loading: dim, don't collapse ---- */
.pp-shop-main{transition:opacity .15s}
.pp-shop-main.pp-busy{opacity:.45;pointer-events:none}
.pp-shop-main.pp-busy::after{content:"";position:absolute;left:50%;top:120px;margin-left:-16px;
  width:32px;height:32px;border-radius:50%;border:3px solid var(--border);
  border-top-color:var(--ember);animation:ppspin .7s linear infinite}
.pp-shop-main{position:relative}
@keyframes ppspin{to{transform:rotate(360deg)}}

/* images below the fold only load when they are reached */
.woocommerce ul.products li.product img{background:var(--surface-50)}

/* ---- when a brand had nothing in the chosen category ---- */
.pp-nofilter{background:#FFF9EC;border:1px solid #F5D9A0;border-left:4px solid var(--ember);
  border-radius:0 10px 10px 0;padding:12px 16px;margin:0 0 18px;font-size:14px;line-height:1.55;color:#5b4a22}
.pp-nofilter b{color:var(--navy)}
.pp-nofilter a{color:var(--green);font-weight:700;text-decoration:none;white-space:nowrap}


/* ---- filter drawer open: nothing floats over it ---- */
body.pp-filters-open header{z-index:1}
body.pp-filters-open .fab{display:none}
.pp-filters{padding-top:calc(18px + env(safe-area-inset-top,0px))}

/* =========================================================================
   CART & CHECKOUT — the thumbnails were collapsing to a line, because the
   grid rules above set every product image to fill its box. Cart tables are
   not a grid, so they need their own size.
   ========================================================================= */
.woocommerce table.cart img,
.woocommerce table.shop_table img,
.woocommerce-cart table.cart img,
.woocommerce .cart_item img{width:72px!important;height:72px!important;max-width:72px!important;
  aspect-ratio:1/1;object-fit:contain!important;background:var(--surface-50);border-radius:8px;
  padding:5px;display:block}
.woocommerce table.cart td.product-thumbnail{width:88px}
@media(max-width:600px){
  .woocommerce table.cart img,.woocommerce .cart_item img{width:56px!important;height:56px!important;max-width:56px!important}
}
/* mini cart and order review too */
.woocommerce ul.cart_list img,.woocommerce ul.product_list_widget img,
.woocommerce-checkout-review-order img{width:56px!important;height:56px!important;max-width:56px!important;
  object-fit:contain!important;background:var(--surface-50);border-radius:6px;padding:4px}
