/* ==========================================================================
   SKYWELLWISE: main.css
   Design tokens, base, shared components, header, navigation, footer.
   Uses logical properties so the theme is RTL-ready without a second file.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
	/* Brand design system (overridden by Customizer through an inline style) */
	--sw-navy: #061a33;       /* primary background */
	--sw-panel: #0b2d59;      /* secondary background */
	--sw-blue: #0757b8;       /* royal blue */
	--sw-electric: #1685e8;   /* electric blue (links, highlights) */
	--sw-gold: #d6a85f;       /* champagne gold */
	--sw-surface: #eaf1fc;    /* light product surface */
	--sw-bg: #061a33;
	--sw-text: #ffffff;       /* main text */
	--sw-muted: #c7d5e8;      /* secondary text */
	--sw-heading: #ffffff;
	--sw-ink: var(--sw-navy);                                  /* dark text on light surfaces */
	--sw-ink-muted: color-mix(in srgb, var(--sw-navy) 62%, #eaf1fc);
	--sw-white: #fff;
	--sw-inset: rgb(255 255 255 / 6%);

	/* Status */
	--sw-success: #3ddc97;
	--sw-warning: #d99028;
	--sw-error: #ff7a7a;

	/* Derived */
	--sw-navy-deep: color-mix(in srgb, var(--sw-navy) 62%, #000);
	--sw-navy-soft: rgb(255 255 255 / 8%);
	--sw-gold-dark: color-mix(in srgb, var(--sw-gold) 82%, #000);
	--sw-gold-soft: rgb(214 168 95 / 14%);
	--sw-border: rgb(199 213 232 / 16%);
	--sw-border-strong: rgb(199 213 232 / 32%);

	/* Typography */
	--sw-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", Arial, sans-serif;
	--sw-font-head: var(--sw-font-body);
	--sw-fs-base: 16px;
	--sw-fs-sm: 0.875rem;
	--sw-fs-xs: 0.78rem;
	--sw-lh: 1.55;

	/* Spacing scale */
	--sw-s1: 4px;
	--sw-s2: 8px;
	--sw-s3: 12px;
	--sw-s4: 16px;
	--sw-s5: 24px;
	--sw-s6: 32px;
	--sw-s7: 48px;
	--sw-s8: 72px;

	/* Shape and depth */
	--sw-radius-sm: 6px;
	--sw-radius: 10px;
	--sw-radius-lg: 16px;
	--sw-pill: 999px;
	--sw-shadow-sm: 0 1px 2px rgb(11 63 60 / 6%), 0 1px 3px rgb(11 63 60 / 8%);
	--sw-shadow: 0 4px 14px rgb(11 63 60 / 10%);
	--sw-shadow-lg: 0 14px 36px rgb(11 63 60 / 18%);
	--sw-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--sw-t: 160ms var(--sw-ease);

	/* Layout */
	--sw-container: 1360px;
	--sw-gutter: 24px;
	--sw-cols: 4;
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { font-size: var(--sw-fs-base); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--sw-bg);
	color: var(--sw-text);
	font-family: var(--sw-font-body);
	line-height: var(--sw-lh);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--sw-font-head); line-height: 1.25; color: var(--sw-heading); margin: 0 0 var(--sw-s3); font-weight: 700; }
h1 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); }
h2 { font-size: clamp(1.25rem, 1rem + 0.9vw, 1.6rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 var(--sw-s4); }
a { color: var(--sw-electric); text-decoration: none; transition: color var(--sw-t); }
a:hover { color: var(--sw-heading); text-decoration: underline; }
img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--sw-electric); outline-offset: 2px; border-radius: 3px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
	white-space: nowrap; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto !important; clip-path: none; width: auto; height: auto; margin: 0;
	position: fixed; inset-block-start: 8px; inset-inline-start: 8px; z-index: 100000;
	padding: 12px 18px; background: var(--sw-gold); color: var(--sw-ink); font-weight: 700; border-radius: var(--sw-radius-sm);
}

.sw-container { width: 100%; max-width: var(--sw-container); margin-inline: auto; padding-inline: var(--sw-gutter); }
.sw-main { display: block; outline: 0; }
.sw-main:not(.sw-home):not(.sw-wholesale) { padding-block: var(--sw-s4) var(--sw-s8); }
.sw-site-content { min-height: 50vh; }

