/* Han AvMarket 1.2 */

/* Panel-selectable imagery */
.hanav-home-hero{background-image:var(--hanav-home-hero-image)!important;background-size:cover;background-position:center}
.hanav-shop-hero{background-image:linear-gradient(90deg,#fff 0%,#fff 42%,rgba(255,255,255,.28) 67%,rgba(255,255,255,0) 100%),var(--hanav-shop-hero-image)!important;background-size:cover;background-position:center right}
.hanav-expert-inner.hanav-expert-has-image{position:relative;overflow:hidden;background-image:linear-gradient(90deg,rgba(250,249,245,.98) 0%,rgba(255,255,255,.96) 57%,rgba(255,255,255,.42) 78%,rgba(255,255,255,.08) 100%),var(--hanav-expert-image);background-size:cover;background-position:center right}
.hanav-expert-inner.hanav-expert-has-image>*{position:relative;z-index:1}
.hanav-order-success{background-image:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.93) 50%,rgba(255,255,255,.12) 100%),var(--hanav-thanks-image)!important;background-size:cover;background-position:center right}

/* Product detail: non-sticky purchase panel */
.single-product .summary,.hanav-sticky-product-summary.single-product .summary{position:static!important;top:auto!important;align-self:start!important}

/* Product gallery: stable proportions and full visible frame */
.single-product .woocommerce-product-gallery{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;padding:1px!important}
.single-product .woocommerce-product-gallery__wrapper{box-sizing:border-box!important;border:1px solid var(--hanav-border)!important;border-radius:7px!important;background:#fff!important;overflow:hidden!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.01)!important}
.single-product .woocommerce-product-gallery__image a{display:grid!important;place-items:center!important;width:100%!important;aspect-ratio:1.12/1!important;min-height:0!important;height:auto!important;padding:34px!important;box-sizing:border-box!important;background:#fff!important}
.single-product .woocommerce-product-gallery__image img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:none!important;object-fit:contain!important;object-position:center!important;margin:0!important}
.single-product .woocommerce-product-gallery .flex-viewport{width:100%!important;box-sizing:border-box!important;border:1px solid var(--hanav-border)!important;border-radius:7px!important;overflow:hidden!important;background:#fff!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.01)!important}.single-product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__wrapper{border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
.single-product .flex-control-thumbs{width:100%!important;box-sizing:border-box!important;gap:9px!important;margin-top:11px!important}
.single-product .flex-control-thumbs li{aspect-ratio:1/1!important;height:auto!important;min-height:0!important;width:auto!important;box-sizing:border-box!important;padding:7px!important;border:1px solid var(--hanav-border)!important;border-radius:6px!important;background:#fff!important;overflow:hidden!important}
.single-product .flex-control-thumbs li img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;margin:0!important}
.single-product .flex-control-thumbs li img.flex-active{opacity:1!important}
.single-product .flex-control-thumbs li:has(img.flex-active){border-color:var(--hanav-primary)!important;box-shadow:inset 0 0 0 1px var(--hanav-primary)}

/* Product prices and card footer spacing */
.woocommerce ul.products li.product .price{font-weight:400!important;line-height:1.45!important}
.woocommerce ul.products li.product .price ins{font-weight:500!important;text-decoration:none!important}
.woocommerce ul.products li.product .price del{font-weight:300!important;opacity:.66!important}
.single-product .summary p.price,.single-product .summary .woocommerce-variation-price .price{font-weight:400!important}
.single-product .summary p.price ins,.single-product .summary .woocommerce-variation-price .price ins{font-weight:500!important;text-decoration:none!important}

/* Transform carousel – no horizontal scrollbar behavior */
.hanav-carousel-component{position:relative;min-width:0}
.hanav-carousel-component .hanav-carousel-viewport{width:100%;min-width:0;overflow:hidden;position:relative}
.hanav-carousel-component .hanav-carousel-track{transform:translate3d(0,0,0);will-change:transform}
.hanav-category-grid.hanav-carousel-direct{display:block!important}.hanav-carousel-direct .hanav-carousel-direct-track{display:grid;grid-template-columns:repeat(var(--hanav-category-columns,4),minmax(0,1fr));gap:14px}
.hanav-carousel-component .hanav-carousel-controls{margin-top:15px;min-height:36px}
.hanav-carousel-component .hanav-carousel-controls>button{transition:.18s ease}
.hanav-carousel-component .hanav-carousel-controls>button:not(:disabled):hover{border-color:var(--hanav-primary);color:var(--hanav-primary)}

/* Demo / corporate content */
.hanav-page-content .hanav-info-hero{position:relative;overflow:hidden;min-height:260px;margin:0 0 28px;border:1px solid var(--hanav-border);border-radius:8px;display:flex;align-items:center;padding:42px 46px;background-image:linear-gradient(90deg,rgba(255,255,255,.98),rgba(255,255,255,.90) 58%,rgba(255,255,255,.12)),var(--hanav-page-hero-image);background-size:cover;background-position:center right}
.hanav-page-content .hanav-info-hero>div{max-width:680px;position:relative;z-index:1}
.hanav-page-content .hanav-info-hero .hanav-kicker{display:block;color:var(--hanav-primary);font-size:9px;letter-spacing:.16em;font-weight:600;margin-bottom:8px}
.hanav-page-content .hanav-info-hero h2{font-size:34px;line-height:1.18;margin:0 0 10px;font-weight:500;letter-spacing:-.035em}
.hanav-page-content .hanav-info-hero p{max-width:620px;margin:0;color:#5f615d;line-height:1.75}
.hanav-page-content .hanav-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0 30px}
.hanav-page-content .hanav-info-card{border:1px solid var(--hanav-border);border-radius:7px;background:#fff;padding:24px;min-height:175px}
.hanav-page-content .hanav-info-card>i{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#f3f3ed;color:var(--hanav-primary);font-size:17px;margin-bottom:16px}
.hanav-page-content .hanav-info-card h3{font-size:15px;margin:0 0 7px;font-weight:500}
.hanav-page-content .hanav-info-card p{margin:0;color:var(--hanav-muted);font-size:12px;line-height:1.7}
.hanav-page-content .hanav-info-card a{text-decoration:none!important;font-weight:500}
.hanav-page-content .hanav-info-split{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:22px 0}
.hanav-page-content .hanav-policy-box{border:1px solid var(--hanav-border);border-radius:7px;padding:24px;background:#fff}
.hanav-page-content .hanav-policy-box h3{font-size:16px;margin:0 0 9px;font-weight:500}
.hanav-page-content .hanav-policy-box p,.hanav-page-content .hanav-policy-box li{font-size:12px;line-height:1.75;color:#5c5e59}
.hanav-page-content .hanav-policy-box ul{margin:10px 0 0 18px;padding:0}
.hanav-page-content .hanav-faq-list{display:grid;gap:9px;margin:22px 0}
.hanav-page-content .hanav-faq-list details{border:1px solid var(--hanav-border);border-radius:7px;background:#fff;overflow:hidden}
.hanav-page-content .hanav-faq-list summary{list-style:none;cursor:pointer;padding:17px 20px;font-size:12px;font-weight:500;display:flex;justify-content:space-between;align-items:center;gap:14px}
.hanav-page-content .hanav-faq-list summary::-webkit-details-marker{display:none}
.hanav-page-content .hanav-faq-list summary:after{content:'+';width:25px;height:25px;border:1px solid var(--hanav-border);border-radius:50%;display:grid;place-items:center;flex:0 0 auto;color:var(--hanav-primary)}
.hanav-page-content .hanav-faq-list details[open] summary:after{content:'−'}
.hanav-page-content .hanav-faq-list details p{padding:0 20px 18px;margin:0;color:var(--hanav-muted);font-size:12px;line-height:1.75}
.hanav-page-content .hanav-contact-panel{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}
.hanav-page-content .hanav-contact-card{border:1px solid var(--hanav-border);border-radius:7px;padding:26px;background:#fff;display:flex;gap:16px;align-items:flex-start}
.hanav-page-content .hanav-contact-card>i{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#f3f3ed;color:var(--hanav-primary);flex:0 0 auto}
.hanav-page-content .hanav-contact-card strong{display:block;font-size:13px;margin-bottom:3px}
.hanav-page-content .hanav-contact-card span,.hanav-page-content .hanav-contact-card a{font-size:12px;color:var(--hanav-muted);text-decoration:none!important}
.hanav-page-content .hanav-callout{border:1px solid #dcddcf;background:#f7f7f1;border-radius:7px;padding:20px 22px;display:flex;align-items:center;gap:14px;margin:22px 0}
.hanav-page-content .hanav-callout i{color:var(--hanav-primary);font-size:19px}
.hanav-page-content .hanav-callout p{margin:0;font-size:12px;color:#565850}

@media(max-width:767px){
    .hanav-home-hero{background-image:linear-gradient(rgba(255,255,255,.84),rgba(255,255,255,.94)),var(--hanav-home-hero-image)!important;background-position:70% center!important}
    .hanav-shop-hero{background-image:linear-gradient(90deg,rgba(255,255,255,.96),rgba(255,255,255,.68)),var(--hanav-shop-hero-image)!important;background-position:center!important}
    .hanav-order-success{background-image:linear-gradient(90deg,rgba(255,255,255,.96),rgba(255,255,255,.76)),var(--hanav-thanks-image)!important;background-position:center!important}
    .hanav-expert-inner.hanav-expert-has-image{background-image:linear-gradient(90deg,rgba(255,255,255,.97),rgba(255,255,255,.88)),var(--hanav-expert-image)}

    .single-product .woocommerce-product-gallery{padding:1px!important}
    .single-product .woocommerce-product-gallery__image a{aspect-ratio:1/1!important;min-height:0!important;padding:18px!important}
    .single-product .flex-control-thumbs{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:5px!important}
    .single-product .flex-control-thumbs li{height:auto!important;aspect-ratio:1/1!important;padding:4px!important}

    .woocommerce ul.products li.product{padding:0 8px 10px!important}
    .woocommerce ul.products li.product .woocommerce-loop-product__title{font-weight:400!important}
    .woocommerce ul.products li.product .price{position:relative!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-end!important;gap:0!important;min-height:38px!important;margin-top:3px!important;padding-right:38px!important;font-weight:400!important;font-size:11px!important;line-height:1.35!important;white-space:normal!important}
    .woocommerce ul.products li.product .price del,.woocommerce ul.products li.product .price ins{display:block!important;max-width:100%!important;white-space:nowrap!important}
    .woocommerce ul.products li.product .price del{font-size:9px!important}
    .woocommerce ul.products li.product .button{right:7px!important;bottom:9px!important}

    .hanav-carousel-shell,.hanav-category-grid.hanav-carousel-shell{display:block!important;overflow:visible!important;scroll-snap-type:none!important;scrollbar-width:auto!important}
    .hanav-carousel-component .hanav-carousel-viewport{overflow:hidden!important;touch-action:pan-y}
    .hanav-carousel-component .hanav-carousel-track,.hanav-carousel-direct .hanav-carousel-direct-track{display:flex!important;grid-template-columns:none!important;gap:9px!important;overflow:visible!important;scroll-snap-type:none!important;scrollbar-width:auto!important;padding:0!important;margin:0!important}
    .hanav-carousel-component .hanav-carousel-track::-webkit-scrollbar{display:none!important}
    .hanav-carousel-component .hanav-carousel-track>*{flex:0 0 calc((100% - (var(--hanav-mobile-columns) - 1)*9px)/var(--hanav-mobile-columns))!important;width:auto!important;max-width:none!important;min-width:0!important;margin:0!important;scroll-snap-align:none!important}
    .hanav-carousel-direct .hanav-carousel-direct-track>.hanav-category-card{display:flex!important;flex-direction:column!important;align-items:flex-start!important;padding:10px!important;min-height:0!important}
    .hanav-carousel-direct .hanav-category-image{width:100%!important;height:105px!important}
    .hanav-carousel-direct .hanav-category-card>i{display:none!important}
    .hanav-carousel-component .hanav-carousel-controls{display:flex!important;margin-top:13px!important}
    .hanav-carousel-component .hanav-carousel-controls>button{width:34px;height:34px;background:#fff}

    .hanav-page-content .hanav-info-hero{min-height:245px;padding:28px 22px;background-image:linear-gradient(90deg,rgba(255,255,255,.96),rgba(255,255,255,.76)),var(--hanav-page-hero-image)}
    .hanav-page-content .hanav-info-hero h2{font-size:27px}
    .hanav-page-content .hanav-info-grid{grid-template-columns:1fr;gap:10px}
    .hanav-page-content .hanav-info-card{min-height:0;padding:20px}
    .hanav-page-content .hanav-info-split,.hanav-page-content .hanav-contact-panel{grid-template-columns:1fr}
    .hanav-page-content .hanav-policy-box{padding:19px}
}

/* Corporate demo pages use their own visual hero without a duplicate title. */
.hanav-corporate-page .hanav-page-header--compact{margin-bottom:14px;padding-bottom:0;border-bottom:0}
