/*
 * Hoorsun Shop visual polish — v1.10.6
 * Keeps all approved layouts, icon/image positions, grid counts and page structure intact.
 */
:root {
	--hst-polish-navy: #0b3264;
	--hst-polish-navy-deep: #082957;
	--hst-polish-orange: #ff6b00;
	--hst-polish-navy-dark: #092d5a;
	--hst-polish-orange-light: #ff7b1a;
	--hst-polish-navy-gradient: linear-gradient(135deg, var(--hst-polish-navy-dark) 0%, var(--hst-polish-navy) 100%);
	--hst-polish-orange-gradient: linear-gradient(135deg, var(--hst-polish-orange-light) 0%, var(--hst-polish-orange) 100%);
	--hst-polish-text: #17365f;
	--hst-polish-muted: #68768a;
	--hst-polish-line: rgba(11, 50, 100, .12);
	--hst-polish-soft: #f6f8fb;
	--hst-polish-shadow: 0 10px 30px rgba(8, 41, 87, .08);
	--hst-polish-shadow-hover: 0 14px 36px rgba(8, 41, 87, .12);
}

html {
	scroll-behavior: smooth;
}

body.hst-theme,
body.woocommerce-page,
body.hoorsun-shop {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	color: var(--hst-polish-text);
}

body :where(h1, h2, h3, h4, h5, h6, strong, b) {
	text-wrap: balance;
}

body :where(p, li, small, figcaption) {
	text-wrap: pretty;
}

body :where(a, button, input, select, textarea) {
	-webkit-tap-highlight-color: transparent;
}

body :where(a, button, input, select, textarea):focus-visible {
	outline: 3px solid rgba(255, 107, 0, .28);
	outline-offset: 3px;
}

.hst-site-header {
	border-bottom-color: rgba(255, 255, 255, .08) !important;
	box-shadow: 0 8px 24px rgba(4, 26, 57, .13);
}

.hst-primary-nav a,
.hst-header-actions a,
.hst-social-links a,
.hst-icon-link,
.hst-mobile-whatsapp,
.hst-cart-link {
	transition: color .2s ease, background-color .2s ease, border-color .2s ease, opacity .2s ease, box-shadow .2s ease;
}

.hst-primary-nav .current-menu-item > a,
.hst-primary-nav .current-menu-ancestor > a {
	text-shadow: 0 0 18px rgba(255, 107, 0, .18);
}