.sw-icon { flex: none; vertical-align: middle; }
[dir="rtl"] .sw-icon--chevron-right,
[dir="rtl"] .sw-icon--chevron-left { transform: scaleX(-1); }
.sw-flip { transform: rotate(180deg); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- 3. Buttons and forms ---------- */
body.sw-theme .button,
body.sw-theme a.button,
body.sw-theme button.button,
body.sw-theme input.button,
body.sw-theme .woocommerce a.button,
body.sw-theme .woocommerce button.button,
body.sw-theme .woocommerce input.button,
body.sw-theme .woocommerce #respond input#submit,
body.sw-theme .wp-block-button__link,
body.sw-theme .sw-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 0.6rem 1.25rem;
	background: var(--sw-blue); color: #fff;
	border: 2px solid var(--sw-blue); border-radius: var(--sw-pill);
	font: 600 0.95rem/1.2 var(--sw-font-body); text-align: center; text-decoration: none; cursor: pointer;
	box-shadow: none; transition: background var(--sw-t), color var(--sw-t), border-color var(--sw-t), transform var(--sw-t), box-shadow var(--sw-t);
}
body.sw-theme .button:hover,
body.sw-theme a.button:hover,
body.sw-theme button.button:hover,
body.sw-theme input.button:hover,
body.sw-theme .woocommerce a.button:hover,
body.sw-theme .woocommerce button.button:hover,
body.sw-theme .woocommerce input.button:hover,
body.sw-theme .woocommerce #respond input#submit:hover,
body.sw-theme .sw-btn:hover {
	background: var(--sw-electric); border-color: var(--sw-electric); color: #fff; text-decoration: none; box-shadow: var(--sw-shadow-sm);
}
body.sw-theme .button:active,
body.sw-theme .sw-btn:active { transform: translateY(1px); }
body.sw-theme .button.disabled,
body.sw-theme .button:disabled,
body.sw-theme .button[disabled],
body.sw-theme .woocommerce button.button:disabled,
body.sw-theme .woocommerce button.button.disabled { opacity: 0.5; cursor: not-allowed; }

/* Gold: primary call to action (primary call to action button) */
body.sw-theme .button.sw-btn--gold,
body.sw-theme .sw-btn--gold,
body.sw-theme .button.alt,
body.sw-theme a.button.alt,
body.sw-theme button.button.alt,
body.sw-theme input.button.alt,
body.sw-theme .woocommerce a.button.alt,
body.sw-theme .woocommerce button.button.alt,
body.sw-theme .woocommerce input.button.alt,
body.sw-theme button.single_add_to_cart_button,
body.sw-theme .woocommerce #respond input#submit.alt {
	background: var(--sw-gold); border-color: var(--sw-gold); color: var(--sw-ink);
}
body.sw-theme .button.sw-btn--gold:hover,
body.sw-theme .button.alt:hover,
body.sw-theme a.button.alt:hover,
body.sw-theme button.button.alt:hover,
body.sw-theme .sw-btn--gold:hover,
body.sw-theme .woocommerce a.button.alt:hover,
body.sw-theme .woocommerce button.button.alt:hover,
body.sw-theme .woocommerce input.button.alt:hover,
body.sw-theme button.single_add_to_cart_button:hover {
	background: var(--sw-gold-dark); border-color: var(--sw-gold-dark); color: var(--sw-ink);
}
body.sw-theme .button.sw-btn--outline,
body.sw-theme .sw-btn--outline { background: transparent; color: var(--sw-heading); border-color: var(--sw-border-strong); }
body.sw-theme .button.sw-btn--outline:hover,
body.sw-theme .sw-btn--outline:hover { background: var(--sw-navy-soft); color: var(--sw-heading); border-color: var(--sw-gold); }
body.sw-theme .button.sw-btn--ghost,
body.sw-theme .sw-btn--ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / 60%); }
body.sw-theme .button.sw-btn--ghost:hover,
body.sw-theme .sw-btn--ghost:hover { background: rgb(255 255 255 / 12%); border-color: #fff; color: #fff; }
body.sw-theme .sw-btn--lg { min-height: 52px; padding-inline: 1.9rem; font-size: 1.05rem; }
body.sw-theme .sw-btn--sm { min-height: 36px; padding: 0.35rem 0.9rem; font-size: 0.85rem; }
body.sw-theme .sw-btn--block { display: flex; width: 100%; }

.sw-iconbtn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
	background: transparent; border: 0; border-radius: var(--sw-radius); color: inherit; cursor: pointer; position: relative;
	transition: background var(--sw-t);
}
.sw-iconbtn:hover { background: rgb(255 255 255 / 12%); }

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"],
input[type="tel"], input[type="number"], select, textarea {
	width: 100%; min-height: 44px; padding: 0.55rem 0.85rem;
	background: var(--sw-surface); color: var(--sw-ink);
	border: 1px solid transparent; border-radius: var(--sw-radius-sm);
	font: inherit; transition: border-color var(--sw-t), box-shadow var(--sw-t);
}
textarea { min-height: 120px; }
input:focus, select:focus, textarea:focus { border-color: var(--sw-electric); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sw-electric) 35%, transparent); outline: 0; }
::placeholder { color: var(--sw-ink-muted); opacity: 1; }
label { font-weight: 600; font-size: var(--sw-fs-sm); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--sw-electric); width: 18px; height: 18px; }

/* ---------- 4. Shared small components ---------- */
.sw-link { font-weight: 600; }

.sw-chip { display: inline-block; padding: 2px 10px; border-radius: var(--sw-pill); font-size: var(--sw-fs-xs); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; vertical-align: middle; }
.sw-chip--gold { background: var(--sw-gold); color: var(--sw-ink); }

