/* Shared visual language from ap-home.css. Does not alter content or product data. */
body.single-product #main .ap-review-empty{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(220px,1fr);gap:24px;margin:0 0 22px;padding:22px;background:#fafbfc;border:1px solid #e8eaed;border-radius:12px;color:#20262f}
body.single-product #main .ap-review-empty .ap-review-label{font-size:11px;font-weight:700;letter-spacing:1px;color:#a30e18}
body.single-product #main .ap-review-empty h3{font-size:20px;line-height:1.4;margin:8px 0 12px;color:#20262f}
body.single-product #main .ap-review-empty p,body.single-product #main .ap-review-empty li{font-size:14px;line-height:1.75}
body.single-product #main .ap-review-empty ul{margin:10px 0 14px;padding-left:18px}
body.single-product #main .ap-review-empty li{margin:0 0 5px}
body.single-product #main .ap-review-empty .ap-review-note{color:#616b76;font-size:13px;margin-bottom:0}
body.single-product #main .ap-review-empty aside{align-self:start;background:#fff3f1;border:1px solid #f0dedb;border-radius:10px;padding:18px}
body.single-product #main .ap-review-empty aside strong{font-size:16px}
body.single-product #main .ap-review-empty aside p{color:#616b76;margin:8px 0 12px}
body.single-product #main .ap-review-empty aside a{display:block;font-size:15px;font-weight:700;color:#b3131b;margin-top:10px}
body.single-product #main .ap-review-empty + #reviews .woocommerce-noreviews{display:none}
body.single-product #main .ap-review-empty + #reviews .woocommerce-verification-required{padding:12px 16px!important;margin-bottom:0;min-height:0;border:1px solid #e8eaed!important;border-radius:8px;background:#fafbfc;font-size:13px;line-height:1.7}
@media(max-width:700px){body.single-product #main .ap-review-empty{grid-template-columns:minmax(0,1fr);padding:16px;gap:16px}}

:root{--ap-site-red:#c90812;--ap-site-ink:#20262f;--ap-site-muted:#616b76;--ap-site-line:#e8eaed;--ap-site-bg:#f6f7f9}
body:not(.home){background:var(--ap-site-bg);color:var(--ap-site-ink)}
body .header-bottom{background:var(--ap-site-red)!important}
body .header-search input{font-size:15px!important;border-radius:7px 0 0 7px}
body .header-search button{background:var(--ap-site-red)!important}
body:not(.home) #main{background:var(--ap-site-bg)}
body:not(.home) .shop-container,body:not(.home) .page-wrapper{padding-top:24px;padding-bottom:36px}
body:not(.home) .woocommerce-breadcrumb,body:not(.home) .breadcrumbs{font-size:13px;line-height:1.7;color:var(--ap-site-muted)}
body:not(.home) .woocommerce-breadcrumb a,body:not(.home) .breadcrumbs a{color:var(--ap-site-red)}
/* One full-tile control for each option; the native input remains keyboard-accessible. */
body #main .ap-filter{border:1px solid var(--ap-site-line);border-top:3px solid var(--ap-site-red);border-radius:12px;box-shadow:0 3px 16px #20262f08}
body #main .ap-options label{position:relative;border-radius:8px;min-height:42px;border:1px solid var(--ap-site-line);cursor:pointer;transition:border-color .15s,background-color .15s}
body #main .ap-options label:hover{border-color:#d19196;background:#fff7f7}
body #main .ap-options label input[type="checkbox"]{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
body #main .ap-options label:has(input:checked){background:#fff0f1;border-color:var(--ap-site-red);box-shadow:inset 0 0 0 1px var(--ap-site-red);color:#a40610}
body #main .ap-options label:has(input:focus-visible){outline:3px solid #246bb5;outline-offset:3px}
body #main .ap-filter-brand label{min-height:80px;background:#fff}
body #main .ap-filter-brand .ap-options{padding:4px;overflow:visible}
body #main .ap-filter-actions select{border:1px solid var(--ap-site-line);border-radius:8px;min-height:44px;background-color:#fff}
body #main .ap-filter-heading a,body #main .ap-selected a,body #main .ap-breadcrumb a{color:var(--ap-site-red)}
body #main .ap-product{display:flex;flex-direction:column;border:1px solid var(--ap-site-line);border-radius:12px;background:#fff;overflow:hidden;transition:border-color .2s,box-shadow .2s}
body #main .ap-product:hover{border-color:#d5b4b7;box-shadow:0 6px 20px #20262f0b}
body #main .ap-product h3{font-size:15px;line-height:1.55;color:var(--ap-site-ink)}
body #main .ap-product-price{color:var(--ap-site-red);font-size:18px;margin-top:auto}
body #main .ap-product-image img{object-fit:contain}
body #main .ap-pagination .page-numbers{border-radius:8px;min-width:42px;min-height:42px;text-align:center}
body #main .ap-pagination .current{background:var(--ap-site-red);border-color:var(--ap-site-red);color:#fff}
/* Parent Flatsome templates: category, brand, search and related cards. */
body:not(.home) #main .product-small.box{border:1px solid var(--ap-site-line);border-radius:12px;background:#fff;overflow:hidden;box-shadow:none;transition:box-shadow .2s,border-color .2s}
body:not(.home) #main .product-small.box:hover{border-color:#d5b4b7;box-shadow:0 6px 20px #20262f0b}
body:not(.home) #main .product-small .box-text{padding:14px}
body:not(.home) #main .product-small .name{font-size:15px;line-height:1.55}
body:not(.home) #main .price,body:not(.home) #main .price ins{color:var(--ap-site-red)}
body:not(.home) #main .price del{color:#83878e}
body:not(.home) #main .button.primary,body:not(.home) #main .single_add_to_cart_button{background:var(--ap-site-red);border-radius:8px;min-height:44px}
body:not(.home) #main .widget{background:#fff;border:1px solid var(--ap-site-line);border-radius:12px;padding:16px}
body:not(.home) #main .widget-title{color:var(--ap-site-ink);font-size:16px;letter-spacing:0;text-transform:none}
body.single-product #main .product-main{background:#fff;border:1px solid var(--ap-site-line);border-radius:14px;padding:24px 12px;margin-bottom:24px}
body.single-product #main .product-title{color:var(--ap-site-ink);line-height:1.4}
body.single-product #main .product-footer .woocommerce-tabs{background:#fff;border:1px solid var(--ap-site-line);border-radius:12px;padding:20px;margin-bottom:24px}
body.single-product #main .product-gallery img{object-fit:contain}
body:not(.home) #main .blog-post-inner,body:not(.home) #main article.post .article-inner{background:#fff;border:1px solid var(--ap-site-line);border-radius:12px;overflow:hidden}
body:not(.home) #main article.post .entry-content,body:not(.home) #main article.post .entry-header{padding-left:20px;padding-right:20px}
body:not(.home) #main .entry-content{line-height:1.75;overflow-wrap:break-word}
body:not(.home) #main input[type="text"],body:not(.home) #main input[type="email"],body:not(.home) #main input[type="tel"],body:not(.home) #main textarea{border-radius:8px;border-color:var(--ap-site-line)}
body #main a:focus-visible,body #main button:focus-visible{outline:3px solid #246bb5;outline-offset:3px}
@media(max-width:549px){
body:not(.home) .shop-container,body:not(.home) .page-wrapper{padding-top:16px}
body #main .ap-options label{min-height:44px}
body #main .ap-product h3,body:not(.home) #main .product-small .name{font-size:14px}
body #main .ap-product-price{font-size:16px}
body.single-product #main .product-main{padding:16px 0;border-radius:10px}
body.single-product #main .product-footer .woocommerce-tabs{padding:14px}
body:not(.home) #main .product-small .box-text{padding:10px}
}
@media(prefers-reduced-motion:reduce){body #main .ap-options label,body #main .ap-product,body:not(.home) #main .product-small.box{transition:none}}
/* Product cards share the homepage's image, title, price and detail rhythm. */
body #main .ap-product{padding:14px;border-radius:12px}
body #main .ap-product>.ap-product-image{height:168px;min-height:168px;margin:0 0 14px;padding:0}
body #main .ap-product h3{margin:0 0 10px;min-height:66px;font-weight:500}
body #main .ap-product-price{font-size:18px;font-weight:750;line-height:1.5;min-height:30px}
body #main .ap-product-detail{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #f0f1f3;margin-top:12px;padding-top:11px;font-size:12px;line-height:1.5;font-weight:400;color:#6c737e;text-decoration:none}
body #main .ap-product-detail:hover{color:var(--ap-site-red)}
body #main .ap-catalogue-card{display:flex;flex-direction:column;padding:14px;height:100%;text-align:left}
body #main .ap-catalogue-card>.box-image{width:100%;margin:0 0 14px;background:#fff}
body #main .ap-catalogue-card .box-image>div:first-of-type{height:168px;padding:0!important}
body #main .ap-catalogue-card .box-image>div:first-of-type>a{display:flex;align-items:center;justify-content:center;height:168px}
body #main .ap-catalogue-card .box-image img{position:static!important;inset:auto!important;display:block;width:100%;height:168px;max-height:168px;object-fit:contain;transform:none}
body #main .ap-catalogue-card>.box-text{display:flex;flex-direction:column;flex:1;padding:0!important;text-align:left}
body #main .ap-catalogue-card .title-wrapper{min-height:66px;margin:0 0 10px}
body #main .ap-catalogue-card .name,body #main .ap-catalogue-card .name a{font-size:15px;font-weight:500;line-height:1.55;color:var(--ap-site-ink);margin:0}
body #main .ap-catalogue-card .my-price-wrapper{display:flex;flex-direction:column;margin-top:auto;gap:5px}
body #main .ap-catalogue-card .my-price-wrapper>.amount{font-size:18px;font-weight:750;line-height:1.5;color:var(--ap-site-red)}
body #main .ap-catalogue-card .my-price-wrapper>.amount .woocommerce-Price-currencySymbol{font-size:13px;margin-left:2px}
body #main .ap-catalogue-card .info-logo{margin:0 0 8px}
body #main .ap-catalogue-card .woocommerce-product-rating{font-size:12px}
/* Keep one centered image; secondary hover images must not occupy a second column. */
body #main .ap-catalogue-card .box-image .back-image{display:none!important}
body.single-product #main .related-products-wrapper .ap-catalogue-card .title-wrapper>.product-cat{display:none}
body.single-product #main .related-products-wrapper .ap-catalogue-card .title-wrapper{width:100%}
body.single-product #main .related-products-wrapper .ap-catalogue-card .name{width:100%;max-width:100%;float:none}
/* Related and viewed products use the same compact card proportions. */
body.single-product #main .related-products-wrapper .ap-catalogue-card{min-height:350px}
body.single-product #main .related-products-wrapper .ap-catalogue-card .title-wrapper{height:70px;min-height:70px;overflow:hidden;flex-shrink:0}
body.single-product #main .related-products-wrapper .ap-catalogue-card .name,
body.single-product #main .related-products-wrapper .ap-catalogue-card .name a{font-size:14px;line-height:1.6;font-weight:500;white-space:normal;overflow-wrap:anywhere;letter-spacing:0;margin:0}
body.single-product #main .related-products-wrapper .ap-catalogue-card .name a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
body.single-product #main .related-products-wrapper .ap-catalogue-card .my-price-wrapper>.amount{font-size:17px}
body.single-product #main .related-products-wrapper .ap-catalogue-card .box-image img{max-width:100%;object-fit:contain}
@media(max-width:549px){
body.single-product #main .related-products-wrapper .ap-catalogue-card{min-height:310px}
body.single-product #main .related-products-wrapper .ap-catalogue-card .name,
body.single-product #main .related-products-wrapper .ap-catalogue-card .name a{font-size:13px}
body.single-product #main .related-products-wrapper .ap-catalogue-card .title-wrapper{height:63px;min-height:63px}
body.single-product #main .related-products-wrapper .ap-catalogue-card .my-price-wrapper>.amount{font-size:15px}
}
/* Detail page keeps WooCommerce hooks and gallery controls in place. */
body.single-product #main .ap-product-page{max-width:1240px;margin:0 auto;padding:24px 12px 40px;color:var(--ap-site-ink)}
body.single-product #main .ap-product-page .product-main{padding:24px;background:#fff;border-radius:16px}
body.single-product #main .ap-product-page .product-main>.content-row{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:28px;margin:0;max-width:none;width:100%}
body.single-product #main .ap-product-page .content-row>.col{padding:0;max-width:100%;width:100%;min-width:0}
body.single-product #main .ap-product-page .single_product_head{grid-column:1/-1}
body.single-product #main .ap-product-page .single_product_head:empty{display:none}
body.single-product #main .ap-product-page .product-gallery{align-self:start;border:1px solid var(--ap-site-line);border-radius:12px;background:#fff;padding:16px}
body.single-product #main .ap-product-page #product-sidebar{grid-column:1/-1}
body.single-product #main .ap-product-eyebrow{display:block;font-size:11px;font-weight:700;letter-spacing:1.1px;line-height:1.6;color:#9c2630;margin:0 0 12px}
body.single-product #main .ap-product-page h1.product-title{font-size:28px;line-height:1.35;letter-spacing:-.4px;margin:0 0 16px}
body.single-product #main .ap-product-page .product-info>.price-wrapper{background:#fff3f1;border:1px solid #f0dedb;border-radius:10px;padding:16px 18px;margin:0 0 20px}
body.single-product #main .ap-product-page .product-page-price{font-size:28px;line-height:1.4;margin:0;font-weight:750;color:var(--ap-site-red)}
body.single-product #main .ap-product-page .product-short-description{font-size:15px;line-height:1.75;margin-bottom:20px}
body.single-product #main .ap-product-page .product_meta{border-top:1px solid var(--ap-site-line);padding-top:16px;color:var(--ap-site-muted);font-size:13px}
body.single-product #main .ap-product-page .title-thongso{font-size:16px;line-height:1.5;color:var(--ap-site-ink)}
body.single-product #main .ap-product-page .info_product_box,body.single-product #main .ap-product-page .policy_intuitive{border:1px solid var(--ap-site-line);border-radius:10px;padding:14px;background:#fafbfc}
body.single-product #main .ap-product-page .product-footer>.container{max-width:none;padding:0}
body.single-product #main .ap-product-help{background:#f5e9e5;border:1px solid #ead7d1;border-radius:12px;padding:18px;margin-top:20px}
body.single-product #main .ap-product-help>strong{display:block;font-size:18px;color:#352d2c}
body.single-product #main .ap-product-help>p{font-size:13px;line-height:1.7;color:#70625e;margin:6px 0 14px}
body.single-product #main .ap-product-help-phones{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.single-product #main .ap-product-help-phones a{display:flex;flex-direction:column;gap:4px;color:var(--ap-site-red);text-decoration:none}
body.single-product #main .ap-product-help-phones span{font-size:12px;color:#70625e}
body.single-product #main .ap-product-help-phones b{font-size:19px;white-space:nowrap}
@media(max-width:849px){
body.single-product #main .ap-product-page .product-main>.content-row{grid-template-columns:minmax(0,1fr);gap:20px}
body.single-product #main .ap-product-page h1.product-title{font-size:25px}
body.single-product #main .ap-product-page .product-main{padding:18px}
}
@media(max-width:549px){
body #main .ap-product,body #main .ap-catalogue-card{padding:10px}
body #main .ap-product>.ap-product-image{height:130px;min-height:130px;margin-bottom:12px}
body #main .ap-catalogue-card .box-image>div:first-of-type,body #main .ap-catalogue-card .box-image>div:first-of-type>a,body #main .ap-catalogue-card .box-image img{height:130px;max-height:130px}
body #main .ap-product h3,body #main .ap-catalogue-card .name,body #main .ap-catalogue-card .name a{font-size:14px}
body #main .ap-product h3,body #main .ap-catalogue-card .title-wrapper{min-height:65px}
body #main .ap-product-price,body #main .ap-catalogue-card .my-price-wrapper>.amount{font-size:16px}
body.single-product #main .ap-product-page{padding:16px 10px 28px}
body.single-product #main .ap-product-page .product-main{padding:14px}
body.single-product #main .ap-product-page h1.product-title{font-size:23px}
body.single-product #main .ap-product-page .product-page-price{font-size:25px}
body.single-product #main .ap-product-help-phones{grid-template-columns:minmax(0,1fr)}
}

