.aht-product{border:1px solid #e5e5e5;border-radius:10px;padding:18px;margin:20px 0;background:#fff}
.aht-product img{max-width:100%;height:auto;border-radius:8px}
.aht-price{font-size:20px;font-weight:700;margin:12px 0}
.aht-product button,.aht-product-detail button{cursor:pointer;border:0;border-radius:8px;padding:10px 16px}
.aht-checkout-box{margin-top:15px;padding-top:15px;border-top:1px solid #eee}
.aht-checkout-form{display:grid;gap:12px}
.aht-checkout-form input,.aht-checkout-form textarea{width:100%;box-sizing:border-box;padding:10px;border:1px solid #d9d9d9;border-radius:7px;margin-top:5px;background:#fff}
.aht-checkout-form label{display:block}
.aht-checkout-form label span{font-weight:400;color:#777;font-size:13px}
.aht-message{margin-top:8px}
.aht-checkout-form button{background:#1f7a45;color:#fff}

/* Product gallery */
.aht-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:20px 0}
.aht-product-grid.aht-columns-1{grid-template-columns:1fr}
.aht-product-grid.aht-columns-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.aht-product-grid.aht-columns-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.aht-product-card{border:1px solid #e5e5e5;border-radius:12px;overflow:hidden;background:#fff;display:flex;flex-direction:column;height:100%;transition:transform .15s ease,box-shadow .15s ease}
.aht-product-card:hover{transform:translateY(-2px);box-shadow:0 8px 25px rgba(0,0,0,.07)}
.aht-product-image{display:block;aspect-ratio:1/1;background:#f7f7f7;overflow:hidden}
.aht-product-image img{display:block;width:100%;height:100%;object-fit:cover}
.aht-no-image{height:100%;display:grid;place-items:center;color:#777}
.aht-product-card-body{padding:16px;display:flex;flex-direction:column;flex:1}
.aht-product-card h3{margin:0 0 7px;font-size:18px;line-height:1.35}
.aht-product-card h3 a{color:inherit;text-decoration:none}
.aht-product-code{font-size:13px;color:#777}
.aht-product-card .aht-price{margin:10px 0 14px}
.aht-detail-button{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:8px;text-decoration:none;background:#222;color:#fff;margin-top:auto}
.aht-product-detail-wrap{max-width:1100px;margin:0 auto;padding:20px}
.aht-product-detail{margin:10px 0 35px}
.aht-breadcrumb{display:flex;gap:8px;flex-wrap:wrap;align-items:center;font-size:13px;color:#777;margin:0 0 24px}
.aht-breadcrumb a{color:inherit;text-decoration:none}
.aht-breadcrumb a:hover{text-decoration:underline}
.aht-detail-layout{display:grid;grid-template-columns:minmax(300px,1fr) minmax(320px,1fr);gap:48px;align-items:start}
.aht-detail-media{position:sticky;top:20px}
.aht-detail-image{overflow:hidden;border-radius:14px;background:#f7f7f7;border:1px solid #eee}
.aht-detail-image img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:contain}
.aht-detail-no-image{aspect-ratio:1/1;display:grid;place-items:center;color:#777;padding:30px;text-align:center}
.aht-detail-content{padding-top:4px}
.aht-detail-label{font-size:12px;letter-spacing:.12em;color:#777;font-weight:700;margin-bottom:8px}
.aht-detail-content h1{font-size:clamp(30px,4vw,46px);line-height:1.12;margin:0 0 8px}
.aht-detail-content .aht-product-code{margin-bottom:18px}
.aht-detail-price{font-size:30px;font-weight:800;line-height:1.2;margin:0 0 22px}
.aht-detail-description{font-size:16px;line-height:1.75;border-top:1px solid #eee;padding-top:20px}
.aht-buy-panel{margin-top:24px;padding:18px;border:1px solid #e5e5e5;border-radius:12px;background:#fafafa}
.aht-buy-title{font-weight:700;margin-bottom:12px}
.aht-buy-row{display:flex;gap:10px}
.aht-qty-control{display:flex;border:1px solid #d8d8d8;border-radius:8px;background:#fff;overflow:hidden;height:46px}
.aht-qty-control button{border:0;background:#fff;padding:0 14px;font-size:20px;border-radius:0}
.aht-qty-control input{width:54px;text-align:center;border:0;padding:0;font-size:16px;background:#fff}
.aht-buy-button,.aht-submit-order{background:#1f7a45!important;color:#fff!important;font-weight:700}
.aht-buy-button{flex:1}
.aht-detail-content .aht-checkout-box{display:none;margin-top:18px;padding-top:18px;border-top:1px solid #ddd}
.aht-detail-content .aht-checkout-box.aht-show{display:block}
.aht-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.aht-submit-order{width:100%;font-size:16px;padding:12px 16px!important}
.aht-trust-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px;color:#666;font-size:13px}
.aht-detail-back{margin-top:30px;padding-top:20px;border-top:1px solid #eee}
.aht-detail-back a{text-decoration:none}
.aht-pagination{display:flex;flex-wrap:wrap;gap:7px;justify-content:center;align-items:center;margin:28px 0}
.aht-pagination a,.aht-page-current{display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:38px;padding:0 10px;border:1px solid #ddd;border-radius:7px;text-decoration:none;box-sizing:border-box}
.aht-page-current{background:#222;color:#fff;border-color:#222}
@media(max-width:800px){
  .aht-product-grid,.aht-product-grid.aht-columns-3,.aht-product-grid.aht-columns-4{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .aht-detail-layout{grid-template-columns:1fr;gap:24px}
  .aht-detail-media{position:static}
  .aht-product-detail-wrap{padding:14px}
}
@media(max-width:600px){
  .aht-form-grid{grid-template-columns:1fr}
  .aht-buy-row{align-items:stretch}
  .aht-qty-control{flex:0 0 auto}
}
@media(max-width:480px){
  .aht-product-grid,.aht-product-grid.aht-columns-2,.aht-product-grid.aht-columns-3,.aht-product-grid.aht-columns-4{grid-template-columns:1fr}
  .aht-detail-content h1{font-size:32px}
  .aht-detail-price{font-size:26px}
  .aht-buy-row{flex-direction:column}
  .aht-qty-control{width:max-content}
}
\n.aht-thankyou-wrap{max-width:760px;margin:0 auto;padding:35px 16px 60px}\n.aht-thankyou-card{background:#fff;border:1px solid #e6e6e6;border-radius:16px;padding:32px;box-shadow:0 8px 30px rgba(0,0,0,.05)}\n.aht-thankyou-icon{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:#1f7a45;color:#fff;font-size:28px;font-weight:800;margin-bottom:18px}\n.aht-thankyou-label{font-size:12px;letter-spacing:.12em;color:#1f7a45;font-weight:800}\n.aht-thankyou-card h1{font-size:clamp(30px,5vw,42px);line-height:1.15;margin:8px 0}\n.aht-thankyou-lead{font-size:16px;color:#666;margin-bottom:24px}\n.aht-order-summary,.aht-payment-box,.aht-countdown-box{border-radius:12px;padding:20px;margin-top:16px}\n.aht-order-summary{border:1px solid #e5e5e5;background:#fafafa}\n.aht-summary-title{font-weight:800;margin-bottom:12px}\n.aht-summary-row{display:flex;justify-content:space-between;gap:20px;padding:9px 0;border-bottom:1px solid #e9e9e9}\n.aht-summary-row:last-child{border-bottom:0}\n.aht-summary-row span{color:#666}\n.aht-payment-box{background:#fff8e8;border:1px solid #f0d99b}\n.aht-payment-box h2{margin:0 0 8px;font-size:22px}\n.aht-bank-card{display:flex;flex-direction:column;gap:3px;background:#fff;border:1px solid #e5e5e5;border-radius:10px;padding:16px;margin:14px 0}\n.aht-bank-card strong{font-size:25px;letter-spacing:.04em}\n.aht-payment-note{font-size:13px;color:#666;margin-bottom:0}\n.aht-countdown-box{background:#222;color:#fff;text-align:center}\n.aht-countdown-title{font-weight:800;font-size:17px}\n.aht-deadline{font-size:13px;opacity:.75;margin-top:5px}\n.aht-countdown{display:flex;justify-content:center;gap:12px;margin-top:18px}\n.aht-countdown>div{min-width:86px;padding:12px 8px;border-radius:10px;background:rgba(255,255,255,.09)}\n.aht-countdown strong{display:block;font-size:30px;line-height:1}\n.aht-countdown span{display:block;font-size:11px;margin-top:6px;opacity:.7}\n.aht-countdown-expired{font-weight:700;margin-top:16px}\n.aht-thankyou-footnote{text-align:center;color:#666;font-size:13px;margin:22px 0 16px}\n.aht-thankyou-link{display:inline-block;text-decoration:none;font-weight:700}\n@media(max-width:520px){.aht-thankyou-card{padding:22px}.aht-summary-row{align-items:flex-start;flex-direction:column;gap:3px}.aht-countdown{gap:7px}.aht-countdown>div{min-width:72px}.aht-countdown strong{font-size:25px}}\n
.aht-confirm-payment-form{display:grid;gap:14px;margin-top:20px}
.aht-confirm-payment-form input,.aht-confirm-payment-form textarea{width:100%;box-sizing:border-box;padding:11px;border:1px solid #d9d9d9;border-radius:8px;margin-top:6px}
.aht-confirm-payment-form label{display:block}
.aht-confirm-payment-form button{border:0;border-radius:8px;cursor:pointer}