.sw-stars { position: relative; display: inline-block; font-size: 15px; line-height: 1; letter-spacing: 2px; color: #d3d9e3; white-space: nowrap; }
.sw-stars > span { position: absolute; inset-block-start: 0; inset-inline-start: 0; width: calc(var(--r, 0) / 5 * 100%); overflow: hidden; color: #f0a21b; }
.sw-stars::before { content: "★★★★★"; }

.sw-badge { display: inline-block; padding: 3px 9px; border-radius: var(--sw-radius-sm); font-size: 0.72rem; font-weight: 700; line-height: 1.3; letter-spacing: 0.02em; }
.sw-badge--sale { background: #d63a46; color: #fff; }
.sw-badge--wholesale { background: var(--sw-navy); color: var(--sw-gold); }
.sw-badge--out { background: #6b7685; color: #fff; }

.sw-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.sw-price__now { font-size: 1.2rem; font-weight: 700; color: var(--sw-heading); }
.sw-price__now .woocommerce-Price-amount { font-weight: 700; }
.sw-price__from { font-size: var(--sw-fs-xs); font-weight: 600; color: var(--sw-muted); }
.sw-price__mrp { font-size: var(--sw-fs-sm); color: var(--sw-muted); }
.sw-price__mrp del { text-decoration-thickness: 1px; }
.sw-price__off { font-size: var(--sw-fs-sm); font-weight: 700; color: var(--sw-error); }
.sw-price__suffix { font-size: var(--sw-fs-xs); color: var(--sw-muted); }
.sw-price--lg .sw-price__now { font-size: 1.9rem; }

.sw-stock { display: flex; align-items: center; gap: 6px; margin: 0 0 var(--sw-s3); font-weight: 700; font-size: 0.95rem; }
.sw-stock--in { color: var(--sw-success); }
.sw-stock--low { color: var(--sw-warning); }
.sw-stock--out { color: var(--sw-error); }
.sw-stock--backorder { color: var(--sw-electric); }
.sw-stock--sm { font-size: var(--sw-fs-xs); margin-block: 0 var(--sw-s2); }

.sw-wish {
	display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0;
	background: rgb(255 255 255 / 94%); color: #6b7685; border: 1px solid var(--sw-border); border-radius: 50%;
	cursor: pointer; box-shadow: var(--sw-shadow-sm); transition: color var(--sw-t), transform var(--sw-t), background var(--sw-t);
}
.sw-wish:hover { color: var(--sw-error); transform: scale(1.06); }
.sw-wish[aria-pressed="true"] { color: var(--sw-error); }
.sw-wish[aria-pressed="true"] .sw-icon { fill: currentColor; }

.sw-badge-count, .sw-cart-count {
	display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px;
	background: var(--sw-gold); color: var(--sw-ink); border-radius: var(--sw-pill);
	font-size: 0.72rem; font-weight: 800; line-height: 1;
}
.sw-cart-count[data-count="0"], .sw-badge-count[data-count="0"] { display: none; }

.sw-breadcrumbs { margin: 0 0 var(--sw-s4); font-size: var(--sw-fs-sm); color: var(--sw-muted); }
.sw-breadcrumbs a { color: var(--sw-muted); }
.sw-breadcrumbs a:hover { color: var(--sw-heading); }
.sw-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; }
.sw-breadcrumbs ol li + li::before { content: "/"; margin-inline-end: 8px; }
.sw-sep { margin-inline: 8px; opacity: 0.6; }
.woocommerce-breadcrumb { margin: 0 0 var(--sw-s4); }

.sw-page-title { margin-block: var(--sw-s3) var(--sw-s4); }
.sw-page__head { margin-bottom: var(--sw-s4); }
.sw-meta { color: var(--sw-muted); font-size: var(--sw-fs-sm); }

.sw-empty { display: grid; justify-items: center; gap: 4px; padding: var(--sw-s7) var(--sw-s4); text-align: center; background: var(--sw-panel); border: 1px dashed var(--sw-border-strong); border-radius: var(--sw-radius-lg); color: var(--sw-muted); }
.sw-empty h2 { margin-top: var(--sw-s3); }
.sw-empty--page { border: 0; background: transparent; padding-block: var(--sw-s8); }
.sw-empty__code { font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; line-height: 1; margin: 0; color: var(--sw-gold); }

/* Blog and generic content */
.sw-layout--sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--sw-s6); align-items: start; }
.sw-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--sw-s5); margin-bottom: var(--sw-s5); }
.sw-post-card { display: flex; flex-direction: column; background: var(--sw-panel); border: 1px solid var(--sw-border); border-radius: var(--sw-radius); overflow: hidden; }
.sw-post-card--row { grid-column: 1 / -1; }
.sw-post-card__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.sw-post-card__body { padding: var(--sw-s4); }
.sw-post-card__title { font-size: 1.15rem; margin-bottom: var(--sw-s1); }
.sw-post-card__title a { color: var(--sw-heading); }
.sw-article { background: var(--sw-panel); padding: var(--sw-s5); border-radius: var(--sw-radius); border: 1px solid var(--sw-border); }
.sw-article__thumb { margin-bottom: var(--sw-s4); }
.sw-page { background: var(--sw-panel); padding: var(--sw-s5); border-radius: var(--sw-radius-lg); border: 1px solid var(--sw-border); }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content img { border-radius: var(--sw-radius-sm); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 8px 10px; border: 1px solid var(--sw-border); text-align: start; }
.alignwide { max-width: min(1200px, 100%); margin-inline: auto; }
.navigation.pagination { margin-block: var(--sw-s5); }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; background: var(--sw-panel); border: 1px solid var(--sw-border-strong); border-radius: var(--sw-radius-sm); color: var(--sw-heading); font-weight: 600; }
.page-numbers.current, .page-numbers:hover { background: var(--sw-blue); border-color: var(--sw-blue); color: #fff; text-decoration: none; }

.sw-comments { margin-top: var(--sw-s5); }
.sw-comments__list { list-style: none; display: grid; gap: var(--sw-s4); margin-bottom: var(--sw-s5); }
.sw-comments .comment-body { background: var(--sw-panel); padding: var(--sw-s4); border: 1px solid var(--sw-border); border-radius: var(--sw-radius); }

/* ---------- 5. Announcement bar ---------- */
.sw-announce { background: var(--sw-navy-deep); color: #e9eef6; font-size: var(--sw-fs-sm); }
.sw-announce__inner { display: flex; align-items: center; gap: var(--sw-s4); min-height: 38px; }
.sw-announce__list { flex: 1; display: grid; list-style: none; text-align: center; }
.sw-announce__item { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 400ms ease; padding-block: 8px; }
.sw-announce__item.is-active { opacity: 1; visibility: visible; }
.sw-announce a { color: var(--sw-gold); font-weight: 600; }
.sw-announce a:hover { color: #fff; }
.sw-announce__side { display: flex; align-items: center; gap: var(--sw-s4); }
.sw-announce__menu { display: flex; gap: var(--sw-s4); list-style: none; }
.sw-announce__phone { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; color: #e9eef6; }

/* ---------- 6. Header ---------- */
.sw-header { position: relative; z-index: 50; }
.sw-header__main { background: var(--sw-navy); color: #fff; }
.sw-header__row { display: flex; align-items: center; gap: var(--sw-s4); min-height: 74px; }
.sw-header__burger, .sw-header__mobile-actions, .sw-header__mobile-search { display: none; }

.sw-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; flex: none; }
.sw-logo:hover { color: #fff; text-decoration: none; }
.sw-logo__img { max-height: 48px; width: auto; }
.sw-logo__mark { flex: none; }
.sw-logo__word { font-size: 1.25rem; font-weight: 800; letter-spacing: 0.14em; }

.sw-deliver {
	display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 6px 10px;
	background: transparent; color: #fff; border: 1px solid transparent; border-radius: var(--sw-radius); cursor: pointer; font: inherit; text-align: start;
	transition: border-color var(--sw-t), background var(--sw-t);
}
.sw-deliver:hover { border-color: rgb(255 255 255 / 45%); }
.sw-deliver .sw-icon { color: var(--sw-gold); }
.sw-deliver__text { display: grid; line-height: 1.2; }
.sw-deliver__small { font-size: 0.75rem; color: #cbd6e4; }
.sw-deliver__strong { font-size: 0.92rem; font-weight: 700; }

.sw-header__search { flex: 1; min-width: 0; }
.sw-search { position: relative; display: flex; align-items: stretch; width: 100%; background: var(--sw-panel); border-radius: var(--sw-radius); overflow: visible; box-shadow: 0 0 0 2px transparent; transition: box-shadow var(--sw-t); }
.sw-search:focus-within { box-shadow: 0 0 0 3px var(--sw-gold); }
.sw-search__cat { width: auto; max-width: 112px; min-height: 46px; padding-inline: 12px 8px; background: var(--sw-surface); color: var(--sw-text); border: 0; border-inline-end: 1px solid var(--sw-border); border-radius: var(--sw-radius) 0 0 var(--sw-radius); font-size: var(--sw-fs-sm); cursor: pointer; }
[dir="rtl"] .sw-search__cat { border-radius: 0 var(--sw-radius) var(--sw-radius) 0; }
.sw-search__input { flex: 1; min-width: 0; min-height: 46px; border: 0; border-radius: 0; background: var(--sw-panel); box-shadow: none !important; }
.sw-search__input:first-child { border-radius: var(--sw-radius) 0 0 var(--sw-radius); }
.sw-search__btn { display: grid; place-items: center; width: 54px; flex: none; background: var(--sw-gold); color: var(--sw-ink); border: 0; border-radius: 0 var(--sw-radius) var(--sw-radius) 0; cursor: pointer; transition: background var(--sw-t); }
[dir="rtl"] .sw-search__btn { border-radius: var(--sw-radius) 0 0 var(--sw-radius); }
.sw-search__btn:hover { background: var(--sw-gold-dark); }
.sw-search--simple { max-width: 480px; margin-inline: auto; border: 1px solid var(--sw-border-strong); }
.sw-search--simple .sw-search__btn { background: var(--sw-blue); color: #fff; }

/* Live suggestions */
.sw-suggest { position: absolute; inset-inline: 0; inset-block-start: calc(100% + 6px); z-index: 80; max-height: min(70vh, 560px); overflow-y: auto; background: var(--sw-panel); color: var(--sw-text); border: 1px solid var(--sw-border); border-radius: var(--sw-radius); box-shadow: var(--sw-shadow-lg); }
.sw-suggest__title { margin: 0; padding: 10px 14px 4px; font-size: var(--sw-fs-xs); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sw-muted); }
.sw-suggest__item { display: flex; align-items: center; gap: 12px; padding: 8px 14px; color: var(--sw-text); text-decoration: none; }
.sw-suggest__item:hover, .sw-suggest__item[aria-selected="true"] { background: var(--sw-navy-soft); text-decoration: none; color: var(--sw-text); }
.sw-suggest__img { width: 48px; height: 48px; flex: none; border-radius: var(--sw-radius-sm); object-fit: cover; background: var(--sw-inset); }
.sw-suggest__info { display: grid; min-width: 0; line-height: 1.3; }
.sw-suggest__name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-suggest__meta { font-size: var(--sw-fs-xs); color: var(--sw-muted); }
.sw-suggest__price { font-weight: 700; color: var(--sw-heading); }
.sw-suggest__plain { padding-block: 9px; }
.sw-suggest__all { display: block; padding: 12px 14px; border-top: 1px solid var(--sw-border); font-weight: 700; text-align: center; }
.sw-suggest__empty { padding: 16px; color: var(--sw-muted); }

.sw-header__actions { display: flex; align-items: center; gap: var(--sw-s1); flex: none; }
.sw-hdr-link, .sw-hdr-icon { display: grid; padding: 6px 10px; color: #fff; border: 1px solid transparent; border-radius: var(--sw-radius); line-height: 1.2; text-decoration: none; transition: border-color var(--sw-t); }
.sw-hdr-link:hover, .sw-hdr-icon:hover { border-color: rgb(255 255 255 / 45%); color: #fff; text-decoration: none; }
.sw-hdr-link__small { font-size: 0.75rem; color: #cbd6e4; }
.sw-hdr-link__strong { font-size: 0.92rem; font-weight: 700; display: inline-flex; align-items: center; gap: 2px; }
.sw-hdr-icon { grid-auto-flow: column; align-items: center; gap: 6px; position: relative; }
.sw-hdr-icon__label { font-weight: 700; font-size: 0.92rem; }
.sw-hdr-icon .sw-badge-count, .sw-hdr-icon .sw-cart-count { position: absolute; inset-block-start: -2px; inset-inline-start: 22px; }
.sw-hdr-cart .sw-icon { color: var(--sw-gold); }

/* Dropdowns (account, mini cart) */
.sw-dropdown { position: relative; }
.sw-dropdown__panel {
	position: absolute; inset-inline-end: 0; inset-block-start: 100%; z-index: 90; min-width: 260px; padding: var(--sw-s4);
	background: var(--sw-panel); color: var(--sw-text); border: 1px solid var(--sw-border); border-radius: var(--sw-radius); box-shadow: var(--sw-shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity var(--sw-t), transform var(--sw-t), visibility var(--sw-t);
}
.sw-dropdown:hover > .sw-dropdown__panel,
.sw-dropdown:focus-within > .sw-dropdown__panel,
.sw-dropdown.is-open > .sw-dropdown__panel { opacity: 1; visibility: visible; transform: none; }
.sw-dropdown__note { margin: var(--sw-s3) 0 0; font-size: var(--sw-fs-sm); color: var(--sw-muted); text-align: center; }
.sw-menu-list { list-style: none; display: grid; gap: 2px; }
.sw-menu-list a { display: block; padding: 8px 10px; color: var(--sw-text); border-radius: var(--sw-radius-sm); }
.sw-menu-list a:hover { background: var(--sw-navy-soft); text-decoration: none; }
.sw-minicart { min-width: 340px; }
.sw-minicart ul.cart_list { list-style: none; display: grid; gap: var(--sw-s3); margin: 0 0 var(--sw-s3); padding: 0; max-height: 280px; overflow: auto; }
.sw-minicart li.mini_cart_item { display: grid; grid-template-columns: 56px 1fr; gap: 4px 12px; position: relative; padding-inline-end: 24px; font-size: var(--sw-fs-sm); }
.sw-minicart li.mini_cart_item img { grid-row: span 2; width: 56px; height: 56px; object-fit: cover; border-radius: var(--sw-radius-sm); float: none; margin: 0; }
.sw-minicart li.mini_cart_item a.remove { position: absolute; inset-inline-end: 0; inset-block-start: 0; color: var(--sw-muted) !important; font-size: 1.2rem; }
.sw-minicart .woocommerce-mini-cart__total { display: flex; justify-content: space-between; padding-top: var(--sw-s3); border-top: 1px solid var(--sw-border); font-weight: 700; }
.sw-minicart .woocommerce-mini-cart__buttons { display: grid; gap: var(--sw-s2); margin: var(--sw-s3) 0 0; }
.sw-minicart .woocommerce-mini-cart__empty-message { margin: 0; text-align: center; color: var(--sw-muted); }

/* ---------- 7. Category navigation bar ---------- */
.sw-header__nav { background: var(--sw-panel); color: #fff; border-top: 1px solid rgb(255 255 255 / 8%); }
.sw-nav-row { display: flex; align-items: stretch; gap: var(--sw-s2); min-height: 46px; }
.sw-allcats { position: relative; display: flex; }
.sw-allcats__btn { display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; background: transparent; color: #fff; border: 0; font: 700 0.95rem var(--sw-font-body); cursor: pointer; border-radius: var(--sw-radius-sm); transition: background var(--sw-t); }
.sw-allcats__btn:hover, .sw-allcats__btn[aria-expanded="true"] { background: rgb(255 255 255 / 12%); }
.sw-allcats__panel { position: absolute; inset-inline-start: 0; inset-block-start: 100%; z-index: 95; display: flex; width: min(760px, 92vw); min-height: 340px; background: var(--sw-panel); color: var(--sw-text); border: 1px solid var(--sw-border); border-radius: 0 0 var(--sw-radius) var(--sw-radius); box-shadow: var(--sw-shadow-lg); }
.sw-allcats__tops { flex: none; width: 260px; list-style: none; padding-block: 8px; background: rgb(255 255 255 / 4%); border-inline-end: 1px solid var(--sw-border); }
.sw-allcats__top { position: static; }
.sw-allcats__toplink { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; color: var(--sw-text); font-weight: 600; text-decoration: none; }
.sw-allcats__top.is-open > .sw-allcats__toplink,
.sw-allcats__toplink:hover { background: var(--sw-panel); color: var(--sw-heading); text-decoration: none; box-shadow: inset 3px 0 0 var(--sw-gold); }
.sw-allcats__sub { position: absolute; inset-block: 0; inset-inline-start: 260px; inset-inline-end: 0; display: none; padding: var(--sw-s4) var(--sw-s5); overflow: auto; }
.sw-allcats__top.is-open > .sw-allcats__sub { display: block; }
.sw-allcats__subtitle { margin: 0 0 var(--sw-s3); font-size: 1.05rem; font-weight: 800; color: var(--sw-heading); }
.sw-allcats__sub ul { list-style: none; columns: 2; column-gap: var(--sw-s5); }
.sw-allcats__sub li { break-inside: avoid; }
.sw-allcats__sub a { display: block; padding: 6px 0; color: var(--sw-text); }
.sw-allcats__sub a:hover { color: var(--sw-electric); }

.sw-primary-nav { flex: 1; min-width: 0; }
.sw-nav-list { display: flex; flex-wrap: wrap; align-items: stretch; list-style: none; height: 100%; }
.sw-nav-list > li { position: relative; display: flex; }
.sw-nav-list > li > a { display: flex; align-items: center; padding: 0 14px; color: #fff; font-size: 0.93rem; font-weight: 600; white-space: nowrap; text-decoration: none; border-bottom: 3px solid transparent; transition: background var(--sw-t), border-color var(--sw-t); }
.sw-nav-list > li > a:hover,
.sw-nav-list > li.current-menu-item > a,
.sw-nav-list > li > a[aria-current="page"] { background: rgb(255 255 255 / 8%); border-bottom-color: var(--sw-gold); color: #fff; text-decoration: none; }
.sw-nav-list .sub-menu { position: absolute; inset-inline-start: 0; inset-block-start: 100%; z-index: 90; min-width: 220px; padding: 8px; list-style: none; background: var(--sw-panel); border-radius: 0 0 var(--sw-radius) var(--sw-radius); box-shadow: var(--sw-shadow-lg); opacity: 0; visibility: hidden; transition: opacity var(--sw-t), visibility var(--sw-t); }
.sw-nav-list li:hover > .sub-menu, .sw-nav-list li:focus-within > .sub-menu { opacity: 1; visibility: visible; }
.sw-nav-list .sub-menu a { display: block; padding: 8px 12px; color: var(--sw-text); border-radius: var(--sw-radius-sm); }
.sw-nav-list .sub-menu a:hover { background: var(--sw-navy-soft); text-decoration: none; }

/* ---------- 8. Dialog (PIN) ---------- */
.sw-dialog { width: min(440px, calc(100vw - 32px)); padding: var(--sw-s5); border: 0; border-radius: var(--sw-radius-lg); box-shadow: var(--sw-shadow-lg); color: var(--sw-text); }
.sw-dialog::backdrop { background: rgb(5 31 29 / 55%); backdrop-filter: blur(2px); }
.sw-dialog__close-form { position: absolute; inset-inline-end: 8px; inset-block-start: 8px; margin: 0; }
.sw-dialog__close-form .sw-iconbtn { color: var(--sw-muted); }
.sw-dialog__close-form .sw-iconbtn:hover { background: var(--sw-inset); }
.sw-dialog__title { font-size: 1.2rem; padding-inline-end: 36px; }
.sw-dialog__text { color: var(--sw-muted); font-size: var(--sw-fs-sm); }

.sw-pin { display: flex; flex-wrap: wrap; gap: var(--sw-s2); }
.sw-pin input { flex: 1; min-width: 150px; letter-spacing: 0.1em; }
.sw-pin__msg { flex-basis: 100%; margin: 0; font-size: var(--sw-fs-sm); min-height: 1.2em; }
.sw-pin__msg.is-ok { color: var(--sw-success); font-weight: 600; }
.sw-pin__msg.is-bad { color: var(--sw-error); font-weight: 600; }

/* ---------- 9. Mobile drawer and bottom navigation ---------- */
.sw-drawer-overlay { position: fixed; inset: 0; z-index: 998; background: rgb(5 31 29 / 55%); opacity: 0; transition: opacity 200ms ease; }
.sw-drawer-overlay.is-visible { opacity: 1; }
.sw-drawer { position: fixed; inset-block: 0; inset-inline-start: 0; z-index: 999; display: flex; flex-direction: column; width: min(340px, 88vw); background: var(--sw-panel); transform: translateX(-100%); visibility: hidden; transition: transform 240ms var(--sw-ease), visibility 240ms; box-shadow: var(--sw-shadow-lg); }
[dir="rtl"] .sw-drawer { transform: translateX(100%); }
.sw-drawer.is-open { transform: none; visibility: visible; }
.sw-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 8px 12px 16px; background: var(--sw-navy); color: #fff; }
.sw-drawer__user { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.sw-drawer__user:hover { color: #fff; text-decoration: none; }
.sw-drawer__head .sw-iconbtn { color: #fff; }
.sw-drawer__body { flex: 1; overflow-y: auto; padding-bottom: 80px; overscroll-behavior: contain; }
.sw-drawer__list { list-style: none; padding: var(--sw-s2) 0; }
.sw-drawer__list a { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; color: var(--sw-text); font-weight: 600; }
.sw-drawer__list a:hover { background: var(--sw-navy-soft); text-decoration: none; }
.sw-drawer__list--plain a { font-weight: 500; }
.sw-drawer__heading { margin: var(--sw-s3) 0 0; padding: 14px 20px 6px; font-size: var(--sw-fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--sw-muted); border-top: 8px solid var(--sw-bg); }
.sw-acc { border-bottom: 1px solid var(--sw-border); }
.sw-acc summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; font-weight: 600; cursor: pointer; list-style: none; }
.sw-acc summary::-webkit-details-marker { display: none; }
.sw-acc[open] summary .sw-icon { transform: rotate(180deg); }
.sw-acc ul { list-style: none; background: rgb(255 255 255 / 4%); padding-block: 4px; }
.sw-acc ul a { display: block; padding: 10px 20px 10px 32px; color: var(--sw-text); }

.sw-bottomnav { display: none; }

/* ---------- 10. Footer ---------- */
.sw-footer { margin-top: var(--sw-s7); color: #cfd9e6; }
.sw-footer__top { display: block; padding: 14px; background: var(--sw-panel); color: #fff; font-weight: 600; font-size: var(--sw-fs-sm); text-align: center; text-decoration: none; }
.sw-footer__top:hover { background: var(--sw-blue); color: #fff; text-decoration: none; }
.sw-footer__main { background: var(--sw-navy-deep); padding-block: var(--sw-s7); }
.sw-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; gap: var(--sw-s6); }
.sw-footer__brand { color: #fff; font-size: 1.35rem; letter-spacing: 0.12em; font-weight: 800; }
.sw-footer__brand span { color: var(--sw-gold); font-size: 0.8em; letter-spacing: 0.08em; }
.sw-footer__title { color: #fff; font-size: 1rem; letter-spacing: 0.02em; margin-bottom: var(--sw-s3); }
.sw-footer a { color: #cfd9e6; }
.sw-footer a:hover { color: var(--sw-gold); text-decoration: none; }
.sw-footer__links { list-style: none; display: grid; gap: 10px; }
.sw-footer__col p, .sw-footer address { font-size: var(--sw-fs-sm); font-style: normal; color: #b6c4d6; }
.sw-footer__meta { color: #fff !important; font-weight: 600; }
.sw-footer__hint { font-size: var(--sw-fs-xs); color: var(--sw-gold); }
.sw-footer__contact { list-style: none; display: grid; gap: 8px; margin-bottom: var(--sw-s4); font-size: var(--sw-fs-sm); }
.sw-footer__contact .sw-icon { color: var(--sw-gold); margin-inline-end: 6px; }
.sw-social { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.sw-social a { display: grid; place-items: center; width: 38px; height: 38px; color: #fff; background: rgb(255 255 255 / 10%); border-radius: 50%; transition: background var(--sw-t), color var(--sw-t); }
.sw-social a:hover { background: var(--sw-gold); color: var(--sw-ink); }
.sw-footer__bar { background: color-mix(in srgb, var(--sw-navy) 40%, #000); padding-block: var(--sw-s4); font-size: var(--sw-fs-sm); }
.sw-footer__bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sw-s3); }
.sw-footer__copy { margin: 0; color: #b6c4d6; }
.sw-pay { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.sw-pay li { padding: 4px 10px; background: var(--sw-surface); color: var(--sw-ink); border-radius: var(--sw-radius-sm); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.03em; }
.sw-newsletter__form { display: flex; gap: var(--sw-s2); }
.sw-newsletter__form input { min-width: 0; border-radius: var(--sw-pill); }
.sw-newsletter__embed input[type="email"] { margin-bottom: var(--sw-s2); }
.sw-footer .sw-newsletter__form { flex-direction: column; }
.sw-footer .sw-newsletter__form .button { width: 100%; }

/* ---------- 11. Responsive: laptop / tablet ---------- */
@media (max-width: 1200px) {
	.sw-footer__grid { grid-template-columns: repeat(3, 1fr); }
	.sw-footer__col--about { grid-column: 1 / -1; }
	.sw-hdr-icon__label, .sw-hdr-link--orders { display: none; }
	.sw-search__cat { max-width: 120px; }
}

/* ---------- 12. Responsive: mobile experience (dedicated layout) ---------- */
@media (max-width: 900px) {
	:root { --sw-gutter: 14px; }
	body { padding-block-end: 64px; }
	.sw-announce__side { display: none; }
	.sw-announce__inner { min-height: 34px; }
	.sw-announce { font-size: 0.8rem; }

	.sw-header__row { min-height: 58px; gap: 4px; }
	.sw-header__burger { display: inline-grid; margin-inline-start: -10px; color: #fff; }
	.sw-header__logo { flex: 1; }
	.sw-logo__word { font-size: 1.05rem; letter-spacing: 0.1em; }
	.sw-logo__mark { width: 30px; height: 30px; }
	.sw-header__row > .sw-deliver, .sw-header__search, .sw-header__actions { display: none; }
	.sw-header__mobile-actions { display: flex; align-items: center; }
	.sw-header__mobile-actions .sw-iconbtn { color: #fff; }
	.sw-header__mobile-actions .sw-cart-count { position: absolute; inset-block-start: 2px; inset-inline-end: 0; }
	.sw-header__mobile-search { display: block; padding-block: 0 10px; }
	.sw-header__mobile-search .sw-search__cat { display: none; }
	.sw-header__mobile-search .sw-search__input { min-height: 44px; border-radius: var(--sw-radius) 0 0 var(--sw-radius); }
	.sw-deliver--mobile { display: flex; width: 100%; margin-top: 8px; padding: 6px 2px; font-size: 0.85rem; color: #e3ebf5; }
	.sw-deliver--mobile > span { flex: 1; }
	.sw-header__nav { display: none; }
	.sw-dropdown__panel { display: none; }
	.sw-layout--sidebar { grid-template-columns: 1fr; }

	.sw-bottomnav { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 70; display: block; background: var(--sw-panel); border-top: 1px solid var(--sw-border); box-shadow: 0 -4px 16px rgb(11 63 60 / 10%); padding-bottom: env(safe-area-inset-bottom); }
	.sw-bottomnav ul { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; list-style: none; }
	.sw-bottomnav a, .sw-bottomnav button { display: grid; justify-items: center; gap: 2px; width: 100%; min-height: 58px; padding: 8px 4px 6px; background: transparent; border: 0; color: var(--sw-muted); font: 600 0.68rem var(--sw-font-body); cursor: pointer; text-decoration: none; }
	.sw-bottomnav [aria-current="page"] { color: var(--sw-heading); box-shadow: inset 0 3px 0 var(--sw-gold); }
	.sw-bottomnav__icon { position: relative; display: inline-grid; }
	.sw-bottomnav .sw-cart-count { position: absolute; inset-block-start: -6px; inset-inline-start: 12px; min-width: 18px; height: 18px; }

	.sw-footer__main { padding-block: var(--sw-s6); }
	.sw-footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sw-s5); }
	.sw-footer__col--about, .sw-footer__col--news { grid-column: 1 / -1; }
	.sw-footer__bar-inner { flex-direction: column; align-items: flex-start; }
	.sw-page, .sw-article { padding: var(--sw-s4); }
}

@media (max-width: 520px) {
	.sw-footer__grid { grid-template-columns: 1fr; }
	.sw-newsletter__form { flex-direction: column; }
	.sw-dialog { padding: var(--sw-s4); }
}

/* Footer logo */
.sw-footer__brand { margin: 0 0 var(--sw-s3); line-height: 1; }
.sw-footer__brand .sw-logo__img { max-height: 44px; }


/* ==========================================================================
   Light surfaces (product cards, search field, form controls) keep dark text.
   Everything else is dark: primary navy page, #0B2D59 panels, white text.
   ========================================================================== */
.sw-card,
.sw-search,
.sw-pay li,
.sw-pdp .woocommerce-product-gallery__image,
.sw-pdp__buy .quantity,
.sw-suggest__img {
	--sw-text: var(--sw-ink);
	--sw-heading: var(--sw-ink);
	--sw-muted: var(--sw-ink-muted);
	--sw-border: rgb(6 26 51 / 12%);
	--sw-border-strong: rgb(6 26 51 / 22%);
	--sw-navy-soft: rgb(6 26 51 / 6%);
	--sw-inset: rgb(6 26 51 / 7%);
	--sw-error: #c62f3b;
	--sw-success: #167a52;
	color: var(--sw-ink);
}
.sw-card { background: var(--sw-surface); }

.sw-stars { color: rgb(199 213 232 / 32%); }
.sw-card .sw-stars { color: rgb(6 26 51 / 22%); }
