/* ==========================================================================
   Nice Click — WooCommerce styles
   ========================================================================== */

/* Prices ---------------------------------------------------------------- */
.price, .woocommerce-Price-amount { font-family: var(--font-head); }
.price { color: var(--ink); font-weight: 700; }
.price del { color: var(--muted); font-weight: 400; font-size: .85em; margin-right: 6px; opacity: .8; }
.price ins { text-decoration: none; color: var(--red); }
.nc-askprice { font-size: 14px; color: var(--muted); font-weight: 500; }

/* Star rating ----------------------------------------------------------- */
.star-rating { position: relative; display: inline-block; width: 5.4em; height: 1em; line-height: 1; font-size: 14px; overflow: hidden; font-family: Arial, sans-serif; letter-spacing: .1em; vertical-align: middle; }
.star-rating::before { content: "★★★★★"; position: absolute; left: 0; top: 0; color: #dcd8d9; }
.star-rating span { position: absolute; left: 0; top: 0; overflow: hidden; padding-top: 1.5em; height: 0; white-space: nowrap; }
.star-rating span::before { content: "★★★★★"; position: absolute; left: 0; top: 0; color: var(--star); }

/* Product grid ---------------------------------------------------------- */
ul.products, .nc-products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
ul.products.nc-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
ul.products::before, ul.products::after { display: none; }
.nc-shop-main ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.woocommerce-no-products-found, .woocommerce-info { grid-column: 1 / -1; }

.nc-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s, border-color .25s; list-style: none; margin: 0; width: auto; float: none; }
.nc-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.nc-card__media { position: relative; aspect-ratio: 1; background: #fff; overflow: hidden; }
.nc-card__link { display: block; width: 100%; height: 100%; }
.nc-card__img, .nc-card__hover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: opacity .35s, transform .5s; }
.nc-card__hover { opacity: 0; }
.nc-card:hover .nc-card__hover { opacity: 1; }
.nc-card:hover .nc-card__img { transform: scale(1.04); }
.nc-card .nc-ph { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }
.nc-card__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; z-index: 3; pointer-events: none; }
.nc-badge { display: inline-block; padding: 5px 10px; border-radius: 99px; font: 700 11.5px/1 var(--font-head); letter-spacing: .03em; color: #fff; background: var(--ink); }
.nc-badge--sale { background: var(--red); }
.nc-badge--new { background: var(--green); }
.nc-badge--out { background: #7c7677; }
.nc-card__tools { position: absolute; top: 10px; right: 10px; z-index: 4; display: flex; flex-direction: column; gap: 8px; opacity: 0; transform: translateX(8px); transition: all .25s; }
.nc-card:hover .nc-card__tools, .nc-card:focus-within .nc-card__tools { opacity: 1; transform: none; }
.nc-tool { width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: background .15s, color .15s, transform .15s; }
.nc-tool:hover { background: var(--ink); color: #fff; transform: scale(1.08); }
.nc-wish.is-active, .nc-wish[aria-pressed="true"] { background: var(--red); color: #fff; }
.nc-wish.is-active svg, .nc-wish[aria-pressed="true"] svg { fill: currentColor; }
.nc-card__body { display: flex; flex-direction: column; gap: 5px; padding: 14px 16px 16px; flex: 1; border-top: 1px solid var(--soft); }
.nc-card__brand { font: 600 11.5px var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.nc-card__title { font: 500 14.5px/1.4 var(--font-body); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; letter-spacing: 0; }
.nc-card__title a:hover { color: var(--red); }
.nc-card__rating { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.nc-card__price { font-size: 17px; margin-top: auto; padding-top: 4px; }
.nc-card__price .price, .nc-card__price { color: var(--ink); }
.nc-card__cta { margin-top: 10px; }
.nc-card__cta .button { width: 100%; padding: 11px 14px; font-size: 13.5px; background: var(--ink); color: #fff; }
.nc-card__cta .button:hover { background: var(--red); }
.nc-card__cta .button.loading { opacity: .6; pointer-events: none; }
.nc-card__cta .button.loading::after { content: ""; width: 14px; height: 14px; border: 2px solid #fff; border-right-color: transparent; border-radius: 50%; animation: nc-spin .7s linear infinite; }
.nc-card__cta .added_to_cart { display: none; }
.nc-card__cta .button.added::before { content: "✓"; }
@keyframes nc-spin { to { transform: rotate(360deg); } }
.nc-card.outofstock .nc-card__img { opacity: .55; }
.nc-card.outofstock .nc-card__cta .button { background: var(--soft); color: var(--muted); }

/* List view (toggle) */
.nc-shop-main ul.products.is-list { grid-template-columns: 1fr; gap: 14px; }
.is-list .nc-card { flex-direction: row; }
.is-list .nc-card__media { width: 220px; flex: none; aspect-ratio: 1; }
.is-list .nc-card__body { border-top: 0; border-left: 1px solid var(--soft); padding: 20px 24px; justify-content: center; }
.is-list .nc-card__title { -webkit-line-clamp: 3; font-size: 17px; }
.is-list .nc-card__price { margin-top: 6px; }
.is-list .nc-card__cta .button { width: auto; min-width: 180px; }

/* Category rows: on phones show a tidy 2-column grid (first 4 products) instead of a sideways scroller */
@media (max-width: 720px) {
	ul.products.nc-scroll > li:nth-child(n+5) { display: none; }
}

/* Shop layout ----------------------------------------------------------- */
.nc-shop-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 32px; padding-block: 30px 70px; align-items: start; }
.nc-filters { min-width: 0; }
.nc-filters__head { display: none; }
.nc-filters .nc-widget { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 16px; }
.nc-filters .nc-widget__title { border: 0; padding: 0; margin-bottom: 12px; }
.nc-filters ul { list-style: none; display: grid; gap: 2px; }
.nc-filters li { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; }
.nc-filters li a { flex: 1; padding: 6px 0; color: var(--ink-2); }
.nc-filters li a:hover, .nc-filters li.current-cat > a, .nc-filters li.chosen > a, .nc-filters li.current-cat-parent > a { color: var(--red); font-weight: 600; }
.nc-filters .count { color: var(--muted); font-size: 12px; background: var(--soft); border-radius: 99px; padding: 1px 8px; }
.nc-filters ul.children { padding-left: 14px; margin: 2px 0 6px; border-left: 2px solid var(--soft); }
.nc-filters .product-categories > li { flex-wrap: wrap; }
.nc-filters .product-categories > li > ul { flex-basis: 100%; }
.nc-filters .tagcloud, .nc-filters .wp-block-tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.nc-filters .tagcloud a { font-size: 12.5px !important; padding: 5px 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-2); }
.nc-filters .tagcloud a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.nc-filters .widget_layered_nav li.chosen a::before, .nc-filters .woocommerce-widget-layered-nav-list__item--chosen a::before { content: "✓ "; color: var(--red); }
.nc-filters .widget_layered_nav_filters ul { display: flex; flex-wrap: wrap; gap: 6px; }
.nc-filters .widget_layered_nav_filters li a { padding: 5px 12px; border-radius: 99px; background: var(--red-soft); color: var(--red-dark); font-size: 12.5px; }
.nc-filters .widget_layered_nav_filters li a::before { content: "×"; margin-right: 6px; }
.nc-filters-backdrop { display: none; }

/* Price slider */
.price_slider_wrapper { padding-top: 6px; }
.ui-slider { position: relative; height: 6px; background: var(--line); border-radius: 6px; margin: 8px 8px 22px; }
.ui-slider .ui-slider-range { position: absolute; height: 100%; background: var(--red); border-radius: 6px; }
.ui-slider .ui-slider-handle { position: absolute; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: #fff; border: 3px solid var(--red); box-shadow: var(--shadow-sm); cursor: grab; z-index: 2; outline: 0; }
.price_slider_amount { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; flex-wrap: wrap; }
.price_slider_amount .button { padding: 9px 18px; font-size: 13px; order: 2; }
.price_slider_amount .price_label { order: 1; color: var(--muted); }
.price_slider_amount .clear { display: none; }

/* Toolbar */
.nc-toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; padding: 12px 14px 12px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.nc-toolbar .woocommerce-result-count { margin: 0; font-size: 13.5px; color: var(--muted); }
.nc-toolbar__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nc-toolbar__filter { display: none; padding: 9px 16px; }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select { padding: 9px 36px 9px 14px; border-radius: 99px; appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23231f20' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 14px center; font-size: 13.5px; font-weight: 500; }
.nc-viewtoggle { display: flex; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.nc-viewtoggle button { width: 40px; height: 38px; border: 0; background: #fff; display: grid; place-items: center; color: var(--muted); }
.nc-viewtoggle button.is-active { background: var(--ink); color: #fff; }

/* Notices --------------------------------------------------------------- */
.woocommerce-notices-wrapper { margin-bottom: 8px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 20px; border-radius: 12px; margin: 0 0 18px; background: var(--soft); border-left: 4px solid var(--ink); font-size: 14.5px; }
.woocommerce-message { background: #e8f7ee; border-color: var(--green); }
.woocommerce-message .button { margin-left: auto; padding: 9px 18px; font-size: 13px; order: 2; }
.woocommerce-error { background: #fdeceb; border-color: var(--red); }
.woocommerce-error li { list-style: none; }
.woocommerce-info { background: #f3f4f8; border-color: #4a5bd8; }

/* Single product -------------------------------------------------------- */
.nc-single-wrap { padding-bottom: 60px; }
.single-product div.product > * { min-width: 0; }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 10px; }
.single-product div.product > .woocommerce-tabs, .single-product div.product > .related, .single-product div.product > .upsells, .single-product div.product > .nc-recent { grid-column: 1 / -1; }
.woocommerce-product-gallery { opacity: 1 !important; overflow: hidden; max-width: 100%; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; margin: 0; }
.woocommerce-product-gallery__wrapper { margin: 0; max-width: 100%; }
.woocommerce-product-gallery .flex-viewport { max-width: 100%; }
.woocommerce-product-gallery__image { border-radius: 10px; overflow: hidden; }
.woocommerce-product-gallery__image img { width: 100%; height: auto; object-fit: contain; }
.woocommerce-product-gallery__image .nc-ph, .woocommerce-product-gallery__image img[src$="placeholder.svg"] { aspect-ratio: 1; }
.woocommerce-product-gallery__trigger { position: absolute; top: 20px; right: 20px; z-index: 5; width: 42px; height: 42px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; font-size: 0; }
.woocommerce-product-gallery__trigger::before { content: ""; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23231f20' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") center/contain no-repeat; }
.flex-control-thumbs { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 12px 0 0; padding: 0; }
.flex-control-thumbs li { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.flex-control-thumbs img { opacity: .55; cursor: pointer; transition: opacity .2s; aspect-ratio: 1; object-fit: cover; }
.flex-control-thumbs img.flex-active, .flex-control-thumbs img:hover { opacity: 1; }
.single-product .onsale { position: absolute; top: 20px; left: 20px; z-index: 6; }
.summary.entry-summary { position: static; min-width: 0; }
.nc-single-brand { display: inline-block; font: 600 12.5px var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.product_title { font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; margin-bottom: 10px; }
.woocommerce-product-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 13.5px; color: var(--muted); }
.summary .price { font-size: 30px; margin: 6px 0 12px; display: block; }
.summary .price del { font-size: 18px; }
.woocommerce-product-details__short-description { color: var(--ink-2); margin-bottom: 14px; }
.woocommerce-product-details__short-description ul { list-style: none; display: grid; gap: 8px; }
.woocommerce-product-details__short-description li { position: relative; padding-left: 26px; }
.woocommerce-product-details__short-description li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ed1c24' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/10px no-repeat; }
.nc-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; margin: 0 0 14px; padding: 5px 12px; border-radius: 99px; }
.nc-stock--in { background: #e8f7ee; color: #12683a; }
.nc-stock--out { background: #fdeceb; color: #9e1218; }
form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin: 18px 0 14px; }
form.cart.variations_form { display: block; }
form.cart .variations { width: 100%; margin-bottom: 14px; border-collapse: collapse; }
form.cart .variations th, form.cart .variations td { display: block; padding: 0; text-align: left; }
form.cart .variations th label { font: 600 13.5px var(--font-head); display: block; margin-bottom: 6px; }
form.cart .variations td { margin-bottom: 12px; }
form.cart .variations select { max-width: 340px; }
.reset_variations { display: inline-block; margin-top: 6px; font-size: 13px; color: var(--red); }
.woocommerce-variation-price { margin-bottom: 10px; }
.woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; }
.quantity { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.quantity input.qty { width: 54px; border: 0; text-align: center; padding: 0; font-weight: 600; box-shadow: none; -moz-appearance: textfield; background: transparent; }
.quantity input.qty::-webkit-outer-spin-button, .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quantity .nc-qty-btn { width: 40px; border: 0; background: transparent; font-size: 20px; line-height: 1; color: var(--ink); }
.quantity .nc-qty-btn:hover { background: var(--soft); }
form.cart .single_add_to_cart_button { flex: 1; min-width: 170px; padding: 15px 26px; font-size: 15px; }
form.cart .nc-buy-now { flex: 1 1 100%; background: var(--ink); color: #fff; }
form.cart .nc-buy-now:hover { background: #000; color: #fff; }
.single_add_to_cart_button.disabled, .single_add_to_cart_button:disabled { opacity: .45; pointer-events: none; }
.nc-single-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.nc-single-actions .nc-btn { flex: 1; min-width: 180px; }
.nc-trust-list { list-style: none; display: grid; gap: 10px; padding: 18px; border: 1px dashed #d8d4d5; border-radius: var(--radius); background: var(--soft); margin-bottom: 18px; font-size: 13.5px; }
.nc-trust-list li { display: flex; gap: 12px; align-items: center; }
.nc-trust-list .nc-icon { color: var(--red); }
.product_meta { display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); }
.product_meta a { color: var(--ink); font-weight: 500; }
.product_meta a:hover { color: var(--red); }

/* Tabs */
.woocommerce-tabs { margin-top: 20px; }
.woocommerce-tabs ul.tabs { list-style: none; display: flex; gap: 6px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.woocommerce-tabs ul.tabs li { margin: 0; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 14px 22px; font: 600 15px var(--font-head); color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.woocommerce-tabs ul.tabs li.active a, .woocommerce-tabs ul.tabs li a:hover { color: var(--ink); border-color: var(--red); }
.woocommerce-Tabs-panel { padding: 28px 0 10px; max-width: 980px; }
.woocommerce-Tabs-panel h2:first-child { font-size: 22px; }
.woocommerce-Tabs-panel h3 { font-size: 18px; margin: 1.4em 0 .6em; }
.woocommerce-Tabs-panel ul { padding-left: 1.3em; }
.woocommerce-Tabs-panel li { margin-bottom: .4em; }
table.nc-spec, table.shop_attributes { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 1.5em; }
table.nc-spec th, table.nc-spec td, table.shop_attributes th, table.shop_attributes td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14.5px; }
table.nc-spec th, table.shop_attributes th { width: 34%; background: var(--soft); font-weight: 600; font-family: var(--font-head); }
table.shop_attributes td p { margin: 0; }
.related.products, .upsells.products, .cross-sells { margin-top: 30px; }
.related.products > h2, .upsells.products > h2, .cross-sells > h2 { font-size: 26px; margin-bottom: 20px; }
.nc-recent .nc-section__head h2 { font-size: 26px; }
.nc-recent__grid ul.products { grid-template-columns: repeat(4, 1fr); }

.nc-sticky-atc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 860; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -12px rgba(35, 31, 32, .3); }
.nc-sticky-atc__info { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.nc-sticky-atc__info strong { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nc-sticky-atc__info span { font: 700 15px var(--font-head); color: var(--red); }
.nc-sticky-atc .nc-btn { flex: none; }

/* Reviews */
#reviews { max-width: 820px; }
#reviews .commentlist { list-style: none; display: grid; gap: 16px; margin: 0 0 24px; padding: 0; }
#reviews .comment_container { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
#reviews .avatar { border-radius: 50%; }
#reviews .comment-text .meta { font-size: 13px; color: var(--muted); margin: 4px 0 8px; }
#reviews .comment-text p { margin: 0 0 6px; }
.comment-form-rating .stars a { color: var(--star); font-size: 20px; margin-right: 4px; }
p.stars a { position: relative; height: 1em; width: 1em; text-indent: -999em; display: inline-block; text-decoration: none; margin-right: 4px; }
p.stars a::before { content: "★"; position: absolute; left: 0; top: 0; text-indent: 0; color: #dcd8d9; font-size: 24px; line-height: 1; }
p.stars:hover a::before, p.stars.selected a::before { color: var(--star); }
p.stars a:hover ~ a::before { color: #dcd8d9; }
p.stars.selected a.active ~ a::before { color: #dcd8d9; }
#review_form #respond .comment-form-rating, #review_form #respond .comment-form-comment { margin-bottom: 14px; }

/* Cart ------------------------------------------------------------------ */
.woocommerce-cart-form { margin-bottom: 30px; }
table.shop_table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
table.shop_table th { padding: 14px 18px; background: var(--soft); text-align: left; font: 600 13px var(--font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
table.shop_table td { padding: 18px; border-top: 1px solid var(--line); vertical-align: middle; }
table.shop_table .product-thumbnail { width: 96px; }
table.shop_table .product-thumbnail img { width: 80px; height: 80px; object-fit: contain; border-radius: 10px; background: var(--soft); }
table.shop_table .product-thumbnail .nc-ph { width: 80px; height: 80px; border-radius: 10px; }
table.shop_table .product-name a { font-weight: 600; }
table.shop_table .product-remove a.remove { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); color: var(--muted); font-size: 18px; line-height: 1; }
table.shop_table .product-remove a.remove:hover { background: var(--red); color: #fff; }
table.shop_table td.actions { padding: 16px 18px; }
table.shop_table td.actions .coupon { display: flex; gap: 10px; float: left; }
table.shop_table td.actions .coupon input { width: 190px; padding: 11px 14px; }
table.shop_table td.actions > .button { float: right; }
.cart-collaterals { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: 30px; }
.cart-collaterals .cross-sells { grid-column: 1; }
.cart_totals { grid-column: 2; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.cart_totals h2 { font-size: 20px; }
.cart_totals table { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.cart_totals th, .cart_totals td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; }
.cart_totals td { text-align: right; }
.cart_totals .order-total th, .cart_totals .order-total td { font: 700 18px var(--font-head); border-bottom: 0; }
.cart_totals .wc-proceed-to-checkout .button { width: 100%; padding: 16px; font-size: 15.5px; background: var(--red); }
.woocommerce-shipping-methods { list-style: none; }
.cart-empty, .return-to-shop { text-align: center; }
.cart-empty { padding: 50px 20px 10px; font-size: 18px; border: 0; background: transparent; justify-content: center; border-left: 0; }

/* Checkout -------------------------------------------------------------- */
form.woocommerce-checkout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 30px; align-items: start; }
form.woocommerce-checkout #customer_details { grid-column: 1; grid-row: 1 / span 3; }
form.woocommerce-checkout #order_review_heading { grid-column: 2; margin: 0; font-size: 20px; }
form.woocommerce-checkout #order_review { grid-column: 2; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-width: 0; }
#customer_details .col-1, #customer_details .col-2 { width: 100%; float: none; }
#customer_details h3 { font-size: 20px; margin: 0 0 16px; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper { display: flex; flex-wrap: wrap; gap: 0 16px; }
.form-row { margin: 0 0 16px; width: 100%; }
.form-row-first, .form-row-last { width: calc(50% - 8px); }
.form-row label { display: block; font: 500 13.5px var(--font-body); margin-bottom: 6px; }
.form-row .required { color: var(--red); text-decoration: none; }
.woocommerce-invalid input, .woocommerce-invalid select { border-color: var(--red); }
.select2-container .select2-selection--single { height: 46px; border: 1.5px solid var(--line); border-radius: 10px; }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 44px; padding-left: 14px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px; }
#order_review table.shop_table { border: 0; border-radius: 0; }
#order_review table.shop_table th, #order_review table.shop_table td { padding: 12px 0; background: transparent; border-top: 1px solid var(--line); text-transform: none; letter-spacing: 0; font: inherit; color: inherit; }
#order_review table.shop_table thead th { font: 600 12.5px var(--font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border-top: 0; }
#order_review .order-total th, #order_review .order-total td { font: 700 18px var(--font-head); }
#payment { background: var(--soft); border-radius: var(--radius-sm); padding: 6px 16px 16px; margin-top: 16px; }
#payment ul.payment_methods { list-style: none; padding: 0; }
#payment ul.payment_methods li { padding: 14px 0; border-bottom: 1px solid var(--line); }
#payment ul.payment_methods li label { display: inline; font-weight: 600; margin-left: 6px; }
#payment .payment_box { margin-top: 10px; padding: 12px 14px; background: #fff; border-radius: 10px; font-size: 14px; color: var(--muted); }
#payment .payment_box p { margin: 0; }
#place_order { width: 100%; padding: 17px; font-size: 16px; background: var(--red); margin-top: 14px; }
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info { background: var(--soft); }
.woocommerce-form-coupon { display: flex; gap: 10px; padding: 18px; border: 1px dashed var(--line); border-radius: var(--radius-sm); margin-bottom: 24px; flex-wrap: wrap; }
.woocommerce-form-coupon p { margin: 0; }
.woocommerce-form-coupon .form-row-first { flex: 1; width: auto; }
.woocommerce-form-coupon .form-row-last { width: auto; }
.woocommerce-order-received .woocommerce-thankyou-order-received { padding: 20px; background: #e8f7ee; border-radius: 12px; font-weight: 600; color: #12683a; }
ul.order_details, ul.woocommerce-order-overview { list-style: none; display: flex; flex-wrap: wrap; gap: 16px 40px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; margin: 22px 0; }
ul.order_details li, ul.woocommerce-order-overview li { font-size: 13px; color: var(--muted); }
ul.order_details li strong, ul.woocommerce-order-overview li strong { display: block; color: var(--ink); font-size: 15px; }

/* My account ------------------------------------------------------------ */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }
.woocommerce-MyAccount-navigation ul { list-style: none; display: grid; gap: 4px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.woocommerce-MyAccount-navigation a { display: block; padding: 11px 14px; border-radius: 10px; font-weight: 500; }
.woocommerce-MyAccount-navigation .is-active a, .woocommerce-MyAccount-navigation a:hover { background: var(--ink); color: #fff; }
.woocommerce-MyAccount-content { min-width: 0; }
.woocommerce-account:not(.logged-in) .woocommerce, body:not(.logged-in).woocommerce-account .woocommerce { display: block; }
#customer_login { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
#customer_login .u-column1, #customer_login .u-column2 { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; float: none; width: 100%; }
#customer_login h2 { font-size: 22px; }
.woocommerce-form-login, .woocommerce-form-register { border: 0; padding: 0; margin: 0; }
.woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; margin-right: 14px; }
.woocommerce-LostPassword { margin-top: 12px; }
.woocommerce-LostPassword a { color: var(--red); }
.woocommerce-Address { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.woocommerce-Addresses .col-1, .woocommerce-Addresses .col-2 { width: 100%; float: none; }

/* Misc ------------------------------------------------------------------ */
.woocommerce-store-notice, p.demo_store { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; margin: 0; padding: 12px; text-align: center; background: var(--red); color: #fff; }
.blockUI.blockOverlay { background: rgba(255, 255, 255, .6) !important; }
.woocommerce-breadcrumb { margin: 0; }
.wc-block-components-notice-banner { border-radius: 12px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
	ul.products.nc-grid--5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.nc-shop-main ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
	.nc-shop-layout { grid-template-columns: minmax(0, 1fr); }
	.nc-filters { position: fixed; z-index: 1010; top: 0; bottom: 0; left: 0; width: min(380px, 90vw); max-height: none; background: #fff; padding: 0 18px 24px; transform: translateX(-102%); transition: transform .3s cubic-bezier(.3, .8, .3, 1); box-shadow: var(--shadow-lg); overflow: auto; }
	.nc-filters.is-open { transform: none; }
	.nc-filters__head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: #fff; padding: 14px 0; margin-bottom: 10px; border-bottom: 1px solid var(--line); z-index: 2; font-size: 17px; font-family: var(--font-head); }
	.nc-filters-backdrop { display: block; position: fixed; inset: 0; background: rgba(21, 18, 19, .55); z-index: 1000; opacity: 0; pointer-events: none; transition: opacity .25s; }
	.nc-filters-backdrop.is-on { opacity: 1; pointer-events: auto; }
	.nc-toolbar__filter { display: inline-flex; }
	.nc-shop-main ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cart-collaterals { grid-template-columns: 1fr; }
	.cart_totals, .cart-collaterals .cross-sells { grid-column: 1; }
	form.woocommerce-checkout { grid-template-columns: 1fr; }
	form.woocommerce-checkout #customer_details, form.woocommerce-checkout #order_review_heading, form.woocommerce-checkout #order_review { grid-column: 1; grid-row: auto; }
}
@media (max-width: 960px) {
	ul.products, ul.products.nc-grid--5, .nc-recent__grid ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.single-product div.product { grid-template-columns: minmax(0, 1fr); }
	.nc-sticky-atc { display: flex; }
	.nc-sticky-atc[hidden] { display: none !important; }
	.woocommerce-account .woocommerce { grid-template-columns: 1fr; }
	.woocommerce-MyAccount-navigation ul { display: flex; overflow-x: auto; }
	.woocommerce-MyAccount-navigation a { white-space: nowrap; }
	#customer_login { grid-template-columns: 1fr; }
	.nc-sticky-atc { bottom: 64px; }
}
@media (max-width: 720px) {
	ul.products, ul.products.nc-grid--5, .nc-shop-main ul.products, .nc-recent__grid ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.nc-card__body { padding: 10px 12px 12px; }
	.nc-card__title { font-size: 13.5px; }
	.nc-card__price { font-size: 15px; }
	.nc-card__cta .button { padding: 10px 8px; font-size: 12.5px; }
	.nc-card__tools { opacity: 1; transform: none; flex-direction: row; top: auto; bottom: 8px; right: 8px; }
	.nc-card__tools .nc-tool { width: 32px; height: 32px; }
	.nc-card__tools .nc-tool svg { width: 16px; height: 16px; }
	.is-list .nc-card { flex-direction: column; }
	.is-list .nc-card__media { width: 100%; }
	.nc-viewtoggle { display: none; }
	.nc-toolbar { padding: 10px; }
	.nc-toolbar .woocommerce-result-count { display: none; }
	.nc-toolbar__right { margin-left: auto; }
	.woocommerce-Addresses { grid-template-columns: 1fr; }
	.form-row-first, .form-row-last { width: 100%; }
	table.shop_table_responsive thead { display: none; }
	table.shop_table_responsive tr { display: block; border-bottom: 1px solid var(--line); padding: 10px; }
	table.shop_table_responsive tr td { display: flex; justify-content: space-between; align-items: center; border: 0; padding: 8px; text-align: right; }
	table.shop_table_responsive tr td::before { content: attr(data-title); font-weight: 600; font-size: 13px; text-align: left; }
	table.shop_table_responsive tr td.product-remove::before, table.shop_table_responsive tr td.product-thumbnail::before, table.shop_table_responsive tr td.actions::before { display: none; }
	table.shop_table .product-thumbnail { width: auto; }
	table.shop_table td.actions .coupon, table.shop_table td.actions > .button { float: none; width: 100%; }
	table.shop_table td.actions .coupon input { width: 100%; flex: 1; }
	.cart_totals { padding: 18px; }
	.woocommerce-tabs ul.tabs li a { padding: 12px 14px; font-size: 14px; }
	.nc-single-actions .nc-btn { min-width: 100%; }
	.single-product .nc-container { padding-bottom: 20px; }
}

/* Password visibility toggle (WooCommerce) */
.password-input { position: relative; display: block; }
.password-input input { padding-right: 46px; }
.show-password-input { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; padding: 0; margin: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; font-size: 0; }
.show-password-input::before { content: ""; display: block; width: 20px; height: 20px; margin: auto; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e696a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat; }
.show-password-input.display-password::before { opacity: .5; }
.show-password-input:hover { background: var(--soft); }
