/*
Theme Name: Charlis Silva Atapirikara
Theme URI: https://atapirikara.com
Author: RPA Solutions
Description: මාතර චාලිස් සිල්වා අටපිරිකර online කඩය සඳහා හැදූ WooCommerce theme එක. සිංහල අකුරු, WhatsApp ඇණවුම්, මිල ඉල්ලීම් form එක, පිංකම් දිනය සහ පූජා කාඩ්පත checkout එකේ.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 7.1
WC requires at least: 8.0
License: GPLv2 or later
Text Domain: charlis-silva
*/

:root {
	--brown: #3E2412;
	--brown-2: #2E1A0C;
	--brown-3: #4F3019;
	--cream: #FBF6EC;
	--sand: #FBF0DC;
	--sand-2: #F3E3C3;
	--line: #E9DCC4;
	--line-2: #D6BE8F;
	--accent: #A8520A;
	--accent-dark: #7A3B06;
	--saffron: #E8961E;
	--gold: #C9972B;
	--gold-2: #F2B544;
	--text-2: #5A3B26;
	--muted: #6B4A33;
	--green: #177A41;
	--green-dark: #10602F;
	--white: #FFFFFF;
	--radius: 16px;
	--sans: 'Noto Sans Sinhala', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--serif: 'Noto Serif Sinhala', 'Noto Sans Sinhala', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--brown); font-family: var(--sans); font-size: 16px; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { line-height: 1.4; margin: 0 0 .5em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }
