/* ==========================================================================
   LuvMuggs chrome: containers, menus, drawer, quick buttons, carousel skin.
   These rules own the header/nav DOM this theme emits, so the layout never
   depends on selector shapes coming from the shared utility stylesheets.
   ========================================================================== */

body {
	font-family: var(--theme-body-font);
	font-size: var(--theme-body-font-size);
	line-height: var(--theme-body-line-height);
	letter-spacing: var(--theme-body-letter-spacing);
	background: var(--theme-body-background);
	color: #111827;
	margin: 0;
}
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--theme-heading-font);
	font-weight: var(--theme-heading-font-weight);
	letter-spacing: var(--theme-heading-letter-spacing);
	color: #111827;
}
.container {
	width: 100%;
	max-width: var(--theme-site-width);
	margin-inline: auto;
	padding-inline: calc(var(--theme-site-gutter) / 2);
}
.site-wrapper { min-height: 100vh; }
.lm-icon { flex: 0 0 auto; }
.main-content { padding-bottom: 10px; }

/* --- top bar / header rows --- */
.site-header { background: #fff; }
.site-header .header-topbar { padding: 8px 0; }
.site-header .header-topbar a { text-decoration: none; }
.site-header .header-topbar a:hover { color: var(--theme-primary-color); }
.site-header .header-topbar .site-menu ul { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }
.site-header .header-topbar .header-text { border-left: 1px solid #e5e7eb; }
.site-header .header-topbar span { display: inline-flex; align-items: center; gap: 5px; }
.header-inner { position: relative; }
.site-header .header-nav { border-top: 1px solid #f0eef7; }
.site-header .header-nav .header-inner { min-height: 52px; }

/* --- primary menu --- */
.site-menu.horizontal .menu { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.site-menu.horizontal .menu > li { position: relative; }
.site-menu.horizontal .menu > li > a {
	display: inline-flex; align-items: center; gap: 5px;
	font-family: var(--theme-main-menu-font);
	font-size: var(--theme-main-menu-font-size);
	font-weight: var(--theme-main-menu-font-weight);
	letter-spacing: var(--theme-main-menu-letter-spacing);
	color: #111827; text-decoration: none; padding: 14px 0;
}
.site-menu.horizontal .menu > li > a:hover,
.site-menu.horizontal .menu > li.current-menu-item > a { color: var(--theme-primary-color); }
.site-menu.horizontal .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 232px; z-index: 60;
	background: #fff; border: 1px solid #e9e6f2; border-radius: var(--theme-site-border-radius);
	box-shadow: 0 14px 34px rgba(17, 24, 39, .1);
	list-style: none; margin: 0; padding: 8px 0;
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.site-menu.horizontal li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-menu.horizontal .sub-menu li { position: relative; }
.site-menu.horizontal .sub-menu a { display: block; padding: 8px 18px; font-size: 13.5px; color: #4b5563; text-decoration: none; }
.site-menu.horizontal .sub-menu a:hover { color: var(--theme-primary-color); background: #faf9fd; }
.site-menu.horizontal .sub-menu .sub-menu { top: -8px; left: 100%; }
.site-header .header-topbar .site-menu.horizontal .menu > li > a { padding: 0; font-size: 12px; font-weight: 500; color: #6b7280; }
.footer-menu .menu { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; }

/* --- categories flyout --- */
.categories-menu { position: relative; }
/* The shared base stylesheet decorates this button with icon-font pseudo
   elements; this theme draws its own inline SVGs, so switch those off. */
.categories-menu .categories-toggle::before,
.categories-menu .categories-toggle::after { content: none !important; display: none !important; }
.categories-menu > .categories-toggle { width: 300px; justify-content: flex-start; }
.categories-menu > .categories-toggle .lm-icon-chevron-d { margin-left: auto; }
.categories-menu .site-categories {
	position: absolute; top: 100%; left: 0; width: 300px; z-index: 70;
	background: #fff; border: 1px solid #e9e6f2; border-top: 0;
	border-radius: 0 0 var(--theme-site-border-radius) var(--theme-site-border-radius);
	box-shadow: 0 14px 34px rgba(17, 24, 39, .1);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.categories-menu:hover .site-categories,
.categories-menu .site-categories.open { opacity: 1; visibility: visible; transform: none; }
.categories-menu .site-categories ul { list-style: none; margin: 0; padding: 8px 0; }
.categories-menu .site-categories > .menu > li { position: relative; }
.categories-menu .site-categories > .menu > li > a {
	display: flex; align-items: center; gap: 10px; padding: 9px 18px;
	font-size: 13.5px; font-weight: 500; color: #374151; text-decoration: none;
}
.categories-menu .site-categories > .menu > li > a > span { flex: 1 1 auto; }
.categories-menu .site-categories > .menu > li > a:hover { background: #faf9fd; color: var(--theme-primary-color); }
.categories-menu .site-categories .sub-menu {
	position: absolute; top: 0; left: 100%; width: 262px; min-height: 100%;
	background: #fff; border: 1px solid #e9e6f2;
	border-radius: 0 var(--theme-site-border-radius) var(--theme-site-border-radius) 0;
	box-shadow: 0 14px 34px rgba(17, 24, 39, .1);
	opacity: 0; visibility: hidden; transition: opacity .16s ease, visibility .16s;
}
.categories-menu .site-categories li:hover > .sub-menu { opacity: 1; visibility: visible; }
.categories-menu .site-categories .sub-menu a { display: block; padding: 8px 18px; font-size: 13px; color: #4b5563; text-decoration: none; }
.categories-menu .site-categories .sub-menu a:hover { color: var(--theme-primary-color); background: #faf9fd; }

/* --- quick buttons --- */
.quick-button .action-link { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: #111827; }
.quick-button .action-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; color: #374151; }
.quick-button .action-link:hover .action-icon { color: var(--theme-primary-color); }
.quick-button .action-text span { display: block; font-size: 11px; color: #9ca3af; line-height: 1.1; }
.quick-button .action-text p { margin: 1px 0 0; font-size: 13px; font-weight: 700; line-height: 1.1; }
.quick-button .action-count {
	position: absolute; top: -7px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px;
	border-radius: 20px; background: var(--theme-primary-color); color: #fff;
	font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
}

/* --- mobile drawer --- */
.site-drawer {
	position: fixed; top: 0; left: 0; bottom: 0; width: 320px; max-width: 86vw; z-index: 1001;
	background: #fff; transform: translateX(-100%); transition: transform .25s ease;
	overflow-y: auto; box-shadow: 0 0 40px rgba(17, 24, 39, .16);
}
.site-drawer.open { transform: none; }
.site-drawer-overlay {
	position: fixed; inset: 0; background: rgba(17, 24, 39, .45); z-index: 1000;
	opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
}
.site-drawer-overlay.open { opacity: 1; visibility: visible; }
.site-drawer-header { padding: 18px; border-bottom: 1px solid #e9e6f2; }
.site-drawer-body { padding: 18px; }
.site-drawer .site-menu.vertical .menu { list-style: none; margin: 0; padding: 0; }
.site-drawer .site-menu.vertical .menu li { border-bottom: 1px solid #f1eff7; }
.site-drawer .site-menu.vertical .menu a {
	display: flex; align-items: center; justify-content: space-between;
	padding: 12px 0; font-size: 14.5px; font-weight: 600; color: #111827; text-decoration: none;
}
.site-drawer .site-menu.vertical .sub-menu { list-style: none; margin: 0 0 8px; padding: 0 0 0 14px; display: none; }
.site-drawer .site-menu.vertical li.open > .sub-menu { display: block; }
.site-drawer .site-menu.vertical .sub-menu a { font-weight: 500; font-size: 13.5px; color: #4b5563; }
.site-drawer .drawer-contact a { color: #111827; text-decoration: none; font-weight: 600; }
.site-drawer .drawer-contact p { display: flex; gap: 8px; align-items: flex-start; }

/* --- slick carousel skin --- */
.site-slider { position: relative; }
.site-slider .slick-list { margin: 0 -10px; }
.site-slider .slick-slide { padding: 0 10px; height: auto; }
.site-slider .slick-track { display: flex; align-items: stretch; }
.site-slider .slick-nav {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
	width: 38px; height: 38px; border-radius: 50%; border: 1px solid #e5e7eb;
	background: #fff; color: #374151; cursor: pointer; display: inline-flex;
	align-items: center; justify-content: center; padding: 0;
}
.site-slider .slick-nav:hover { background: var(--theme-primary-color); color: #fff; border-color: var(--theme-primary-color); }
.site-slider .slick-nav svg { width: 14px; height: 14px; }
.site-slider .slick-prev { left: -14px; }
.site-slider .slick-next { right: -14px; }
.site-slider .slick-dots { display: flex; justify-content: center; gap: 7px; list-style: none; padding: 0; margin: 16px 0 0; }
.site-slider .slick-dots li button {
	width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; font-size: 0;
	background: #d1d5db; cursor: pointer;
}
.site-slider .slick-dots li.slick-active button { background: var(--theme-primary-color); width: 22px; border-radius: 20px; }
.site-slider.products-slider .slick-list { margin: 0; }
.site-slider.products-slider .slick-slide { padding: 0; }

/* --- form controls --- */
.form-control,
input[type=text], input[type=email], input[type=tel], input[type=url],
input[type=password], input[type=search], input[type=number], textarea, select {
	font-family: var(--theme-form-input-font);
	font-size: var(--theme-form-input-font-size);
	font-weight: var(--theme-form-input-font-weight);
	border: 1px solid #e5e7eb; border-radius: var(--theme-site-border-radius);
	padding: 0 14px; height: var(--theme-form-input-height); width: 100%;
	background: #fff; color: #111827; outline: none;
}
textarea { height: auto; padding: 12px 14px; min-height: 130px; }
.form-control:focus, input:focus, textarea:focus, select:focus { border-color: var(--theme-primary-color); }
button, .button, input[type=submit] { font-family: var(--theme-form-button-font); }

/* --- WooCommerce notices --- */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notices-wrapper > ul {
	list-style: none; border-radius: var(--theme-site-border-radius); padding: 14px 18px;
	font-size: 14px; margin: 0 0 20px; border: 1px solid #e5e7eb; background: #faf9fd;
}
.woocommerce-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.woocommerce-message { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.woocommerce-message .button, .woocommerce-error .button { float: right; }

/* ==========================================================================
   Cart, checkout and account
   ========================================================================== */
.woocommerce-cart-form { margin-bottom: 26px; }
.woocommerce table.shop_table {
	width: 100%; border-collapse: collapse; border: 1px solid #e5e7eb;
	border-radius: var(--theme-site-border-radius); overflow: hidden; font-size: 14px;
}
.woocommerce table.shop_table th {
	background: #faf9fd; text-align: left; padding: 14px 16px; font-weight: 700; font-size: 13px;
	border-bottom: 1px solid #e5e7eb;
}
.woocommerce table.shop_table td { padding: 14px 16px; border-bottom: 1px solid #f1eff7; vertical-align: middle; }
.woocommerce table.shop_table img { width: 64px; height: auto; border-radius: 4px; }
.woocommerce table.shop_table .product-name a { color: #111827; text-decoration: none; font-weight: 600; }
.woocommerce table.shop_table .product-remove a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 24px; height: 24px; border-radius: 50%; background: #f3f4f6; color: #6b7280;
	text-decoration: none; font-size: 14px; line-height: 1;
}
.woocommerce table.shop_table .product-remove a:hover { background: #fee2e2; color: #b91c1c; }
.woocommerce .cart-collaterals { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 30px; align-items: start; }
@media (max-width: 991px) { .woocommerce .cart-collaterals { grid-template-columns: 1fr; } }
.woocommerce .cart_totals h2, .woocommerce-checkout h3, .woocommerce-billing-fields h3, #order_review_heading {
	font-size: 17px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 14px;
}
.woocommerce .cart_totals { border: 1px solid #e5e7eb; border-radius: var(--theme-site-border-radius); padding: 22px; background: #fff; }
.woocommerce .cart_totals table.shop_table { border: 0; }
.woocommerce .cart_totals table.shop_table th, .woocommerce .cart_totals table.shop_table td { padding: 10px 0; background: transparent; }
.woocommerce .coupon { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.woocommerce .coupon input[type=text] { max-width: 220px; }

.woocommerce button.button, .woocommerce a.button, .woocommerce input.button,
.woocommerce #respond input#submit, .wc-block-components-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: var(--theme-form-button-height); padding: 0 22px;
	border-radius: var(--theme-site-border-radius); border: 0; cursor: pointer;
	background: var(--theme-primary-color); color: #fff;
	font-size: var(--theme-form-button-font-size); font-weight: var(--theme-form-button-font-weight);
	text-decoration: none; line-height: 1;
}
.woocommerce button.button:hover, .woocommerce a.button:hover, .woocommerce input.button:hover {
	background: var(--theme-primary-active-color); color: #fff;
}
.woocommerce button.button.alt, .woocommerce a.button.alt, .woocommerce input.button.alt { background: var(--theme-primary-color); }
.woocommerce .checkout-button, .woocommerce #place_order { width: 100%; height: 50px; font-size: 15px; }
.woocommerce button.button[disabled], .woocommerce a.button.disabled { opacity: .55; cursor: not-allowed; }

.woocommerce-checkout .col2-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
@media (max-width: 767px) { .woocommerce-checkout .col2-set { grid-template-columns: 1fr; } }
.woocommerce form .form-row { margin: 0 0 14px; display: block; }
.woocommerce form .form-row label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.woocommerce form .form-row .required { color: #dc2626; text-decoration: none; }
.woocommerce .select2-container .select2-selection--single { height: var(--theme-form-input-height); border: 1px solid #e5e7eb; border-radius: var(--theme-site-border-radius); }
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered { line-height: var(--theme-form-input-height); padding-left: 14px; }
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow { height: var(--theme-form-input-height); }
.woocommerce-checkout #order_review, .woocommerce-checkout .woocommerce-checkout-review-order {
	border: 1px solid #e5e7eb; border-radius: var(--theme-site-border-radius); padding: 22px; background: #fff;
}
.woocommerce-checkout #payment { background: transparent; border-radius: 0; }
.woocommerce-checkout #payment ul.payment_methods { list-style: none; padding: 0; margin: 0 0 16px; border: 0; }
.woocommerce-checkout #payment ul.payment_methods li { padding: 10px 0; border-bottom: 1px solid #f1eff7; }
.woocommerce-checkout #payment div.payment_box { background: #faf9fd; border-radius: var(--theme-site-border-radius); padding: 12px 14px; font-size: 13px; margin-top: 8px; }
.woocommerce-checkout #payment div.payment_box::before { display: none; }

.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 10px 14px; border-radius: var(--theme-site-border-radius); color: #4b5563; text-decoration: none; font-size: 14px; }
.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation li a:hover { background: #f3f0fa; color: var(--theme-primary-active-color); font-weight: 600; }
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 30px; align-items: start; }
@media (max-width: 767px) { .woocommerce-account .woocommerce { grid-template-columns: 1fr; } }
.woocommerce-account .woocommerce-MyAccount-navigation { border: 1px solid #e5e7eb; border-radius: var(--theme-site-border-radius); padding: 12px; background: #fff; }
.woocommerce-account:not(.logged-in) .woocommerce { grid-template-columns: 1fr; max-width: 900px; margin-inline: auto; }
.woocommerce form.login, .woocommerce form.register, .woocommerce form.lost_reset_password,
.woocommerce form.track_order, .woocommerce .woocommerce-form-login, .woocommerce .woocommerce-form-register {
	border: 1px solid #e5e7eb; border-radius: var(--theme-site-border-radius); padding: 24px; background: #fff;
}
.woocommerce-order, .woocommerce-thankyou-order-received { font-size: 15px; }

/* ==========================================================================
   Overflow guards
   A grid or flex item defaults to min-width:auto, which lets a slick track's
   intrinsic width push its column - and then the page - arbitrarily wide.
   Every carousel host is pinned to min-width:0 so the track is clipped by
   .slick-list instead of dragging the layout with it.
   ========================================================================== */
.lm-hero, .lm-hero-side, .site-slider, .site-module, .site-module-body,
.lm-promo, .products.lm-grid > li.product, .slider-item { min-width: 0; }
.site-slider { max-width: 100%; }
.site-slider .slick-list { max-width: 100%; }
.lm-hero-module .row > * { min-width: 0; }
.lm-cta-grid > *, .lm-trust-grid > *, .lm-promo-grid > *, .lm-iconboxes > *, .lm-cat-rail > * { min-width: 0; }

/* The footer column already carries a "We accept" heading, so the inline label
   inside the badge row would repeat it. */
.site-footer .site-payment-cards .pay-label-wrap { display: none; }

/* The shared base stylesheet decorates several elements with glyphs from an
   icon font this theme does not load (it draws inline SVG instead). Without the
   @font-face those rules render as tofu boxes, so they are switched off here. */
.site-menu.horizontal ul .menu-item-has-children > a::after,
.site-menu.horizontal .menu-item-has-children > a::after,
.site-categories > ul > li.menu-item-has-children > a::after,
.site-categories .menu-item-has-children > a::after,
.site-header .custom-button.has-children > a::after,
.thumbnail-wrapper .thumbnail-buttons .wishlist-button a::before,
.woocommerce-breadcrumb ul li a::after,
.before-shop-loop .filter-wide-button > a::after,
.single-product-wrapper .product-bottom > *.wishlist-button a::before {
	content: none !important;
	display: none !important;
}
