/* Amin Cloth - polish layer
   Product-card buttons, sorting inside the filters, inline mobile filters, product page buttons,
   extra product rows (cart / checkout / thank-you) and the home video section. */

/* ======================================================================
   1. Buttons: one stylish pill system
   ====================================================================== */
.elementor-button,
.ac-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	transition: background .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.elementor-button:hover,
.ac-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(11, 25, 44, .14);
}

/* Product-card "Add to bag": always visible, pill under the price (desktop + phone) */
li.product .button.add_to_cart_button,
li.product .button.product_type_simple,
li.product .button.product_type_variable,
.elementor-widget-woocommerce-products.ac-hscroll li.product .button.add_to_cart_button {
	position: static !important; left: auto !important; right: auto !important; top: auto !important;
	display: flex !important; align-items: center; justify-content: center; gap: 8px;
	width: 100% !important; margin: 12px 0 0 !important; padding: 13px 14px !important;
	background: #0b192c !important; color: #fff !important; border: 1px solid #0b192c !important; border-radius: 999px !important;
	font: 800 11px/1 Manrope, sans-serif !important; letter-spacing: .14em !important; text-transform: uppercase !important; text-align: center;
	opacity: 1 !important; transform: none !important; cursor: pointer; box-shadow: none;
	transition: background .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
li.product .button.add_to_cart_button:hover,
li.product .button.add_to_cart_button:focus-visible {
	background: #dfba6d !important; border-color: #dfba6d !important; color: #0b192c !important;
	box-shadow: 0 10px 22px rgba(11, 25, 44, .16); transform: translateY(-1px) !important;
}
li.product .button.add_to_cart_button.loading { opacity: .65 !important; pointer-events: none; }
li.product .button.add_to_cart_button.loading::after {
	content: ''; display: block; width: 12px; height: 12px; margin: 0; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%;
	animation: ac-spin .7s linear infinite; position: static; font: inherit;
}
li.product .button.add_to_cart_button.added::after { content: '\2713'; display: block; margin: 0; position: static; font: 800 13px/1 Manrope, sans-serif; }
li.product .added_to_cart { display: none !important; }
/* the two hero cards keep their clean look (no button) */
.elementor-element-5e000011 li.product .button.add_to_cart_button { display: none !important; }
@media (max-width: 767px) {
	li.product .button.add_to_cart_button,
	li.product .button.product_type_simple,
	li.product .button.product_type_variable,
	.elementor-widget-woocommerce-products.ac-hscroll li.product .button.add_to_cart_button { padding: 12px 8px !important; font-size: 10px !important; letter-spacing: .1em !important; margin-top: 10px !important; }
}

/* ======================================================================
   2. Shop: sorting lives inside the filters
   ====================================================================== */
.elementor-widget-wc-archive-products .woocommerce-ordering { display: none !important; }
.ac-check--radio .ac-check__box { border-radius: 50%; }
.ac-check--radio .ac-check__box::after { width: 7px; height: 7px; border: 0; border-radius: 50%; background: #fff; transform: none; }

/* ======================================================================
   3. Phone: filters are shown directly on the page (no button, no sort dropdown)
   ====================================================================== */
@media (max-width: 767px) {
	.elementor-element-4e000011 { display: none !important; }
	body .ac-shop-side { display: flex !important; flex: 0 0 auto !important; width: 100% !important; max-width: 100% !important; position: static !important; }
	body .elementor-element-4e000010 { flex-direction: column !important; align-items: stretch !important; gap: 14px !important; }
	body .ac-shop-main { width: 100% !important; }
	.ac-shop-side .ac-filter { background: #fff; border: 1px solid #e5ded1; border-radius: 14px; padding: 14px 14px 6px; width: 100%; box-sizing: border-box; }
	.ac-shop-side .ac-filter__head { padding-bottom: 8px; }
	.ac-shop-side .ac-filter__head strong { font-size: 20px; }
	.ac-shop-side .ac-filter__group {
		display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; overflow-x: auto; padding: 10px 0;
		-webkit-overflow-scrolling: touch; scrollbar-width: none;
	}
	.ac-shop-side .ac-filter__group::-webkit-scrollbar { display: none; }
	.ac-shop-side .ac-filter__group:last-of-type { border-bottom: 0; }
	.ac-shop-side .ac-filter__title { flex: none; margin: 0 6px 0 0; min-width: 52px; font-size: 10.5px; color: #a77c28; }
	.ac-shop-side .ac-check {
		flex: none; padding: 8px 14px; gap: 6px; border: 1px solid #d9d3c5; border-radius: 999px; background: #fff;
		font-size: 13px; white-space: nowrap; transition: background .18s ease, color .18s ease, border-color .18s ease;
	}
	.ac-shop-side .ac-check__box { display: none; }
	.ac-shop-side .ac-check__count { font-size: 11px; }
	.ac-shop-side .ac-check:has(input:checked) { background: #0b192c; border-color: #0b192c; color: #fff; }
	.ac-shop-side .ac-check:has(input:checked) .ac-check__count { color: #dfba6d; }
	.ac-shop-side .ac-filter__price { flex: none; gap: 8px; }
	.ac-shop-side .ac-filter__price input { width: 92px; padding: 9px 10px; font-size: 13px; }
	.ac-shop-side .ac-filter__apply { width: auto; flex: none; margin: 0; padding: 11px 20px; border-radius: 999px; }
}

/* ======================================================================
   4. Product page: only Add to cart + Buy now
   ====================================================================== */
.ac-wa-order { display: none !important; }
.elementor-widget-woocommerce-product-add-to-cart .single_add_to_cart_button,
.ac-buynow .elementor-button {
	min-height: 54px; display: flex; align-items: center; justify-content: center; border-radius: 999px !important;
	font-weight: 800 !important; letter-spacing: .14em; text-transform: uppercase;
}
.elementor-widget-woocommerce-product-add-to-cart .single_add_to_cart_button:hover,
.ac-buynow .elementor-button:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(11, 25, 44, .16); }
.elementor-widget-woocommerce-product-add-to-cart form.cart { margin-bottom: 12px; }
.elementor-widget-woocommerce-product-related .related > h2,
.elementor-widget-woocommerce-product-related section.related > h2 { display: none; }

/* ======================================================================
   5. Home: calmer "Our promise" photo
   ====================================================================== */
.elementor-element-5e000062 img { width: 100%; max-height: 640px; object-fit: cover; object-position: top center; }

/* ======================================================================
   6. Extra product rows on cart / checkout / thank-you
   ====================================================================== */
.ac-reco--page { max-width: 1360px; margin: 64px auto 0; padding: 0 24px; box-sizing: border-box; }
@media (max-width: 767px) { .ac-reco--page { margin-top: 44px; padding: 0 16px; } }
/* theme product cards inside these rows: Add to bag always visible as a pill (also on phones) */
.ac-reco .ac-card__quick { display: block !important; opacity: 1 !important; transform: none !important; left: 10px; right: 10px; bottom: 10px; }
.ac-reco .ac-card__quick .ac-btn {
	min-height: 44px; border-radius: 999px; background: #0b192c; border-color: #0b192c; color: #fff;
	font: 800 11px/1 Manrope, sans-serif; letter-spacing: .14em; text-transform: uppercase; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.ac-reco .ac-card__quick .ac-btn:hover { background: #dfba6d; border-color: #dfba6d; color: #0b192c; }
.ac-reco .ac-card__quick .ac-btn svg { width: 16px; height: 16px; }
@media (max-width: 767px) {
	.ac-reco .ac-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
	.ac-reco .ac-card__quick .ac-btn { min-height: 38px; font-size: 10px; letter-spacing: .08em; }
}

/* ======================================================================
   7. Home video section (scrolls sideways, add as many videos as you like)
   ====================================================================== */
/* ======================================================================
   8. Side cart: items scroll, subtotal + buttons stay stuck to the bottom
   ====================================================================== */
.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__main {
	display: flex !important; flex-direction: column; height: 100vh; height: 100dvh; max-height: 100dvh; overflow: hidden !important; padding: 0 !important; box-sizing: border-box;
}
.elementor-menu-cart__main .elementor-menu-cart__close-button { flex: none; margin: 0 !important; padding: 14px 18px 8px; }
.elementor-menu-cart__main .widget_shopping_cart_content { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.elementor-menu-cart__main .elementor-menu-cart__products { flex: 1 1 auto; min-height: 0; overflow-y: auto !important; max-height: none !important; padding: 0 20px 12px; -webkit-overflow-scrolling: touch; }
.elementor-menu-cart__main .elementor-menu-cart__product-price, .elementor-menu-cart__main .elementor-menu-cart__product-price .quantity { color: #0b192c !important; font-weight: 600 !important; opacity: 1 !important; }
.elementor-menu-cart__main .elementor-menu-cart__subtotal {
	flex: none; display: flex !important; justify-content: space-between; align-items: baseline; margin: 0 !important; padding: 14px 20px 8px !important; text-align: left !important;
	background: #fff; border-top: 1px solid #e5ded1 !important; border-bottom: 0 !important; box-shadow: 0 -10px 24px rgba(11, 25, 44, .06);
}
.elementor-menu-cart__main .elementor-menu-cart__subtotal strong { font: 800 12px/1 Manrope, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #7a7468; }
.elementor-menu-cart__main .elementor-menu-cart__subtotal .amount, .elementor-menu-cart__main .elementor-menu-cart__subtotal bdi { font: 600 24px/1.1 'Playfair Display', serif; color: #0b192c; }
.elementor-menu-cart__main .elementor-menu-cart__footer-buttons {
	flex: none; display: grid !important; grid-template-columns: 1fr 1.35fr; gap: 10px; padding: 6px 20px calc(16px + env(safe-area-inset-bottom)) !important; margin: 0 !important; background: #fff;
}
.elementor-menu-cart__main .elementor-menu-cart__footer-buttons .elementor-button {
	display: flex !important; align-items: center; justify-content: center; width: 100%; min-height: 50px; margin: 0 !important; padding: 0 14px !important; border-radius: 999px !important;
	font: 800 12px/1 Manrope, sans-serif !important; letter-spacing: .14em; text-transform: uppercase; text-align: center; box-shadow: none !important; box-sizing: border-box;
}
.elementor-menu-cart__main .elementor-menu-cart__footer-buttons .elementor-button-text { display: inline !important; }
.elementor-menu-cart__main .elementor-button--view-cart { background: #fff !important; color: #0b192c !important; border: 1.5px solid #0b192c !important; }
.elementor-menu-cart__main .elementor-button--view-cart:hover { background: #0b192c !important; color: #fff !important; }
.elementor-menu-cart__main .elementor-button--checkout { background: #dfba6d !important; color: #0b192c !important; border: 1.5px solid #dfba6d !important; }
.elementor-menu-cart__main .elementor-button--checkout:hover { background: #0b192c !important; border-color: #0b192c !important; color: #fff !important; }

/* ======================================================================
   9. Quantity boxes (side cart + checkout)
   ====================================================================== */
.ac-mqty-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ac-mqty { display: inline-flex; align-items: center; height: 36px; border: 1px solid #d9d3c5; border-radius: 999px; background: #fff; overflow: hidden; }
.ac-mqty .ac-mqty__btn { width: 34px; height: 100%; padding: 0; border: 0; background: transparent; color: #0b192c; font: 600 18px/1 Manrope, sans-serif; cursor: pointer; border-radius: 0; box-shadow: none; }
.ac-mqty .ac-mqty__btn:hover { background: #f3efe6; }
.ac-mqty .ac-mqty__input {
	width: 46px; height: 100%; margin: 0; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; text-align: center;
	font: 700 14px/1 Manrope, sans-serif; color: #0b192c; -moz-appearance: textfield; appearance: textfield; border-radius: 0;
}
.ac-mqty .ac-mqty__input::-webkit-outer-spin-button, .ac-mqty .ac-mqty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ac-mqty__x { font-size: 12px; color: #7a7468; }
.ac-mqty-row.is-busy, .is-busy > .ac-mqty { opacity: .5; pointer-events: none; }
.woocommerce-checkout-review-order-table .product-name .ac-mqty-row { margin-top: 8px; }
.elementor-menu-cart__product-price .ac-mqty-row { margin-top: 4px; }

/* ======================================================================
   10. Sticky Checkout bar (shows once the bag has something in it)
   ====================================================================== */
.ac-cartbar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 99995; display: flex; align-items: center; gap: 14px; padding: 10px 28px calc(10px + env(safe-area-inset-bottom)); box-sizing: border-box;
	background: #fff; border-top: 1px solid #e5ded1; box-shadow: 0 -8px 28px rgba(11, 25, 44, .1);
}
.ac-cartbar[hidden], body.ac-bag-open .ac-cartbar { display: none !important; }
body.ac-bag-open .elementor-element-2b000050, body.ac-bag-open .elementor-element-2b000051, body.ac-bag-open .ac-sticky { display: none !important; }
.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product .ac-mqty-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ac-cartbar__info { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; box-shadow: none; }
.ac-cartbar__count { font: 800 11px/1.3 Manrope, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #7a7468; }
.ac-cartbar__total { font: 600 20px/1.2 'Playfair Display', serif; color: #0b192c; }
.ac-cartbar__go {
	flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 200px; padding: 15px 30px; border-radius: 999px; background: #dfba6d; color: #0b192c !important;
	font: 800 12px/1 Manrope, sans-serif; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: background .2s ease, color .2s ease;
}
.ac-cartbar__go:hover { background: #0b192c; color: #fff !important; }
body.ac-cartbar-on { padding-bottom: 74px; }
/* product page bar and the call / WhatsApp buttons sit above the checkout bar */
body.ac-cartbar-on .ac-sticky { bottom: 68px; }
body.ac-cartbar-on .elementor-element.elementor-element-2b000051 { bottom: 88px !important; }
body.ac-cartbar-on .elementor-element.elementor-element-2b000050 { bottom: 144px !important; }
body.ac-cartbar-on.ac-sticky-on .elementor-element.elementor-element-2b000051 { bottom: 160px !important; }
body.ac-cartbar-on.ac-sticky-on .elementor-element.elementor-element-2b000050 { bottom: 216px !important; }
@media (max-width: 767px) {
	.ac-cartbar { padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); gap: 10px; }
	.ac-cartbar__total { font-size: 18px; }
	.ac-cartbar__go { min-width: 0; padding: 14px 24px; }
	body.ac-cartbar-on { padding-bottom: 66px; }
	body.ac-cartbar-on .ac-sticky { bottom: 0; }
	body.ac-sticky-on .ac-cartbar { display: none !important; }
	body.ac-cartbar-on .elementor-element.elementor-element-2b000051 { bottom: 80px !important; }
	body.ac-cartbar-on .elementor-element.elementor-element-2b000050 { bottom: 136px !important; }
	body.ac-cartbar-on.ac-sticky-on .elementor-element.elementor-element-2b000051 { bottom: 92px !important; }
	body.ac-cartbar-on.ac-sticky-on .elementor-element.elementor-element-2b000050 { bottom: 148px !important; }
}

.ac-video-section, .ac-video-section > .e-con-inner { padding: 0 !important; gap: 0 !important; max-width: none !important; }
.ac-video-section .elementor-widget { margin: 0 !important; width: 100%; }
.ac-videos-wrap { width: 100%; background: #0b192c; color: #fff; padding: clamp(56px, 7vw, 96px) 24px; box-sizing: border-box; }
.ac-videos-inner { max-width: 1360px; margin: 0 auto; }
.ac-videos-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.ac-videos-eyebrow { display: block; margin-bottom: 10px; font: 800 12px/1 Manrope, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #dfba6d; }
.ac-videos-title { margin: 0; font: 500 clamp(32px, 4vw, 46px)/1.1 'Playfair Display', serif; color: #fff; }
.ac-videos-text { margin: 12px 0 0; max-width: 520px; font: 400 15.5px/1.7 Manrope, sans-serif; color: #c9d0db; }
.ac-videos-hint { font: 700 11px/1.4 Manrope, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #8e98a6; }
.ac-videos {
	display: grid; grid-auto-flow: column; grid-auto-columns: 250px; gap: 18px; overflow-x: auto; padding: 0 0 18px;
	scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: #dfba6d #13263f;
}
.ac-videos::-webkit-scrollbar { height: 6px; }
.ac-videos::-webkit-scrollbar-track { background: #13263f; border-radius: 3px; }
.ac-videos::-webkit-scrollbar-thumb { background: #dfba6d; border-radius: 3px; }
.ac-video {
	position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 16px; background: #13263f; scroll-snap-align: start;
	box-shadow: 0 14px 30px rgba(0, 0, 0, .25);
}
.ac-video .ac-video__poster, .ac-video img.ac-video__poster, .elementor .ac-video img.ac-video__poster { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; display: block; margin: 0 !important; background: linear-gradient(160deg, #13263f, #1d3a5c); }
.ac-video::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 18, 32, 0) 45%, rgba(8, 18, 32, .78) 100%); pointer-events: none; }
.ac-video.is-playing::after { display: none; }
.ac-video__play { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; width: 100%; border: 0; padding: 0; background: transparent; cursor: pointer; }
.ac-video__play i {
	width: 62px; height: 62px; border-radius: 50%; background: #dfba6d; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 10px 26px rgba(0, 0, 0, .35); transition: transform .22s ease, background .22s ease;
}
.ac-video__play i::before { content: ''; margin-left: 4px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #0b192c; }
.ac-video__play:hover i { transform: scale(1.08); background: #fff; }
.ac-video__title { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px; font: 600 16px/1.3 'Playfair Display', serif; color: #fff; pointer-events: none; }
.ac-video video.ac-video__player, .ac-video iframe { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; border: 0; background: #000; object-fit: cover; }
.ac-video--demo { border: 1.5px dashed rgba(223, 186, 109, .55); box-shadow: none; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; box-sizing: border-box; }
.ac-video--demo::after { display: none; }
.ac-video--demo span { font: 600 14px/1.6 Manrope, sans-serif; color: #c9d0db; }
@media (max-width: 767px) {
	.ac-videos-wrap { padding: 52px 16px; }
	.ac-videos { grid-auto-columns: 62%; gap: 12px; }
	.ac-video__play i { width: 54px; height: 54px; }
}

/* ======================================================================
   11. Shop: AJAX loading state, scrollable filter panel, collapsible "Sort by"
   ====================================================================== */
.elementor-widget-wc-archive-products { transition: opacity .18s ease; }
.elementor-widget-wc-archive-products.ac-is-loading { opacity: .4; pointer-events: none; }

/* "Sort by" title is a button (phone: plain label, desktop / tablet: tap to open) */
.ac-filter__title--toggle {
	display: flex; align-items: center; gap: 8px; width: auto; margin: 0 0 10px; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
	background: none !important; box-shadow: none !important; color: #0b192c !important; text-align: left; cursor: default; pointer-events: none; transform: none !important;
}
.ac-filter__title--toggle:hover, .ac-filter__title--toggle:focus { background: none !important; color: #0b192c !important; box-shadow: none !important; transform: none !important; }
.ac-filter__current, .ac-filter__pm { display: none; }
.ac-filter__current { font-style: normal; }
@media (min-width: 768px) {
	.ac-filter__group--sort .ac-filter__title--toggle { width: 100%; cursor: pointer; pointer-events: auto; margin-bottom: 0; }
	.ac-filter__group--sort .ac-filter__title--toggle:focus-visible { outline: 2px solid #c5a059; outline-offset: 4px; }
	.ac-filter__group--sort .ac-filter__current {
		display: block; margin-left: auto; max-width: 58%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
		font: 600 12px/1 Manrope, sans-serif; letter-spacing: 0; text-transform: none; color: #7a7468;
	}
	.ac-filter__group--sort .ac-filter__pm { display: block; position: relative; flex: none; width: 16px; height: 16px; }
	.ac-filter__pm::before, .ac-filter__pm::after { content: ''; position: absolute; left: 50%; top: 50%; background: #0b192c; transition: transform .2s ease, opacity .2s ease; }
	.ac-filter__pm::before { width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; }
	.ac-filter__pm::after { width: 1.6px; height: 12px; margin: -6px 0 0 -.8px; }
	.ac-filter__group--sort.is-open .ac-filter__pm::after { transform: scaleY(0); opacity: 0; }
	.ac-filter__group--sort .ac-check { display: none; }
	.ac-filter__group--sort.is-open .ac-check { display: flex; }
	.ac-filter__group--sort.is-open .ac-filter__title--toggle { margin-bottom: 10px; }
}

/* Desktop sidebar: the panel scrolls on its own and always stays clear of the checkout bar */
@media (min-width: 768px) {
	.ac-shop-side { --ac-side-top: 112px; --ac-side-gap: 28px; top: var(--ac-side-top) !important; }
	body.admin-bar .ac-shop-side { --ac-side-top: 144px; }
	body.ac-cartbar-on .ac-shop-side { --ac-side-gap: 104px; }
	.ac-shop-side .ac-filter {
		max-height: calc(100vh - var(--ac-side-top) - var(--ac-side-gap)); max-height: calc(100dvh - var(--ac-side-top) - var(--ac-side-gap));
		overflow-y: auto; overscroll-behavior: contain; padding-right: 10px; scrollbar-width: thin; scrollbar-color: #d9d3c5 transparent;
	}
	.ac-shop-side .ac-filter::-webkit-scrollbar { width: 5px; }
	.ac-shop-side .ac-filter::-webkit-scrollbar-thumb { background: #d9d3c5; border-radius: 3px; }
	.ac-shop-side .ac-filter__head { position: sticky; top: 0; z-index: 2; background: #fff; padding-top: 2px; }
}

/* Product grid must never run over the footer: the footer paints above any card badge, the grid grows with its content */
footer.elementor-location-footer, .ac-footer { position: relative; z-index: 30; clear: both; }
/* Cards no longer create their own layout box, so a long grid can never sit on top of the footer */
.elementor-widget-wc-archive-products ul.products li.product { container-type: normal !important; }
.elementor-widget-wc-archive-products ul.products { position: relative; z-index: 0; }

/* "Load more" button under the shop grid */
.ac-more { flex-direction: column; align-items: center; gap: 12px; padding: 34px 0 14px; }
.ac-more::after { display: none !important; }
.ac-more__btn {
	min-width: 230px; height: 52px; margin: 0; padding: 0 34px; border: 0; border-radius: 999px; background: #0b192c !important; color: #fff !important; cursor: pointer;
	font: 800 12px/1 Manrope, sans-serif; letter-spacing: .16em; text-transform: uppercase; box-shadow: 0 8px 22px rgba(11, 25, 44, .16); transition: background .2s ease, color .2s ease, transform .15s ease;
}
.ac-more__btn:hover, .ac-more__btn:focus { background: #14294a !important; color: #dfba6d !important; }
.ac-more__btn:active { transform: translateY(1px); }
.ac-more__btn[disabled] { opacity: .65; cursor: wait; }
.ac-more__count { font: 600 11.5px/1 Manrope, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #6f7682; }

/* =====================================================================
   Product cards (home, wishlist, account, related) - colours, icons, phone layout
   ===================================================================== */
.ac-card .ac-card__title,
.ac-card .ac-card__title a { color: #0b192c !important; text-decoration: none !important; }
.ac-card .ac-card__title a:hover { color: #a77c28 !important; }
.ac-card .ac-card__title { font-family: var(--font-display, "Playfair Display", Georgia, serif); font-weight: 600; letter-spacing: 0; margin: 0; }
.ac-card .ac-card__cat { color: #a77c28; }
.ac-card .ac-card__price, .ac-card .ac-card__price ins, .ac-card .ac-card__price ins .amount, .ac-card .ac-card__price > .amount { color: #0b192c; }
.ac-card .ac-card__price del, .ac-card .ac-card__price del .amount { color: #8a8f98; }
.ac-card__img { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.ac-card__rail { display: contents; }
.ac-card .ac-card__action { border: 1px solid rgba(11, 25, 44, .08); color: #0b192c; padding: 0; cursor: pointer; }
.ac-card .ac-card__action svg { width: 17px; height: 17px; stroke-width: 1.6; }
.ac-card .ac-card__action:hover, .ac-card .ac-card__action:focus-visible { background: #0b192c; color: #dfba6d; border-color: #0b192c; }
.ac-card .ac-card__action.is-active { background: #dfba6d; border-color: #dfba6d; color: #0b192c; }

@media (max-width: 767px) {
	/* picture on the left, icons + badges in a slim column on the right (outside the picture) */
	.ac-card .ac-card__media {
		display: grid; grid-template-columns: minmax(0, 1fr) 34px; grid-template-areas: "img rail" "quick quick";
		column-gap: 7px; row-gap: 9px; align-items: start; overflow: visible; aspect-ratio: auto; background: transparent; border-radius: 0;
	}
	.ac-card .ac-card__img { position: relative; inset: auto; grid-area: img; aspect-ratio: 3 / 4; border-radius: 12px; background: #f5f2eb; }
	.ac-card:hover .ac-card__media img { transform: none; }
	.ac-card .ac-card__rail { grid-area: rail; display: flex; flex-direction: column; align-items: stretch; gap: 9px; min-width: 0; }
	.ac-card .ac-card__actions { position: static; order: 1; display: flex; flex-direction: column; gap: 7px; opacity: 1; transform: none; }
	.ac-card .ac-card__badges { position: static; order: 2; display: flex; flex-direction: column; gap: 5px; pointer-events: auto; }
	.ac-card .ac-card__action { width: 34px; height: 34px; box-shadow: none; border: 1px solid #e5ded1; background: #fff; }
	.ac-card .ac-card__action svg { width: 16px; height: 16px; }
	.ac-card .ac-badge { width: 100%; box-sizing: border-box; justify-content: center; padding: 6px 1px; border-radius: 6px; font-size: 8.5px; letter-spacing: .03em; line-height: 1.15; text-align: center; overflow-wrap: anywhere; }
	.ac-card .ac-badge--new { background: #fff; border: 1px solid #0b192c; color: #0b192c; }
	.ac-card .ac-badge--image img { width: 100%; height: auto; }

	/* Add to bag: a neat pill under the picture on phones */
	.ac-card .ac-card__media .ac-card__quick { display: block !important; position: static !important; grid-area: quick; opacity: 1 !important; transform: none !important; width: auto; }
	.ac-card .ac-card__media .ac-card__quick .ac-btn {
		display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 40px; padding: 0 10px; border-radius: 999px;
		background: #0b192c !important; border-color: #0b192c !important; color: #fff !important; font-size: 10px; font-weight: 800; letter-spacing: .1em; box-shadow: none; backdrop-filter: none;
	}
	.ac-card .ac-card__media .ac-card__quick .ac-btn svg { width: 14px; height: 14px; color: #dfba6d; }
	.ac-card .ac-card__media .ac-card__quick .ac-btn:hover, .ac-card .ac-card__media .ac-card__quick .ac-btn:active { background: #dfba6d !important; border-color: #dfba6d !important; color: #0b192c !important; }
	.ac-card .ac-card__media .ac-card__quick .ac-btn:hover svg { color: #0b192c; }

	.ac-card .ac-card__body { padding: 11px 2px 0; }
	.ac-card .ac-card__cat { font-size: 10px; margin-bottom: 3px; }
	.ac-card .ac-card__title { font-size: 15.5px !important; line-height: 1.28 !important; }
	.ac-card .ac-card__foot { flex-wrap: wrap; row-gap: 4px; margin-top: 5px; }
	.ac-card .ac-card__price { font-size: 14px; }
}

/* =====================================================================
   Quick view popup: close button always visible, content scrolls
   ===================================================================== */
.ac-modal { z-index: 100002 !important; }
.ac-modal__box { display: flex !important; flex-direction: column; overflow: hidden !important; max-height: min(90vh, 92dvh); }
.ac-modal__content { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.ac-modal__close { position: absolute !important; top: 12px; right: 12px; z-index: 10; width: 40px; height: 40px; padding: 0; color: #0b192c; background: #fff; border: 1px solid #e5ded1; box-shadow: 0 4px 14px rgba(11, 25, 44, .2); cursor: pointer; }
.ac-quick__body h2, .ac-quick__body h2 a { color: #0b192c !important; }
.ac-quick__price, .ac-quick__price .amount { color: #0b192c; }
body:has(.ac-modal.is-open) .ac-mnav, body:has(.ac-modal.is-open) .ac-cartbar { display: none !important; }
@media (max-width: 767px) {
	.ac-modal { padding: 0; place-items: end center; }
	.ac-modal__box { width: 100%; max-height: 92dvh; border-radius: 20px 20px 0 0; }
	.ac-quick__img img { aspect-ratio: 4 / 5; max-height: 46dvh; width: 100%; object-fit: cover; object-position: top center; }
	.ac-quick__body { padding: 20px 20px 0; }
	.ac-quick__body h2 { font-size: 24px; }
	.ac-quick__actions { position: sticky; bottom: 0; z-index: 2; margin: 18px -20px 0; padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid #eee8dc; }
	.ac-quick__actions .ac-btn { flex: 1 1 auto; justify-content: center; min-height: 44px; }
}
.ac-more.is-done { display: none !important; }
.elementor-widget-wc-archive-products, .elementor-widget-wc-archive-products > .elementor-widget-container { height: auto !important; overflow: visible; }
@media (max-width: 767px) {
	body .elementor-element-4e000010 { height: auto !important; min-height: 0 !important; }
	body .ac-shop-main { flex: 0 0 auto !important; height: auto !important; min-height: 0 !important; }
}

/* Header logo (Elementor header): on small phones it must never run under the menu button */
@media (max-width: 520px) {
	.elementor-location-header .ac-logo { gap: 8px !important; min-width: 0; }
	.elementor-location-header .ac-logo__seal { width: 36px !important; height: 36px !important; flex: none; font-size: 13px !important; }
	.elementor-location-header .ac-logo__txt small { display: none !important; }
	.elementor-location-header .ac-logo__txt strong { font-size: 15px !important; letter-spacing: .05em !important; white-space: nowrap; }
	.elementor-element-1a000011 { flex: 0 1 auto; min-width: 0; }
}
@media (max-width: 400px) {
	.elementor-location-header .ac-logo__seal { width: 32px !important; height: 32px !important; font-size: 12px !important; }
	.elementor-location-header .ac-logo__txt strong { font-size: 13.5px !important; letter-spacing: .03em !important; }
}

/* =====================================================================
   Brand colours everywhere: navy = primary, gold = secondary
   ===================================================================== */
body.elementor-kit-51 {
	--e-global-color-primary: #0b192c;
	--e-global-color-secondary: #a77c28;
	--e-global-color-text: #3a4252;
	--e-global-color-accent: #a77c28;
}
/* sale price red, regular (struck) price black - everywhere */
.price ins, .price ins *, .ac-card__price ins, .ac-card__price ins *, .ac-sticky__price ins, .ac-sticky__price ins *,
.ac-quick__price ins, .ac-quick__price ins *, .elementor-widget-woocommerce-product-price ins, .elementor-widget-woocommerce-product-price ins * {
	color: #c62828 !important; background: transparent !important; text-decoration: none !important; opacity: 1 !important;
}
.price del, .price del *, .ac-card__price del, .ac-card__price del *, .ac-sticky__price del, .ac-sticky__price del *,
.ac-quick__price del, .elementor-widget-woocommerce-product-price del, .elementor-widget-woocommerce-product-price del * {
	color: #14110f !important; opacity: 1 !important;
}
.ac-quick__sale { text-decoration: none; font-weight: 800; }
/* Elementor's WooCommerce widgets paint links light blue by default: use the brand gold / navy instead */
.elementor-widget-woocommerce-cart, .elementor-widget-woocommerce-checkout-page, .elementor-widget-woocommerce-my-account,
.elementor-widget-woocommerce-purchase-summary, .elementor-widget-woocommerce-notices, .woocommerce {
	--links-normal-color: #a77c28; --links-hover-color: #0b192c;
}
.ac-reco__more, .woocommerce a.ac-reco__more { color: #0b192c !important; }
.ac-reco__more:hover, .woocommerce a.ac-reco__more:hover { color: #a77c28 !important; }
.shipping-calculator-button, .woocommerce a.showcoupon, .woocommerce a.showlogin { color: #a77c28 !important; }
.shipping-calculator-button:hover, .woocommerce a.showcoupon:hover, .woocommerce a.showlogin:hover { color: #0b192c !important; }
/* Checkout order summary: the label cells (Subtotal / Shipment / Total) stay plain white, no stray cream block */
.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td { background: transparent !important; }

/* =====================================================================
   Shop / category / home grids (Elementor product cards)
   one-line titles, prices + buttons on one row, heart + quick view icons
   ===================================================================== */
li.product .ac-heart, li.product .ac-qv {
	position: absolute; right: 12px; width: 36px; height: 36px; padding: 0; border-radius: 50%; background: #fff; border: 1px solid rgba(11, 25, 44, .08);
	display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 6; color: #0b192c; box-shadow: 0 2px 8px rgba(11, 25, 44, .14);
	transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
li.product .ac-heart { top: 12px; }
li.product .ac-qv { top: 56px; }
li.product .ac-heart svg, li.product .ac-qv svg { width: 18px; height: 18px; fill: none; stroke: #0b192c; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s ease; }
li.product .ac-heart:hover, li.product .ac-qv:hover, li.product .ac-heart:focus-visible, li.product .ac-qv:focus-visible { background: #0b192c; border-color: #0b192c; transform: none; }
li.product .ac-heart:hover svg, li.product .ac-qv:hover svg, li.product .ac-heart:focus-visible svg, li.product .ac-qv:focus-visible svg { stroke: #dfba6d; }
li.product .ac-heart.is-on svg { fill: #c0392b; stroke: #c0392b; }
li.product .ac-heart.is-on:hover svg { stroke: #c0392b; }

li.product .woocommerce-loop-product__title {
	display: block; color: #0b192c !important; font: 700 14px/1.35 Manrope, sans-serif !important; letter-spacing: 0 !important; margin: 0 0 4px !important;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
li.product a.woocommerce-LoopProduct-link:hover .woocommerce-loop-product__title { color: #a77c28 !important; }
li.product .price { display: flex !important; align-items: baseline; flex-wrap: nowrap; gap: 8px; margin: 0; white-space: nowrap; overflow: hidden; line-height: 1.4; }
li.product .price del { order: 1; margin: 0 !important; font-weight: 500; font-size: .9em; }
li.product .price ins { order: 2; font-weight: 800; }
li.product .price > .woocommerce-Price-amount { color: #0b192c; font-weight: 800; }
li.product .price .screen-reader-text { position: absolute; }
/* equal-height cards: the pill always sits at the same height in every card of a row */
li.product { display: flex; flex-direction: column; }
li.product > a.woocommerce-LoopProduct-link { flex: 1 0 auto; }

@media (max-width: 767px) {
	ul.products li.product {
		display: grid !important; grid-template-columns: minmax(0, 1fr) 36px; grid-template-rows: 36px 36px auto auto auto auto;
		column-gap: 8px; row-gap: 8px; align-content: start;
	}
	/* the link dissolves so the picture, badge, title and price become grid cells of the card */
	ul.products li.product > a.woocommerce-LoopProduct-link { display: contents !important; }
	ul.products li.product a.woocommerce-LoopProduct-link > img:not(.ac-hover-img) {
		grid-column: 1; grid-row: 1 / 4; align-self: start; width: 100%; margin: 0 !important; border-radius: 12px !important;
	}
	ul.products li.product img.ac-hover-img { display: none !important; }
	/* icons + sale badge: a slim column on the right, outside the picture */
	ul.products li.product .ac-heart, ul.products li.product .ac-qv {
		position: static !important; grid-column: 2; width: 36px; height: 36px; box-shadow: none; border-color: #e5ded1;
	}
	ul.products li.product .ac-heart { grid-row: 1; }
	ul.products li.product .ac-qv { grid-row: 2; }
	ul.products li.product .onsale {
		position: static !important; grid-column: 2; grid-row: 3; align-self: start; width: 100% !important; box-sizing: border-box;
		padding: 6px 1px !important; border-radius: 6px !important; font-size: 8.5px !important; line-height: 1.15 !important; letter-spacing: .02em; text-align: center; overflow-wrap: normal; word-break: normal;
	}
	ul.products li.product .woocommerce-loop-product__title { grid-column: 1 / -1; grid-row: 4; font-size: clamp(11.5px, 3.4vw, 13.5px) !important; margin: 2px 0 0 !important; }
	ul.products li.product .price { grid-column: 1 / -1; grid-row: 5; font-size: clamp(12px, 3.5vw, 14px) !important; gap: 6px; }
	ul.products li.product > a.button.add_to_cart_button, ul.products li.product > a.button.product_type_variable {
		grid-column: 1 / -1; grid-row: 6; margin: 2px 0 0 !important; align-self: end;
	}
}

/* Header on tablet / phone: logo, then the icons, then the menu (three-line) button as the very last icon on the right */
@media (max-width: 1024px) {
	body .elementor-element-1a000010 { gap: 6px; }
	body .elementor-element-1a000011 { order: 1; flex: 1 1 auto; min-width: 0; }
	body .elementor-element-1a000030 { order: 2; margin-left: auto; flex: 0 0 auto; width: auto !important; }
	body .elementor-element-1a000020 { order: 3; flex: 0 0 auto; width: auto !important; }
	body .elementor-element-1a000021 .elementor-menu-toggle { margin: 0 !important; }
}

/* Checkout: remove (trash) button in front of every item */
.ac-co-remove {
	display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; flex: none; width: 30px; height: 30px; margin: 0 10px 0 0; padding: 0;
	border: 1px solid #e5ded1; border-radius: 50%; background: #fff !important; color: #0b192c !important; cursor: pointer; box-shadow: none;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.ac-co-remove::before {
	content: ''; width: 15px; height: 15px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4h8v2'/%3E%3Cpath d='M6 6l1 14h10l1-14'/%3E%3Cpath d='M10 10v7M14 10v7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4h8v2'/%3E%3Cpath d='M6 6l1 14h10l1-14'/%3E%3Cpath d='M10 10v7M14 10v7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ac-co-remove:hover, .ac-co-remove:focus-visible { background: #0b192c !important; color: #dfba6d !important; border-color: #0b192c; }
.ac-co-remove.is-busy { opacity: .5; pointer-events: none; }
.ac-co-removing { opacity: .45; }

/* Small phones: the logo shrinks so it never runs under the menu button */
@media (max-width: 520px) {
	.ac-header .ac-logo { gap: 8px; min-width: 0; }
	.ac-header .ac-logo__seal { width: 36px; height: 36px; font-size: 13px; flex: none; }
	.ac-header .ac-logo__text small { display: none !important; }
	.ac-header .ac-logo__text strong { font-size: 15px; letter-spacing: .05em; white-space: nowrap; }
	.ac-header .ac-header__in { gap: 6px; }
}