.hst-button,
.hst-consultation-btn,
.hst-floating-action,
.hst-product-consult,
.hst-product-consult-redesign,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-block-components-button,
.hsep-details-button,
.hsep-consultation a {
	font-weight: 800;
	letter-spacing: -.01em;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.hst-button--primary,
.hst-consultation-btn,
.hst-floating-action--consult,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce ul.products li.product .button,
.wc-block-cart__submit-button,
.wc-block-components-button:not(.is-link) {
	box-shadow: 0 8px 20px rgba(255, 107, 0, .18);
}

.hst-button--primary:hover,
.hst-consultation-btn:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce ul.products li.product .button:hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-button:not(.is-link):hover {
	box-shadow: 0 10px 26px rgba(255, 107, 0, .25);
}

.hst-page-hero,
.hst-shop-hero,
.hsep-hero {
	box-shadow: inset 0 -1px 0 rgba(11, 50, 100, .06);
}

.hst-page-hero h1,
.hst-page-hero__title,
.hst-post-card h2,
.woocommerce div.product .product_title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.hsep-shop-intro h1,
.hsep-shop-intro h2,
.hst-product-spec-box__header h2,
.hst-mp-title {
	letter-spacing: -.018em;
}

.hst-post-card,
.woocommerce ul.products li.product,
.hst-product-feature-card,
.hst-product-spec-box,
.hst-product-faq details,
.hst-auth-card,
.hst-portal-auth__card,
.hst-empty-state,
.hsep-category-card,
.hsep-filter-sidebar,
.hsep-consultation,
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout .woocommerce-checkout-review-order,
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content,
.wc-block-components-sidebar,
.wc-block-components-order-summary,
.wc-block-components-radio-control-accordion-option {
	border-color: var(--hst-polish-line) !important;
	box-shadow: var(--hst-polish-shadow);
	transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.hst-post-card:hover,
.woocommerce ul.products li.product:hover,
.hst-product-feature-card:hover,
.hsep-category-card:hover {
	border-color: rgba(255, 107, 0, .28) !important;
	box-shadow: var(--hst-polish-shadow-hover);
}

.hst-post-card__date,
.hst-post-card p,
.hst-page-hero p,
.hst-product-breadcrumb,
.hst-product-feature-card small,
.hst-product-trust-bar small,
.hst-product-spec-box__header p,
.hst-product-spec-row strong,
.hst-mp-meta,
.hsep-result-count,
.woocommerce-result-count,
.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce .product_meta,
.woocommerce-account .woocommerce-MyAccount-content p {
	color: var(--hst-polish-muted);
}

.woocommerce ul.products li.product a img,
.hst-post-card__image img,
.hst-page-hero__art img,
.hst-shop-hero__art img,
.hsep-hero__visual img,
.woocommerce-product-gallery__image img,
.hst-mobile-gallery__stage img {
	image-rendering: auto;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.hst-mp-price,
.cart_totals .amount,
.shop_table .amount {
	font-variant-numeric: tabular-nums;
}

.woocommerce :where(input.input-text, textarea, select),
.hst-auth-input,
.hst-portal-field > input,
.hst-portal-password,
.hsep-filter-form input,
.hsep-filter-form select,
.wc-block-components-text-input input,
.wc-blocks-components-select__select,
.select2-container--default .select2-selection--single {
	border-color: rgba(11, 50, 100, .16) !important;
	background-color: #fff;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.woocommerce :where(input.input-text, textarea, select):focus,
.hst-auth-input:focus-within,
.hst-portal-field > input:focus,
.hst-portal-password:focus-within,
.hsep-filter-form input:focus,
.hsep-filter-form select:focus,
.wc-block-components-text-input input:focus,
.wc-blocks-components-select__select:focus,
.select2-container--default.select2-container--focus .select2-selection--single {
	border-color: rgba(255, 107, 0, .72) !important;
	box-shadow: 0 0 0 4px rgba(255, 107, 0, .10) !important;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-radius: 12px;
	border-top-width: 0;
	box-shadow: 0 8px 24px rgba(8, 41, 87, .07);
}

.woocommerce table.shop_table,
.woocommerce table.shop_table td,
.woocommerce table.shop_table th,
.wc-block-cart-items,
.wc-block-components-totals-wrapper {
	border-color: rgba(11, 50, 100, .10) !important;
}

.woocommerce table.shop_table tbody tr,
.hsep-filter-options label,
.woocommerce-account .woocommerce-MyAccount-navigation li a {
	transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.woocommerce table.shop_table tbody tr:hover,
.hsep-filter-options label:hover,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
	background-color: rgba(246, 248, 251, .86);
}

.hst-site-footer {
	border-top: 1px solid rgba(255, 255, 255, .08);
}

.hst-footer-menu a,
.hst-footer-contact,
.hst-social-links a {
	transition: color .2s ease, opacity .2s ease, background-color .2s ease;
}

@media (max-width: 767px) {
	.hst-page-hero p,
	.hst-post-card p,
	.woocommerce ul.products li.product .woocommerce-loop-product__title,
	.hst-product-feature-card small,
	.hst-product-trust-bar small,
	.hst-mp-meta,
	.hsep-result-count {
		line-height: 1.8;
	}
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	body *,
	body *::before,
	body *::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}


/* Subtle brand gradients — v1.10.4
 * Applied only to existing navy/orange surfaces; layout remains unchanged.
 */
.hst-site-header,
.hst-site-footer,
.hst-mobile-panel {
	background: var(--hst-polish-navy-gradient) !important;
}

.hst-button--primary,
.woocommerce-info .button,
.woocommerce ul.products li.product .added_to_cart,
.woocommerce nav.woocommerce-pagination .current,
.woocommerce-cart table.cart .button,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.hsep-filter-form > button,
.hst-mp-tab-buttons button.is-active {
	background: var(--hst-polish-navy-gradient) !important;
}

.hst-consultation-btn,
.hst-floating-action--consult,
.hst-floating-consult,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce ul.products li.product .button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button,
.wc-block-cart__submit-button,
.wc-block-components-button:not(.is-link),
.hst-auth-card .button.hst-auth-submit,
.hst-portal-submit,
.hst-mobile-product-bar button,
.hst-mp-cart form.cart .single_add_to_cart_button,
body.hsep-shop-active ul.products li.product .button,
.hsep-consultation > a {
	background: var(--hst-polish-orange-gradient) !important;
	background-size: 160% 160% !important;
	background-position: 100% 50% !important;
}

.hst-consultation-btn:hover,
.hst-floating-action--consult:hover,
.hst-floating-consult:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce ul.products li.product .button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button:hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-button:not(.is-link):hover,
.hst-auth-card .button.hst-auth-submit:hover,
.hst-portal-submit:hover,
.hst-mobile-product-bar button:hover,
.hst-mp-cart form.cart .single_add_to_cart_button:hover,
body.hsep-shop-active ul.products li.product .button:hover,
.hsep-consultation > a:hover {
	background-position: 0 50% !important;
}

/* Unified smooth hover motion — v1.10.5
 * Removes abrupt jumps while preserving every approved position and dimension.
 */
.hst-post-card,
.woocommerce ul.products li.product,
.hst-product-feature-card,
.hsep-category-card {
	transition:
		transform .30s cubic-bezier(.22,.61,.36,1),
		border-color .24s ease,
		box-shadow .30s cubic-bezier(.22,.61,.36,1),
		background-color .24s ease !important;
}

.hst-post-card__image img,
.woocommerce ul.products li.product a img,
.hsep-category-card img {
	transition: transform .42s cubic-bezier(.22,.61,.36,1), opacity .24s ease !important;
}

.hst-button,
.hst-consultation-btn,
.hst-floating-action,
.hst-floating-consult,
.hst-product-consult,
.hst-product-consult-redesign,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-block-components-button,
.hsep-details-button,
.hsep-consultation a,
.hsep-filter-form > button,
.hst-auth-submit,
.hst-portal-submit,
.hst-mobile-product-bar button,
.hst-mini-cart__close,
.hst-mini-cart .woocommerce-mini-cart__buttons .button,
.hst-category-pills a {
	transition:
		transform .22s cubic-bezier(.22,.61,.36,1),
		background-color .22s ease,
		background-position .38s cubic-bezier(.22,.61,.36,1),
		border-color .22s ease,
		color .22s ease,
		box-shadow .26s ease,
		opacity .22s ease !important;
}

.hst-primary-nav a,
.hst-header-actions a,
.hst-social-links a,
.hst-icon-link,
.hst-mobile-whatsapp,
.hst-cart-link,
.hst-footer-menu a,
.hst-footer-contact,
.hst-menu .sub-menu a,
.woocommerce-account .woocommerce-MyAccount-navigation li a,
.hsep-filter-options label,
.woocommerce table.shop_table tbody tr {
	transition:
		transform .22s cubic-bezier(.22,.61,.36,1),
		background-color .22s ease,
		border-color .22s ease,
		color .22s ease,
		opacity .22s ease,
		box-shadow .26s ease !important;
}

@media (hover: hover) and (pointer: fine) {
	.hst-post-card:hover,
	.woocommerce ul.products li.product:hover,
	.hst-product-feature-card:hover,
	.hsep-category-card:hover {
		transform: translate3d(0, -2px, 0) !important;
	}

	.hst-post-card:hover .hst-post-card__image img {
		transform: scale(1.04) !important;
	}

	.hst-button:hover,
	.hst-consultation-btn:hover,
	.hst-floating-action:hover,
	.hst-floating-consult:hover,
	.hst-product-consult:hover,
	.hst-product-consult-redesign:hover,
	.woocommerce a.button:hover,
	.woocommerce button.button:hover,
	.woocommerce input.button:hover,
	.woocommerce #respond input#submit:hover,
	.wc-block-components-button:hover,
	.hsep-details-button:hover,
	.hsep-consultation a:hover,
	.hsep-filter-form > button:hover,
	.hst-auth-submit:hover,
	.hst-portal-submit:hover,
	.hst-mobile-product-bar button:hover,
	.hst-mini-cart__close:hover,
	.hst-mini-cart .woocommerce-mini-cart__buttons .button:hover,
	.hst-category-pills a:hover {
		transform: translate3d(0, -1px, 0) !important;
	}

	.hst-site-header .hst-social-links a:hover,
	.hst-site-header .hst-icon-link:hover,
	.hst-site-header .hst-mobile-whatsapp:hover {
		transform: translate3d(0, -1px, 0) !important;
		opacity: .88;
	}
}

.hst-button:active,
.hst-consultation-btn:active,
.hst-floating-action:active,
.hst-floating-consult:active,
.hst-product-consult:active,
.hst-product-consult-redesign:active,
.woocommerce a.button:active,
.woocommerce button.button:active,
.woocommerce input.button:active,
.wc-block-components-button:active,
.hsep-details-button:active,
.hsep-consultation a:active,
.hsep-filter-form > button:active,
.hst-auth-submit:active,
.hst-portal-submit:active,
.hst-mobile-product-bar button:active {
	transform: translate3d(0, 0, 0) !important;
	transition-duration: .10s !important;
}

@media (hover: none), (pointer: coarse) {
	.hst-post-card:hover,
	.woocommerce ul.products li.product:hover,
	.hst-product-feature-card:hover,
	.hsep-category-card:hover,
	.hst-button:hover,
	.hst-consultation-btn:hover,
	.hst-floating-action:hover,
	.hst-floating-consult:hover,
	.hst-product-consult:hover,
	.hst-product-consult-redesign:hover,
	.woocommerce a.button:hover,
	.woocommerce button.button:hover,
	.woocommerce input.button:hover,
	.wc-block-components-button:hover,
	.hsep-details-button:hover,
	.hsep-consultation a:hover,
	.hsep-filter-form > button:hover,
	.hst-auth-submit:hover,
	.hst-portal-submit:hover,
	.hst-mobile-product-bar button:hover,
	.hst-site-header .hst-social-links a:hover,
	.hst-site-header .hst-icon-link:hover,
	.hst-site-header .hst-mobile-whatsapp:hover {
		transform: none !important;
	}

	.hst-post-card:hover .hst-post-card__image img {
		transform: none !important;
	}
}

/* Shop archive add-to-cart hover flicker fix — v1.10.6
 * Keep the same orange gradient in every state and animate only its position.
 * This prevents the brief transparent/white frame caused by the legacy
 * background shorthand when the pointer enters the button.
 */
body.hsep-shop-active ul.products li.product .button,
body.hsep-shop-active ul.products li.product .added_to_cart,
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart {
	background-color: var(--hst-polish-orange) !important;
	background-image: var(--hst-polish-orange-gradient) !important;
	background-repeat: no-repeat !important;
	background-size: 160% 160% !important;
	background-position: 100% 50% !important;
	transition:
		background-position .28s cubic-bezier(.22, .61, .36, 1),
		box-shadow .22s ease,
		transform .22s cubic-bezier(.22, .61, .36, 1),
		border-color .18s ease,
		color .18s ease,
		opacity .18s ease !important;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
}

body.hsep-shop-active ul.products li.product .button:hover,
body.hsep-shop-active ul.products li.product .button:focus-visible,
body.hsep-shop-active ul.products li.product .added_to_cart:hover,
body.hsep-shop-active ul.products li.product .added_to_cart:focus-visible,
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .button:focus-visible,
.woocommerce ul.products li.product .added_to_cart:hover,
.woocommerce ul.products li.product .added_to_cart:focus-visible {
	background-color: var(--hst-polish-orange) !important;
	background-image: var(--hst-polish-orange-gradient) !important;
	background-position: 0 50% !important;
	color: #fff !important;
}

@media (hover: none), (pointer: coarse) {
	body.hsep-shop-active ul.products li.product .button,
	body.hsep-shop-active ul.products li.product .added_to_cart,
	.woocommerce ul.products li.product .button,
	.woocommerce ul.products li.product .added_to_cart {
		background-position: 100% 50% !important;
		transform: none !important;
	}
}
