/* Redesign look (mu-plugins/amouriq-redesign-look.php): what the Strada / Perla demo does that Elementor settings
 * cannot. Every rule hangs off a CSS class set on an Elementor widget or container. */

/* --- Links: a line grows from the middle on hover and shrinks back to the middle on leaving (the demo's
 * hover-underlined-link: 1px, 0.3 s ease-in-out). !important on the transition: Elementor gives icon-list text
 * "transition: color .3s" with a longer selector, which would make the line jump. */
.amq-link .elementor-heading-title a,
.amq-link .elementor-button-text,
.amq-link .elementor-icon-list-text {
	background: linear-gradient(currentColor, currentColor) no-repeat 50% 94% / 0 1px;
	transition: background-size .3s ease-in-out, color .3s !important;
}
.amq-link a:hover .elementor-button-text, .amq-link a:active .elementor-button-text,
.amq-link .elementor-heading-title a:hover, .amq-link .elementor-heading-title a:active,
.amq-link .elementor-heading-title a:focus-visible,
.amq-link a:hover .elementor-icon-list-text,
.amq-link a:focus-visible .elementor-icon-list-text {
	background-size: 100% 1px;
}

/* Hero links: underlined at rest; on hover the line goes at once and an arrow slides in (the demo's tertiary button). */
.amq-hero-link .elementor-button-content-wrapper { position: relative; }
.amq-hero-link .elementor-button-text { background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; transition: none !important; }
.amq-hero-link a:hover .elementor-button-text, .amq-hero-link a:active .elementor-button-text, .amq-hero-link a:focus-visible .elementor-button-text { background-size: 0 1px; }
.amq-hero-link .elementor-button-content-wrapper::after {
	content: ""; position: absolute; left: 100%; top: 50%; width: 16px; height: 17px; margin-top: -8.5px;
	background: currentColor; opacity: 0; transform: translateX(-6px); transition: opacity .3s ease, transform .3s ease; pointer-events: none;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 17'%3E%3Cpath d='M8.49 8.34 6.01 5.85l.76-.76 3.24 3.25-3.24 3.24-.76-.76z'/%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 16 17'%3E%3Cpath d='M8.49 8.34 6.01 5.85l.76-.76 3.24 3.25-3.24 3.24-.76-.76z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.amq-hero-link a:hover .elementor-button-content-wrapper::after, .amq-hero-link a:active .elementor-button-content-wrapper::after, .amq-hero-link a:focus-visible .elementor-button-content-wrapper::after { opacity: 1; transform: translateX(6px); }

/* Home-page product tabs: the open tab a black chip, the others plain words with a line that grows on hover (the demo's). */
.amq-tabs .e-n-tab-title:not([aria-selected="true"]) {
	background: linear-gradient(currentColor, currentColor) no-repeat 50% 94% / 0 1px !important;
	transition: background-size .3s ease-in-out !important;
}
.amq-tabs .e-n-tab-title:not([aria-selected="true"]):hover { background-size: calc(100% - 10px) 1px !important; }

/* Product cards: the photo fills the 3:4 frame and the second photo replaces it at once (no fade), as the demo's. */
.amq-card .amq-card-image img { object-fit: cover !important; }
.amq-card .amq-card-image .amq-card-hover { transition: none; }
/* A product with one photo only (no second photo to show) grows it a little instead, as the demo's (0.7s). */
.amq-card .amq-card-image .elementor-widget-container { overflow: hidden; }
.amq-card .amq-card-image img:only-of-type { transition: transform .7s cubic-bezier(.4, 0, .25, 1); }
@media (hover: hover) and (pointer: fine) {
	.amq-card:hover .amq-card-image img:only-of-type { transform: scale(1.02); }
}

/* --- Header ------------------------------------------------------------------------------------------------ */
/* Search, as in the demo: the magnifier opens a grey panel under the header (amq-search-sheet), the rest of the page
 * dimmed below it. Inside: FiboSearch with a line under the box and a black "ค้นหา" button, popular searches as chips. */
.amq-search-toggle { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; background: none; color: var(--e-global-color-primary, #000); cursor: pointer; }
.amq-search-toggle:hover, .amq-search-toggle:focus { background: none; color: var(--e-global-color-primary, #000); opacity: .7; }
.amq-search-toggle svg { width: 28px; height: 28px; fill: currentColor; }
/* The panel (amq-search-sheet) sits in a wrapper that clips it, so it slides down from behind the header: 0.2 s linear,
 * no fade, as the demo's. Layout as the demo's: content 1362px wide at most, a 580px column (search box, popular
 * searches, results) and two 350 x 473 collection cards. */
.e-con.amq-search-clip { position: absolute; top: 100%; left: 0; right: 0; z-index: 5; overflow: hidden; pointer-events: none; }
.e-con.amq-search-sheet { display: none; pointer-events: auto; padding-inline: max(80px, calc((100% - 1362px) / 2)); }
.e-con.amq-search-sheet.is-open { display: flex; }
.amq-motion .e-con.amq-search-sheet { display: flex; transform: translateY(-100%); visibility: hidden; transition: transform .2s linear, visibility 0s linear .2s; }
.amq-motion .e-con.amq-search-sheet.is-open { transform: none; visibility: visible; transition: transform .2s linear; }

.e-con.amq-search-left { position: relative; flex: 0 0 580px; max-width: 580px; height: 473px; }
.amq-search-cards { flex: none; }
.amq-search-cards > .e-con { flex: 0 0 350px; width: 350px; aspect-ratio: 3 / 4; min-height: 0; box-sizing: border-box; }

/* The box sits in the middle of the column until the shopper types, then moves to the top; its label shrinks. */
.amq-search-sheet .amq-search-box.elementor-widget, .e-con.amq-search-popular { position: absolute; left: 0; width: 100%; }
.amq-search-sheet .amq-search-box.elementor-widget { top: 40%; }
.e-con.amq-search-popular { top: calc(40% + 96px); }
.amq-motion .amq-search-sheet .amq-search-box.elementor-widget, .amq-motion .e-con.amq-search-popular { transition: top .5s cubic-bezier(.16, 1, .3, 1); }
.amq-search-sheet.is-active .amq-search-box.elementor-widget { top: 0; }
.amq-search-sheet.is-active .e-con.amq-search-popular { top: 96px; }
.amq-search-sheet.has-results .e-con.amq-search-popular { display: none; }
.amq-search-sheet .dgwt-wcas-sf-wrapp { position: relative; }
.amq-search-sheet .dgwt-wcas-sf-wrapp::before {
	content: "เริ่มค้นหา"; position: absolute; left: 0; top: 13px; z-index: 1; pointer-events: none;
	font-size: 14px; letter-spacing: 0; color: #646464; transition: top .3s ease-in-out, font-size .3s ease-in-out, letter-spacing .3s ease-in-out;
}
html[lang^="en"] .amq-search-sheet .dgwt-wcas-sf-wrapp::before { content: "Start searching"; }
.amq-search-sheet.is-active .dgwt-wcas-sf-wrapp::before { top: -4px; font-size: 10px; letter-spacing: .3px; }
.amq-search-sheet .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input { border-bottom: 2px solid #ddd !important; transition: border-color .3s ease; }
.amq-search-sheet.is-active .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input { border-bottom-color: #000 !important; }
.amq-search-sheet .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input::placeholder { color: transparent; }

/* FiboSearch's own result boxes are moved into the panel (amq-redesign.js) and laid out as the demo's list: a black
 * "Products" chip, then rows of a 64 x 84 photo, the name and the price. Categories and its details box are not shown. */
html.amq-search-open .dgwt-wcas-details-wrapp { display: none !important; }
.amq-search-sheet:not(.has-results) .amq-search-results { pointer-events: none; } /* empty: do not cover the box */
.amq-search-results { position: absolute; top: 84px; left: 0; right: 0; bottom: 0; overflow-y: auto; scrollbar-width: thin; }
.amq-search-results .dgwt-wcas-suggestions-wrapp {
	position: static !important; width: auto !important; height: auto !important; max-height: none !important; top: auto !important; left: auto !important;
	border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important;
}
.amq-search-results .dgwt-wcas-suggestion-tax, .amq-search-results .dgwt-wcas-suggestion-headline:has(+ .dgwt-wcas-suggestion-tax) { display: none !important; }
.amq-search-results .dgwt-wcas-suggestion-headline { display: inline-block !important; width: auto !important; margin: 0 0 8px; padding: 2px 10px !important; background: #000 !important; border: 0 !important; }
.amq-search-results .dgwt-wcas-suggestion-headline .dgwt-wcas-st { color: #fff !important; font-size: 14px !important; font-weight: 500 !important; text-transform: none !important; }
.amq-search-results .dgwt-wcas-suggestion-product { display: flex !important; align-items: center; gap: 16px; height: 90px; padding: 3px 0 !important; background: transparent !important; border: 0 !important; margin-bottom: 2px; }
.amq-search-results .dgwt-wcas-suggestion-product .dgwt-wcas-si { flex: none; width: 64px !important; height: 84px !important; overflow: hidden; margin: 0 !important; }
.amq-search-results .dgwt-wcas-suggestion-product .dgwt-wcas-si img { width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; transition: transform .7s cubic-bezier(.4, 0, .25, 1); }
.amq-search-results .dgwt-wcas-suggestion-product:hover .dgwt-wcas-si img { transform: scale(1.02); }
.amq-search-results .dgwt-wcas-suggestion-product .dgwt-wcas-content-wrapp { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; padding: 0 !important; }
.amq-search-results .dgwt-wcas-suggestion-product .dgwt-wcas-st { font-size: 14px !important; font-weight: 500; color: #000 !important; }
.amq-search-results .dgwt-wcas-suggestion-product .dgwt-wcas-meta { position: static !important; width: auto !important; text-align: left !important; font-size: 14px; color: #646464; }
.amq-search-results .dgwt-wcas-suggestion-more { padding: 12px 0 !important; font-size: 14px; background: transparent !important; }

.amq-search-sheet .dgwt-wcas-search-wrapp { max-width: none; }
.amq-search-sheet .dgwt-wcas-sf-wrapp { display: flex; gap: 16px; align-items: flex-end; background: none; padding: 0; }
/* !important: FiboSearch's "Solaris" style sets the box with selectors of its own that change between versions. */
.amq-search-sheet .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
	height: 44px; padding: 0 !important; border: 0 !important; border-bottom: 1px solid #000 !important; border-radius: 0 !important;
	background: transparent !important; box-shadow: none !important; font: inherit; color: #000;
}
.amq-search-sheet .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input::placeholder { color: #646464; opacity: 1; }
.amq-search-sheet .dgwt-wcas-ico-magnifier { display: none; }
.amq-search-sheet .dgwt-wcas-sf-wrapp .dgwt-wcas-close { right: 104px; } /* clear-text ×: left of the button, not on it */
.amq-search-sheet .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit {
	position: static; flex: none; width: auto; height: 40px; min-height: 0; padding: 0 22px; border-radius: 0;
	background: var(--e-global-color-primary, #000); color: #fff; font: inherit; font-size: 14px; opacity: 1;
}
.amq-search-sheet .dgwt-wcas-search-submit::before, .amq-search-sheet .dgwt-wcas-search-submit svg { display: none; }
.amq-search-sheet .dgwt-wcas-search-submit::after { content: "ค้นหา"; position: static; border: 0; }
html[lang^="en"] .amq-search-sheet .dgwt-wcas-search-submit::after { content: "Search"; }
/* Popular searches: white chips that turn black with white text on hover (the demo's, 0.45 s). !important: Elementor
   colours the title with a longer selector. */
.amq-pill .elementor-heading-title a { display: inline-block; padding: 2px 8px; background: #fff; border: 1px solid #fff; transition: background-color .45s cubic-bezier(.165, .84, .44, 1), color .45s cubic-bezier(.165, .84, .44, 1), border-color .45s cubic-bezier(.165, .84, .44, 1); }
.amq-pill .elementor-heading-title a:hover, .amq-pill .elementor-heading-title a:focus-visible { background: #000; border-color: #000; color: #fff !important; }

/* Cart as words: "ตะกร้า (2)" / "Cart (2)". Elementor's Menu Cart has no text label, so the icon is hidden and the
 * label written here; the number is the widget's own counter (Items Indicator: Plain). */
.amq-cart-text .elementor-menu-cart__toggle .elementor-button-icon > :not(.elementor-button-icon-qty) { display: none; }
.amq-cart-text .elementor-menu-cart__toggle .elementor-button-icon { font: inherit; color: var(--e-global-color-primary, #000); gap: .25em; }
.amq-cart-text .elementor-menu-cart__toggle .elementor-button-icon::before { content: "ตะกร้า"; }
html[lang^="en"] .amq-cart-text .elementor-menu-cart__toggle .elementor-button-icon::before { content: "Cart"; }
.amq-cart-text .elementor-menu-cart__toggle .elementor-button-icon-qty::before { content: "("; }
.amq-cart-text .elementor-menu-cart__toggle .elementor-button-icon-qty::after { content: ")"; }
.amq-cart-text .elementor-menu-cart__toggle .elementor-button-icon { background: linear-gradient(currentColor, currentColor) no-repeat 50% 100% / 0 1px; transition: background-size .3s ease; }
.amq-cart-text .elementor-menu-cart__toggle .elementor-button:hover .elementor-button-icon { background-size: 100% 1px; }

/* Hide on scroll down, back on scroll up (amq-redesign.js), with the demo's timing. Back shows the menu row only:
 * the ticker stays above the screen edge. Moved with margin-top, not transform: a transform would make the header the
 * frame of the fixed menu panel inside it, so the panel would shrink to the header's height. */
.amq-header.elementor-sticky { transition: margin-top .85s cubic-bezier(.602, .007, .374, .995); }
/* !important: Elementor's sticky script writes margin-top: 0 inline on the stuck header. */
.amq-header.amq-header--hidden { margin-top: calc(-1 * var(--amq-header-h, 200px)) !important; }
.amq-header.amq-header--back { margin-top: calc(-1 * var(--amq-ticker-h, 0px)) !important; }
@media (prefers-reduced-motion: reduce) { .amq-header.elementor-sticky { transition: none; } }

/* "⋮": three dots that turn when open, and the panel beside them that slides open. */
.amq-more-toggle {
	display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px;
	width: 32px; height: 32px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer;
	transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}
.amq-more-toggle span { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.amq-more-toggle:hover, .amq-more-toggle:focus { background: none; color: inherit; }
.amq-more-toggle[aria-expanded="true"] { transform: rotate(90deg); }
/* .e-con: Elementor's container rules would otherwise win and let the closed panel's content spill over the button. */
.e-con.amq-more {
	max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; visibility: hidden;
	transition: max-width .4s ease, opacity .3s ease, visibility 0s .4s;
}
.e-con.amq-more.is-open { max-width: 420px; opacity: 1; visibility: visible; transition: max-width .4s ease, opacity .3s ease; }

/* --- Motion (only with the script running: html.amq-motion) --------------------------------------------------- */
@keyframes amq-word-rise {
	from { transform: translateY(60%) rotate(3deg); clip-path: inset(0 0 100% 0); }
	to   { transform: none; clip-path: inset(-50% -10% -50% -10%); } /* room for Thai marks above and below */
}
@keyframes amq-rise { from { transform: translateY(100px); opacity: 0; } to { transform: none; opacity: 1; } }

.amq-motion .amq-hero-heading .amq-word {
	display: inline-block;
	transform: translateY(60%) rotate(3deg);
	clip-path: inset(0 0 100% 0);
}
.amq-motion .amq-hero-heading.is-in .amq-word {
	animation: amq-word-rise 1s ease calc(.1s + var(--amq-w, 0) * .12s) forwards;
}

.amq-motion .e-loop-item { opacity: 0; }
.amq-motion .e-loop-item.is-in {
	animation: amq-rise 1s cubic-bezier(.19, 1, .22, 1) calc(var(--amq-i, 0) * .08s) forwards;
}

.amq-motion .amq-reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.19, 1, .22, 1); }
.amq-motion .amq-reveal.is-in { opacity: 1; transform: none; }

.amq-motion .amq-reveal-text {
	-webkit-mask-image: linear-gradient(180deg, #000 33.33%, transparent 66.66%);
	mask-image: linear-gradient(180deg, #000 33.33%, transparent 66.66%);
	-webkit-mask-size: 100% 300%; mask-size: 100% 300%;
	-webkit-mask-position: 0 100%; mask-position: 0 100%;
	transition: -webkit-mask-position 1.5s ease, mask-position 1.5s ease;
}
.amq-motion .amq-reveal-text.is-in { -webkit-mask-position: 0 0; mask-position: 0 0; }

/* --- Header menus, as the demo (ticket 14) ---------------------------------------------------------------------- */
/* A 1px line grows from the middle of the menu word on hover and stays while its panel is open. */
.amq-header .e-n-menu-item .e-n-menu-title-text {
	background: linear-gradient(currentColor, currentColor) no-repeat 50% 94% / 0 1px;
	transition: background-size .3s ease-in-out;
}
.amq-header .e-n-menu-item:hover .e-n-menu-title-text,
.amq-header .e-n-menu-item .e-n-menu-title:focus-within .e-n-menu-title-text,
.amq-header .e-n-menu-item:has(> .e-n-menu-content > .e-active) .e-n-menu-title-text { background-size: 100% 1px; }

/* The page behind an open menu dims. One layer (made by amq-redesign.js, window.amqDim) for every panel. */
.amq-dim { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .4); opacity: 0; visibility: hidden; pointer-events: none; }
.amq-dim.is-on { opacity: 1; visibility: visible; }
.amq-motion .amq-dim { transition: opacity .3s ease-in-out, visibility .3s ease-in-out; }

/* The panels fade in (0.3 s) instead of switching on. Elementor hides a closed panel with display: none, which cannot
 * fade, so with motion on a closed panel is kept but see-through and out of reach. The wrapper ignores the pointer
 * so the invisible panel never catches a hover or click; the open panel takes it back. */
.amq-motion .amq-header .e-n-menu-content { top: 100%; pointer-events: none; }
.amq-motion .amq-header .e-n-menu-content > .e-con.amq-mega,
.amq-motion .amq-header .e-n-menu-content > .e-con.amq-dropdown {
	display: flex; opacity: 0; visibility: hidden;
	transition: opacity .3s ease-in-out, visibility .3s ease-in-out;
}
.amq-motion .amq-header .e-n-menu-content > .e-con.amq-mega.e-active,
.amq-motion .amq-header .e-n-menu-content > .e-con.amq-dropdown.e-active { opacity: 1; visibility: visible; pointer-events: auto; }

/* SHOP cards: tall 3:4 photos with the name on the photo; the photo zooms a little and the name's line grows on hover. */
.amq-mega-card { position: relative; overflow: hidden; }
.amq-mega-card .elementor-widget-image img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .7s cubic-bezier(.4, 0, .25, 1); }
.amq-mega-card::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .2); pointer-events: none; }
.amq-mega-card .elementor-widget-heading { position: absolute; left: 0; right: 0; bottom: 32px; z-index: 1; transform: translateY(8px); transition: transform .3s ease-out; }
.amq-mega-card .elementor-heading-title a { background: linear-gradient(currentColor, currentColor) no-repeat 50% 100% / 0 1px; transition: background-size .3s ease; }
.amq-mega-card:hover img { transform: scale(1.02); }
.amq-mega-card:hover .elementor-widget-heading { transform: none; }
.amq-mega-card:hover .elementor-heading-title a { background-size: 100% 1px; }
/* ... and rise one after another when the panel opens (0 / 0.08 / 0.16 s). */
.amq-motion .amq-mega-card { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.amq-motion .amq-mega.e-active .amq-mega-card { opacity: 1; transform: none; }
.amq-motion .amq-mega.e-active .amq-mega-card:nth-child(2) { transition-delay: .08s; }
.amq-motion .amq-mega.e-active .amq-mega-card:nth-child(3) { transition-delay: .16s; }

/* --- Side menu (the hamburger), as the demo's (ticket 16) --------------------------------------------------------- */
/* The hamburger: two short lines (the long one on top) and no change on hover, as the demo; instead of the three-bar font icon. */
.amq-burger .elementor-icon { position: relative; display: block; width: 32px; height: 32px; }
.amq-burger .elementor-icon > * { display: none; }
.amq-burger .elementor-icon::before, .amq-burger .elementor-icon::after { content: ""; position: absolute; left: 7px; height: 1.5px; background: currentColor; }
.amq-burger .elementor-icon::before { top: 13px; width: 17px; }
.amq-burger .elementor-icon::after { top: 16.7px; width: 11.2px; }

/* Width: 802px on desktop (the demo's), the whole screen on a phone. */
.amq-sidemenu .e-off-canvas__content { --e-off-canvas-width: min(802px, 100vw); --e-off-canvas-height: 100%; box-shadow: none; overflow: hidden; }
@media (max-width: 767px) { .amq-sidemenu .e-off-canvas__content { --e-off-canvas-width: 100vw; } }
.amq-side-body { height: 100vh; }
/* Two columns, 0.94fr : 1fr as in the demo. */
.amq-side-body > .amq-side-left { flex: 0 0 48.45%; max-width: 48.45%; min-width: 0; overflow-y: auto; }
.amq-side-body > .amq-side-right { flex: 1 1 0; min-width: 0; position: relative; }
@media (max-width: 767px) { .amq-side-body > .amq-side-left { flex: 1 1 auto; max-width: none; } }

/* Links: collections 14px/500, the rest 12px grey after a gap; they dim to 70% on hover. */
.amq-side-main { margin-top: 40px; }
.amq-side-main .elementor-icon-list-items, .amq-side-secondary .elementor-icon-list-items { gap: 0; }
.amq-side-main .elementor-icon-list-icon, .amq-side-secondary .elementor-icon-list-icon { display: none; }
.amq-side-main .elementor-icon-list-text { font-size: 14px; font-weight: 500; line-height: 25px; color: #000; }
.amq-side-secondary.amq-side-secondary-first { margin-top: 40px; }
/* !important: Elementor writes the heading widgets' own size and colour with longer selectors. */
.amq-side-secondary .elementor-icon-list-text, .amq-side-secondary .elementor-heading-title, .amq-side-secondary .elementor-heading-title a { font-size: 12px !important; font-weight: 400 !important; line-height: 22px !important; color: #646464 !important; }
.amq-side-left .elementor-widget-heading.amq-side-secondary { margin: 0; }
/* The close button: a thin cross, like the hamburger it answers. */
.amq-close .elementor-icon { position: relative; display: block; width: 32px; height: 32px; }
.amq-close .elementor-icon > * { display: none; }
.amq-close .elementor-icon::before, .amq-close .elementor-icon::after { content: ""; position: absolute; left: 6px; top: 15px; width: 20px; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.amq-close .elementor-icon::after { transform: rotate(-45deg); }
.amq-side-main a, .amq-side-secondary a { transition: opacity .3s ease; }
.amq-side-main a:hover, .amq-side-secondary a:hover { opacity: .7; }
@media (max-width: 767px) {
	.amq-side-main { margin-top: 24px; }
	.amq-side-main .elementor-icon-list-text { line-height: 33px; }
}

/* The cards scroll inside their column; a 1px line along its left edge shows how far (amq-redesign.js sets --amq-p). */
.e-con.amq-side-cards { height: 100vh; overflow-y: auto; scrollbar-width: none; padding: 32px 40px 32px 23px; box-sizing: border-box; overscroll-behavior: contain; }
.amq-side-cards::-webkit-scrollbar { display: none; }
/* .e-con: Elementor draws its own overlay with the container's ::before (full size, half transparent). */
.e-con.amq-side-right::before, .e-con.amq-side-right::after { content: ""; position: absolute; left: 0; top: 32px; bottom: 32px; width: 1px; height: auto; opacity: 1; z-index: 1; pointer-events: none; transition: none; }
.e-con.amq-side-right::before { background: #ddd; }
.e-con.amq-side-right::after { background: #000; transform: scaleY(var(--amq-p, 0)); transform-origin: top; }
.amq-side-card { position: relative; overflow: hidden; flex: none; }
.amq-side-card .elementor-widget-image img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .7s cubic-bezier(.4, 0, .25, 1); }
.amq-side-card::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .2); pointer-events: none; }
.amq-side-card .elementor-widget-heading { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 1; }
.amq-side-card:hover img { transform: scale(1.02); }

/* Open and close: the panel slides in from the left (desktop 0.4 s, phone 0.2 s linear) and the page dims 40%.
 * Elementor hides a closed off-canvas at once; here it stays until the slide out has finished. */
.amq-motion .amq-sidemenu .e-off-canvas { opacity: 1; visibility: hidden; transition: visibility 0s linear .4s; }
.amq-motion .amq-sidemenu .e-off-canvas[aria-hidden="false"] { visibility: visible; transition: none; }
.amq-motion .amq-sidemenu .e-off-canvas__content { transform: translateX(-110%); transition: transform .4s cubic-bezier(.4, 0, .2, 1); }
.amq-motion .amq-sidemenu .e-off-canvas[aria-hidden="false"] .e-off-canvas__content { transform: none; }
.amq-motion .amq-sidemenu .e-off-canvas__overlay { opacity: 0; transition: opacity .3s ease-in-out; }
.amq-motion .amq-sidemenu .e-off-canvas[aria-hidden="false"] .e-off-canvas__overlay { opacity: 1; }
@media (max-width: 767px) {
	.amq-motion .amq-sidemenu .e-off-canvas { transition-delay: .2s; }
	.amq-motion .amq-sidemenu .e-off-canvas__content { transition: transform .2s linear; }
}
.amq-dim.is-clickable { pointer-events: auto; cursor: pointer; }
/* Search panel details */
.amq-search-sheet .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input::placeholder { color: transparent; opacity: 0; }
.amq-search-results .dgwt-wcas-suggestion-headline .dgwt-wcas-st { text-decoration: none !important; }
.amq-search-results .dgwt-wcas-suggestion-product .dgwt-wcas-content-wrapp, .amq-search-results .dgwt-wcas-suggestion-product .dgwt-wcas-st { text-align: left !important; }
.amq-search-results .dgwt-wcas-suggestion-product .dgwt-wcas-meta { display: flex !important; flex-wrap: wrap; gap: 0 6px; justify-content: flex-start; }
.amq-search-results .dgwt-wcas-suggestion-product .dgwt-wcas-meta .dgwt-wcas-sp { display: inline; }
.amq-search-results .dgwt-wcas-suggestion-product .dgwt-wcas-meta, .amq-search-results .dgwt-wcas-suggestion-product .dgwt-wcas-meta * { display: inline !important; }
.amq-search-results .dgwt-wcas-suggestion-product .dgwt-wcas-si { display: block !important; } .amq-search-results .dgwt-wcas-suggestion-product .dgwt-wcas-si img { display: block !important; height: 84px !important; min-height: 84px; max-height: none !important; aspect-ratio: auto !important; }

/* Footer sign-up button (the demo's "Subscribe"): colours stay on hover; the word moves 4px and an arrow slides in. */
.amq-subscribe .elementor-button { transition: color .45s cubic-bezier(.165, .84, .44, 1), background-color .45s cubic-bezier(.165, .84, .44, 1) !important; }
.amq-subscribe .elementor-button { line-height: 17px !important; min-height: 0 !important; }
.amq-subscribe .elementor-button-content-wrapper { display: flex; align-items: center; }
.amq-subscribe .elementor-button-text { transform: translateX(4px); transition: transform .3s ease; }
.amq-subscribe .elementor-button-content-wrapper::after {
	content: ""; flex: none; width: 16px; height: 17px; background: currentColor; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 17'%3E%3Cpath d='M8.49 8.34 6.01 5.85l.76-.76 3.24 3.25-3.24 3.24-.76-.76z'/%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 16 17'%3E%3Cpath d='M8.49 8.34 6.01 5.85l.76-.76 3.24 3.25-3.24 3.24-.76-.76z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.amq-subscribe .elementor-button:hover .elementor-button-text, .amq-subscribe .elementor-button:focus-visible .elementor-button-text { transform: none; }
.amq-subscribe .elementor-button:hover .elementor-button-content-wrapper::after, .amq-subscribe .elementor-button:focus-visible .elementor-button-content-wrapper::after { opacity: 1; transform: none; }

/* Hero, as in the demo: the big heading sits at the top under the header; the line and links stay at the bottom. */
.elementor-widget.amq-hero-heading { margin-bottom: auto !important; }

/* --- Shop and category pages (ticket 18): head, control row, sort menu, load more, as the demo ---------------------- */
.amq-shop-photo { margin: 0; }
.amq-shop-photo:not(:has(img)) { display: none; }
.amq-shop-photo img { width: 64px; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .7s cubic-bezier(.4, 0, .25, 1); }
.amq-shop-photo:hover img { transform: scale(1.02); }
.amq-shop-title__text { margin: 0; font-size: 14px; line-height: 1.2; font-weight: 500; text-align: center; }
.amq-shop-description { max-width: 590px; margin-inline: auto; font-size: 14px; text-align: center; }
.amq-shop-description:empty { display: none; }
.amq-show-filters .elementor-button { background: transparent; color: var(--e-global-color-primary, #000); border: 0; border-radius: 0; padding: 8px 12px 8px 0; font-size: 14px; font-weight: 500; }
.amq-show-filters .elementor-button-content-wrapper { gap: 8px; align-items: center; }
.amq-show-filters .elementor-button-content-wrapper::before {
	content: ""; width: 16px; height: 12px; flex: none;
	background: linear-gradient(currentColor, currentColor) 0 2px / 16px 1.5px no-repeat, linear-gradient(currentColor, currentColor) 0 9px / 10px 1.5px no-repeat;
}
.amq-shop-count__text { margin: 0; font-size: 14px; }
.amq-sort { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.amq-sort__label { color: #646464; }
.amq-sort__box { position: relative; width: 216px; }
.amq-sort__button { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 36px; padding: 0 12px; background: transparent; color: inherit; border: 1px solid currentColor; border-radius: 0; font: inherit; cursor: pointer; }
.amq-sort__button { transition: border-color .3s ease; }
.amq-sort__button[aria-expanded="true"] { border-color: #ddd; }
.amq-sort__button svg { transition: transform .3s ease; }
.amq-sort__button[aria-expanded="true"] svg { transform: rotate(180deg); }
.amq-sort__list { position: absolute; z-index: 20; top: calc(100% + 10px); left: 50%; width: 100%; margin: 0; padding: 0; list-style: none; background: #fff; border: 1px solid #ddd; transform: translateX(-50%); animation: amq-sort-open .3s ease; }
.amq-sort__list[hidden] { display: none; }
.amq-sort__list a { display: block; padding: 0 12px; line-height: 36px; color: inherit; text-decoration: none; }
.amq-sort__list .is-current a, .amq-sort__list a:hover { background: #f2f2f2; }
@keyframes amq-sort-open { from { opacity: 0; transform: translate(-50%, -10px); } to { opacity: 1; transform: translate(-50%, 0); } }
.e-loop__load-more { margin-top: 56px; }
.e-loop__load-more .elementor-button { background: transparent; color: var(--e-global-color-primary, #000); border: 1px solid currentColor; border-radius: 0; padding: 12px 40px; font-size: 14px; transition: color .45s cubic-bezier(.165, .84, .44, 1), background-color .45s cubic-bezier(.165, .84, .44, 1); }
.e-loop__load-more .elementor-button:hover { background: var(--e-global-color-primary, #000); color: #fff; }
/* Filter panel (ticket 19): a drawer from the left, 480px, as the demo; everything in it is 14px. */
.amq-filters { position: fixed; z-index: 100000; top: 0; bottom: 0; left: 0; display: flex; flex-direction: column; width: min(480px, 100vw); background: #fff; color: var(--e-global-color-primary, #000); font-size: 14px; line-height: 1.4; transform: translateX(-100%); opacity: 0; visibility: hidden; }
.amq-filters.is-open { transform: none; opacity: 1; visibility: visible; }
.amq-motion .amq-filters { transition: transform .4s cubic-bezier(.602, .007, .374, .995), opacity .3s ease-in-out, visibility .3s ease-in-out; }
.amq-filters__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid #ddd; font-weight: 500; }
.amq-filters__close { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; background: none; border: 0; color: inherit; cursor: pointer; }
.amq-filters__form { display: flex; flex: 1; flex-direction: column; min-height: 0; overflow-y: auto; }
.amq-filters__group { padding: 0 24px; border-bottom: 1px solid #ddd; }
.amq-filters__group summary { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; font-weight: 500; cursor: pointer; list-style: none; }
.amq-filters__group summary::-webkit-details-marker { display: none; }
.amq-filters__group summary svg { transition: transform .3s ease; }
.amq-filters__group:not([open]) summary svg { transform: rotate(-180deg); }
.amq-filters__body { display: flex; flex-direction: column; gap: 12px; padding: 0 0 20px; }
.amq-check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.amq-check input, .amq-pill input { position: absolute; opacity: 0; pointer-events: none; }
.amq-check__box { flex: none; width: 16px; height: 16px; border: 1px solid #000; background: #fff center / 10px no-repeat; transition: background-color .2s ease; }
.amq-check input:checked + .amq-check__box { background-color: #000; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='m1.5 5.2 2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E"); }
.amq-check input:focus-visible + .amq-check__box, .amq-pill input:focus-visible + span { outline: 2px solid #000; outline-offset: 2px; }
.amq-filters__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.amq-pill span { display: block; min-width: 64px; padding: 8px 16px; border: 1px solid #ddd; text-align: center; cursor: pointer; transition: background-color .3s ease-in, color .3s ease-in, border-color .3s ease-in; }
.amq-pill:hover span { border-color: #000; }
.amq-pill input:checked + span { background: #000; border-color: #000; color: #fff; }
.amq-range { position: relative; height: 20px; margin: 4px 8px 8px; --lo: 0%; --hi: 100%; }
.amq-range::before { content: ""; position: absolute; inset: 9px 0 auto; height: 2px; background: linear-gradient(to right, #ddd var(--lo), #000 var(--lo), #000 var(--hi), #ddd var(--hi)); }
.amq-range input { position: absolute; inset: 0; width: 100%; height: 20px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.amq-range input::-webkit-slider-thumb { width: 16px; height: 16px; border: 2px solid #000; border-radius: 50%; background: #fff; pointer-events: auto; cursor: grab; -webkit-appearance: none; appearance: none; }
.amq-range input::-moz-range-thumb { width: 12px; height: 12px; border: 2px solid #000; border-radius: 50%; background: #fff; pointer-events: auto; cursor: grab; }
.amq-range input::-webkit-slider-runnable-track { background: none; }
.amq-range input::-moz-range-track { background: none; }
.amq-range__fields { display: flex; gap: 24px; }
.amq-range__fields label { display: flex; flex: 1; flex-direction: column; gap: 4px; color: #646464; }
.amq-filters .amq-range__fields input[type="number"] { width: 100%; height: auto; min-height: 0; padding: 4px 0; border: 0; border-bottom: 2px solid #ddd; border-radius: 0; background: none; box-shadow: none; color: #000; font: inherit; outline: 0; transition: border-color .3s ease; -moz-appearance: textfield; }
.amq-filters .amq-range__fields input[type="number"]:focus { border-bottom-color: #000; }
.amq-range__fields input::-webkit-outer-spin-button, .amq-range__fields input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.amq-filters__reset, .amq-filters__clear { align-self: flex-start; padding: 0; background: none; border: 0; color: #646464; font: inherit; text-decoration: underline; cursor: pointer; }
.amq-filters__reset[hidden], .amq-filters__clear[hidden] { display: none; }
.amq-filters__foot { position: sticky; bottom: 0; display: flex; align-items: center; gap: 24px; margin-top: auto; padding: 16px 24px; background: #fff; border-top: 1px solid #ddd; }
.amq-filters__apply { flex: 1; height: 44px; background: #000; border: 1px solid #000; color: #fff; font: inherit; font-weight: 500; cursor: pointer; transition: color .45s cubic-bezier(.165, .84, .44, 1), background-color .45s cubic-bezier(.165, .84, .44, 1); }
.amq-filters__apply:hover { background: #fff; color: #000; }
/* --- Product page (ticket 20): gallery that stays in view, the info column, pills, tabs, as the demo ------------------ */
.amq-product-media { width: 580px !important; max-width: 580px; flex: none; position: sticky !important; top: 120px; padding: 0 !important; }
@media (min-width: 1025px) { .amq-product-top { justify-content: flex-start !important; padding-left: 12.3vw !important; } }
.amq-product-info { width: 440px !important; max-width: 440px; flex: none; margin-left: max(24px, calc(44.7vw - 580px)) !important; padding: 0 !important; }
.amq-product-cart .single_add_to_cart_button.disabled, .amq-product-cart .single_add_to_cart_button.wc-variation-selection-needed { opacity: 1 !important; }
.amq-product-gallery .woocommerce-product-gallery { display: flex; flex-direction: row; align-items: flex-start; gap: 0; width: 100% !important; opacity: 1 !important; }
.amq-product-gallery .woocommerce-product-gallery__wrapper { flex: 1; min-width: 0; margin: 0; }
.amq-product-gallery .flex-viewport { flex: 1; min-width: 0; aspect-ratio: 3 / 4; height: auto !important; background: #f6f6f6; }
.amq-product-gallery .woocommerce-product-gallery__image { aspect-ratio: 3 / 4; display: flex !important; align-items: center; background: #f6f6f6; }
.amq-product-gallery .woocommerce-product-gallery__image a { display: block; width: 100%; }
.amq-product-gallery .woocommerce-product-gallery__image img { display: block; width: 100%; height: auto; object-fit: contain; }
.amq-product-gallery .flex-control-thumbs { display: flex; flex: none; flex-direction: column; gap: 8px; width: 64px; max-height: 771px; margin: 0 !important; padding: 0 !important; overflow-y: auto; list-style: none; }
.amq-product-gallery .flex-control-thumbs li { width: 64px; margin: 0; padding: 0; float: none; transition: none; }
.amq-product-gallery .flex-control-thumbs img { display: block; width: 64px; aspect-ratio: 3 / 4; object-fit: cover; background: #f6f6f6; opacity: .5; cursor: pointer; transition: opacity .3s ease; }
.amq-product-gallery .flex-control-thumbs img.flex-active, .amq-product-gallery .flex-control-thumbs img:hover { opacity: 1; }
.amq-product-gallery .flex-control-thumbs img { outline: 1px solid transparent; outline-offset: -1px; transition: opacity .3s ease, outline-color .3s ease; }
.amq-product-gallery .flex-control-thumbs img.flex-active { outline-color: #000; }
.amq-product-gallery { position: relative; }
.amq-size-value { margin-left: auto; color: #000; font-size: 14px; }
.amq-product-gallery .woocommerce-product-gallery__trigger { display: none; }
.amq-product-title .product_title { margin: 0; font-size: 16px; font-weight: 400; line-height: 1.3; text-transform: none; letter-spacing: 0; }
.amq-product-price .price, .amq-product-price .price * { font-size: 14px; font-weight: 400; color: inherit; }
.amq-product-short { color: #646464; font-size: 14px; line-height: 1.6; }
.amq-stock { display: flex; align-items: center; gap: 8px; margin: 0; color: #646464; font-size: 12px; }
.amq-stock__dots { display: inline-flex; gap: 3px; }
.amq-stock__dots i { width: 6px; height: 6px; border-radius: 50%; background: #000; }
.amq-stock.is-out .amq-stock__dots i { background: #bbb; }
.amq-product-cart { font-size: 14px; }
.amq-product-cart .variations { width: 100%; padding: 16px 0 18px; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; }
.amq-product-cart .variations tr { display: flex; flex-wrap: wrap; align-items: center; }
.amq-product-cart .variations th.label { display: flex; flex: 1 1 100%; align-items: center; justify-content: space-between; margin: 0 0 14px; }
.amq-product-cart .variations td.value { flex: 1 1 100%; padding: 0; }
.amq-product-cart form.cart { margin: 0; }
.amq-product-cart .variations { margin: 0 0 20px; }
.amq-product-cart .variations th.label, .amq-product-cart .variations th.label label { padding: 0 0 8px; color: #646464; font-size: 12px; font-weight: 400; }
.amq-product-cart .variable-items-wrapper { gap: 8px; }
.amq-product-cart .variable-items-wrapper .variable-item { min-width: 64px; height: auto !important; padding: 8px 16px !important; border: 1px solid #ddd !important; border-radius: 0 !important; background: #fff !important; box-shadow: none !important; color: #000 !important; font-size: 14px; transition: background-color .3s ease-in, color .3s ease-in, border-color .3s ease-in; }
.amq-product-cart .variable-items-wrapper .variable-item:hover { border-color: #000 !important; }
.amq-product-cart .variable-items-wrapper .variable-item.selected { background: #000 !important; border-color: #000 !important; color: #fff !important; }
.amq-product-cart .variable-items-wrapper .variable-item .variable-item-contents, .amq-product-cart .variable-items-wrapper .variable-item span { color: inherit !important; font-size: 14px; }
.amq-product-cart .woocommerce-variation-add-to-cart, .amq-product-cart form.cart:not(.variations_form) { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.amq-product-cart .single_add_to_cart_button { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 200px; height: 33px !important; min-height: 33px !important; padding: 0 !important; line-height: 1; min-height: 0; border: 1px solid #000; border-radius: 0; background: #000 !important; color: #fff !important; font-size: 14px !important; font-weight: 500; transition: padding-right .3s ease !important; }
.amq-product-cart .single_add_to_cart_button::after { content: ""; flex: none; width: 16px; height: 17px; margin-left: -16px; margin-right: -0px; background: currentColor; opacity: 0; transform: translateX(-6px); transition: opacity .3s ease, transform .3s ease; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 17'%3E%3Cpath d='M8.49 8.34 6.01 5.85l.76-.76 3.24 3.25-3.24 3.24-.76-.76z'/%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 16 17'%3E%3Cpath d='M8.49 8.34 6.01 5.85l.76-.76 3.24 3.25-3.24 3.24-.76-.76z'/%3E%3C/svg%3E") center / contain no-repeat; }
.amq-product-cart .single_add_to_cart_button:hover { padding-right: 8px !important; background: #000 !important; border-color: #000 !important; color: #fff !important; }
.amq-product-cart .single_add_to_cart_button:hover::after { opacity: 1; transform: translateX(8px); }
.amq-product-cart .single_add_to_cart_button::after { transform: translateX(0); }
.amq-share { display: grid; place-items: center; flex: none; width: 32px; height: 32px; margin-left: auto; padding: 0; border: 1px solid #ddd; background: #fff; color: #000; cursor: pointer; }
.amq-share:hover { border-color: #000; }
.amq-product-cart .woocommerce-variation-add-to-cart .single_add_to_cart_button, .amq-product-cart form.cart:not(.variations_form) .single_add_to_cart_button { margin-left: 12px; }
.amq-product-cart .quantity .ct-increase, .amq-product-cart .quantity .ct-decrease { transition: opacity .3s ease; }
.amq-product-cart .quantity .ct-increase:hover, .amq-product-cart .quantity .ct-decrease:hover { opacity: .6; }
.amq-product-media .woocommerce-breadcrumb a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 50% 100% / 100% 1px no-repeat; transition: background-size .3s ease-in-out; }
.amq-product-media .woocommerce-breadcrumb a:hover { background-size: 0% 1px; }
.amq-product-gallery .flex-viewport { position: relative; }
/* The line on the left of the photo, as the quick view's: fills with the photo number (amq-redesign.js sets --amq-g). */
.amq-gallery-line { position: relative; flex: none; align-self: stretch; width: 1px; margin-right: 7px; background: rgba(0, 0, 0, .1); }
.amq-gallery-line i { position: absolute; inset: 0; background: #000; transform: scaleY(var(--amq-g, 0)); transform-origin: top; transition: transform .8s ease; }
/* Narrow screens stack the gallery; the photo frame takes the full width (a tablet turned from landscape keeps the
   vertical slider, whose frame would otherwise shrink to nothing). */
@media (max-width: 1024px) { .amq-gallery-line { display: none; } .amq-product-gallery .flex-viewport { align-self: stretch; } }
.amq-product-top ~ * .e-loop-item { opacity: 1 !important; animation: none !important; }
.amq-product-cart .quantity { flex: none; width: 128px; border: 0; border-bottom: 2px solid #ddd; }
.amq-product-cart .woocommerce-variation-price { margin-bottom: 16px; }
.amq-sale-timer { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 10px 16px; border: 1px solid #000; font-size: 14px; }
.amq-sale-timer__time { font-variant-numeric: tabular-nums; letter-spacing: .5px; }
/* Countdowns as the demo's "Offer expires in 02d:02h:59m:26s" (amq-redesign.js builds the digits): one line in a thin box
   (8px 16px, 14px 500), each digit in a 1-line window; a changing digit rolls up in .45s. Elementor Countdown widgets
   show this instead of their own boxes (the date is still set in the widget). */
.amq-cd { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid currentColor; font-size: 14px; font-weight: 500; line-height: 1.2; }
.amq-cd__heading { margin: 0 !important; font-size: inherit !important; line-height: inherit; }
.amq-cd__time, .amq-sale-timer__time { display: inline-flex; align-items: center; gap: 2px; font-variant-numeric: tabular-nums; letter-spacing: 0; line-height: 1.2; }
.amq-cd__block { display: inline-flex; align-items: center; }
.amq-cd__sep { opacity: .6; }
.amq-cd__digit { display: inline-block; height: 1.2em; overflow: hidden; vertical-align: top; }
.amq-cd__digit > span { display: block; height: 1.2em; }
.amq-cd__digit.is-rolling > span { transform: translateY(-100%); transition: transform .45s ease-in-out; }
.amq-cd-host .elementor-countdown-wrapper { display: none !important; }
.amq-cd-host { width: auto !important; max-width: 100%; }
.amq-sale-timer a { margin-left: auto; color: inherit; font-size: 12px; text-decoration: underline; }
.amq-tabs__list { display: flex; gap: 8px 16px; overflow-x: auto; scrollbar-width: none; }
.amq-tabs__list button { flex: none; padding: 0 0 4px; border: 0; border-radius: 0; background: linear-gradient(currentColor, currentColor) 50% 100% / 0 1px no-repeat; color: #646464; font: inherit; font-size: 12px; cursor: pointer; transition: background-size .3s ease-in-out; }
.amq-tabs__list button:hover { background-size: 100% 1px; }
.amq-tabs__list button[aria-selected="true"] { background-size: 100% 1px; color: #000; }
.amq-tabs__panels > div { margin-top: 20px; font-size: 14px; line-height: 1.6; }
.amq-tabs__panels > div[hidden] { display: none; }
.amq-tabs__panels h3 { margin: 16px 0 4px; font-size: 14px; font-weight: 500; }
.amq-product-media .woocommerce-breadcrumb { font-size: 12px; line-height: 1.4; }
.amq-tabs__links { margin: 0; padding-left: 18px; }
@media (max-width: 1024px) {
	.amq-product-media, .amq-product-info { position: static !important; width: 100% !important; max-width: none; margin-left: 0 !important; }
	.amq-product-info { padding: 24px 20px 0 !important; }
	.amq-product-gallery .woocommerce-product-gallery { flex-direction: column; }
	.amq-product-gallery .flex-control-thumbs { flex-direction: row; width: auto; max-height: none; padding: 0 20px; overflow-x: auto; overflow-y: hidden; }
	.amq-product-media .elementor-widget-woocommerce-breadcrumb { padding: 0 20px; }
}
.amq-filters__apply.is-busy { opacity: .6; }
.elementor-widget-loop-grid.is-busy { opacity: .5; transition: opacity .3s ease; }
@media (max-width: 767px) {
	.amq-shop-controls { flex-direction: column; align-items: stretch; }
	.amq-sort__box { flex: 1; width: auto; }
}
/* The Loop Grid's button has no text setting (and TranslatePress rewrites its gettext), so its words come from here. */
.e-loop__load-more .elementor-button-text { font-size: 0; }
.e-loop__load-more .elementor-button-text::after { content: "ดูเพิ่มเติม"; font-size: 14px; }
html[lang^="en"] .e-loop__load-more .elementor-button-text::after { content: "Load More"; }
.amq-product-cart .variations th.label { text-align: left; }
.amq-product-cart .variations th.label label { margin: 0 auto 0 0; }
.amq-product-cart .variations th.label { display: flex !important; justify-content: space-between !important; align-items: center; width: 100% !important; text-align: left !important; }
.amq-product-cart .variations th.label label { margin: 0 auto 0 0 !important; }
.amq-product-cart .woo-selected-variation-item-name, .amq-product-cart .reset_variations, .amq-product-cart .woocommerce-variation-price, .amq-product-cart .woocommerce-variation-availability, .amq-product-cart .woocommerce-variation-description { display: none !important; }
@media (max-width: 480px) {
	.amq-product-cart .woocommerce-variation-add-to-cart { gap: 12px; }
	.amq-product-cart .quantity { width: 96px; }
	.amq-product-cart .single_add_to_cart_button { flex: 1 1 0; width: auto; min-width: 0; margin-left: 0 !important; }
	.amq-share { margin-left: 0; }
}
.amq-product-cart .variations tr th.label { flex: 1 1 100% !important; max-width: none !important; margin: 0 0 14px !important; padding: 0 !important; }
.amq-product-cart .variations tr th.label label { flex: none; font-size: 12px; color: #646464; }
.amq-product-cart .variations tr { display: grid !important; grid-template-columns: minmax(0, 1fr); }
.amq-product-cart .variations tr th.label { width: auto !important; min-width: 0 !important; }
.amq-product-cart .variations tr th.label { align-items: baseline !important; }

/* Add to cart while pressed, loading or just added: WooCommerce and Blocksy dim the button, add padding, draw a spinner or tick and
   nudge it down. The button keeps its look: black, same size, the hover arrow only. */
.woocommerce .amq-product-cart .single_add_to_cart_button:active,
.woocommerce .amq-product-cart .single_add_to_cart_button:focus,
.woocommerce .amq-product-cart .single_add_to_cart_button.loading,
.woocommerce .amq-product-cart .single_add_to_cart_button.added {
	opacity: 1 !important; transform: none !important; box-shadow: none !important; outline: 0; background: #000 !important; color: #fff !important; border-color: #000 !important;
}
.woocommerce .amq-product-cart .single_add_to_cart_button.loading,
.woocommerce .amq-product-cart .single_add_to_cart_button.added { padding: 0 !important; pointer-events: none; }
.woocommerce .amq-product-cart .single_add_to_cart_button.loading::after,
.woocommerce .amq-product-cart .single_add_to_cart_button.added::after {
	content: "" !important; position: static !important; top: auto !important; right: auto !important; width: 16px; height: 17px; margin: 0 0 0 -16px !important; font-family: inherit; animation: none !important; opacity: 0; transform: translateX(-6px);
}
.woocommerce .amq-product-cart .single_add_to_cart_button:active:not(.loading):not(.added) { padding-right: 8px !important; }
.woocommerce .amq-product-cart .single_add_to_cart_button:active:not(.loading):not(.added)::after { opacity: 1; transform: translateX(8px); }
.woocommerce .amq-product-cart .single_add_to_cart_button:focus-visible { outline: 1px solid #000; outline-offset: 2px; }

/* Quantity box as the demo: 128x31 with a 24px minus, an 80x24 number (no box) and a 24px plus. */
.woocommerce .amq-product-cart .quantity { position: relative; box-sizing: border-box; width: 128px; height: 31px; min-height: 0; margin: 0; }
.woocommerce .amq-product-cart .quantity input.qty { box-sizing: border-box; width: 80px !important; height: 24px !important; min-height: 0 !important; margin: 0 0 0 24px !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; font-size: 14px; font-weight: 500; line-height: 24px; text-align: center; }
.woocommerce .amq-product-cart .quantity .ct-decrease, .woocommerce .amq-product-cart .quantity .ct-increase { box-sizing: border-box; top: 0 !important; bottom: auto !important; width: 24px !important; height: 24px !important; margin: 0 !important; }
.woocommerce .amq-product-cart .quantity .ct-decrease { left: 0 !important; right: auto !important; }
.woocommerce .amq-product-cart .quantity .ct-increase { right: 0 !important; left: auto !important; }

/* Size row nearer the demo's: one row between two lines, the label at the left in small grey and the chosen size at the
   right in 16px black; the pills are small boxes under it (the demo opens a drawer instead). */
.woocommerce .amq-product-cart .variations { margin: 24px 0; padding: 14px 0; }
.woocommerce .amq-product-cart .variations th.label { margin: 0 0 10px; padding: 0; line-height: 1.2; }
.woocommerce .amq-product-cart .variations th.label label { padding: 0; font-weight: 500; }
.woocommerce .amq-product-cart .amq-size-value { font-size: 16px; font-weight: 500; line-height: 1.2; }
.woocommerce .amq-product-cart .variable-items-wrapper { gap: 6px; margin: 0; }
.woocommerce .amq-product-cart .variable-items-wrapper .variable-item { min-width: 0; padding: 0 !important; }
.woocommerce .amq-product-cart .variable-items-wrapper .variable-item .variable-item-span { padding: 5px 12px !important; line-height: 1.3; }
.woocommerce .amq-product-cart .variable-items-wrapper .variable-item { margin: 0 !important; }

/* Quick View (ticket 21). The bar on a card's photo: black, 13px from the sides, 10px from the bottom, 33px high, fades in
   (0.3s ease) while the card is hovered; the eye moves a little on hover of the bar. On phones only an eye icon sits on the photo. */
.amq-card .amq-card-image .elementor-widget-container { position: relative; }
.amq-qv-open { position: absolute; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 0; border: 0; border-radius: 0; background: #000; color: #fff; font: inherit; font-size: 14px; font-weight: 500; line-height: 1; cursor: pointer; }
.amq-qv-open svg { flex: none; transition: transform .3s ease; }
@media (hover: hover) and (min-width: 1025px) {
	.amq-qv-open { left: 13px; right: 13px; bottom: 10px; height: 33px; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
	.amq-card:hover .amq-qv-open, .amq-qv-open:focus-visible { opacity: 1; visibility: visible; }
	.amq-qv-open:hover svg { transform: translateX(4px); }
}
@media not all and ((hover: hover) and (min-width: 1025px)) {
	.amq-qv-open { right: 8px; bottom: 8px; width: 32px; height: 32px; background: #fff; color: #000; }
	.amq-qv-open__label { display: none; }
}

/* While the product loads, the bar (or the eye on phones) shows a spinner instead of its words, as the demo's. */
.amq-qv-open__spin { display: none; width: 16px; height: 16px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: amq-qv-spin .7s linear infinite; }
.amq-qv-open.is-loading { pointer-events: none; }
.amq-qv-open.is-loading .amq-qv-open__label, .amq-qv-open.is-loading svg { display: none; }
.amq-qv-open.is-loading .amq-qv-open__spin { display: block; }
@media (hover: hover) and (min-width: 1025px) { .amq-qv-open.is-loading { opacity: 1; visibility: visible; } }
@keyframes amq-qv-spin { to { transform: rotate(360deg); } }

/* The panel, as the demo's: full width from the bottom of the screen, as tall as its content (at most 95% of the screen),
   slides up 0.2s linear over the dimmed page. Desktop: photos 520 wide and the buy box 460 wide side by side in the middle,
   40px padding; the photos stay put while the buy box scrolls. The page under it does not scroll. */
html.amq-qv-lock { overflow: hidden; scrollbar-gutter: stable; }
.amq-qv { position: fixed; z-index: 100; left: 0; right: 0; bottom: 0; max-height: calc(95svh - 24px); background: #fff; color: #000; transform: translateY(100%); transition: transform .2s linear, visibility .2s; visibility: hidden; }
.amq-qv[hidden] { display: none; }
.amq-qv.is-open { transform: none; visibility: visible; }
.amq-qv__close { position: absolute; z-index: 2; top: 10px; right: 10px; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: transparent; color: #000; cursor: pointer; transition: opacity .3s; }
.amq-qv__close svg { width: 16px; height: 16px; }
.amq-qv__close:hover { opacity: .6; }
.amq-qv__body { display: flex; flex-direction: column; align-items: center; max-height: inherit; overflow-y: auto; overscroll-behavior: contain; }
.amq-qv__status { margin: 0; padding: 80px 24px; font-size: 14px; color: #646464; }

/* Photos: a 1px line on the left (fills to the photo's number), the photo frame (3:4), thumbnails 48 wide on the right. */
.amq-qv__media { --amq-qv-i: 0; display: flex; gap: 0; width: 100%; padding: 20px; box-sizing: border-box; }
.amq-qv__line { position: relative; flex: none; width: 1px; margin-right: 7px; background: rgba(0, 0, 0, .1); }
.amq-qv__line i { position: absolute; inset: 0; background: #000; transform: scaleY(calc((var(--amq-qv-i) + 1) / var(--amq-qv-n))); transform-origin: top; transition: transform .8s ease; }
.amq-qv__frame { position: relative; flex: 1; min-width: 0; aspect-ratio: 3 / 4; overflow: hidden; background: var(--e-global-color-secondary, #efefef); }
.amq-qv__slides { display: flex; flex-direction: column; height: 100%; transform: translateY(calc(var(--amq-qv-i) * -100%)); transition: transform .8s ease; }
.amq-qv__slides img { display: block; flex: none; width: 100%; height: 100%; object-fit: cover; }
.amq-qv__badge { position: absolute; z-index: 1; top: 0; left: 0; padding: 0 6px; background: #000; color: #fff; font-size: 12px; font-weight: 500; line-height: 16px; }
.amq-qv__thumbs { display: flex; flex-direction: column; gap: 2px; flex: none; width: 48px; margin-left: 3px; overflow-y: auto; scrollbar-width: none; }
.amq-qv__thumbs::-webkit-scrollbar { display: none; }
.amq-qv__thumb { flex: none; width: 48px; height: 63px; padding: 0; border: 1px solid transparent; border-radius: 0; background: var(--e-global-color-secondary, #efefef); opacity: .5; cursor: pointer; transition: opacity .3s; }
.amq-qv__thumb:hover, .amq-qv__thumb.is-active { opacity: 1; background: var(--e-global-color-secondary, #efefef); }
.amq-qv__thumb.is-active { border-color: #000; }
.amq-qv__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* The buy box: name 16, price 16, short text 14 grey, stock line, a line across, then quantity / share / add to cart and
   "View Full Details" (underline grows on hover). */
.amq-qv__info { width: 100%; max-width: 460px; padding: 20px; box-sizing: border-box; }
.amq-qv__title { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.3; }
.amq-qv__price { margin: 16px 0 0; font-size: 16px; font-weight: 500; }
.amq-qv__price del { color: #646464; font-weight: 500; }
.amq-qv__price ins { text-decoration: none; }
.amq-qv__about { margin: 20px 0 0; color: #646464; font-size: 14px; line-height: 1.5; }
.amq-qv__info .amq-stock { margin-top: 20px; }
.amq-qv__form { margin: 32px -20px 0; padding: 20px 20px 0; border-top: 1px solid #ddd; }
.amq-qv .amq-product-cart .variations { padding-top: 0; border-top: 0; }
/* Quantity 128, share 12px after it, add to cart 8px after that (200 wide on a desktop, the rest of the row below). */
.amq-qv .amq-product-cart .woocommerce-variation-add-to-cart, .amq-qv .amq-product-cart form.cart:not(.variations_form) { justify-content: flex-start; gap: 0; }
.amq-qv .amq-product-cart .amq-share { margin-left: 12px; }
.amq-qv .amq-product-cart .woocommerce-variation-add-to-cart .single_add_to_cart_button, .amq-qv .amq-product-cart form.cart:not(.variations_form) .single_add_to_cart_button { flex: 1 1 0; width: auto; min-width: 0; margin-left: 8px; }
@media (min-width: 990px) {
	.amq-qv .amq-product-cart .woocommerce-variation-add-to-cart .single_add_to_cart_button, .amq-qv .amq-product-cart form.cart:not(.variations_form) .single_add_to_cart_button { flex: none; width: 200px; }
}
.amq-qv__error { margin: 12px 0 0; color: #b3261e; font-size: 12px; }
.amq-qv__error:empty { display: none; }
.amq-qv__more { display: inline-block; margin-top: 20px; color: #000; font-size: 14px; font-weight: 500; text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; transition: background-size .3s ease-in-out; }
.amq-qv__more:hover, .amq-qv__more:focus-visible { color: #000; background-size: 100% 1px; }
/* Phones (as the demo's): no line, the thumbnails in a row under the photo, 63 x 83. */
@media (max-width: 749px) {
	.amq-qv__media { flex-direction: column; }
	.amq-qv__line { display: none; }
	.amq-qv__thumbs { flex-direction: row; width: auto; margin: 2px 0 0; overflow-x: auto; overflow-y: hidden; }
	.amq-qv__thumb { width: 63px; height: 83px; }
}
@media (min-width: 750px) {
	.amq-qv__body { flex-direction: row; justify-content: center; align-items: flex-start; }
	.amq-qv__media { position: sticky; top: 0; width: 50%; }
	.amq-qv__info { width: 50%; }
}
@media (min-width: 990px) {
	.amq-qv__media { flex: none; width: 520px; padding: 40px; }
	.amq-qv__info { flex: none; width: 460px; padding: 40px; }
	.amq-qv__form { margin-bottom: 0; }
}
.amq-card .amq-card-image .elementor-widget-container > a, .amq-card .amq-card-image img { display: block; }

/* Core Formulas (ticket 22), on the product page: three small cards on the photo, left / middle / right, white text. */
.amq-core-grid .elementor-loop-container { display: flex !important; justify-content: space-between; align-items: flex-end; gap: 24px; }
.amq-core-grid .e-loop-item { width: 148px; flex: none; }
.amq-core .amq-card-image .elementor-widget-container { padding: 8px; background: #fff; }
.amq-core .amq-card .elementor-heading-title, .amq-core .amq-card .elementor-heading-title a, .amq-core .amq-card .price, .amq-core .amq-card .price * { color: #fff !important; }
.amq-core .amq-card .elementor-heading-title { font-size: 12px; line-height: 1.4; }
.amq-core .amq-card .price { font-size: 12px; }
.amq-core .amq-card .amq-qv-open { right: 14px; bottom: 14px; left: auto; width: 24px; height: 24px; opacity: 1; visibility: visible; background: transparent; color: #000; }
.amq-core .amq-card .amq-qv-open__label { display: none; }
@media (max-width: 767px) { .amq-core-grid .elementor-loop-container { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; } .amq-core-grid .e-loop-item { width: calc(33.3% - 16px); min-width: 96px; } }
.amq-core h3.elementor-heading-title { font-size: 20px; line-height: 1.45; }

/* Home sections (ticket 23). A row with nothing to show (no sale products) disappears. */
.amq-hide-empty:not(:has(.e-loop-item)) { display: none; }
/* This week's edit (the demo's showcase): six 144x192 columns spread across the page (80px apart at least), three rows
   80 apart; the line, countdown and links sit in the middle of row 2 (columns 3-4). Phone: two 155-wide columns, only
   tiles 3, 4, 13 and 14, the line between them. Each tile is three stacked photos; the next one wipes in from the
   bottom (mask 0 -> 100% high, .85s), as the demo's (amq-redesign.js builds the tiles from the gallery). */
.e-con.amq-edit-grid { display: grid !important; grid-template-columns: repeat(6, 144px); grid-auto-rows: 192px; gap: 80px; justify-content: space-between; }
.amq-edit-photos { display: none !important; }
.e-con.amq-edit-head { grid-column: 3 / 5; grid-row: 2; align-self: center; justify-self: center; width: max-content !important; max-width: 100%; }
.amq-edit-title .elementor-heading-title { font-family: "Cardo", serif !important; font-size: 24px !important; font-weight: 400 !important; line-height: 1.2 !important; letter-spacing: -.02em; }
.amq-edit-title em { font-style: italic; }
.amq-edit-intro .elementor-heading-title { font-size: 14px !important; font-weight: 500 !important; line-height: 1.2 !important; color: #646464 !important; }
.e-con.amq-edit-links > .elementor-element + .elementor-element { padding-left: 16px; border-left: 1px solid #ddd; }
.amq-edit-tile { position: relative; overflow: hidden; background: #f5f5f5; }
.amq-edit-layer { position: absolute; inset: 0; z-index: 1; opacity: 0; -webkit-mask: linear-gradient(#000, #000) 50% 100% / 100% 0% no-repeat; mask: linear-gradient(#000, #000) 50% 100% / 100% 0% no-repeat; }
.amq-edit-layer.is-active { z-index: 2; opacity: 1; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.amq-edit-layer.is-entering { z-index: 3; opacity: 1; -webkit-mask-size: 100% 0%; mask-size: 100% 0%; transition: -webkit-mask-size .85s cubic-bezier(.22, 1, .36, 1), mask-size .85s cubic-bezier(.22, 1, .36, 1); }
.amq-edit-layer.is-entering.is-active { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.amq-edit-layer img { display: block; width: 100% !important; max-width: none !important; height: 100% !important; object-fit: cover; }
.e-con.amq-edit-links { width: auto !important; align-self: center !important; }
@media (prefers-reduced-motion: reduce) { .amq-edit-layer.is-entering { transition-duration: 1ms; } }
@media (max-width: 1024px) { .e-con.amq-edit-grid { grid-template-columns: repeat(6, minmax(0, 96px)); grid-auto-rows: auto; gap: 40px 16px; } .amq-edit-tile { aspect-ratio: 3 / 4; } }
@media (max-width: 767px) {
	.e-con.amq-edit-grid { grid-template-columns: repeat(2, 155px); grid-template-rows: 207px auto 207px; grid-auto-rows: 0; gap: 40px; }
	.amq-edit-tile { display: none; aspect-ratio: auto; }
	.amq-edit-tile:nth-child(3), .amq-edit-tile:nth-child(4), .amq-edit-tile:nth-child(13), .amq-edit-tile:nth-child(14) { display: block; }
	.e-con.amq-edit-head { grid-column: 1 / 3; }
	.amq-edit-title .elementor-heading-title { font-size: 21px !important; }
}
.amq-quiet-grid .elementor-loop-container { display: flex !important; justify-content: space-between; align-items: flex-end; gap: 24px; }
.amq-quiet-grid .e-loop-item { width: 148px; flex: none; }
.amq-quiet-grid .amq-card-image .elementor-widget-container { padding: 8px; background: #fff; }
.amq-quiet-grid .amq-card .amq-qv-open { right: 14px; bottom: 14px; left: auto; width: 24px; height: 24px; opacity: 1; visibility: visible; background: transparent; color: #000; }
.amq-quiet-grid .amq-card .amq-qv-open__label { display: none; }
.amq-post-card .elementor-heading-title a { text-decoration: none; }
@media (max-width: 767px) { .amq-quiet-grid .elementor-loop-container { flex-wrap: wrap; justify-content: flex-start; } .amq-quiet-grid .e-loop-item { width: calc(33.3% - 16px); min-width: 96px; } }

/* The demo's solid button ("Shop Collection"): black, 33px high, the label sits 4px right of centre and slides in while an arrow
   appears; the same while it is pressed or focused, so holding the button shows it. As the product page's add-to-cart. */
/* The demo's solid (black) and secondary (outlined) buttons: while hovered or held the words move 8px left and an arrow
   slides in on their right, inside the button, so the button keeps its size and place (a centred one must not jump). */
.amq-solid-button .elementor-button, .amq-outline-button .elementor-button { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 33px; min-height: 0; padding: 0 20px !important; line-height: 1; border-radius: 0; font-size: 14px; font-weight: 500; }
.amq-solid-button .elementor-button { border: 1px solid #000; background: #000; color: #fff; }
.amq-outline-button .elementor-button { height: 35px; padding: 0 16px !important; border: 1px solid #ddd !important; background: transparent !important; color: #000 !important; transition: border-color .3s ease; }
.amq-solid-button .elementor-button-content-wrapper, .amq-outline-button .elementor-button-content-wrapper { transition: transform .3s ease; }
.amq-solid-button .elementor-button::after, .amq-outline-button .elementor-button::after { content: ""; position: absolute; top: 50%; right: 6px; width: 16px; height: 17px; margin-top: -8.5px; background: currentColor; opacity: 0; transform: translateX(-6px); transition: opacity .3s ease, transform .3s ease; pointer-events: none; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 17'%3E%3Cpath d='M8.49 8.34 6.01 5.85l.76-.76 3.24 3.25-3.24 3.24-.76-.76z'/%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 16 17'%3E%3Cpath d='M8.49 8.34 6.01 5.85l.76-.76 3.24 3.25-3.24 3.24-.76-.76z'/%3E%3C/svg%3E") center / contain no-repeat; }
.amq-outline-button .elementor-button::after { right: 4px; }
.amq-solid-button .elementor-button:hover, .amq-solid-button .elementor-button:active, .amq-solid-button .elementor-button:focus { background: #000 !important; border-color: #000 !important; color: #fff !important; opacity: 1 !important; transform: none !important; box-shadow: none !important; outline: 0; }
.amq-outline-button .elementor-button:hover, .amq-outline-button .elementor-button:active, .amq-outline-button .elementor-button:focus { border-color: #000 !important; box-shadow: none !important; outline: 0; }
.amq-solid-button .elementor-button:hover .elementor-button-content-wrapper, .amq-solid-button .elementor-button:active .elementor-button-content-wrapper, .amq-solid-button .elementor-button:focus .elementor-button-content-wrapper,
.amq-outline-button .elementor-button:hover .elementor-button-content-wrapper, .amq-outline-button .elementor-button:active .elementor-button-content-wrapper, .amq-outline-button .elementor-button:focus .elementor-button-content-wrapper { transform: translateX(-8px); }
.amq-solid-button .elementor-button:hover::after, .amq-solid-button .elementor-button:active::after, .amq-solid-button .elementor-button:focus::after,
.amq-outline-button .elementor-button:hover::after, .amq-outline-button .elementor-button:active::after, .amq-outline-button .elementor-button:focus::after { opacity: 1; transform: none; }
.amq-solid-button .elementor-button:focus-visible { outline: 1px solid #000; outline-offset: 2px; }

/* Latest stories card as the demo: date 12px grey, title and excerpt 14px grey/black on ONE line (cut with an ellipsis), then the 3:4 photo. */
.amq-post-card .amq-post-date .elementor-heading-title { margin: 0 0 7px; font-size: 12px; font-weight: 500; line-height: 14px; color: #646464; }
.amq-post-card .amq-post-title .elementor-heading-title { margin: 0 0 2px; font-size: 14px; font-weight: 500; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.amq-post-card .amq-post-excerpt-box { margin-bottom: 16px !important; }
.amq-post-card .amq-post-excerpt { display: block; margin: 0; font-size: 14px; font-weight: 500; line-height: 17px; color: #646464; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.amq-blog-title .elementor-heading-title { font-size: 20.16px; line-height: 24px; }
.amq-blog-title + .amq-hero-link .elementor-button { font-size: 14px; }
/* A one-line excerpt must not widen its grid column; Elementor's global type sizes need !important to give way. */
.elementor-widget-loop-grid .e-loop-item:has(.amq-post-card), .amq-post-card, .amq-post-card .elementor-widget { min-width: 0; max-width: 100%; }
.amq-blog-title .elementor-heading-title { font-size: 20.16px !important; line-height: 24px !important; }
.amq-post-card .amq-post-date .elementor-heading-title { font-size: 12px !important; font-weight: 500 !important; line-height: 14px !important; }
.amq-post-card .amq-post-title .elementor-heading-title { font-size: 14px !important; font-weight: 500 !important; line-height: 18px !important; }

/* FAQ as the demo's Q&A: small filter buttons (the chosen one black), questions 14px/500 black with a small chevron at the right,
   answers 14px grey, no lines. */
.amq-faq-filters, .amq-blog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 3px; }
.amq-blog-filters { justify-content: center; margin: 0; }
.amq-faq-filters button, .amq-blog-filters a { display: inline-block; height: 25px; padding: 0 8px; border: 0; border-radius: 0; background: transparent; color: #000; font: inherit; font-size: 14px; font-weight: 500; line-height: 25px; text-decoration: none; cursor: pointer; transition: background-color .3s ease, color .3s ease; }
.amq-faq-filters button:hover, .amq-blog-filters a:hover { background: #f4f4f4; color: #000; }
.amq-faq-filters button[aria-pressed="true"], .amq-blog-filters a[aria-current="page"] { background: #000; color: #fff; }
/* Blog page (ticket 24): small grey title and a 14px line over the pills, as the demo's blog header. */
.amq-blog-head .amq-blog-name .elementor-heading-title { font-size: 14px !important; font-weight: 500 !important; line-height: 17px !important; color: #646464; }
.amq-blog-head .amq-blog-intro p, .amq-blog-head .amq-blog-intro { margin: 0; font-size: 14px; font-weight: 500; line-height: 17px; color: #000; }
/* Follow us (shared section, ticket 24): square photo, grey title, 14px text, black button. */
.amq-follow .amq-follow-name .elementor-heading-title { font-size: 14px !important; font-weight: 500 !important; line-height: 17px !important; color: #646464; }
.amq-follow .amq-follow-text p, .amq-follow .amq-follow-text { margin: 0; font-size: 14px; font-weight: 500; line-height: 17px; color: #000; }
.amq-faq .e-n-accordion-item-title-text { font-size: 14px !important; font-weight: 500 !important; line-height: 18px !important; }
.amq-faq .e-n-accordion-item-title-icon { font-size: 8px; }
.amq-faq .e-n-accordion-item-title-icon svg, .amq-faq .e-n-accordion-item-title-icon i { width: 8px; height: 8px; font-size: 8px; }
.amq-faq .e-n-accordion-item > .e-con p, .amq-faq .e-n-accordion-item .elementor-widget-text-editor { font-size: 14px; font-weight: 500; line-height: 17px; }
.amq-faq .e-n-accordion-item[hidden] { display: none; }
.amq-faq .e-n-accordion-item .elementor-widget-text-editor, .amq-faq .e-n-accordion-item .elementor-widget-text-editor p { color: #646464; }
.amq-faq .e-n-accordion-item-title-icon svg, .amq-faq .e-n-accordion-item-title-icon i { height: 8px; line-height: 8px; }
/* About page (ticket 25), as the demo's /pages/about: grey 14px labels, 20px statements, 16px body text, photo crops. */
.amq-about-label .elementor-heading-title { margin: 0; font-size: 14px !important; font-weight: 500 !important; line-height: 17px !important; color: #646464; }
.amq-about-label--strong .elementor-heading-title { font-weight: 700 !important; color: #000; }
.amq-about-statement, .amq-about-statement p { margin: 0; font-size: 20px; font-weight: 400; line-height: 24px; color: #000; text-align: center; }
.amq-about-intro .amq-about-statement { max-width: 582px; }
.amq-about-panel .amq-about-statement { max-width: 544px; }
.amq-about-text, .amq-about-text p { margin: 0; font-size: 16px; font-weight: 400; line-height: 25.6px; color: #000; }
.amq-about-cover img { display: block; width: 100%; height: 1000px !important; object-fit: cover; }
.amq-about-values-head { margin-left: 287px !important; } /* the demo: the heading lines up with the text column above, the cards span the page */
.amq-about-story-photo img { display: block; width: 486px; max-width: 100%; height: 400px !important; object-fit: cover; }
.amq-about-cards > .amq-about-card { flex: 1 1 0; min-width: 0; }
.amq-about-card-photo img { display: block; width: 100%; aspect-ratio: 3 / 4; height: auto; object-fit: cover; }
.amq-about-card-title .elementor-heading-title { margin: 15px 0 2px !important; font-size: 14px !important; font-weight: 500 !important; line-height: 17px !important; color: #000; }
.amq-about-card-text, .amq-about-card-text p { margin: 0 0 8px; padding-right: 24px; font-size: 14px; font-weight: 500; line-height: 16.8px; color: rgba(0, 0, 0, .7); }
.amq-about-card-link .elementor-button { font-size: 14px; }
@media (max-width: 1024px) { .amq-about-cards > .amq-about-card { flex: 1 1 calc(50% - 3px); } .amq-about-values-head { margin-left: 0 !important; } }
@media (max-width: 767px) {
	.amq-about-cover img { height: auto !important; aspect-ratio: 4 / 5; }
	.amq-about-story-photo img { width: 100%; height: auto !important; aspect-ratio: 486 / 400; }
	.amq-about-statement, .amq-about-statement p { font-size: 18px; line-height: 22px; }
	.amq-about-card-text, .amq-about-card-text p { padding-right: 0; }
}
/* Contact page (ticket 26), as the demo's /pages/contact: icon rows, then the page's own form with underlined fields,
   the label inside the field, a grey message box and a black button. */
.amq-contact-intro, .amq-contact-intro p { margin: 0; font-size: 14px; font-weight: 500; line-height: 17px; color: #000; }
.amq-contact-row { --icon-box-icon-margin: 8px; }
.amq-contact-row .elementor-icon-box-wrapper { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 8px !important; text-align: left !important; }
.amq-contact-row .elementor-icon-box-icon { margin: 0 !important; margin-inline-end: 0 !important; flex: none; }
.amq-contact-row .elementor-icon { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; font-size: 15px; color: #000; fill: #000; }
.amq-contact-row .elementor-icon svg { width: 15px; height: 15px; }
.amq-contact-row .elementor-icon-box-content { padding-top: 4px; }
.amq-contact-row .elementor-icon-box-title { margin: 0 0 2px !important; font-size: 14px !important; font-weight: 500 !important; line-height: 17px !important; color: #000; }
.amq-contact-row .elementor-icon-box-title a { color: inherit; text-decoration: none; }
.amq-contact-row .elementor-icon-box-description { margin: 0; font-size: 14px !important; font-weight: 500 !important; line-height: 17px !important; color: #646464; }
.amq-contact-form .elementor-form-fields-wrapper { row-gap: 24px; margin: 0 !important; }
.amq-contact-form .elementor-field-group { margin: 0 !important; padding: 0 !important; }
.amq-contact-form .elementor-field-group:not(.elementor-field-type-textarea) > .elementor-field-label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.amq-contact-form .elementor-field-textual:not(textarea) { height: 42px; min-height: 0; padding: 21px 12px 1px 0 !important; border: 0 !important; border-bottom: 2px solid #ddd !important; border-radius: 0 !important; background: transparent !important; font-size: 14px; font-weight: 500; color: #000; box-shadow: none !important; transition: border-color .3s ease; }
.amq-contact-form .elementor-field-textual:not(textarea):focus { border-bottom-color: #000 !important; }
.amq-contact-form .elementor-field-textual::placeholder { color: #646464; opacity: 1; }
.amq-contact-form .elementor-field-type-textarea > .elementor-field-label { margin: 0 0 8px; padding: 0; font-size: 14px; font-weight: 500; line-height: 19px; color: #646464; }
.amq-contact-form textarea.elementor-field-textual { height: 127px; padding: 21px 12px 8px !important; border: 0 !important; border-radius: 0 !important; background: #efefef !important; font-size: 14px; color: #000; box-shadow: none !important; }
.amq-contact-form .elementor-field-type-submit { margin-top: 0 !important; }
.amq-contact-form .elementor-button[type="submit"] { width: auto; min-height: 33px; padding: 8px 20px !important; border: 0 !important; border-radius: 0 !important; background: #000 !important; color: #fff !important; font-size: 14px; font-weight: 500; line-height: 17px; }
.amq-contact-form .elementor-field-type-submit { justify-content: flex-start !important; }
.amq-contact-form .elementor-field-type-submit .elementor-button[type="submit"] { flex: 0 0 auto; width: auto !important; }
/* Blog post page (ticket 27), as the demo's article page: centred date, title and share row, the cover photo 680 wide,
   the text in a 700 column with 580-wide paragraphs (photos the full 700), then the dates and the share row again. */
.amq-article-crumbs .woocommerce-breadcrumb { margin: 0; overflow: hidden; font-size: 14px !important; font-weight: 500; line-height: 35px; color: #646464; white-space: nowrap; text-overflow: ellipsis; } /* one line, a long title ends in "…" */
.amq-article-crumbs .woocommerce-breadcrumb a { color: #646464; text-decoration: none; background: linear-gradient(currentColor, currentColor) 50% 100% / 100% 1px no-repeat; transition: background-size .3s ease-in-out; }
.amq-article-crumbs .woocommerce-breadcrumb a:hover { background-size: 0% 1px; }
.amq-post-dates { margin: 0; font-size: 12px; font-weight: 500; line-height: 14px; color: #646464; text-align: center; }
.amq-post-dates--both { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; }
.amq-article-title .elementor-heading-title { font-size: 28.8px !important; line-height: 1.2 !important; letter-spacing: -.02em; }
.amq-post-share { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.amq-post-share li { margin: 0; border: 1px solid #ddd; }
.amq-post-share a, .amq-post-share button { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px 0 8px; border: 0; border-radius: 0; background: none; color: #000; font: inherit; font-size: 14px; font-weight: 500; line-height: 17px; text-decoration: none; cursor: pointer; }
.amq-post-share a:hover, .amq-post-share button:hover { background: #f5f5f5; color: #000; }
.amq-post-share svg { flex: none; }
.amq-post-cover { margin: 0; }
.amq-post-cover img { display: block; width: 680px; max-width: 100%; height: auto; }
.amq-article-body { font-size: 16px; line-height: 25.6px; color: #000; }
.amq-article-body .elementor-widget-container > * { max-width: 580px; margin: 0 auto 24px; }
.amq-article-body .elementor-widget-container > :last-child { margin-bottom: 0; }
.amq-article-body .elementor-widget-container > figure, .amq-article-body .elementor-widget-container > .wp-block-image { max-width: 700px; margin: 40px auto; }
.amq-article-body .elementor-widget-container > .wp-block-table { max-width: 700px; overflow-x: auto; }
.amq-article-body figure img { display: block; width: 100%; height: auto; margin: 0 auto; }
.amq-article-body figcaption { margin: 4px 0 0; font-size: 12px; font-weight: 500; line-height: 14px; color: #646464; text-align: center; }
.amq-article-body h2 { margin-top: 40px !important; margin-bottom: 16px !important; font-size: 24px; line-height: 1.2; font-weight: 400; }
.amq-article-body h3, .amq-article-body h4 { margin-top: 24px !important; margin-bottom: 16px !important; font-size: 20.16px; line-height: 1.2; font-weight: 400; }
.amq-article-body ul, .amq-article-body ol { padding-left: 20px; }
.amq-article-body li { margin-bottom: 16px; }
.amq-article-body a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.amq-article-body blockquote { max-width: 680px; margin: 40px auto; padding: 0; border: 0; font-size: 32px; line-height: 1.2; text-align: center; }
.amq-article-body blockquote cite { display: block; margin-top: 16px; font-size: 12px; font-style: normal; color: #646464; }
.amq-article-body hr { border: 0; border-top: 1px solid #ddd; }
.amq-article-body table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.amq-article-body th, .amq-article-body td { padding: 10px 12px; border: 1px solid #ddd; text-align: left; vertical-align: top; }
.amq-article-body th { background: #f5f5f5; font-weight: 500; }
@media (max-width: 767px) {
	.amq-article-title .elementor-heading-title { font-size: 25.6px !important; }
	.amq-article-body .elementor-widget-container > figure, .amq-article-body .elementor-widget-container > .wp-block-image { margin: 32px auto; }
	.amq-article-body blockquote { font-size: 26px; }
}
/* CASTILE page in the redesign's colours (its Elementor colours: amouriq-redesign-look.php): the page's own CSS
   (amq-castile.css, amq-castile-buying-block.css) restated in black, white and the demo's greys, square corners. */
body.page-id-5309 .amq-faq-item { border-bottom-color: #ddd; }
body.page-id-5309 .amq-faq-item summary { color: #000; font-weight: 500; }
body.page-id-5309 .amq-faq-item summary::after { color: #000; font-weight: 400; }
body.page-id-5309 .amq-faq-item p { color: rgba(0, 0, 0, .7); }
body .amq-buying-block, body .amq-castile-sticky-bar__info, body .amq-castile-sticky-bar__add-to-cart { font-family: "Prompt", sans-serif !important; }
body .amq-buying-block__image-col { border-color: #ddd; border-radius: 0; background: #f5f5f5; }
body .amq-buying-block__info-col, body .amq-buying-block__brand, body .amq-buying-block__name, body .amq-bb-size-btn, body .amq-buying-block__qty-btn,
body .amq-buying-block__qty-input, body .amq-buying-block__total-value, body .amq-castile-sticky-bar__info, body .amq-buying-block__triad strong { color: #000; }
body .amq-buying-block__oils { border-radius: 0; background: #efefef; color: #000; }
body .amq-buying-block__triad { border-color: #ddd; }
body .amq-buying-block__triad span, body .amq-bb-scent-btn__note, body .amq-bb-size-btn__price, body .amq-buying-block__section-heading, body .amq-buying-block__price-note,
body .amq-buying-block__total-label, body .amq-buying-block__trust-chips, body .amq-buying-block__sku { color: #646464; }
body .amq-bb-size-btn { border-color: #ddd; border-radius: 0; background: #fff; }
body .amq-bb-size-btn.is-selected { border-color: #000; background: #fff; }
body .amq-bb-size-btn.is-selected .amq-bb-size-btn__price { color: #000; }
body .amq-buying-block__qty-controls { border-color: #ddd; border-radius: 0; background: #fff; }
body .amq-buying-block__add-to-cart, body .amq-castile-sticky-bar__add-to-cart { border-radius: 0; background: #000; color: #fff; }
body .amq-buying-block__add-to-cart:hover:not(:disabled) { background: #000; opacity: .85; }
body .amq-buying-block__add-to-cart:disabled, body .amq-castile-sticky-bar__add-to-cart:disabled { background: #ddd; color: #646464; }
body .amq-buying-block__oos-message { color: #000; }
body .amq-buying-block__success-message { color: #000; }
body .amq-buying-block__secondary-links a { color: #000; }
body .amq-castile-sticky-bar { border-top-color: #ddd; background: #fff; }
body .amq-castile-sticky-bar img { border-radius: 0; }
.amq-about-statement .elementor-heading-title { margin: 0; font-size: 20px !important; font-weight: 400 !important; line-height: 24px !important; color: #000; text-align: center; }
@media (max-width: 767px) { .amq-about-statement .elementor-heading-title { font-size: 18px !important; line-height: 22px !important; } }
body .amq-buying-block__chips { color: #000; }
body .amq-buying-block__tag { border-radius: 0; background: #efefef; color: #000; }
body .amq-bb-scent-btn { border-color: #ddd; border-radius: 0; background: #fff; color: #000; }
body .amq-bb-scent-btn.is-selected { border-color: #000; background: #fff; color: #000; }
body .amq-bb-scent-btn__name { color: #000; }
body .amq-bb-size-btn__label { color: #000; }
body .amq-buying-block__qty-label { color: #646464; }
body .amq-bb-size-btn.is-selected .amq-bb-size-btn__label { color: #000; }
body .amq-buying-block *, body .amq-castile-sticky-bar * { font-family: "Prompt", sans-serif !important; }
body .amq-buying-block__name { font-weight: 500; }
/* CASTILE's buying block laid out as the product page's (owner 2026-10-31): photo in a grey 4:5 frame; on the right the
   name (16), the price (the block's running total), small grey labels, scent and size as the product page's small
   swatches (notes and per-size prices hidden: the price line shows the chosen one), then quantity and the black
   add-to-cart button side by side. Only CSS: the block's buttons and script are untouched. */
body .amq-buying-block { grid-template-columns: minmax(0, 580px) minmax(0, 440px); justify-content: center; gap: 120px; }
body .amq-buying-block__image-col { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; border: 0; }
body .amq-buying-block__image-col img { width: 89%; height: auto; object-fit: contain; }
body .amq-buying-block__info-col { display: grid; grid-template-columns: 128px minmax(0, 1fr); align-items: center; column-gap: 12px; }
body .amq-buying-block__info-col > * { grid-column: 1 / -1; margin: 0; }
body .amq-buying-block__purchase-row, body .amq-buying-block__qty, body .amq-buying-block__total { display: contents; }
body .amq-buying-block__brand, body .amq-buying-block__qty-label, body .amq-buying-block__total-label { display: none; }
body .amq-buying-block__name { order: 1; font-size: 16px !important; font-weight: 400; line-height: 20.8px; letter-spacing: 0; }
body .amq-buying-block__total-value { order: 2; grid-column: 1 / -1; margin: 18px 0 0; font-size: 14px; font-weight: 400; line-height: 23px; color: #504e4a; }
body .amq-buying-block__chips { order: 3; margin-top: 24px; }
body .amq-buying-block__tag, body .amq-buying-block__oils { padding: 2px 8px; font-size: 12px; }
body .amq-buying-block__triad { order: 4; margin-top: 24px; padding: 16px 0; }
body .amq-buying-block__triad strong { font-size: 12px; font-weight: 500; }
body .amq-buying-block__triad span { font-size: 12px; }
body .amq-buying-block__scent { order: 5; margin-top: 24px; }
body .amq-buying-block__size { order: 6; margin-top: 20px; }
body .amq-buying-block__section-heading { margin: 0 0 8px; font-size: 12px !important; font-weight: 400; line-height: 14.4px; letter-spacing: 0; text-transform: none; color: #646464; }
body .amq-buying-block__scent-row, body .amq-buying-block__size-row { display: flex !important; flex-wrap: wrap; gap: 8px; }
body .amq-bb-scent-btn, body .amq-bb-size-btn { display: inline-flex; align-items: center; height: 30px; min-height: 0; padding: 0 12px; border-width: 1px; font-size: 14px; line-height: 1; }
body .amq-bb-scent-btn__name, body .amq-bb-size-btn__label { font-size: 14px; font-weight: 400; line-height: 1; }
body .amq-bb-scent-btn__note, body .amq-bb-size-btn__price { display: none; }
body .amq-buying-block__price-note { margin-top: 8px; font-size: 12px; }
body .amq-buying-block__qty-controls { order: 7; grid-column: 1; display: flex; align-items: center; justify-content: space-between; width: 128px; height: 31px; margin-top: 24px; border: 0; border-bottom: 2px solid #ddd; background: transparent; }
body .amq-buying-block__qty-btn { background: transparent; transition: opacity .3s ease; }
body .amq-buying-block__qty-btn:hover { opacity: .6; }
body .amq-buying-block__qty-input { width: 60px; background: transparent; font-size: 14px; font-weight: 500; }
body .amq-buying-block__add-to-cart { order: 7; grid-column: 2; justify-self: end; position: relative; width: 200px; height: 33px; min-height: 0; margin-top: 24px; padding: 0 20px; font-size: 14px; font-weight: 500; line-height: 1; transition: text-indent .3s ease; }
body .amq-buying-block__add-to-cart::after { content: ""; position: absolute; top: 50%; right: 40px; width: 16px; height: 17px; margin-top: -8.5px; background: currentColor; opacity: 0; transform: translateX(-6px); transition: opacity .3s ease, transform .3s ease; pointer-events: none; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 17'%3E%3Cpath d='M8.49 8.34 6.01 5.85l.76-.76 3.24 3.25-3.24 3.24-.76-.76z'/%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 16 17'%3E%3Cpath d='M8.49 8.34 6.01 5.85l.76-.76 3.24 3.25-3.24 3.24-.76-.76z'/%3E%3C/svg%3E") center / contain no-repeat; }
body .amq-buying-block__add-to-cart:hover:not(:disabled), body .amq-buying-block__add-to-cart:active:not(:disabled) { opacity: 1; text-indent: -16px; }
body .amq-buying-block__add-to-cart:hover:not(:disabled)::after, body .amq-buying-block__add-to-cart:active:not(:disabled)::after { opacity: 1; transform: none; }
body .amq-buying-block__oos-message, body .amq-buying-block__success-message { order: 8; margin-top: 12px; font-size: 14px; }
body .amq-buying-block__trust-chips { order: 9; margin-top: 24px; font-size: 12px; letter-spacing: 0; text-align: left; }
body .amq-buying-block__secondary-links { order: 10; margin-top: 12px; gap: 16px; }
body .amq-buying-block__secondary-links a { font-size: 12px; text-decoration: none; background: linear-gradient(currentColor, currentColor) 50% 100% / 100% 1px no-repeat; transition: background-size .3s ease-in-out; }
body .amq-buying-block__secondary-links a:hover { background-size: 0% 1px; }
body .amq-buying-block__sku { order: 11; margin-top: 12px; font-size: 12px; }
@media (max-width: 1024px) { body .amq-buying-block { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } }
@media (max-width: 860px) {
	body .amq-buying-block { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	body .amq-buying-block__add-to-cart { width: 100%; justify-self: stretch; }
}
body .amq-bb-scent-btn, body .amq-bb-size-btn { flex-direction: row; justify-content: center; gap: 0; text-align: center; }
body .amq-buying-block__qty-input { height: 29px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: #000; }
/* Information pages (ticket 29): their own Elementor sections inside the article layout, evened out to the article's
   text (sections flat, headings 24, text 16, black); the first heading repeats the page title above, so it is hidden. */
.amq-info-body .elementor .e-con, .amq-info-body .elementor .e-con-inner { display: block !important; width: auto !important; max-width: none !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
.amq-info-body .elementor .elementor-widget { width: auto !important; max-width: none !important; margin: 0 0 24px !important; }
.amq-info-body .elementor .elementor-widget-heading .elementor-heading-title, .amq-info-body h2, .amq-info-body h3, .amq-info-body h4 { margin-top: 40px !important; margin-bottom: 16px !important; font-family: "Prompt", sans-serif !important; font-size: 24px !important; font-weight: 400 !important; line-height: 1.2 !important; color: #000 !important; text-align: left !important; }
.amq-info-body h3, .amq-info-body h4 { font-size: 20.16px !important; }
.amq-info-body .elementor .elementor-widget-heading { margin-bottom: 0 !important; }
.amq-info-body p, .amq-info-body li, .amq-info-body .elementor-widget-text-editor { font-family: "Prompt", sans-serif !important; font-size: 16px !important; font-weight: 400 !important; line-height: 25.6px !important; color: #000 !important; text-align: left !important; }
.amq-info-body strong, .amq-info-body b { font-weight: 500 !important; }
.amq-info-body p { margin-top: 0 !important; margin-bottom: 24px !important; }
.amq-info-body ul, .amq-info-body ol { margin-top: 0 !important; margin-bottom: 24px !important; padding-left: 20px; }
.amq-info-body li { margin-bottom: 8px; }
body:not(.amq-info-keep-heading) .amq-info-body .elementor > .e-con:first-child > .elementor-widget-heading:first-child,
body:not(.amq-info-keep-heading) .amq-info-body .elementor > .e-con:first-child > .e-con-inner > .elementor-widget-heading:first-child,
body:not(.amq-info-keep-heading) .amq-info-body .elementor > .e-con:first-child > .e-con:first-child > .elementor-widget-heading:first-child,
body:not(.amq-info-keep-heading) .amq-info-body .elementor > .e-con:first-child > .e-con-inner > .e-con:first-child > .elementor-widget-heading:first-child { display: none !important; }
.amq-info-keep-heading .amq-info-body .elementor > .e-con:first-child .elementor-widget-heading:first-child .elementor-heading-title { margin-top: 0 !important; }
/* The promotion page's coupon block (ticket 33): picture, copy box and button in the column's left line, square. */
.amq-info-body .elementor-widget-image, .amq-info-body .elementor-widget-image .elementor-widget-container { text-align: left !important; }
.amq-info-body .elementor-widget-html div[style*="border-radius"] { border-color: #ddd !important; border-radius: 0 !important; }
.amq-info-body .elementor-widget-html div[style*="border-radius"] > span:first-child { background: #f5f5f5 !important; font-weight: 500 !important; }
.amq-info-body .elementor-widget-html .coupon-text { font-weight: 500 !important; }
.amq-info-body .elementor-widget-button .elementor-button { height: 42px; min-height: 0; padding: 0 32px; border: 1px solid #ddd !important; border-radius: 0 !important; background: transparent !important; color: #000 !important; font-size: 14px; font-weight: 500; line-height: 40px; transition: border-color .3s ease; }
.amq-info-body .elementor-widget-button .elementor-button:hover { border-color: #000 !important; }
.amq-info-body .elementor-widget-button .elementor-widget-container, .amq-info-body .elementor-widget-button .elementor-button-wrapper { text-align: left !important; }
.amq-info-keep-heading .amq-info-body .elementor-widget > .elementor-widget-container { padding: 0 !important; }
.amq-info-body .elementor-widget-button .elementor-button { display: inline-flex; align-items: center; justify-content: center; }
.amq-info-body .elementor > .e-con:first-child .elementor-widget:not(.elementor-widget-heading):first-of-type .elementor-heading-title { margin-top: 0 !important; }
/* Cart page (ticket 30), as the demo's /cart: everything in one 944 column from the page's left edge (80); title and
   badge, log-in button at the right, the free-shipping line; the table with a grey header row, 64-wide photos, small
   grey details, underlined quantity, a bin icon; the totals 440 wide under it and the black checkout button; then
   "สินค้าที่คุณอาจสนใจ" across the page. WooCommerce's cart itself (coupon, Deals notices, shipping) is unchanged. */
body.woocommerce-cart .entry-content > .woocommerce { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 80px; }
.amq-cart-crumbs { margin: 0; font-size: 14px; font-weight: 500; line-height: 35px; color: #646464; }
.amq-cart-crumbs a { color: #646464; text-decoration: none; background: linear-gradient(currentColor, currentColor) 50% 100% / 100% 1px no-repeat; transition: background-size .3s ease-in-out; }
.amq-cart-crumbs a:hover { background-size: 0% 1px; }
.amq-cart-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 42px; }
.amq-cart-title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px !important; font-weight: 500 !important; line-height: 21px; color: #000; }
.amq-cart-count { padding: 0 4px; background: #000; color: #fff; font-size: 12px; font-weight: 500; line-height: 16px; }
.amq-cart-login { display: inline-flex; align-items: center; height: 35px; padding: 0 16px; border: 1px solid #ddd; color: #000; font-size: 14px; font-weight: 500; text-decoration: none; transition: border-color .3s ease; }
.amq-cart-login:hover { border-color: #000; color: #000; }
.amq-cart-ship { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 16px; max-width: 456px; margin-top: 10px; }
.amq-cart-ship__text { margin: 0; font-size: 14px; font-weight: 500; line-height: 17px; color: #000; }
.amq-cart-ship__text strong { font-weight: 500; }
.amq-cart-ship__shop { font-size: 12px; font-weight: 500; color: #000; text-decoration: none; background: linear-gradient(currentColor, currentColor) 50% 100% / 100% 1px no-repeat; transition: background-size .3s ease-in-out; }
.amq-cart-ship__shop:hover { background-size: 0% 1px; color: #000; }
.amq-cart-ship__track { grid-column: 1 / -1; height: 1px; margin-top: 8px; background: #ddd; }
.amq-cart-ship__track span { display: block; height: 1px; background: #000; transition: width .3s ease; }
body.woocommerce-cart .woocommerce-notices-wrapper { max-width: 944px !important; margin: 20px 0 0 !important; }
body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-info, body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message { max-width: 944px; margin: 0 0 8px; padding: 10px 16px; border: 0; border-radius: 0; background: #efefef; color: #000; font-size: 14px; }
body.woocommerce-cart .ct-woocommerce-cart-form { display: block !important; max-width: 944px; margin-top: 20px; }
body.woocommerce-cart table.shop_table.cart { width: 100%; margin: 0; border: 0; border-collapse: collapse; }
body.woocommerce-cart table.shop_table.cart thead th { padding: 13px 16px !important; border: 0 !important; background: #efefef; color: #000; font-size: 12px !important; font-weight: 500 !important; line-height: 14px; text-transform: none; letter-spacing: 0; }
body.woocommerce-cart table.shop_table.cart td { padding: 24px 16px 24px 0 !important; border: 0 !important; border-bottom: 1px solid #ddd !important; vertical-align: middle; font-size: 14px; font-weight: 500; color: #000; }
body.woocommerce-cart table.shop_table.cart td.product-thumbnail { width: 80px; padding-right: 16px !important; }
body.woocommerce-cart table.shop_table.cart td.product-thumbnail img { display: block; width: 64px; height: 85px; object-fit: cover; border-radius: 0; background: #f5f5f5; }
body.woocommerce-cart table.shop_table.cart td.product-name a { color: #000; font-size: 14px; font-weight: 500; text-decoration: none; }
body.woocommerce-cart table.shop_table.cart td.product-name a:hover { text-decoration: underline; text-underline-offset: 2px; }
body.woocommerce-cart table.shop_table.cart td.product-name dl.variation, body.woocommerce-cart table.shop_table.cart td.product-name dl.variation * { margin: 0; font-size: 12px !important; font-weight: 500; line-height: 14px; color: rgba(0, 0, 0, .7); }
body.woocommerce-cart table.shop_table.cart td.product-name dl.variation { display: flex; gap: 4px; margin-top: 8px; }
body.woocommerce-cart table.shop_table.cart td.product-name .price { margin-top: 4px; font-size: 14px; color: #000; }
body.woocommerce-cart table.shop_table.cart .quantity { width: 128px; height: 31px; border: 0 !important; border-bottom: 2px solid #ddd !important; border-radius: 0 !important; background: transparent; }
body.woocommerce-cart table.shop_table.cart .quantity input.qty { border: 0 !important; background: transparent !important; box-shadow: none !important; font-size: 14px; font-weight: 500; color: #000; }
body.woocommerce-cart table.shop_table.cart a.remove { color: #000 !important; opacity: .7; transition: opacity .3s ease; }
body.woocommerce-cart table.shop_table.cart a.remove:hover { opacity: 1; background: none; }
body.woocommerce-cart table.shop_table.cart td.actions { padding: 24px 0 0 !important; border-bottom: 0 !important; }
body.woocommerce-cart table.shop_table.cart td.actions .coupon { display: flex; gap: 8px; }
body.woocommerce-cart table.shop_table.cart td.actions .coupon input.input-text { width: 220px; height: 35px; padding: 0 12px 0 0 !important; border: 0 !important; border-bottom: 2px solid #ddd !important; border-radius: 0 !important; background: transparent; box-shadow: none; font-size: 14px; }
body.woocommerce-cart table.shop_table.cart td.actions .coupon input.input-text:focus { border-bottom-color: #000 !important; }
body.woocommerce-cart table.shop_table.cart td.actions .button { height: 35px; min-height: 0; padding: 0 16px; border: 1px solid #ddd !important; border-radius: 0 !important; background: transparent !important; color: #000 !important; font-size: 14px; font-weight: 500; transition: border-color .3s ease; }
body.woocommerce-cart table.shop_table.cart td.actions .button:hover:not(:disabled) { border-color: #000 !important; }
body.woocommerce-cart table.shop_table.cart td.actions .button:disabled { opacity: .5; }
body.woocommerce-cart .cart_totals { width: 440px; max-width: 100%; margin-top: 60px; padding: 0 !important; border: 0 !important; background: none !important; }
body.woocommerce-cart .cart_totals > h2 { display: none; }
body.woocommerce-cart .cart_totals table.shop_table { margin: 0; border: 0; }
body.woocommerce-cart .cart_totals table.shop_table tr > * { padding: 2px 0 !important; border: 0 !important; background: none; font-size: 14px !important; font-weight: 500 !important; line-height: 17px; color: #000; text-transform: none; }
body.woocommerce-cart .cart_totals table.shop_table td { text-align: right; }
body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals td { padding: 8px 0 !important; text-align: left; }
body.woocommerce-cart .cart_totals .woocommerce-shipping-methods, body.woocommerce-cart .cart_totals .woocommerce-shipping-destination, body.woocommerce-cart .cart_totals .shipping-calculator-button { font-size: 12px !important; color: rgba(0, 0, 0, .7) !important; }
body.woocommerce-cart .cart_totals tr.order-total > * { padding-top: 8px !important; }
body.woocommerce-cart .cart_totals tr.order-total small { font-size: 12px; font-weight: 400; color: #646464; }
body.woocommerce-cart .wc-proceed-to-checkout { padding: 0; margin-top: 20px; }
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button { position: relative; display: inline-flex !important; align-items: center; justify-content: center; width: 200px !important; height: 33px; min-height: 0; margin: 0 !important; padding: 0 20px !important; border: 0 !important; border-radius: 0 !important; background: #000 !important; color: #fff !important; font-size: 14px !important; font-weight: 500; transition: text-indent .3s ease; }
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button::after { content: ""; position: absolute; top: 50%; right: 20px; width: 16px; height: 17px; margin-top: -8.5px; background: currentColor; opacity: 0; transform: translateX(-6px); transition: opacity .3s ease, transform .3s ease; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 17'%3E%3Cpath d='M8.49 8.34 6.01 5.85l.76-.76 3.24 3.25-3.24 3.24-.76-.76z'/%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 16 17'%3E%3Cpath d='M8.49 8.34 6.01 5.85l.76-.76 3.24 3.25-3.24 3.24-.76-.76z'/%3E%3C/svg%3E") center / contain no-repeat; }
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover, body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:active { text-indent: -16px; }
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover::after, body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:active::after { opacity: 1; transform: none; }
.amq-cart-more-title .elementor-heading-title { font-size: 20.16px !important; line-height: 24px !important; }
.amq-cart-more-title { padding-right: 16px; border-right: 1px solid #ddd; }
@media (max-width: 1024px) { body.woocommerce-cart .entry-content > .woocommerce { padding: 0 40px; } }
@media (max-width: 767px) {
	body.woocommerce-cart .entry-content > .woocommerce { padding: 0 20px; }
	.amq-cart-head { margin-top: 24px; }
	body.woocommerce-cart table.shop_table.cart thead th:not(.product-name) { display: none; }
	body.woocommerce-cart table.shop_table.cart td.actions .coupon { flex-wrap: wrap; }
	body.woocommerce-cart table.shop_table.cart td.actions .coupon input.input-text { flex: 1 1 auto; width: auto; }
	body.woocommerce-cart .cart_totals { width: 100%; }
	body.woocommerce-cart .wc-proceed-to-checkout .checkout-button { width: 100% !important; }
}
body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-info::before, body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message::before { display: none !important; }
body.woocommerce-cart .cart-empty.woocommerce-info, body.woocommerce-cart .wc-empty-cart-message, body.woocommerce-cart .return-to-shop { display: none !important; }
.amq-cart-empty { display: flex; flex-direction: column; align-items: center; gap: 2px; padding-top: 160px; text-align: center; }
.amq-cart-empty__title { margin: 0; font-size: 14px !important; font-weight: 500 !important; line-height: 17px; color: #646464; }
.amq-cart-empty__text { max-width: 582px; margin: 0 0 30px; font-size: 14px; font-weight: 500; line-height: 17px; color: #000; }
@media (max-width: 767px) { .amq-cart-empty { padding-top: 64px; } }
/* My account (ticket 31). Logged out, as the demo's sign-in: one 380 column in the middle, 160 under the header; title
   20, a grey line, fields with a grey underline (as the contact form), a full-width black button with the arrow, small
   links and the terms line. Logged in: the WooCommerce menu as small words at the left, the page at the right. */
body.woocommerce-account .entry-content > .woocommerce { width: auto !important; max-width: none !important; margin: 0 !important; padding: 160px 80px 160px; }
body.woocommerce-account .ct-woo-unauthorized { display: block; }
body.woocommerce-account .ct-woo-unauthorized > .woocommerce-notices-wrapper { max-width: 380px; margin: 0 auto 16px; }
body.woocommerce-account .ct-woo-unauthorized > h2, body.woocommerce-account #customer_login h2 { display: block !important; max-width: 380px; margin: 0 auto 2px; font-size: 20px !important; font-weight: 500 !important; line-height: 24px; color: #000; text-align: left; }
body.woocommerce-account form.woocommerce-form-login, body.woocommerce-account form.woocommerce-form-register, body.woocommerce-account form.lost_reset_password { width: 380px; max-width: 100%; margin: 0 auto !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
body.woocommerce-account #customer_login { display: flex; flex-wrap: wrap; justify-content: center; gap: 64px 120px; width: auto; }
body.woocommerce-account #customer_login > .u-column1, body.woocommerce-account #customer_login > .u-column2 { float: none; width: 380px; max-width: 100%; padding: 0; }
.amq-account-intro { margin: 0 0 30px; font-size: 14px; font-weight: 500; line-height: 17px; color: #646464; }
body.woocommerce-account .woocommerce-form-row, body.woocommerce-account form .form-row { margin: 0 0 20px; padding: 0; }
body.woocommerce-account form label { margin-bottom: 4px; font-size: 12px; font-weight: 500; line-height: 14px; color: #646464; }
body.woocommerce-account form label .required { color: #646464; font-weight: 500; }
body.woocommerce-account form input.input-text, body.woocommerce-account form input[type="email"], body.woocommerce-account form input[type="password"], body.woocommerce-account form input[type="text"], body.woocommerce-account form input[type="tel"], body.woocommerce-account form select { height: 42px; min-height: 0; padding: 0 32px 0 0 !important; border: 0 !important; border-bottom: 2px solid #ddd !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; font-size: 14px; font-weight: 500; color: #000; transition: border-color .3s ease; }
body.woocommerce-account form input.input-text:focus, body.woocommerce-account form input:focus, body.woocommerce-account form select:focus { border-bottom-color: #000 !important; outline: 0; }
body.woocommerce-account form .show-password-input { right: 0 !important; }
body.woocommerce-account form .woocommerce-form-login__rememberme { display: flex; align-items: center; gap: 8px; margin: 0 0 20px; font-size: 14px; color: #000; }
body.woocommerce-account form input[type="checkbox"] { width: 16px; height: 16px; border-radius: 0 !important; accent-color: #000; }
body.woocommerce-account form .woocommerce-button, body.woocommerce-account form button[type="submit"] { position: relative; display: flex !important; align-items: center; justify-content: center; width: 100% !important; height: 42px; min-height: 0; margin: 0 !important; padding: 0 20px !important; border: 0 !important; border-radius: 0 !important; background: #000 !important; color: #fff !important; font-size: 14px !important; font-weight: 500; transition: text-indent .3s ease; }
body.woocommerce-account form .woocommerce-LostPassword, body.woocommerce-account form .lost_password { margin: 16px 0 0; text-align: center; font-size: 12px; }
body.woocommerce-account form .woocommerce-LostPassword a, body.woocommerce-account form .lost_password a, .amq-account-terms a { color: #000; text-decoration: none; background: linear-gradient(currentColor, currentColor) 50% 100% / 100% 1px no-repeat; transition: background-size .3s ease-in-out; }
body.woocommerce-account form .woocommerce-LostPassword a:hover, body.woocommerce-account form .lost_password a:hover, .amq-account-terms a:hover { background-size: 0% 1px; }
.amq-account-terms { margin: 24px 0 0; font-size: 12px; font-weight: 500; line-height: 14px; color: #646464; text-align: center; }
body.woocommerce-account .woocommerce-privacy-policy-text, body.woocommerce-account .woocommerce-privacy-policy-text p { font-size: 12px; line-height: 1.4; color: #646464; }
/* Logged in. */
body.woocommerce-account.logged-in .entry-content > .woocommerce { display: grid; grid-template-columns: 220px minmax(0, 860px); justify-content: start; gap: 0 120px; }
body.woocommerce-account .woocommerce-MyAccount-navigation { width: auto !important; float: none !important; margin: 0; padding: 0; border: 0; }
body.woocommerce-account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; border: 0; list-style: none; }
body.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0; padding: 0; border: 0 !important; }
body.woocommerce-account .woocommerce-MyAccount-navigation li a { display: inline-block; padding: 6px 0; border: 0; background: linear-gradient(currentColor, currentColor) 50% 90% / 0 1px no-repeat; color: #646464; font-size: 14px; font-weight: 500; line-height: 17px; text-decoration: none; transition: background-size .3s ease-in-out, color .3s ease; }
body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background-size: 100% 1px; color: #000; }
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background-size: 100% 1px; color: #000; }
body.woocommerce-account .woocommerce-MyAccount-navigation li a::before, body.woocommerce-account .woocommerce-MyAccount-navigation li a svg { display: none; }
body.woocommerce-account .woocommerce-MyAccount-navigation .ct-account-welcome { display: none; }
body.woocommerce-account .woocommerce-MyAccount-content { width: auto !important; float: none !important; padding: 0 !important; border: 0 !important; font-size: 14px; line-height: 1.6; color: #000; }
body.woocommerce-account .woocommerce-MyAccount-content a:not(.button) { color: #000; text-decoration: underline; text-underline-offset: 2px; }
body.woocommerce-account .woocommerce-MyAccount-content h2, body.woocommerce-account .woocommerce-MyAccount-content h3 { margin: 0 0 16px; font-size: 20.16px !important; font-weight: 400 !important; line-height: 24px; color: #000; }
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table { width: 100%; border: 0; border-collapse: collapse; font-size: 14px; }
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead th { padding: 13px 16px !important; border: 0 !important; background: #efefef; font-size: 12px !important; font-weight: 500 !important; text-transform: none; }
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table td, body.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody th { padding: 16px !important; border: 0 !important; border-bottom: 1px solid #ddd !important; font-weight: 500; }
body.woocommerce-account .woocommerce-MyAccount-content .button { height: 33px; min-height: 0; padding: 0 16px !important; border: 1px solid #ddd !important; border-radius: 0 !important; background: transparent !important; color: #000 !important; font-size: 14px; font-weight: 500; transition: border-color .3s ease; }
body.woocommerce-account .woocommerce-MyAccount-content .button:hover { border-color: #000 !important; }
body.woocommerce-account .woocommerce-MyAccount-content form button[type="submit"] { width: auto !important; min-width: 200px; }
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address { padding: 24px; border: 1px solid #ddd; border-radius: 0; }
body.woocommerce-account .woocommerce-info, body.woocommerce-account .woocommerce-message, body.woocommerce-account .woocommerce-error { border: 0; border-radius: 0; background: #efefef; color: #000; font-size: 14px; }
@media (max-width: 1024px) { body.woocommerce-account.logged-in .entry-content > .woocommerce { grid-template-columns: 180px minmax(0, 1fr); gap: 0 48px; padding: 100px 40px; } }
@media (max-width: 767px) {
	body.woocommerce-account .entry-content > .woocommerce { padding: 64px 20px 80px; }
	body.woocommerce-account.logged-in .entry-content > .woocommerce { display: block; padding: 40px 20px 80px; }
	body.woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 32px; }
}
body.woocommerce-account .woocommerce-MyAccount-navigation li a, body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { border: 0 !important; border-radius: 0 !important; background-color: transparent !important; box-shadow: none !important; }
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { color: #000 !important; }
body.woocommerce-account .woocommerce-MyAccount-navigation li::before, body.woocommerce-account .woocommerce-MyAccount-navigation li::after { display: none !important; }
/* My account > แต้มสะสม (ticket 33). The points page prints its own navy styles (amouriq-points.php); here it takes the
   account's look: black and the demo's greys, square corners, no shadows or gradients, titles as the account's. */
body .amq-pts { --navy: #000; --sky: #ddd; --ink: #000; --muted: #646464; --line: #ddd; --soft: #f5f5f5; max-width: 860px; font-size: 14px; }
body .amq-pts .amq-pts-hero { padding: 32px; border-radius: 0; background: #f5f5f5; box-shadow: none; color: #000; }
body .amq-pts .amq-pts-hero::before, body .amq-pts .amq-pts-hero::after { display: none; }
body .amq-pts .amq-pts-hero-label, body .amq-pts .amq-pts-hero-worth { font-size: 14px; font-weight: 500; color: #646464; opacity: 1; letter-spacing: 0; }
body .amq-pts .amq-pts-hero-num { font-size: 48px; font-weight: 400; }
body .amq-pts .amq-pts-hero-num span { font-size: 16px; font-weight: 500; opacity: 1; }
body .amq-pts .amq-pts-hero-pill { border-radius: 0; border: 1px solid #ddd; background: #fff; font-size: 12px; font-weight: 500; }
body .amq-pts .amq-pts-steps { gap: 16px; margin: 16px 0 0; }
body .amq-pts .amq-pts-step { padding: 20px; border-radius: 0; background: #fff; }
body .amq-pts .amq-pts-step b { font-size: 12px; font-weight: 500; color: #646464; text-transform: none; letter-spacing: 0; }
body .amq-pts .amq-pts-step strong { font-size: 16px; font-weight: 500; }
body .amq-pts .amq-pts-step span { font-size: 12px; }
body .amq-pts .amq-pts-h { margin: 48px 0 16px !important;font-size: 20.16px !important; font-weight: 400 !important; line-height: 24px; }
body .amq-pts .amq-pts-rewards { gap: 16px; }
body .amq-pts .amq-pts-reward, body .amq-pts .amq-pts-reward.is-ready { padding: 20px; border-radius: 0; box-shadow: none; }
body .amq-pts .amq-pts-reward.is-ready { border-color: #000; }
body .amq-pts .amq-pts-reward-top strong { font-size: 14px; font-weight: 500; }
body .amq-pts .amq-pts-cost { border-radius: 0; background: #efefef; font-size: 12px; font-weight: 500; }
body .amq-pts .amq-pts-reward small { font-size: 12px; }
body .amq-pts .amq-pts-bar { height: 2px; border-radius: 0; }
body .amq-pts .amq-pts-bar i { border-radius: 0; background: #000; }
body .amq-pts .amq-pts-btn, body .amq-pts button.amq-pts-btn { height: 42px; padding: 0 20px; border-radius: 0; background: #000; font-size: 14px; font-weight: 500; line-height: 42px; transition: opacity .3s ease; }
body .amq-pts .amq-pts-btn[disabled], body .amq-pts .amq-pts-btn[disabled]:hover { opacity: 1; border: 1px solid #ddd !important; background: transparent !important; color: #646464 !important; }
body .amq-pts .amq-pts-coupons li { border-radius: 0; }
body .amq-pts .amq-pts-code { border: 1px dashed #000; border-radius: 0; background: #f5f5f5; color: #000; }
body .amq-pts .amq-pts-badge { border-radius: 0; font-weight: 500; }
body .amq-pts .amq-pts-ledger { border: 0; border-top: 1px solid #ddd; border-radius: 0; }
body .amq-pts .amq-pts-ledger li { padding: 16px 0; border-top: 0; border-bottom: 1px solid #ddd; }
body .amq-pts .amq-pts-dot { width: 32px; height: 32px; font-size: 16px; font-weight: 500; }
body .amq-pts .amq-pts-ledger-main strong { font-weight: 500; }
body .amq-pts .amq-pts-amt { font-size: 14px; font-weight: 500; }
body .amq-pts .amq-pts-empty { padding: 40px 20px; border: 0; border-radius: 0; background: #f5f5f5; }
body .amq-pts .amq-pts-empty strong { font-weight: 500; }
body .amq-pts .amq-pts-empty span { font-size: 14px; }
/* Wide black buttons (sign in / register / lost password, the points page, place order) when pointed at or held, as
   the demo's add to cart: the words move 4-5px to the left and a small arrow comes in about 6px after them. The arrow
   is a flex item after the words (net width 0 at rest), so it sits against the words whatever their length. */
body.woocommerce-account form .woocommerce-button, body.woocommerce-account form button[type="submit"], body .amq-acc form button[type="submit"], body .amq-pts .amq-pts-btn, body .amq-pts button.amq-pts-btn, body.woocommerce-checkout #place_order { display: flex !important; align-items: center; justify-content: center; text-indent: 0 !important; line-height: 1; }
body.woocommerce-account form .woocommerce-button::after, body.woocommerce-account form button[type="submit"]::after, body .amq-acc form button[type="submit"]::after, body .amq-pts .amq-pts-btn::after, body.woocommerce-checkout #place_order::after { content: ""; position: static; flex: none; width: 4px; height: 17px; margin: 0 0 0 -4px; background: currentColor; opacity: 0; transform: translateX(-6px); transition: margin .3s ease, opacity .3s ease, transform .3s ease; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 17'%3E%3Cpath d='M8.49 8.34 6.01 5.85l.76-.76 3.24 3.25-3.24 3.24-.76-.76z'/%3E%3C/svg%3E") -6px 0 / 16px 17px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 17'%3E%3Cpath d='M8.49 8.34 6.01 5.85l.76-.76 3.24 3.25-3.24 3.24-.76-.76z'/%3E%3C/svg%3E") -6px 0 / 16px 17px no-repeat; }
body.woocommerce-account form .woocommerce-button:is(:hover, :active, :focus-visible)::after, body.woocommerce-account form button[type="submit"]:is(:hover, :active, :focus-visible)::after, body .amq-acc form button[type="submit"]:is(:hover, :active, :focus-visible)::after, body .amq-pts .amq-pts-btn:not([disabled]):is(:hover, :active, :focus-visible)::after, body.woocommerce-checkout #place_order:is(:hover, :active, :focus-visible)::after { margin-left: 6px; opacity: 1; transform: none; }
body.woocommerce-account form .woocommerce-button:is(:hover, :active, :focus), body.woocommerce-account form button[type="submit"]:is(:hover, :active, :focus), body .amq-acc form button[type="submit"]:is(:hover, :active, :focus), body .amq-pts .amq-pts-btn:not([disabled]):is(:hover, :active, :focus), body.woocommerce-checkout #place_order:is(:hover, :active, :focus) { background: #000 !important; color: #fff !important; opacity: 1 !important; filter: none !important; transform: none !important; box-shadow: none !important; outline: 0; }
body .amq-pts .amq-pts-btn[disabled]::after { display: none; }
body.woocommerce-account .woocommerce-MyAccount-content .amq-pts a.amq-pts-btn { color: #fff !important; text-decoration: none; }
/* Header account panel (signed out; amq-redesign.js + amouriq-redesign-account.php), as the demo's: 360 wide, 8px under
   the header, 20px from the right, white with a light shadow; title 18 in the serif, grey 32px close button; the log-in
   form in boxed fields, the black button; two thin-lined buttons side by side (orders, profile). */
.amq-acc { position: fixed; z-index: 9990; right: 20px; width: 360px; max-width: calc(100vw - 32px); max-height: calc(100vh - 120px); overflow-y: auto; box-sizing: border-box; padding: 16px; border-radius: 2px; background: #fff; box-shadow: 0 2px 16px rgba(0, 0, 0, .1); color: #000; font-size: 14px; font-weight: 500; }
.amq-acc[hidden] { display: none; }
.amq-acc__status { margin: 0; padding: 8px 0; color: #646464; }
.amq-acc__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 16px; }
.amq-acc__title { margin: 0 !important; font-family: "Cardo", serif !important; font-size: 18px !important; font-weight: 400 !important; line-height: 1.2 !important; color: #000; }
.amq-acc__close { display: grid; flex: none; place-items: center; width: 32px; height: 32px; min-height: 0; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: #efefef !important; color: #000 !important; cursor: pointer; transition: background-color .24s ease-in-out; }
.amq-acc__close:hover { background: #e2e2e2 !important; }
.amq-acc form.woocommerce-form-login { margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
.amq-acc form .form-row { float: none !important; width: 100% !important; margin: 0 0 12px !important; padding: 0 !important; }
.amq-acc form label { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 500; line-height: 14px; color: #646464; }
.amq-acc form label .required { color: #646464; }
.amq-acc form input.input-text { box-sizing: border-box; width: 100%; height: 48px; min-height: 0; padding: 0 44px 0 16px !important; border: 1px solid #ddd !important; border-radius: 0 !important; background: #fff !important; box-shadow: none !important; font-size: 14px; font-weight: 500; color: #000; transition: border-color .24s ease-in-out; }
.amq-acc form input.input-text:focus { border-color: #000 !important; outline: 0; }
.amq-acc form .password-input { position: relative; display: block; }
.amq-acc form .show-password-input { right: 12px !important; }
.amq-acc form .woocommerce-form-login__rememberme { display: flex !important; align-items: center; gap: 8px; margin: 0 0 12px !important; font-size: 12px; color: #000; }
.amq-acc form input[type="checkbox"] { appearance: auto; width: 14px; height: 14px; margin: 0; border: 0; accent-color: #000; }
.amq-acc form input[type="checkbox"]::before, .amq-acc form input[type="checkbox"]::after { display: none; }
.amq-acc form button[type="submit"] { position: relative; width: 100% !important; height: 42px; min-height: 0; margin: 0 !important; padding: 0 20px !important; border: 0 !important; border-radius: 0 !important; background: #000 !important; color: #fff !important; font-size: 14px !important; font-weight: 500; }
.amq-acc form .form-row:has(button[type="submit"]) { display: flex; flex-direction: column; }
.amq-acc form .lost_password { margin: 12px 0 0 !important; font-size: 12px; text-align: center; }
.amq-acc form .lost_password a { color: #000; text-decoration: none; background: linear-gradient(currentColor, currentColor) 50% 100% / 100% 1px no-repeat; transition: background-size .3s ease-in-out; }
.amq-acc form .lost_password a:hover { background-size: 0% 1px; }
.amq-acc form .clear { display: none; }
.amq-acc__links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 16px; }
.amq-acc__link { display: flex; align-items: center; justify-content: center; height: 48px; border: 1px solid #ddd; color: #000 !important; font-size: 14px; font-weight: 500; text-decoration: none !important; transition: border-color .24s ease-in-out; }
.amq-acc__link:hover { border-color: #000; }
@media (max-width: 520px) { .amq-acc { right: 16px; } }
@media (max-width: 520px) { body .amq-pts .amq-pts-hero { padding: 24px 20px; } body .amq-pts .amq-pts-hero-num { font-size: 40px; } }
/* Checkout (ticket 32), as the demo's checkout: the page split in two halves, the form on white at the left (500 wide,
   against the middle), the order on the demo's grey at the right (420 wide); sections with 16px titles, underlined
   fields as the rest of the site, payment choices in thin boxes, a full-width black "สั่งซื้อ" button. Only the look:
   WooCommerce's fields, coupon, Deals, shipping and the payment methods (Omise, transfer, COD) work as before. */
body.woocommerce-checkout .entry-content > .woocommerce { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0; }
body.woocommerce-checkout .woocommerce > .woocommerce-notices-wrapper, body.woocommerce-checkout .woocommerce-form-login-toggle, body.woocommerce-checkout .woocommerce-form-coupon-toggle, body.woocommerce-checkout form.woocommerce-form-login, body.woocommerce-checkout form.checkout_coupon { box-sizing: border-box; width: 580px; max-width: 100%; margin: 0 0 0 max(0px, calc(50% - 580px)) !important; padding: 0 40px !important; }
body.woocommerce-checkout .woocommerce > .woocommerce-notices-wrapper:first-child { padding-top: 40px !important; }
body.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info, body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info, body.woocommerce-checkout .woocommerce > .woocommerce-notices-wrapper .woocommerce-info, body.woocommerce-checkout .woocommerce > .woocommerce-notices-wrapper .woocommerce-message, body.woocommerce-checkout .woocommerce > .woocommerce-notices-wrapper .woocommerce-error { margin: 12px 0 0; padding: 10px 16px; border: 0; border-radius: 0; background: #f5f5f5; color: #000; font-size: 14px; font-weight: 500; }
body.woocommerce-checkout .woocommerce-info::before, body.woocommerce-checkout .woocommerce-message::before { display: none !important; }
body.woocommerce-checkout .woocommerce-info a { color: #000; text-decoration: underline; text-underline-offset: 2px; }
body.woocommerce-checkout form.woocommerce-form-login, body.woocommerce-checkout form.checkout_coupon { padding-top: 16px !important; padding-bottom: 8px !important; border: 0 !important; border-radius: 0 !important; background: none !important; }
body.woocommerce-checkout form.checkout { display: grid !important; grid-template-columns: 50% 50%; gap: 0 !important; align-items: stretch; margin-top: 24px; }
body.woocommerce-checkout .ct-customer-details { padding: 16px 40px 120px; }
body.woocommerce-checkout .ct-customer-details > .col2-set { width: 500px; max-width: 100%; margin-left: auto; }
body.woocommerce-checkout .col2-set .col-1, body.woocommerce-checkout .col2-set .col-2 { float: none; width: 100%; max-width: none; padding: 0; }
body.woocommerce-checkout .ct-order-review { position: static; padding: 40px 40px 120px; border: 0 !important; border-radius: 0 !important; background: #f5f5f5 !important; }
body.woocommerce-checkout .ct-order-review > * { width: 420px; max-width: 100%; }
body.woocommerce-checkout form.checkout h3, body.woocommerce-checkout #order_review_heading { margin: 32px 0 16px; padding: 0; font-size: 16px !important; font-weight: 500 !important; line-height: 21px; color: #000; text-transform: none; letter-spacing: 0; }
body.woocommerce-checkout .woocommerce-billing-fields > h3, body.woocommerce-checkout #order_review_heading { margin-top: 0; }
body.woocommerce-checkout form .form-row { margin: 0 0 18px; padding: 0; }
body.woocommerce-checkout form .form-row label { margin-bottom: 4px; font-size: 12px; font-weight: 500; line-height: 14px; color: #646464; }
body.woocommerce-checkout form .form-row label .required { color: #646464; }
body.woocommerce-checkout form .form-row .optional { color: #646464; }
body.woocommerce-checkout form .form-row input.input-text, body.woocommerce-checkout form .form-row select, body.woocommerce-checkout form .form-row .select2-selection, body.woocommerce-checkout form .form-row textarea { min-height: 0; border: 0 !important; border-bottom: 2px solid #ddd !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; font-size: 14px; font-weight: 500; color: #000; transition: border-color .3s ease; }
body.woocommerce-checkout form .form-row input.input-text, body.woocommerce-checkout form .form-row select, body.woocommerce-checkout form .form-row .select2-selection { height: 42px; padding: 0 12px 0 0 !important; }
body.woocommerce-checkout form .form-row .select2-selection__rendered { padding-left: 0 !important; line-height: 40px !important; color: #000 !important; }
body.woocommerce-checkout form .form-row textarea { height: 127px; padding: 12px !important; border-bottom: 0 !important; background: #efefef !important; }
body.woocommerce-checkout form .form-row input.input-text:focus, body.woocommerce-checkout form .form-row select:focus { border-bottom-color: #000 !important; outline: 0; }
body.woocommerce-checkout form .form-row.woocommerce-invalid input.input-text { border-bottom-color: #c00 !important; }
body.woocommerce-checkout form input[type="checkbox"], body.woocommerce-checkout form input[type="radio"] { accent-color: #000; }
body.woocommerce-checkout #ship-to-different-address label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #000; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table { width: 100%; margin: 0 0 24px; border: 0 !important; border-collapse: collapse; background: none; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table thead { display: none; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr > * { padding: 4px 0 !important; border: 0 !important; background: none !important; font-size: 14px !important; font-weight: 500 !important; line-height: 17px; color: #000; text-transform: none; vertical-align: top; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table td:last-child, body.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot th + td { text-align: right; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tbody td { padding-bottom: 16px !important; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table .variation, body.woocommerce-checkout table.woocommerce-checkout-review-order-table .variation * { margin: 0; font-size: 12px !important; color: rgba(0, 0, 0, .7) !important; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table .product-quantity { font-weight: 500; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td { text-align: left; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table .woocommerce-shipping-methods { font-size: 12px; color: rgba(0, 0, 0, .7); }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total > * { padding-top: 12px !important; font-size: 16px !important; }
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total small { font-size: 12px; font-weight: 400; color: #646464; }
body.woocommerce-checkout #payment { padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; }
body.woocommerce-checkout #payment ul.payment_methods { margin: 0 0 24px; padding: 0 !important; border: 1px solid #ddd !important; border-radius: 0 !important; background: #fff; }
body.woocommerce-checkout #payment ul.payment_methods > li { margin: 0; padding: 14px 16px !important; border: 0 !important; border-bottom: 1px solid #ddd !important; font-size: 14px; font-weight: 500; }
body.woocommerce-checkout #payment ul.payment_methods > li:last-child { border-bottom: 0 !important; }
body.woocommerce-checkout #payment ul.payment_methods > li > label { font-size: 14px; font-weight: 500; color: #000; }
body.woocommerce-checkout #payment div.payment_box { margin: 10px 0 0 !important; padding: 0 !important; border: 0 !important; background: none !important; font-size: 12px; line-height: 1.5; color: rgba(0, 0, 0, .7); }
body.woocommerce-checkout #payment div.payment_box::before { display: none !important; }
body.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper, body.woocommerce-checkout #payment .woocommerce-privacy-policy-text p { font-size: 12px; line-height: 1.5; color: #646464; }
body.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper a { color: #000; }
body.woocommerce-checkout #payment .place-order { margin: 0; padding: 0 !important; }
body.woocommerce-checkout #place_order { position: relative; width: 100% !important; height: 48px; min-height: 0; margin-top: 16px; padding: 0 20px !important; border: 0 !important; border-radius: 0 !important; background: #000 !important; color: #fff !important; font-size: 14px !important; font-weight: 500; transition: text-indent .3s ease; }
@media (max-width: 1024px) {
	body.woocommerce-checkout form.checkout { grid-template-columns: 1fr; }
	body.woocommerce-checkout .ct-customer-details { padding: 16px 40px 48px; }
	body.woocommerce-checkout .ct-customer-details > .col2-set, body.woocommerce-checkout .ct-order-review > * { width: auto; margin: 0 auto; max-width: 600px; }
	body.woocommerce-checkout .woocommerce > .woocommerce-notices-wrapper, body.woocommerce-checkout .woocommerce-form-login-toggle, body.woocommerce-checkout .woocommerce-form-coupon-toggle, body.woocommerce-checkout form.woocommerce-form-login, body.woocommerce-checkout form.checkout_coupon { width: auto; max-width: 680px; margin: 0 auto !important; }
}
@media (max-width: 767px) {
	body.woocommerce-checkout .ct-customer-details { padding: 16px 20px 40px; }
	body.woocommerce-checkout .ct-order-review { padding: 32px 20px 80px; }
	body.woocommerce-checkout .woocommerce > .woocommerce-notices-wrapper, body.woocommerce-checkout .woocommerce-form-login-toggle, body.woocommerce-checkout .woocommerce-form-coupon-toggle, body.woocommerce-checkout form.woocommerce-form-login, body.woocommerce-checkout form.checkout_coupon { padding: 0 20px !important; }
}
body.woocommerce-checkout #payment div.payment_box input, body.woocommerce-checkout #payment div.payment_box select { border-radius: 0 !important; border-color: #ddd !important; box-shadow: none !important; }
body.woocommerce-checkout #payment { margin-left: 0 !important; margin-right: 0 !important; }
