/* Premium package — site skin for all non-landing pages (WooCommerce shop / category / product / cart / pages) */
body.pp-site{background:var(--pp-bg)!important;color:var(--pp-ink);font-family:"Sarabun","Prompt",-apple-system,"Segoe UI",sans-serif;font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased}
body.pp-site #site-header,body.pp-site #site-footer,body.pp-site .search-modal,body.pp-site .menu-modal,body.pp-site .skip-link,body.pp-site .footer-nav-widgets-wrapper,body.pp-site .to-the-top{display:none!important}
body.pp-site h1,body.pp-site h2,body.pp-site h3,body.pp-site h4,body.pp-site .faux-heading{font-family:"Prompt","Sarabun",sans-serif;font-weight:600;letter-spacing:-.01em;color:var(--pp-ink)}
body.pp-site a{color:var(--pp-copper);text-decoration:none}
body.pp-site a:hover{color:var(--pp-copper-dark)}
body.pp-site .section-inner{max-width:1180px;padding-left:clamp(16px,4vw,32px);padding-right:clamp(16px,4vw,32px);width:auto}
body.pp-site #site-content{padding-top:0}
body.pp-site .entry-header{padding:36px 0 8px;background:transparent;text-align:left}
body.pp-site .entry-header .entry-title,body.pp-site .woocommerce-products-header__title{font-size:clamp(1.6rem,3vw,2.2rem);margin:0}
body.pp-site .entry-header-inner{max-width:1180px}
body.pp-site .post-inner{padding-top:0}
body.pp-site .entry-content{max-width:none}
body.pp-site .entry-content > *{max-width:none}
body.pp-site .woocommerce-breadcrumb{font-size:.82rem;color:var(--pp-muted);margin:18px 0 6px;font-family:"Prompt",sans-serif}
body.pp-site .woocommerce-breadcrumb a{color:var(--pp-muted)}