.screen-reader-text, .cs-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.cs-skip { position: absolute; left: -999px; top: 8px; background: var(--brown); color: #fff; padding: 8px 16px; border-radius: 8px; z-index: 100; }
.cs-skip:focus { left: 8px; }
.cs-icon { flex: none; }

.cs-wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.cs-section { padding-top: 72px; padding-bottom: 72px; }
.cs-center { text-align: center; }
.cs-h1 { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); font-weight: 700; margin: 0; }
.cs-h2 { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; margin: 0 0 12px; line-height: 1.45; }
.cs-lead { font-size: 17px; color: var(--text-2); margin: 0 0 20px; line-height: 1.8; }
.cs-eyebrow { display: block; font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: .06em; margin-bottom: 8px; }
.cs-eyebrow--gold { color: var(--gold-2); }
.cs-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
.cs-head--center { justify-content: center; text-align: center; }
.cs-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.cs-more--gold { color: var(--gold-2); }
.cs-more--gold:hover { color: #fff; }

/* Buttons */
.cs-btn, .woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce #respond input#submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 46px; padding: 12px 24px; border: 0; border-radius: 10px;
	background: var(--accent); color: #fff; font-weight: 600; font-size: 16px; line-height: 1.3;
	text-decoration: none; cursor: pointer; transition: background .15s;
}
.cs-btn:hover, .woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover { background: var(--accent-dark); color: #fff; }
.cs-btn--lg { padding: 15px 30px; font-size: 17px; }
.cs-btn--wa { background: var(--green); }
.cs-btn--wa:hover { background: var(--green-dark); }
.cs-btn--dark { background: var(--brown); color: var(--cream); }
.cs-btn--dark:hover { background: var(--brown-2); }
.cs-btn--ghost { background: transparent; color: var(--brown); border: 1.5px solid var(--line-2); }
.cs-btn--ghost:hover { background: var(--sand); color: var(--brown); }
.woocommerce .button.alt, .woocommerce button.button.alt, .woocommerce a.button.alt, .woocommerce #place_order { background: var(--accent); color: #fff; }
.woocommerce .button.alt:hover, .woocommerce #place_order:hover { background: var(--accent-dark); }
.woocommerce .button:disabled, .woocommerce .button.disabled { opacity: .5; }
.woocommerce a.added_to_cart { display: inline-block; margin-top: 8px; font-weight: 600; }
.cs-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cs-actions--center { justify-content: center; }

/* Top bar */
.cs-topbar { background: var(--brown); color: var(--cream); font-size: 14px; }
.cs-topbar__inner { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-top: 9px; padding-bottom: 9px; }
.cs-topbar__notes { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.cs-topbar__phone { display: inline-flex; gap: 6px; align-items: center; color: var(--cream); text-decoration: none; font-weight: 600; }
.cs-topbar__phone:hover { color: var(--gold-2); }

/* Header */
.cs-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.admin-bar .cs-header { top: 32px; }
.cs-header__inner { display: flex; align-items: center; gap: 16px 28px; padding-top: 14px; padding-bottom: 14px; }
.cs-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--brown); margin-right: auto; min-width: 0; }
.cs-brand:hover { color: var(--brown); }
.cs-brand__logo { width: 52px; height: 52px; object-fit: contain; }
.cs-brand__text { display: flex; flex-direction: column; min-width: 0; }
.cs-brand__name { font-family: var(--serif); font-size: 22px; font-weight: 700; line-height: 1.3; }
.cs-brand__tag { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.cs-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 26px; font-weight: 500; }
.cs-nav__list a { color: var(--brown); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.cs-nav__list a:hover, .cs-nav__list .current-menu-item > a, .cs-nav__list .current_page_item > a { color: var(--accent); border-bottom-color: var(--saffron); }
.cs-nav__list .sub-menu { display: none; }
.cs-header__actions { display: flex; gap: 10px; align-items: center; }
.cs-iconbtn { position: relative; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--brown); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; }
.cs-iconbtn:hover { background: var(--sand); color: var(--brown); }
.cs-iconbtn--dark { background: var(--brown); border-color: var(--brown); color: var(--cream); }
.cs-iconbtn--dark:hover { background: var(--brown-2); color: var(--cream); }
.cs-cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--saffron); color: var(--brown); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; line-height: 1; }
.cs-cart-count[data-count="0"] { display: none; }
.cs-menu-btn { display: none; }
.cs-search { border-top: 1px solid var(--line); background: var(--sand); }
.cs-search__form { display: flex; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
.cs-search__form input[type=search] { flex: 1; min-width: 0; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; }

/* Hero */
.cs-hero { background: var(--sand); border-bottom: 1px solid var(--line); }
.cs-hero__inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.cs-hero__text { flex: 1 1 460px; display: flex; flex-direction: column; gap: 22px; }
.cs-pill { align-self: flex-start; background: #fff; border: 1px solid var(--gold); border-radius: 999px; padding: 7px 18px; font-size: 14px; font-weight: 600; color: var(--accent-dark); }
.cs-hero__title { font-family: var(--serif); font-size: clamp(32px, 4.2vw, 48px); line-height: 1.32; font-weight: 700; margin: 0; }
.cs-hero__lead { font-size: 19px; line-height: 1.8; color: var(--text-2); margin: 0; max-width: 560px; }
.cs-hero__media { flex: 1 1 420px; position: relative; }
.cs-hero__img { border-radius: 18px; overflow: hidden; border: 1px solid #E2C893; box-shadow: 0 10px 30px rgba(62,36,18,.12); aspect-ratio: 1200 / 896; }
.cs-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.cs-hero__badge { position: absolute; left: -20px; bottom: -24px; background: var(--brown); color: var(--cream); border: 3px solid var(--saffron); border-radius: 16px; padding: 14px 22px; display: flex; flex-direction: column; }
.cs-hero__badge strong { font-family: var(--serif); font-size: 40px; color: var(--gold-2); line-height: 1.1; }
.cs-hero__badge span { font-size: 14px; }

/* Trust strip */
.cs-trust { background: #fff; border-bottom: 1px solid var(--line); }
.cs-trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.cs-trust__item { display: flex; gap: 14px; align-items: center; }
.cs-trust__item > span:last-child { display: flex; flex-direction: column; line-height: 1.5; }
.cs-trust__item small { font-size: 14px; color: var(--muted); }
.cs-ico { width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--sand); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.cs-ico--sm { width: 40px; height: 40px; border-radius: 10px; }

/* Abroad */
.cs-abroad { background: #fff; border: 1px solid #E2C893; border-radius: 22px; overflow: hidden; display: flex; flex-wrap: wrap; }
.cs-abroad__img { flex: 1 1 380px; min-height: 320px; background: var(--sand-2); }
.cs-abroad__img img { width: 100%; height: 100%; object-fit: cover; }
.cs-abroad__text { flex: 1 1 500px; padding: 48px; display: flex; flex-direction: column; align-items: flex-start; }
.cs-ticks { list-style: none; padding: 0; margin: 4px 0 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.cs-ticks li { display: flex; gap: 12px; align-items: center; font-size: 15px; line-height: 1.6; }

/* Categories */
.cs-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.cs-cat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--brown); transition: transform .15s, box-shadow .15s; }
.cs-cat:hover { color: var(--brown); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(62,36,18,.10); }
.cs-cat__img { height: 160px; background: #fff; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #F1E6D2; }
.cs-cat__img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.cs-cat__img--art img { object-fit: cover; padding: 0; }
.cs-cat__body { padding: 16px 20px; display: flex; flex-direction: column; }
.cs-cat__body strong { font-size: 19px; }
.cs-cat__body small { font-size: 14px; color: var(--muted); }
.cs-cat--cta { background: var(--brown); color: var(--cream); padding: 28px 24px; justify-content: space-between; gap: 16px; border-color: var(--brown); min-height: 220px; }
.cs-cat--cta:hover { color: var(--cream); }
.cs-cat--cta strong { font-family: var(--serif); font-size: 22px; line-height: 1.5; }
.cs-cat--cta span { display: inline-flex; gap: 6px; align-items: center; color: var(--gold-2); font-weight: 600; }

/* Product cards (home) and WooCommerce loop */
.cs-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.cs-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.cs-card__img { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; border-bottom: 1px solid #F1E6D2; }
.cs-card__img img { width: 100%; height: 100%; object-fit: contain; }
.cs-badge { position: absolute; top: 12px; left: 12px; background: var(--saffron); color: var(--brown); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.cs-card__body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.cs-card__cat { font-size: 13px; color: var(--muted); }
.cs-card__title { font-size: 18px; font-weight: 600; line-height: 1.5; margin: 0; }
.cs-card__title a { color: var(--brown); text-decoration: none; }
.cs-card__title a:hover { color: var(--accent); }
.cs-card__en { font-size: 13px; color: var(--muted); }
.cs-card__price { font-size: 20px; font-weight: 700; color: var(--accent-dark); margin: 6px 0 12px; }
.cs-card__price del { color: var(--muted); font-weight: 400; font-size: 15px; }
.cs-card__price ins { text-decoration: none; }
.cs-card .button, .cs-card__btn { margin-top: auto; width: 100%; }

.woocommerce ul.products { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; padding: 0 0 18px; position: relative; }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { text-decoration: none; color: var(--brown); display: flex; flex-direction: column; flex: 1; }
.woocommerce ul.products li.product a img { aspect-ratio: 1 / 1; object-fit: contain; background: #fff; margin: 0 0 12px; border-bottom: 1px solid #F1E6D2; width: 100%; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product .woocommerce-loop-category__title { font-size: 17px; font-weight: 600; line-height: 1.5; padding: 0 18px; margin: 0 0 6px; color: var(--brown); }
.woocommerce ul.products li.product .price { display: block; padding: 0 18px; margin: 0 0 14px; font-size: 19px; font-weight: 700; color: var(--accent-dark); }
.woocommerce ul.products li.product .price del { color: var(--muted); font-weight: 400; font-size: 14px; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button { margin: auto 18px 0; }
.woocommerce ul.products li.product .added_to_cart { padding: 0 18px; }
.woocommerce ul.products li.product mark.count { background: none; color: var(--muted); font-size: 14px; }
.woocommerce span.onsale { position: absolute; top: 12px; left: 12px; right: auto; min-height: 0; min-width: 0; line-height: 1.4; background: var(--saffron); color: var(--brown); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin: 0; z-index: 2; }

/* Help, steps */
.cs-help { background: var(--sand); border-top: 1px solid var(--line); }
.cs-help__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.cs-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.cs-box strong { font-size: 19px; line-height: 1.5; }
.cs-box p { margin: 0; color: var(--text-2); line-height: 1.7; }
.cs-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 32px; }
.cs-step { width: 44px; height: 44px; border-radius: 999px; background: var(--saffron); color: var(--brown); font-weight: 700; font-size: 20px; display: inline-flex; align-items: center; justify-content: center; }

/* Story */
.cs-story { background: var(--brown); color: var(--cream); }
.cs-story__inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.cs-story__img { flex: 1 1 400px; border-radius: 18px; overflow: hidden; border: 3px solid var(--gold); aspect-ratio: 4 / 3.4; background: var(--brown-3); }
.cs-story__img img { width: 100%; height: 100%; object-fit: cover; }
.cs-story__text { flex: 1 1 460px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.cs-story__text p { margin: 0; font-size: 18px; line-height: 1.9; color: var(--sand-2); }
.cs-stats { align-self: stretch; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border-top: 1px solid var(--muted); padding-top: 22px; }
.cs-stats div { display: flex; flex-direction: column; }
.cs-stats strong { font-family: var(--serif); font-size: 26px; color: var(--gold-2); }
.cs-stats span { font-size: 14px; color: var(--sand-2); }

/* Quote form */
.cs-quote { padding-top: 24px; }
.cs-quote__box { background: var(--sand); border: 1px solid #E2C893; border-radius: 22px; padding: 44px; display: flex; flex-wrap: wrap; gap: 40px; }
.cs-quote__intro { flex: 1 1 320px; }
.cs-quote__intro img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; margin-bottom: 22px; }
.cs-form { flex: 1 1 460px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-content: start; }
.cs-form label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.cs-form input, .cs-form select, .cs-form textarea { font-weight: 400; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; width: 100%; min-height: 48px; }
.cs-form textarea { resize: vertical; }
.cs-form__full, .cs-alert { grid-column: 1 / -1; }
.cs-alert { margin: 0; padding: 14px 18px; border-radius: 10px; font-weight: 600; }
.cs-alert--ok { background: #E3F3E8; color: #0F5A2C; border: 1px solid #A9D8B8; }
.cs-alert--err { background: #FCE8E3; color: #8A2412; border: 1px solid #F0B7A8; }

/* Inner pages */
.cs-pagehead { background: var(--sand); border-bottom: 1px solid var(--line); padding: 40px 0 36px; }
.cs-pagehead .cs-lead { margin: 10px 0 0; }
.cs-prose { font-size: 17px; line-height: 1.9; }
.cs-prose--narrow { max-width: 820px; }
.cs-prose h2 { font-family: var(--serif); font-size: 26px; margin-top: 1.4em; }
.cs-prose ul { padding-left: 1.3em; }
.cs-prose li { margin-bottom: .5em; }
.cs-contact { display: grid; gap: 28px; }
.cs-contact__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.cs-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--sand-2); }
.cs-map iframe { display: block; width: 100%; height: 400px; border: 0; }
.cs-404 { display: flex; flex-direction: column; align-items: center; gap: 12px; }

/* Shop */
.cs-shop .woocommerce-breadcrumb { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.cs-shop .woocommerce-breadcrumb a { color: var(--muted); }
.cs-shop .woocommerce-products-header__title, .cs-shop .page-title { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 8px; }
.cs-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.cs-chip { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--brown); text-decoration: none; font-weight: 500; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.cs-chip:hover { background: var(--sand); color: var(--brown); }
.cs-chip.is-active { background: var(--brown); border-color: var(--brown); color: var(--cream); }
.woocommerce .woocommerce-result-count { margin: 10px 0 20px; color: var(--muted); font-size: 14px; float: left; }
.woocommerce .woocommerce-ordering { float: right; margin: 0 0 20px; }
.woocommerce .woocommerce-ordering select { padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; min-height: 44px; }
.woocommerce ul.products { clear: both; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 6px; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { border-radius: 8px; min-width: 40px; padding: 10px; background: #fff; border: 1px solid var(--line); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--brown); color: #fff; }

/* Single product */
.cs-shop--single { padding-top: 40px; }
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: 100% !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.woocommerce div.product div.images img { border-radius: 10px; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product .product_title { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 8px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--accent-dark); font-size: 28px; font-weight: 700; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--text-2); font-size: 17px; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 12px; }
.woocommerce div.product form.cart div.quantity { margin: 0; }
.woocommerce .quantity .qty { width: 80px; min-height: 46px; border: 1px solid var(--line-2); border-radius: 10px; padding: 8px; text-align: center; background: #fff; }
.woocommerce div.product form.cart .button { flex: 1 1 200px; font-size: 17px; }
.cs-product-wa { width: 100%; margin-bottom: 18px; }
.cs-product-promises { list-style: none; padding: 18px 20px; margin: 0 0 20px; background: var(--sand); border: 1px solid var(--line); border-radius: 12px; display: grid; gap: 10px; font-size: 15px; }
.cs-product-promises li { display: flex; gap: 10px; align-items: center; }
.cs-product-promises .cs-icon { color: var(--accent); }
.woocommerce div.product .product_meta { font-size: 14px; color: var(--muted); }
.woocommerce div.product .product_meta a { color: var(--muted); }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 24px 0 0; border-bottom: 1px solid var(--line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: transparent; border: 0; border-radius: 0; margin: 0 20px 0 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 0; color: var(--muted); font-weight: 600; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--brown); box-shadow: inset 0 -3px 0 var(--saffron); }
.woocommerce div.product .woocommerce-tabs .panel { padding: 20px 0; font-size: 17px; }
.woocommerce div.product .woocommerce-tabs .panel h2:first-child { display: none; }
.woocommerce .related > h2, .woocommerce .upsells > h2 { font-family: var(--serif); font-size: 28px; margin: 32px 0 20px; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews { border: 1px solid var(--line); border-top: 3px solid var(--accent); background: #fff; color: var(--brown); border-radius: 10px; padding: 16px 20px 16px 52px; margin: 0 0 24px; list-style: none; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--accent); }
.woocommerce-error { border-top-color: #B42318; }
.woocommerce-message .button, .woocommerce-info .button { float: right; min-height: 38px; padding: 8px 16px; font-size: 14px; }
.woocommerce-store-notice, p.demo_store { background: var(--accent); }

/* Cart and checkout */
.cs-wc-page { padding-top: 40px; }
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; border-collapse: separate; overflow: hidden; }
.woocommerce table.shop_table th { background: var(--sand); font-weight: 600; padding: 14px 16px; }
.woocommerce table.shop_table td { padding: 14px 16px; border-top: 1px solid var(--line); }
.woocommerce table.shop_table img { width: 72px; border-radius: 8px; background: #fff; }
.woocommerce table.cart td.actions .coupon { display: flex; gap: 8px; flex-wrap: wrap; }
.woocommerce table.cart td.actions .coupon .input-text { min-height: 46px; border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 12px; width: 200px !important; margin: 0; }
.woocommerce a.remove { color: #B42318 !important; }
.woocommerce a.remove:hover { background: #B42318; color: #fff !important; }
.woocommerce .cart-collaterals .cart_totals { float: right; width: 100%; max-width: 480px; }
.woocommerce .cart-collaterals .cart_totals h2, .woocommerce-checkout h3 { font-family: var(--serif); font-size: 24px; }
.woocommerce form .form-row { margin: 0 0 14px; padding: 0; }
.woocommerce form .form-row label { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .select2-container .select2-selection--single {
	border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 14px; background: #fff; min-height: 48px; width: 100%; }
.select2-container .select2-selection--single { height: 48px; display: flex; align-items: center; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; }
.woocommerce form .form-row textarea { min-height: 110px; }
.woocommerce-checkout #customer_details { margin-bottom: 28px; }
.woocommerce-checkout #order_review_heading { margin-top: 12px; }
.woocommerce-checkout #payment { background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); }
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--line); padding: 18px; }
.woocommerce-checkout #payment div.payment_box { background: #fff; color: var(--text-2); border-radius: 10px; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #fff; }
.woocommerce-checkout #payment div.form-row { padding: 18px; }
.woocommerce #place_order { width: 100%; font-size: 18px; min-height: 54px; }
.cs-order-extra { background: var(--sand); padding: 14px 18px; border-radius: 10px; }

/* Footer */
.cs-footer { background: var(--brown-2); color: var(--sand-2); margin-top: 0; }
.cs-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; padding-top: 60px; padding-bottom: 32px; }
.cs-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.cs-footer__col p { margin: 0; line-height: 1.8; }
.cs-footer__brand { font-family: var(--serif); font-size: 22px; color: var(--cream); }
.cs-footer__title { color: var(--gold-2); font-size: 16px; }
.cs-footer a { color: var(--sand-2); text-decoration: none; }
.cs-footer a:hover { color: var(--gold-2); }
.cs-footer__menu, .cs-footer__contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cs-footer__contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.6; }
.cs-footer__contact .cs-icon { margin-top: 3px; color: var(--gold-2); }
.cs-footer__link { font-weight: 600; }
.cs-pay { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-pay span { border: 1px solid var(--muted); border-radius: 8px; padding: 5px 12px; font-size: 14px; }
.cs-footer__bottom { border-top: 1px solid var(--brown-3); padding-top: 20px; padding-bottom: 96px; font-size: 14px; color: #D9C4A0; }

/* Floating WhatsApp */
.cs-wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; gap: 10px; align-items: center; background: var(--green); color: #fff; text-decoration: none; font-weight: 600; padding: 14px 22px; border-radius: 999px; box-shadow: 0 6px 18px rgba(46,26,12,.25); }
.cs-wa-float:hover { background: var(--green-dark); color: #fff; }

/* Responsive */
@media (max-width: 1240px) {
	.cs-menu-btn { display: inline-flex; }
	.cs-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(62,36,18,.12); }
	.cs-nav.is-open { display: block; }
	.cs-nav__list { flex-direction: column; gap: 0; padding: 8px 24px 16px; }
	.cs-nav__list a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
	.cs-header__inner { position: relative; }
}
@media (max-width: 782px) {
	.admin-bar .cs-header { top: 46px; }
	.woocommerce div.product { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
	.cs-wrap { padding-left: 16px; padding-right: 16px; }
	.cs-section { padding-top: 48px; padding-bottom: 48px; }
	.cs-hide-sm { display: none; }
	.cs-topbar__inner { justify-content: center; text-align: center; font-size: 13px; }
	.cs-brand__name { font-size: 16px; }
	.cs-brand__tag { display: none; }
	.cs-brand .cs-logo-mark, .cs-brand__logo { width: 40px; height: 40px; }
	.cs-header__inner { gap: 8px; }
	.cs-header__actions { gap: 6px; }
	.cs-iconbtn { width: 44px; height: 44px; }
	.cs-hero__inner { padding-top: 36px; padding-bottom: 52px; gap: 36px; }
	.cs-hero__lead { font-size: 17px; }
	.cs-hero__badge { left: 10px; bottom: -20px; padding: 10px 16px; }
	.cs-hero__badge strong { font-size: 30px; }
	.cs-actions .cs-btn { flex: 1 1 100%; }
	.cs-abroad__text { padding: 26px 20px; }
	.cs-abroad__img { min-height: 220px; }
	.cs-ticks { grid-template-columns: 1fr; }
	.cs-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.cs-cat__img { height: 120px; }
	.cs-cat__body { padding: 12px 14px; }
	.cs-cat__body strong { font-size: 16px; }
	.cs-cat__body small { display: none; }
	.cs-cat--cta { grid-column: 1 / -1; min-height: 0; padding: 22px; }
	.cs-cards, .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.cs-card__body { padding: 12px; }
	.cs-card__title { font-size: 15px; }
	.cs-card__en { display: none; }
	.cs-card__price { font-size: 17px; margin: 4px 0 10px; }
	.cs-card .button, .woocommerce ul.products li.product .button { font-size: 14px; padding: 10px 8px; min-height: 44px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 15px; padding: 0 12px; }
	.woocommerce ul.products li.product .price { padding: 0 12px; font-size: 17px; }
	.woocommerce ul.products li.product .button { margin: auto 12px 0; }
	.cs-help__grid { grid-template-columns: 1fr; }
	.cs-story__inner { padding-top: 52px; padding-bottom: 52px; gap: 32px; }
	.cs-story__text p { font-size: 16px; }
	.cs-quote__box { padding: 22px; gap: 24px; }
	.cs-form { grid-template-columns: 1fr; }
	.cs-wa-float { right: 14px; bottom: 14px; padding: 14px; }
	.cs-wa-float span { display: none; }
	.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { float: none; }
	.cs-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
	.cs-chip { flex: none; }
	.woocommerce table.shop_table_responsive tr td::before { font-weight: 600; }
	.cs-map iframe { height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.cs-cat { transition: none; }
}

/* FAQ */
.cs-faq__list { max-width: 860px; margin: 28px auto 0; display: grid; gap: 12px; }
.cs-faq__item { background: #fff; border: 1px solid rgba(62,36,18,.12); border-radius: 14px; padding: 18px 22px; }
.cs-faq__item summary { cursor: pointer; font-weight: 600; color: var(--brown); font-size: 18px; list-style: none; position: relative; padding-right: 32px; }
.cs-faq__item summary::-webkit-details-marker { display: none; }
.cs-faq__item summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 24px; color: var(--accent); }
.cs-faq__item[open] summary::after { content: "\2212"; }
.cs-faq__item p { margin: 12px 0 0; color: var(--text-2); line-height: 1.8; }

/* Blog */
.cs-post-meta { color: var(--text-2); margin: 8px 0 0; font-size: 15px; }
.cs-article__img { margin: 0 0 28px; }
.cs-article__img img { width: 100%; height: auto; border-radius: 18px; display: block; }
.cs-article h3 { font-family: var(--serif); font-size: 21px; margin-top: 1.3em; }
.cs-article table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 16px; }
.cs-article th, .cs-article td { border: 1px solid rgba(62,36,18,.15); padding: 10px 12px; text-align: left; vertical-align: top; }
.cs-article th { background: var(--sand); }
.cs-article__cta { margin-top: 40px; background: var(--sand); border-radius: 18px; padding: 26px; }
.cs-article__cta strong { font-family: var(--serif); font-size: 22px; color: var(--brown); }
.cs-article__cta p { margin: 8px 0 18px; }
.cs-article__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cs-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.cs-postcard { display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(62,36,18,.12); border-radius: 18px; overflow: hidden; color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.cs-postcard:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(62,36,18,.12); }
.cs-postcard__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.cs-postcard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.cs-postcard__body strong { font-family: var(--serif); font-size: 20px; color: var(--brown); line-height: 1.5; }
.cs-postcard__body span { color: var(--text-2); line-height: 1.7; }
.cs-postcard__body em { font-style: normal; color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

/* Header: keep brand and menu on one line */
.cs-brand__name, .cs-brand__tag { white-space: nowrap; }
.cs-brand { flex-shrink: 0; }
@media (min-width: 1241px) {
	.cs-header__inner { gap: 16px; }
	.cs-nav__list { flex-wrap: nowrap; gap: 4px 16px; font-size: 16px; }
	.cs-nav__list a { white-space: nowrap; }
	.cs-brand__name { font-size: 20px; }
	.cs-brand__tag { font-size: 11px; }
}