/* buttons (WC) */
body.pp-site .woocommerce .button,body.pp-site .woocommerce button.button,body.pp-site .woocommerce a.button,body.pp-site .woocommerce input.button,body.pp-site .wc-block-components-button{background:var(--pp-ink)!important;color:#fff!important;border-radius:999px!important;font-family:"Prompt",sans-serif!important;font-weight:500!important;padding:12px 22px!important;border:0!important;line-height:1.3!important;font-size:.95rem!important;transition:background .2s;cursor:pointer}
body.pp-site .woocommerce .button:hover,body.pp-site .woocommerce button.button:hover,body.pp-site .woocommerce a.button:hover{background:var(--pp-copper)!important}
body.pp-site .woocommerce .button.alt,body.pp-site .woocommerce button.button.alt{background:var(--pp-copper)!important}
body.pp-site .woocommerce .button.alt:hover{background:var(--pp-copper-dark)!important}
body.pp-site .woocommerce .button.disabled,body.pp-site .woocommerce .button:disabled{opacity:.45}

/* product grid (shop / category / related / upsell) */
body.pp-site .woocommerce ul.products,body.pp-site ul.products{display:grid!important;grid-template-columns:repeat(4,1fr);gap:22px;margin:0 0 30px;padding:0;list-style:none}
body.pp-site ul.products::before,body.pp-site ul.products::after,body.pp-site .woocommerce::before,body.pp-site .woocommerce::after{display:none!important;content:none!important}
body.pp-site ul.products li.product{width:auto!important;margin:0!important;float:none!important;background:#fff;border:1px solid var(--pp-line);border-radius:var(--pp-radius);overflow:hidden;padding:0!important;text-align:left!important;display:flex;flex-direction:column;position:relative;transition:transform .25s,box-shadow .25s}
body.pp-site ul.products li.product:hover{transform:translateY(-4px);box-shadow:var(--pp-shadow)}
body.pp-site ul.products li.product a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;flex:1;color:var(--pp-ink)!important}
body.pp-site ul.products li.product img{width:100%;aspect-ratio:1/1;object-fit:cover;margin:0!important;border-radius:0!important;display:block}
body.pp-site ul.products li.product .woocommerce-loop-product__title,body.pp-site ul.products li.product h2{font-family:"Prompt",sans-serif;font-size:.95rem!important;font-weight:500;padding:14px 16px 4px!important;margin:0!important;line-height:1.4;color:var(--pp-ink)}
body.pp-site ul.products li.product .price{padding:0 16px 12px;font-family:"Prompt",sans-serif;font-weight:600;color:var(--pp-copper)!important;font-size:.95rem;margin:0}
body.pp-site ul.products li.product .button{margin:auto 16px 16px!important;padding:9px 16px!important;font-size:.85rem!important;text-align:center}
body.pp-site ul.products li.product .onsale{position:absolute;top:12px;left:12px;background:var(--pp-copper);color:#fff;border-radius:999px;padding:4px 12px;font-family:"Prompt",sans-serif;font-size:.8rem;min-height:0;line-height:1.4;margin:0}
body.pp-site .woocommerce-result-count{color:var(--pp-muted);font-size:.9rem;font-family:"Prompt",sans-serif;margin:8px 0 18px}
body.pp-site .woocommerce-ordering select{border:1px solid var(--pp-line);border-radius:999px;padding:8px 36px 8px 14px;background:#fff;font-family:"Prompt",sans-serif;font-size:.9rem}
body.pp-site .woocommerce-pagination ul.page-numbers{border:0;display:flex;gap:6px;justify-content:center;margin:10px 0 40px}
body.pp-site .woocommerce-pagination ul.page-numbers li{border:0}
body.pp-site .woocommerce-pagination .page-numbers{border-radius:999px!important;padding:8px 14px!important;background:#fff;border:1px solid var(--pp-line)!important;color:var(--pp-ink);font-family:"Prompt",sans-serif;line-height:1.2}
body.pp-site .woocommerce-pagination .page-numbers.current{background:var(--pp-ink)!important;color:#fff;border-color:var(--pp-ink)!important}

/* single product */
body.pp-site.single-product div.product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:start;margin:8px 0 40px}
body.pp-site.single-product div.product > *{grid-column:1 / -1}
body.pp-site.single-product div.product .woocommerce-product-gallery{grid-column:1;float:none!important;width:100%!important;margin:0;background:#fff;border:1px solid var(--pp-line);border-radius:24px;padding:14px;box-shadow:var(--pp-shadow)}
body.pp-site.single-product div.product .woocommerce-product-gallery__image img{border-radius:16px}
body.pp-site.single-product div.product .flex-control-thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:10px 0 0;padding:0}
body.pp-site.single-product div.product .flex-control-thumbs li{width:auto!important;float:none!important;margin:0!important}
body.pp-site.single-product div.product .flex-control-thumbs img{border-radius:10px;border:2px solid transparent;opacity:.75;transition:all .2s;aspect-ratio:1/1;object-fit:cover}
body.pp-site.single-product div.product .flex-control-thumbs img.flex-active,body.pp-site.single-product div.product .flex-control-thumbs img:hover{opacity:1;border-color:var(--pp-copper)}
body.pp-site.single-product div.product .woocommerce-product-gallery__trigger{background:#fff;border-radius:999px;box-shadow:var(--pp-shadow)}
body.pp-site.single-product div.product .summary{grid-column:2;float:none!important;width:100%!important;margin:0}
body.pp-site.single-product div.product .product_title{font-size:clamp(1.45rem,2.6vw,2rem);line-height:1.3;margin:0 0 10px}
body.pp-site.single-product div.product .summary .price{font-family:"Prompt",sans-serif;font-size:1.5rem;font-weight:600;color:var(--pp-copper)!important;margin:0 0 14px}
body.pp-site.single-product div.product .summary .price del{opacity:.5;font-weight:400}
body.pp-site.single-product div.product .woocommerce-product-details__short-description{color:var(--pp-muted);font-size:.98rem;border-left:3px solid var(--pp-gold);padding-left:14px;margin:0 0 20px}
body.pp-site.single-product div.product .woocommerce-product-rating{margin-bottom:10px}
body.pp-site.single-product div.product table.variations{margin:0 0 14px;border:0}
body.pp-site.single-product div.product table.variations th,body.pp-site.single-product div.product table.variations td{border:0;padding:6px 0;vertical-align:middle}
body.pp-site.single-product div.product table.variations th.label{font-family:"Prompt",sans-serif;font-weight:500;color:var(--pp-muted);font-size:.9rem;width:120px}
body.pp-site.single-product div.product table.variations select{width:100%;max-width:100%;border:1.5px solid var(--pp-line);border-radius:14px;padding:11px 40px 11px 14px;font-family:"Prompt",sans-serif;font-size:.95rem;background:#fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236f665d' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>") no-repeat right 14px center;-webkit-appearance:none;appearance:none}
body.pp-site.single-product div.product table.variations select:focus{border-color:var(--pp-copper);outline:0}
body.pp-site.single-product div.product .reset_variations{font-size:.8rem;color:var(--pp-muted)}
body.pp-site.single-product div.product .woocommerce-variation{background:#fff;border:1px solid var(--pp-line);border-radius:16px;padding:14px 16px;margin:0 0 14px}
body.pp-site.single-product div.product .woocommerce-variation-price .price{font-size:1.35rem;margin:0}
body.pp-site.single-product div.product .woocommerce-variation-description{color:var(--pp-muted);font-size:.9rem}
body.pp-site.single-product div.product .woocommerce-variation-availability{font-size:.85rem}
body.pp-site.single-product div.product form.cart{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0 0 18px}
body.pp-site.single-product div.product form.cart table.variations,body.pp-site.single-product div.product form.cart .single_variation_wrap{flex-basis:100%}
body.pp-site.single-product div.product form.cart .woocommerce-variation-add-to-cart{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
body.pp-site.single-product div.product form.cart .quantity{margin:0}
body.pp-site.single-product div.product form.cart .quantity .qty{width:84px;border:1.5px solid var(--pp-line);border-radius:14px;padding:11px 8px;font-family:"Prompt",sans-serif;font-size:1rem;text-align:center;background:#fff}
body.pp-site.single-product div.product form.cart .single_add_to_cart_button{padding:13px 28px!important;font-size:1rem!important}
body.pp-site.single-product div.product .product_meta{font-size:.85rem;color:var(--pp-muted);border-top:1px solid var(--pp-line);padding-top:14px;margin-top:6px;font-family:"Prompt",sans-serif}
body.pp-site.single-product div.product .product_meta > span{display:block;margin-bottom:4px}
body.pp-site.single-product div.product .product_meta a{color:var(--pp-copper)}

/* LINE CTA + badges (ใส่โดย plugin) */
.pp-line-cta{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;background:#fff;border:1px solid var(--pp-line);border-radius:18px;padding:16px 18px;margin:18px 0 12px;box-shadow:var(--pp-shadow)}
.pp-line-cta-text{display:flex;flex-direction:column;gap:2px;font-size:.88rem;color:var(--pp-muted)}
.pp-line-cta-text strong{font-family:"Prompt",sans-serif;font-weight:600;color:var(--pp-ink);font-size:1rem}
.pp-line-cta-btns{display:flex;gap:8px;flex-wrap:wrap}
.pp-line-cta .pp-btn{padding:10px 16px;font-size:.9rem}
.pp-badges{list-style:none;margin:0 0 18px;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.pp-badges li{display:flex;flex-direction:column;gap:2px;background:var(--pp-bg);border:1px solid var(--pp-line);border-radius:14px;padding:10px 12px;font-size:.78rem;color:var(--pp-muted);position:relative;padding-left:30px}
.pp-badges li::before{content:"";position:absolute;left:11px;top:13px;width:11px;height:11px;border-radius:50%;background:linear-gradient(135deg,var(--pp-copper),var(--pp-gold))}
.pp-badges strong{font-family:"Prompt",sans-serif;font-weight:600;color:var(--pp-ink);font-size:.85rem}

/* tabs → cards */
body.pp-site.single-product .woocommerce-tabs{grid-column:1 / -1;margin:8px 0 30px}
body.pp-site.single-product .woocommerce-tabs ul.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 -1px;padding:0;overflow:visible}
body.pp-site.single-product .woocommerce-tabs ul.tabs::before,body.pp-site.single-product .woocommerce-tabs ul.tabs::after{display:none}
body.pp-site.single-product .woocommerce-tabs ul.tabs li{background:#fff;border:1px solid var(--pp-line);border-radius:999px;margin:0;padding:0;box-shadow:none}
body.pp-site.single-product .woocommerce-tabs ul.tabs li::before,body.pp-site.single-product .woocommerce-tabs ul.tabs li::after{display:none}
body.pp-site.single-product .woocommerce-tabs ul.tabs li a{padding:9px 18px;font-family:"Prompt",sans-serif;font-weight:500;font-size:.92rem;color:var(--pp-muted)}
body.pp-site.single-product .woocommerce-tabs ul.tabs li.active{background:var(--pp-ink);border-color:var(--pp-ink)}
body.pp-site.single-product .woocommerce-tabs ul.tabs li.active a{color:#fff}
body.pp-site.single-product .woocommerce-tabs .panel{background:#fff;border:1px solid var(--pp-line);border-radius:20px;padding:26px 28px;margin:14px 0 0;box-shadow:var(--pp-shadow)}
body.pp-site.single-product .woocommerce-tabs .panel h2{font-size:1.2rem;margin:0 0 12px}
body.pp-site.single-product .woocommerce-tabs .panel h3{font-size:1.05rem;margin:22px 0 8px;color:var(--pp-copper)}
body.pp-site.single-product .woocommerce-tabs .panel p{color:#3d3733}
body.pp-site .pp-spec,body.pp-site table.shop_attributes{width:100%;border-collapse:collapse;font-size:.9rem;margin:8px 0 12px;border:0}
body.pp-site .pp-spec th,body.pp-site table.shop_attributes th{background:var(--pp-bg);font-family:"Prompt",sans-serif;font-weight:500;text-align:left;padding:10px 12px;border-bottom:1px solid var(--pp-line);width:auto}
body.pp-site .pp-spec td,body.pp-site table.shop_attributes td{padding:9px 12px;border-bottom:1px solid var(--pp-line);vertical-align:top;font-style:normal}
body.pp-site .pp-spec tr:hover td{background:#fbf8f4}
body.pp-site .pp-spec td:first-child{font-family:"Prompt",sans-serif;font-weight:500;white-space:nowrap}

/* related / upsells */
body.pp-site.single-product .related.products,body.pp-site.single-product .up-sells{grid-column:1 / -1;margin:10px 0 30px}
body.pp-site.single-product .related.products > h2,body.pp-site.single-product .up-sells > h2{font-size:1.4rem;margin:0 0 18px;position:relative;padding-left:14px}
body.pp-site.single-product .related.products > h2::before,body.pp-site.single-product .up-sells > h2::before{content:"";position:absolute;left:0;top:6px;bottom:6px;width:4px;border-radius:4px;background:linear-gradient(var(--pp-copper),var(--pp-gold))}

/* notices, cart, forms */
body.pp-site .woocommerce-message,body.pp-site .woocommerce-info,body.pp-site .woocommerce-error{border-radius:14px;border-top-color:var(--pp-copper);background:#fff;font-family:"Prompt",sans-serif}
body.pp-site .woocommerce-message::before,body.pp-site .woocommerce-info::before{color:var(--pp-copper)}
body.pp-site .woocommerce form .form-row input.input-text,body.pp-site .woocommerce form .form-row textarea,body.pp-site .woocommerce form .form-row select{border:1.5px solid var(--pp-line);border-radius:12px;padding:10px 12px;background:#fff;font-family:"Sarabun",sans-serif}
body.pp-site .woocommerce table.shop_table{border-radius:16px;border:1px solid var(--pp-line);background:#fff;overflow:hidden}
body.pp-site .woocommerce table.shop_table th{font-family:"Prompt",sans-serif;font-weight:500;background:var(--pp-bg)}

/* blog / pages */
body.pp-site .entry-content{font-size:1rem}
body.pp-site .post-meta-wrapper{max-width:1180px}

@media (max-width:1024px){
  body.pp-site ul.products{grid-template-columns:repeat(3,1fr)!important}
}
@media (max-width:820px){
  body.pp-site.single-product div.product{grid-template-columns:1fr}
  body.pp-site.single-product div.product .woocommerce-product-gallery,body.pp-site.single-product div.product .summary{grid-column:1}
  .pp-badges{grid-template-columns:1fr}
  .pp-badges li{flex-direction:row;gap:8px;align-items:baseline}
}
@media (max-width:560px){
  body.pp-site ul.products{grid-template-columns:repeat(2,1fr)!important;gap:12px}
  body.pp-site ul.products li.product .woocommerce-loop-product__title{font-size:.85rem!important;padding:10px 12px 2px!important}
  body.pp-site ul.products li.product .price{padding:0 12px 10px;font-size:.88rem}
  body.pp-site ul.products li.product .button{margin:auto 12px 12px!important}
  body.pp-site.single-product .woocommerce-tabs .panel{padding:18px 16px}
  body.pp-site .woocommerce-ordering,body.pp-site .woocommerce-result-count{float:none;margin:6px 0}
  .pp-line-cta{flex-direction:column;align-items:stretch}
  .pp-line-cta .pp-btn{flex:1;justify-content:center}
}
