/*
 * Travel eSIM design (woodmart-child-travel)
 * Source: travelesimstudio mockup "woodmart.html" (common.css + woodmart.css),
 * mapped onto WordPress/WoodMart/WooCommerce markup.
 *
 * Sections
 *  1. Font + tokens + WoodMart variable overrides (site-wide)
 *  2. Shared pieces (wrap, eyebrow, buttons, pill, breadcrumbs)
 *  3. Header
 *  4. Homepage
 *  5. Shop + category headings, trip types, destination cards
 *  6. Product cards (existing eSIM loop)
 *  7. Single product page
 *  8. Footer
 *  9. Responsive
 */

/* ---------- 1. Font + tokens ---------- */
@font-face { font-family: "Inter"; src: url("../assets/fonts/Inter-Medium.woff2") format("woff2"), url("../assets/fonts/Inter-Medium.ttf") format("truetype"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/Inter-Bold.woff2") format("woff2"), url("../assets/fonts/Inter-Bold.ttf") format("truetype"); font-weight: 600 900; font-display: swap; }

/* WoodMart sets the root size to its 14px text size and this design is sized
   in rem, so it read small at 100% zoom: 10% larger root on Travel pages
   (WoodMart's own px sizes are unaffected). */
html:has(> body.tesim-travel) { font-size: calc(var(--wd-text-font-size, 14px) * 1.1); }

body.tesim-travel {
	--tesim-ink: #161A1E;
	--tesim-brand: #CA1617;
	--tesim-brand-hover: #A91213;
	--tesim-brand-soft: #FBEDEC;
	--tesim-paper: #F6F5F0;
	--tesim-white: #FCFDFC;
	--tesim-muted: #606763;
	--tesim-line: #DEDFD7;
	--tesim-band: #EDEEE8;
	--tesim-gold: #C6A15B;
	--tesim-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	/* WoodMart variables, so its own components follow the design. */
	--wd-text-font: var(--tesim-font);
	--wd-title-font: var(--tesim-font);
	--wd-entities-title-font: var(--tesim-font);
	--wd-header-el-font: var(--tesim-font);
	--wd-alternative-font: var(--tesim-font);
	--wd-title-font-weight: 700;
	--wd-entities-title-font-weight: 700;
	--wd-title-transform: none;
	--wd-text-color: var(--tesim-ink);
	--wd-title-color: var(--tesim-ink);
	--wd-entities-title-color: var(--tesim-ink);
	--wd-entities-title-color-hover: var(--tesim-brand);
	--wd-primary-color: var(--tesim-brand);
	--wd-link-color: var(--tesim-ink);
	--wd-link-color-hover: var(--tesim-brand);
	--wd-main-bgcolor: var(--tesim-paper);
	--wd-brd-radius: 6px;
	--btn-accented-bgcolor: var(--tesim-brand);
	--btn-accented-bgcolor-hover: var(--tesim-brand-hover);
	--btn-accented-color: #FFF;
	--btn-accented-color-hover: #FFF;
	--btn-accented-brd-radius: 6px;
	--btn-accented-font-family: var(--tesim-font);
	--btn-accented-transform: none;
	--btn-default-bgcolor: var(--tesim-white);
	--btn-default-bgcolor-hover: var(--tesim-brand-soft);
	--btn-default-color: var(--tesim-ink);
	--btn-default-color-hover: var(--tesim-ink);
	--btn-default-brd-radius: 6px;
	--btn-default-transform: none;

	font-family: var(--tesim-font);
	color: var(--tesim-ink);
	background: var(--tesim-paper);
	font-synthesis: none;
}
body.tesim-travel .wd-page-wrapper { background: var(--tesim-paper); overflow-x: clip; }
body.tesim-travel .main-page-wrapper { background: var(--tesim-paper); }
body.tesim-travel :is(h1, h2, h3, h4) { letter-spacing: -.04em; line-height: 1.15; }

/* ---------- 2. Shared pieces ---------- */
.tesim-wrap { max-width: 1240px; margin-inline: auto; padding-inline: 32px; box-sizing: border-box; width: 100%; }
.tesim-eyebrow { text-transform: uppercase; font-size: .7rem; font-weight: 700; letter-spacing: .17em; color: var(--tesim-muted); margin-bottom: 10px; }
.tesim-swiss-provider { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; line-height: 1.3; }
.tesim-swiss-provider img { width: 20px; height: 20px; flex-shrink: 0; }

body.tesim-travel .tesim-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	padding: 12px 20px; min-height: 46px; border: 1px solid var(--tesim-line); border-radius: 6px;
	background: var(--tesim-white); color: var(--tesim-ink); text-decoration: none;
	font-family: var(--tesim-font); font-size: .85rem; font-weight: 600; line-height: 1.4; text-transform: none; white-space: nowrap;
	cursor: pointer; transition: background .15s, border-color .15s;
}
body.tesim-travel .tesim-btn:hover { border-color: var(--tesim-brand); background: var(--tesim-brand-soft); color: var(--tesim-ink); }
body.tesim-travel .tesim-btn-primary { background: var(--tesim-brand); border-color: var(--tesim-brand); color: #FFF; }
body.tesim-travel .tesim-btn-primary:hover { background: var(--tesim-brand-hover); border-color: var(--tesim-brand-hover); color: #FFF; }
.tesim-pill { display: inline-flex; align-items: center; border: 1px solid var(--tesim-line); background: #F1F1EC; color: #555C57; border-radius: 100px; padding: 5px 10px; font-size: .7rem; font-weight: 600; line-height: 1.4; }

body.tesim-travel :is(.tesim-breadcrumbs, .woocommerce-breadcrumb, .wd-breadcrumbs) { display: flex; gap: 9px; flex-wrap: wrap; font-size: .72rem; color: var(--tesim-muted); margin-bottom: 26px; }
body.tesim-travel :is(.tesim-breadcrumbs, .woocommerce-breadcrumb) a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }

body.tesim-travel a:focus-visible, body.tesim-travel button:focus-visible, body.tesim-travel summary:focus-visible, body.tesim-travel input:focus-visible { outline: 3px solid var(--tesim-brand); outline-offset: 4px; }

/* ---------- 3. Header ---------- */
.tesim-header { --wd-otl-color: #FFF; --wd-otl-width: 2px; --wd-otl-style: solid; --wd-otl-offset: 3px; position: relative; z-index: 300; background: var(--tesim-ink); color: var(--tesim-white); font-family: var(--tesim-font); }
.tesim-header a { color: inherit; text-decoration: none; }
.tesim-utility { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 40px; border-bottom: 1px solid #FFFFFF20; }
.tesim-header-main { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 90px; }
.tesim-brand { flex-shrink: 0; display: block; }
.tesim-brand img { width: 148px; height: auto; display: block; }

.tesim-nav, .tesim-nav ul, .tesim-mobile-nav, .tesim-mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.tesim-nav { display: flex; align-items: center; gap: 22px; }
.tesim-nav > li { position: relative; margin: 0; }
.tesim-nav > li > a { display: block; padding: 12px 0; font-size: .8rem; font-weight: 500; text-transform: none; }
.tesim-nav a:hover, .tesim-nav .current-menu-item > a { color: var(--tesim-gold); }
.tesim-nav .sub-menu {
	position: absolute; top: 100%; left: -16px; min-width: 210px; padding: 6px;
	background: var(--tesim-white); color: var(--tesim-ink); border: 1px solid var(--tesim-line); border-radius: 8px; box-shadow: 0 12px 30px #0002;
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.tesim-nav li:hover > .sub-menu, .tesim-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.tesim-nav .sub-menu a { display: block; padding: 10px; font-size: .8rem; border-radius: 5px; }
.tesim-nav .sub-menu a:hover { background: var(--tesim-brand-soft); color: var(--tesim-ink); }

.tesim-tools { display: flex; align-items: center; gap: 20px; }
.tesim-icon-link { position: relative; display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 10px 0; color: inherit; font-size: .72rem; font-weight: 500; cursor: pointer; min-height: 0; box-shadow: none; }
.tesim-icon-link:hover { color: var(--tesim-gold); background: none; }
.tesim-icon-link svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.tesim-cart-count { position: absolute; top: 2px; left: 13px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--tesim-brand); color: #FFF; font-size: .6rem; line-height: 16px; text-align: center; font-weight: 700; }
.tesim-menu-toggle { display: none; }

.tesim-switcher { position: relative; font-size: .75rem; min-width: 110px; }
.tesim-switcher summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; padding: 10px 0; list-style: none; }
.tesim-switcher summary::-webkit-details-marker { display: none; }
.tesim-chevron { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.tesim-switcher-options { position: absolute; top: 100%; right: 0; min-width: 170px; margin: 0; padding: 6px; list-style: none; background: var(--tesim-white); color: var(--tesim-ink); border: 1px solid var(--tesim-line); border-radius: 8px; z-index: 10; box-shadow: 0 12px 30px #0002; }
.tesim-header .sub-menu, .tesim-header .tesim-switcher-options { --wd-otl-color: var(--tesim-brand); }
.tesim-switcher-options a { display: block; padding: 10px; font-size: .8rem; border-radius: 5px; }
.tesim-switcher-options a:hover, .tesim-switcher-options a[aria-current] { background: var(--tesim-brand-soft); }
/* Header: language + currency dropdowns side by side (currency = WCML switcher buttons). */
.tesim-utility-switchers { display: flex; align-items: center; gap: 22px; }
.tesim-switcher.tesim-currency { min-width: 64px; }
.tesim-currency .tesim-switcher-options { min-width: 130px; }
.tesim-currency .tesim-switcher-options button { display: flex; justify-content: space-between; gap: 12px; width: 100%; min-height: 0; padding: 10px; margin: 0; border: 0; border-radius: 5px; background: none; color: inherit; font: inherit; font-size: .8rem; font-weight: 400; text-transform: none; letter-spacing: 0; text-align: left; box-shadow: none; cursor: pointer; }
.tesim-currency .tesim-switcher-options button:hover, .tesim-currency .tesim-switcher-options button[aria-current] { background: var(--tesim-brand-soft); }
.tesim-currency .tesim-currency-symbol { color: var(--tesim-muted); }
.tesim-currency .wcml-spinner { position: absolute; top: 50%; right: -22px; margin-top: -8px; }

.tesim-mobile-menu { padding-block: 12px; border-top: 1px solid #FFFFFF20; }
.tesim-mobile-menu[hidden] { display: none !important; }
@media (min-width: 821px) { .tesim-mobile-menu { display: none !important; } }
.tesim-mobile-nav a { display: block; padding: 12px 0; font-size: .85rem; }
.tesim-mobile-nav .sub-menu { padding-left: 16px; border-left: 1px solid #FFFFFF20; margin-bottom: 6px; }
.tesim-mobile-nav .sub-menu a { padding: 8px 0; font-size: .8rem; color: #D2D5D6; }

/* ---------- 4. Homepage ---------- */
body.tesim-home .main-page-wrapper { padding-top: 0; }
body.tesim-home .wd-content-layout { display: block; width: 100%; max-width: none; padding-block: 0; padding-inline: 0; }
.tesim-page h1, .tesim-page h2, .tesim-page h3 { color: var(--tesim-ink); }

.tesim-hero { position: relative; min-height: 550px; background: var(--tesim-ink); display: flex; align-items: center; color: #FFF; overflow: hidden; }
.tesim-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 55%; }
.tesim-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #101820DD 0%, #10182099 40%, #10182008 85%); }
.tesim-hero > .container { position: relative; z-index: 1; padding-block: 70px; }
.tesim-hero-copy { max-width: 630px; }
.tesim-hero .tesim-eyebrow { color: #FFF; letter-spacing: .2em; }
.tesim-page .tesim-hero h1 { color: #FFF; font-size: clamp(2.8rem, 4.6vw, 4.4rem); margin-bottom: 22px; letter-spacing: -.045em; line-height: 1.04; }
.tesim-hero-lead { max-width: 470px; font-size: 1.02rem; color: #F2F3F4; }

.tesim-finder { position: relative; padding: 21px; background: var(--tesim-white); color: var(--tesim-ink); border: 1px solid var(--tesim-line); border-radius: 9px; margin-top: 28px; max-width: 580px; }
.tesim-finder label { display: block; font-size: .84rem; font-weight: 700; margin-bottom: 11px; color: var(--tesim-ink); }
.tesim-finder-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
body.tesim-travel .tesim-finder-row input[type="text"] { width: 100%; min-width: 0; height: auto; min-height: 46px; border: 1px solid var(--tesim-line); border-radius: 5px; background: #FFF; color: var(--tesim-ink); padding: .85rem 1rem; font-size: .85rem; box-shadow: none; }
.tesim-finder > p { color: var(--tesim-muted); font-size: .65rem; margin: 10px 0 0; }
.tesim-hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 28px; }
.tesim-hero-actions a { color: #FFF; font-size: .85rem; text-decoration: underline; text-underline-offset: 4px; }
.tesim-hero-actions a:hover { color: #FFF; opacity: .85; }

.tesim-benefits { border-bottom: 1px solid var(--tesim-line); background: var(--tesim-white); }
.tesim-benefits > .container { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 21px; gap: 24px; }
.tesim-benefits span { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: .8rem; font-weight: 500; }
.tesim-benefits b { color: var(--tesim-brand); font-size: 1rem; }

.tesim-content { padding-block: 58px; }
.tesim-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.tesim-page .tesim-section-heading h2 { margin: 0; font-size: 2rem; }
.tesim-section-heading > p { max-width: 420px; font-size: .86rem; color: var(--tesim-muted); margin: 0; }
.tesim-destination-section { margin-top: 48px; }

.tesim-help-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 34px; border: 1px solid var(--tesim-line); border-radius: 10px; background: var(--tesim-band); margin-top: 38px; }
.tesim-page .tesim-help-band h2 { font-size: 1.45rem; margin-bottom: 8px; }
.tesim-help-band p { font-size: .85rem; margin: 0; color: var(--tesim-muted); }

/* ---------- 5. Shop + category headings, cards ---------- */
.tesim-archive-heading { padding-bottom: 10px; }
.tesim-archive-heading.tesim-content { max-width: var(--wd-container-w, 1222px); margin-inline: auto; padding-inline: 15px; box-sizing: border-box; }
.tesim-browse-heading { max-width: 760px; margin-bottom: 30px; }
body.tesim-travel .tesim-browse-heading h1 { font-size: clamp(2.4rem, 4vw, 3.5rem); margin-bottom: 18px; }
.tesim-browse-heading > p:not(.tesim-eyebrow), .tesim-term-description { font-size: .95rem; color: var(--tesim-muted); }

.tesim-destination-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 36px; }
.tesim-destination-heading.tesim-no-image { grid-template-columns: 1fr; max-width: 760px; }
.tesim-destination-heading > img { width: 100%; height: 310px; object-fit: cover; border-radius: 10px; }
.tesim-destination-heading > img.tesim-art { object-fit: contain; background: #FFF; border: 1px solid var(--tesim-line); padding: 30px; box-sizing: border-box; }
body.tesim-travel .tesim-destination-heading h1 { font-size: 3.25rem; margin-bottom: 20px; }
.tesim-destination-heading p:not(.tesim-eyebrow) { color: var(--tesim-muted); font-size: .9rem; }
.tesim-plans-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: 30px 0 0; }
body.tesim-travel .tesim-plans-heading h2 { font-size: 1.5rem; margin: 0; }

.tesim-trip-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
body.tesim-travel a.tesim-trip-type { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; text-align: left; padding: 27px; background: var(--tesim-white); color: var(--tesim-ink); border: 1px solid var(--tesim-line); border-radius: 10px; text-decoration: none; transition: border-color .15s; }
body.tesim-travel a.tesim-trip-type:hover { border-color: var(--tesim-brand); color: var(--tesim-ink); }
.tesim-type-mark { font-size: .64rem; letter-spacing: .12em; color: var(--tesim-muted); text-transform: uppercase; }
.tesim-trip-type strong { font-size: 1.35rem; letter-spacing: -.025em; font-weight: 700; }
.tesim-trip-type > span:not(.tesim-type-mark) { font-size: .8rem; color: var(--tesim-muted); }
.tesim-trip-type b { color: var(--tesim-brand); font-size: .76rem; margin-top: 5px; }

.tesim-destinations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tesim-destination-card { background: var(--tesim-white); border: 1px solid var(--tesim-line); border-radius: 10px; overflow: hidden; }
.tesim-card-media img { display: block; width: 100%; height: 220px; object-fit: cover; }
.tesim-destination-card > div { padding: 23px; }
body.tesim-travel .tesim-destination-card h3 { display: flex; justify-content: space-between; font-size: 1.4rem; margin-bottom: 8px; }
.tesim-destination-card h3 a { color: inherit; text-decoration: none; }
.tesim-destination-card p { color: var(--tesim-muted); font-size: .85rem; }
body.tesim-travel a.tesim-card-link { display: inline-flex; gap: 4px; color: var(--tesim-brand); text-decoration: none; font-size: .82rem; font-weight: 700; }
body.tesim-travel a.tesim-card-link:hover { text-decoration: underline; color: var(--tesim-brand); }

/* ---------- 6. Product cards (existing eSIM loop) ---------- */
body.tesim-travel .products li.product,
body.tesim-travel .products .wd-product { background: transparent; }
body.tesim-travel .products .product-wrapper,
body.tesim-travel .products li.product > .wd-product-wrapper {
	background: var(--tesim-white); border: 1px solid var(--tesim-line); border-radius: 10px; padding: 20px; height: 100%; box-sizing: border-box; box-shadow: none;
}
body.tesim-travel .products .product-wrapper:hover { border-color: #C9CBC1; }
body.tesim-travel .products .wd-entities-title { font-size: 1.05rem; letter-spacing: -.02em; }
body.tesim-travel .products .price { font-weight: 700; color: var(--tesim-ink); font-size: 1.05rem; }
body.tesim-travel .esim-loop-attributes { font-size: 12px; }
/* The View Plan button carries inline styles (functions.php), hence !important. */
body.tesim-travel div.esim-view-plan-btn { border: 1px solid var(--tesim-line) !important; color: var(--tesim-ink) !important; background: var(--tesim-white) !important; border-radius: 6px !important; padding: 10px 12px !important; font-weight: 600 !important; }
body.tesim-travel div.esim-view-plan-btn:hover { border-color: var(--tesim-brand) !important; background: var(--tesim-brand-soft) !important; }
body.tesim-travel .products .add_to_cart_button,
body.tesim-travel .products .product_type_simple,
body.tesim-travel .products .product_type_variable { background: var(--tesim-brand); color: #FFF; border-radius: 6px; font-weight: 700; text-transform: none; }
body.tesim-travel .products .add_to_cart_button:hover { background: var(--tesim-brand-hover); color: #FFF; }

/* WooCommerce / WoodMart shop chrome */
body.tesim-travel .shop-loop-head { border-bottom: 1px solid var(--tesim-line); padding-bottom: 12px; margin-bottom: 24px; }
/* The travel heading already shows breadcrumbs; hide the second (Yoast) trail in the toolbar. */
body.tesim-archive .shop-loop-head .wd-breadcrumbs { visibility: hidden; }
/* Shop page: WooCommerce "Show categories" tiles repeat the coverage cards in the heading. Products shown after filtering are unaffected. */
body.tesim-archive.woocommerce-shop .products .product-category { display: none; }
body.tesim-archive .tesim-destination-section { margin-top: 48px; }
body.tesim-archive .tesim-section-heading h2 { margin: 0; font-size: 2rem; }
body.tesim-travel .woocommerce-pagination a, body.tesim-travel .woocommerce-pagination span { border-radius: 6px; }

/* ---------- 7. Single product page ---------- */
body.tesim-travel.single-product .main-page-wrapper { padding-top: 40px; }
body.tesim-travel.single-product .product_title { font-size: clamp(2rem, 3.2vw, 2.6rem); letter-spacing: -.04em; line-height: 1.1; margin-bottom: 14px; }
body.tesim-travel.single-product .summary .price { font-size: 1.2rem; font-weight: 700; color: var(--tesim-ink); margin: 18px 0; }
body.tesim-travel.single-product .woocommerce-product-gallery { background: var(--tesim-white); border: 1px solid var(--tesim-line); border-radius: 10px; overflow: hidden; }
body.tesim-travel.single-product form.cart { display: flex; gap: 14px; align-items: stretch; }
body.tesim-travel.single-product .quantity input { border-radius: 6px; border-color: var(--tesim-line); min-height: 52px; }
body.tesim-travel .single_add_to_cart_button { flex: 1; min-height: 52px; background: var(--tesim-brand); color: #FFF; border-radius: 6px; font-size: .95rem; font-weight: 700; text-transform: none; }
body.tesim-travel .single_add_to_cart_button:hover { background: var(--tesim-brand-hover); color: #FFF; }
body.tesim-travel .woocommerce-product-attributes,
body.tesim-travel.single-product table.shop_attributes { background: var(--tesim-white); border: 1px solid var(--tesim-line); border-radius: 6px; overflow: hidden; }
body.tesim-travel.single-product .woocommerce-tabs { border-top: 1px solid var(--tesim-line); padding-top: 25px; margin-top: 38px; }
body.tesim-travel .store-buttons a { border-radius: 6px; }

/* ---------- 8. Footer ---------- */
body.tesim-travel .wd-footer { background: var(--tesim-ink); color: #D2D5D6; font-family: var(--tesim-font); }
body.tesim-travel .wd-footer .main-footer { padding-block: 48px; }
body.tesim-travel .wd-footer .footer-sidebar { padding-block: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
body.tesim-travel .wd-footer .footer-sidebar > .footer-column { grid-column: auto; min-width: 0; }
body.tesim-travel .wd-footer .footer-sidebar > .footer-column:not(:has(> *)) { display: none; }
body.tesim-travel .wd-footer a { color: #D2D5D6; }
body.tesim-travel .wd-footer a:hover { color: #FFF; }
.tesim-footer-brand > a img { width: 148px; height: auto; display: block; }
.tesim-footer-brand p { font-size: .85rem; margin: 20px 0 12px; color: #D2D5D6; line-height: 1.55; }
.tesim-footer-brand .tesim-swiss-provider { color: #FFF; margin-bottom: 18px; }
body.tesim-travel .tesim-footer-title { color: #FFF; font-size: .88rem; letter-spacing: 0; margin-bottom: 20px; }
body.tesim-travel .wd-footer .wd-list { margin-top: 10px; }
body.tesim-travel .wd-footer .wd-list img { filter: invert(1) brightness(1.4); }
body.tesim-travel .wd-footer .widget_nav_menu li { margin-bottom: 4px; }
body.tesim-travel .wd-footer .widget_nav_menu a { font-size: .78rem; padding: 5px 0; display: inline-block; }
body.tesim-travel .wd-footer .wcml-dropdown { width: 100%; max-width: 240px; }
body.tesim-travel .wd-footer .wcml-dropdown .wcml-cs-item-toggle,
body.tesim-travel .wd-footer .wcml-dropdown li { background: transparent; color: #FFF; border-color: #FFFFFF35; }
body.tesim-travel .wd-footer .wcml-dropdown .wcml-cs-item-toggle { border-radius: 6px; padding: 12px 14px; font-size: .75rem; }
body.tesim-travel .wd-footer .wcml-dropdown .wcml-cs-submenu { background: var(--tesim-white); border-radius: 8px; overflow: hidden; }
body.tesim-travel .wd-footer .wcml-dropdown .wcml-cs-submenu button { color: var(--tesim-ink); background: var(--tesim-white); padding: 10px 14px; }
body.tesim-travel .wd-footer .wcml-dropdown .wcml-cs-submenu button:hover { background: var(--tesim-brand-soft); }
body.tesim-travel .wd-copyrights { background: var(--tesim-ink); color: #AEB5B9; border-top: 1px solid #FFFFFF20; font-size: .7rem; }
body.tesim-travel .wd-copyrights strong { color: #D2D5D6; }

/* ---------- 9. Responsive ---------- */
@media (max-width: 1100px) {
	.tesim-nav { gap: 13px; }
	.tesim-nav > li > a { font-size: .73rem; }
	.tesim-tool-label { display: none; }
	.tesim-header-main { gap: 20px; }
	.tesim-tools { gap: 15px; }
}
@media (max-width: 820px) {
	.tesim-desktop-nav { display: none; }
	.tesim-menu-toggle { display: flex; }
	.tesim-header-main { min-height: 75px; gap: 8px; }
	.tesim-icon-link { min-width: 44px; min-height: 44px; padding: 0; justify-content: center; flex-shrink: 0; }
	.tesim-tools { gap: 0; flex-shrink: 0; }
	.tesim-brand { flex-shrink: 1; min-width: 0; }
	.tesim-brand img { max-width: 100%; height: auto; }
	.tesim-cart-count { left: 24px; }
	.tesim-hero { min-height: 480px; }
	.tesim-hero > .container { padding-block: 48px; }
	.tesim-destinations { gap: 15px; }
	.tesim-card-media img { height: 180px; }
	.tesim-destination-card > div { padding: 17px; }
	.tesim-benefits > .container { gap: 12px; }
	.tesim-benefits span { font-size: .7rem; }
	.tesim-trip-types { gap: 14px; }
	body.tesim-travel a.tesim-trip-type { padding: 20px; }
	.tesim-trip-type strong { font-size: 1.1rem; }
	.tesim-destination-heading { gap: 25px; }
	body.tesim-travel .tesim-destination-heading h1 { font-size: 2.5rem; }
}
@media (max-width: 600px) {
	.tesim-wrap { padding-inline: 20px; }
	.tesim-utility { font-size: .7rem; }
	.tesim-utility .tesim-swiss-provider { font-size: .65rem; }
	.tesim-language { min-width: 85px; }
	.tesim-utility-switchers { gap: 14px; }
	.tesim-switcher.tesim-currency { min-width: 52px; }
	.tesim-switcher summary { gap: 10px; }
	.tesim-brand img { width: 136px; }
	.tesim-hero { min-height: 510px; }
	.tesim-hero-img { object-position: 65% center; }
	.tesim-hero::after { background: linear-gradient(90deg, #101820D9, #10182060); }
	.tesim-hero > .container { padding-block: 50px; }
	.tesim-page .tesim-hero h1 { font-size: 3rem; }
	.tesim-hero-lead { font-size: .9rem; }
	.tesim-finder { padding: 17px; }
	.tesim-finder-row { grid-template-columns: 1fr; }
	.tesim-hero-actions { gap: 12px; }
	.tesim-hero-actions a { font-size: .78rem; }
	.tesim-benefits > .container { grid-template-columns: 1fr; padding-block: 18px; gap: 10px; }
	.tesim-benefits span { justify-content: flex-start; font-size: .75rem; }
	.tesim-content { padding-block: 35px; }
	.tesim-section-heading { display: block; }
	.tesim-page .tesim-section-heading h2 { font-size: 1.8rem; }
	.tesim-section-heading > p, .tesim-section-heading > .tesim-btn { margin-top: 14px; }
	.tesim-destinations, .tesim-trip-types { grid-template-columns: 1fr; }
	.tesim-card-media img { height: 210px; }
	.tesim-destination-card > div { padding: 22px; }
	body.tesim-travel a.tesim-trip-type { padding: 23px; }
	.tesim-trip-type strong { font-size: 1.35rem; }
	.tesim-destination-section { margin-top: 35px; }
	.tesim-help-band { padding: 24px; display: block; margin-top: 25px; }
	.tesim-help-band .tesim-btn { margin-top: 18px; }
	.tesim-destination-heading { grid-template-columns: 1fr; gap: 24px; }
	.tesim-destination-heading > img { height: 235px; order: -1; }
	body.tesim-travel .tesim-destination-heading h1 { font-size: 2.6rem; }
	.tesim-plans-heading { flex-wrap: wrap; }
	body.tesim-travel .wd-footer .footer-sidebar { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.tesim-nav .sub-menu, .tesim-btn, a.tesim-trip-type { transition: none; }
}

/* ---------- 10. Plan finder (inc/travel-filters.php) ---------- */
/* Replaces WoodMart's desktop-only filters area on these pages. */
body.tesim-archive .filters-area,
body.tesim-archive .wd-filter-buttons,
body.tesim-archive .wd-active-filters { display: none !important; }
/* Shop landing has no products yet, so the toolbar would be an empty strip. */
body.tesim-archive.woocommerce-shop.tesim-unfiltered .shop-loop-head { display: none; }

.tesim-plan-finder {
	display: grid; grid-template-columns: repeat(var(--tesim-fields, 3), minmax(0, 1fr)) auto; gap: 14px; align-items: end;
	margin: 26px 0 0; padding: 20px; background: var(--tesim-white); border: 1px solid var(--tesim-line); border-radius: 10px;
}
.tesim-filter-disclosure { margin: 12px 0 16px; }
.tesim-filter-disclosure > summary { display: list-item; min-height: 44px; padding: 10px 14px; border: 1px solid var(--tesim-line); border-radius: 8px; font-size: .85rem; font-weight: 700; color: var(--tesim-ink); background: var(--tesim-white); cursor: pointer; }
.tesim-filter-disclosure > .tesim-plan-finder { margin-top: 12px; }
.tesim-field label { display: block; margin-bottom: 7px; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tesim-muted); }
body.tesim-travel .tesim-field select {
	width: 100%; min-height: 48px; height: 48px; padding: 0 40px 0 14px; margin: 0;
	border: 1px solid var(--tesim-line); border-radius: 6px; background-color: #FFF; color: var(--tesim-ink);
	font: 500 .88rem/1.2 var(--tesim-font); cursor: pointer; box-shadow: none;
	-webkit-appearance: none; appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23161A1E' stroke-width='1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 15px center; background-size: 12px 8px;
}
body.tesim-travel .tesim-field select:hover { border-color: #C9CBC1; }
body.tesim-travel .tesim-field select:focus { border-color: var(--tesim-brand); outline: none; box-shadow: 0 0 0 3px var(--tesim-brand-soft); }
.tesim-plan-finder .tesim-btn { min-height: 48px; }

.tesim-results-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 6px; font-size: .85rem; }
.tesim-results-bar strong { margin-right: 6px; font-size: 1rem; }
body.tesim-travel a.tesim-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--tesim-line); border-radius: 100px; background: var(--tesim-white); color: var(--tesim-ink); font-size: .78rem; font-weight: 600; text-decoration: none; }
body.tesim-travel a.tesim-chip:hover { border-color: var(--tesim-brand); background: var(--tesim-brand-soft); }
body.tesim-travel a.tesim-chip span { color: var(--tesim-brand); font-size: 1rem; line-height: 1; }
body.tesim-travel a.tesim-clear { font-size: .78rem; color: var(--tesim-muted); text-decoration: underline; text-underline-offset: 4px; }
.tesim-browse-heading.tesim-compact { margin-bottom: 0; }
body.tesim-travel .tesim-browse-heading.tesim-compact h1 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 0; }
body.tesim-archive.tesim-filtered .tesim-archive-heading { padding-bottom: 0; }

@media (max-width: 820px) {
	.tesim-plan-finder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tesim-plan-finder .tesim-btn { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.tesim-plan-finder { grid-template-columns: 1fr; padding: 16px; }
}

/* ---------- 11. Load more + progress ---------- */
body.tesim-travel .wd-loop-footer { display: flex; flex-direction: column; align-items: center; gap: 0; margin-top: 10px; }
.tesim-loop-progress { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 34px auto 18px; width: 100%; max-width: 260px; font-size: .78rem; color: var(--tesim-muted); }
.tesim-loop-bar { display: block; width: 100%; height: 3px; border-radius: 3px; background: var(--tesim-line); overflow: hidden; }
.tesim-loop-bar span { display: block; height: 100%; background: var(--tesim-brand); border-radius: 3px; transition: width .3s ease; }
body.tesim-travel .wd-loop-footer .wd-load-more {
	align-items: center; justify-content: center; gap: 10px;
	min-width: 260px; min-height: 52px; padding: 14px 28px;
	border: 1px solid var(--tesim-ink); border-radius: 6px; background: var(--tesim-white); color: var(--tesim-ink);
	font-family: var(--tesim-font); font-size: .88rem; font-weight: 700; letter-spacing: 0; text-transform: none; box-shadow: none;
	transition: background .15s, color .15s, border-color .15s;
}
body.tesim-travel .wd-loop-footer .wd-products-load-more:not(.loading) { display: inline-flex; }
body.tesim-travel .wd-loop-footer .wd-products-load-more::after { content: "\2193"; font-size: 1rem; line-height: 1; transition: transform .15s; }
body.tesim-travel .wd-loop-footer .wd-products-load-more:hover { background: var(--tesim-ink); color: #FFF; border-color: var(--tesim-ink); }
body.tesim-travel .wd-loop-footer .wd-products-load-more:hover::after { transform: translateY(2px); }
/* WoodMart swaps the button for this loader while fetching (it controls display). */
body.tesim-travel .wd-loop-footer .wd-load-more-loader { border-color: var(--tesim-line); color: var(--tesim-muted); cursor: progress; }
body.tesim-travel .wd-loop-footer .load-more-loading::before { border-left-color: var(--tesim-brand); }
@media (max-width: 600px) { body.tesim-travel .wd-loop-footer .wd-load-more { width: 100%; min-width: 0; } }

/* ---------- 12. View Plan modal + attribute popups (functions.php) ---------- */
/* style.css (inherited from woodmart-child) colours these gold; restyle to the design. */
body.tesim-travel .esim-modal-overlay { background: rgba(16, 24, 32, .62); backdrop-filter: blur(3px); }
body.tesim-travel .esim-modal { border-radius: 14px; border: 1px solid var(--tesim-line); box-shadow: 0 24px 60px rgba(16, 24, 32, .28); font-family: var(--tesim-font); max-width: 500px; }
body.tesim-travel .esim-modal-header { gap: 18px; padding: 22px 56px 18px 22px; border-bottom-color: var(--tesim-line); }
body.tesim-travel .esim-modal-img { width: 84px; height: 84px; border-radius: 10px; background: var(--tesim-paper); border: 1px solid var(--tesim-line); }
body.tesim-travel .esim-modal-title { font-size: 1.05rem; font-weight: 700; letter-spacing: -.02em; color: var(--tesim-ink); margin-bottom: 8px; }
body.tesim-travel .esim-modal-price { text-align: left; font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; color: var(--tesim-ink); }
body.tesim-travel .esim-modal-close { top: 14px; right: 16px; width: 32px; height: 32px; border-radius: 50%; color: var(--tesim-muted); font-size: 22px; display: flex; align-items: center; justify-content: center; }
body.tesim-travel .esim-modal-close:hover { background: var(--tesim-paper); color: var(--tesim-ink); }
body.tesim-travel .esim-modal-body { padding: 8px 22px; }
body.tesim-travel .esim-modal-table { font-size: .82rem; }
body.tesim-travel .esim-modal-table tr { border-bottom-color: var(--tesim-line); }
body.tesim-travel .esim-modal-table th { color: var(--tesim-muted); }
body.tesim-travel .esim-modal-table td { color: var(--tesim-ink); font-weight: 600; }
body.tesim-travel .esim-val-toggle { color: var(--tesim-brand); }
body.tesim-travel .esim-modal-footer { padding: 16px 22px 22px; border-top-color: var(--tesim-line); gap: 12px; }
body.tesim-travel .esim-modal-buy { background: var(--tesim-brand); border-radius: 6px; padding: 14px; font-size: .95rem; letter-spacing: 0; transition: background .15s; }
body.tesim-travel .esim-modal-buy::after { content: " \2192"; }
body.tesim-travel .esim-modal-buy:hover { background: var(--tesim-brand-hover); }
body.tesim-travel .esim-modal-details { color: var(--tesim-muted); font-size: .78rem; text-underline-offset: 4px; }
body.tesim-travel .esim-modal-details:hover { color: var(--tesim-ink); }
/* Connection + Countries popups: the absolute close button sat on top of the first row. */
body.tesim-travel .esim-conn-body,
body.tesim-travel .esim-country-body { padding-top: 26px !important; font-family: var(--tesim-font); }
body.tesim-travel .esim-conn-x,
body.tesim-travel .esim-country-x { color: var(--tesim-muted) !important; }
body.tesim-travel .esim-conn-x:hover,
body.tesim-travel .esim-country-x:hover { color: var(--tesim-ink) !important; }

/* ---------- 13. Top-level categories: tabs + destination list (inc/travel-destinations.php) ---------- */
/* Old promo banner ([html_block] in the category description) and the big category image tiles. */
body.tesim-top-cat .term-description { display: none; }
body.tesim-has-dest-list .products .product-category,
body.tesim-has-dest-list .shop-loop-head { display: none; }

.tesim-tabs { display: flex; gap: 6px; margin: 26px 0 22px; border-bottom: 1px solid var(--tesim-line); overflow-x: auto; scrollbar-width: none; }
body.tesim-travel .tesim-tabs a { flex: none; padding: 12px 18px; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--tesim-muted); font-size: .9rem; font-weight: 700; text-decoration: none; }
body.tesim-travel .tesim-tabs a:hover { color: var(--tesim-ink); }
body.tesim-travel .tesim-tabs a[aria-current] { color: var(--tesim-ink); border-bottom-color: var(--tesim-brand); }

.tesim-dest-search { position: relative; max-width: 560px; }
.tesim-dest-search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--tesim-muted); stroke-width: 1.8; pointer-events: none; }
body.tesim-travel .tesim-dest-search input { box-sizing: border-box; width: 100%; height: 52px; padding: 0 18px 0 48px; border: 1px solid var(--tesim-line); border-radius: 100px; background: #FFF; color: var(--tesim-ink); font: 500 .92rem var(--tesim-font); box-shadow: none; }
body.tesim-travel .tesim-dest-search input:focus { border-color: var(--tesim-brand); outline: none; box-shadow: 0 0 0 3px var(--tesim-brand-soft); }
.tesim-dest-note { margin: 14px 0 18px; font-size: .8rem; color: var(--tesim-muted); }

.tesim-dest-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 40px; padding: 0; list-style: none; }
.tesim-dest-list li { margin: 0; }
.tesim-dest-list li[hidden] { display: none; }
body.tesim-travel .tesim-dest-list a {
	display: flex; align-items: center; gap: 14px; height: 100%; min-height: 66px; padding: 14px 16px;
	background: var(--tesim-white); border: 1px solid var(--tesim-line); border-radius: 12px; color: var(--tesim-ink); text-decoration: none;
	box-shadow: 0 1px 2px rgba(22, 26, 30, .04); transition: border-color .15s, box-shadow .15s, transform .15s;
}
body.tesim-travel .tesim-dest-list a:hover { border-color: #C9CBC1; box-shadow: 0 6px 18px rgba(22, 26, 30, .08); transform: translateY(-1px); }
.tesim-dest-flag { flex: none; width: 40px; height: 30px; border-radius: 5px; object-fit: cover; box-shadow: 0 0 0 1px rgba(22, 26, 30, .08); background: var(--tesim-paper); }
.tesim-dest-art { object-fit: contain; background: #FFF; }
.tesim-dest-globe { display: inline-block; background: var(--tesim-paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23606763' stroke-width='1.5'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E") center / 18px no-repeat; }
.tesim-dest-name { flex: 1; min-width: 0; font-size: .92rem; font-weight: 700; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tesim-dest-price { flex: none; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.tesim-dest-price small { font-size: .72rem; font-weight: 500; color: var(--tesim-muted); }
.tesim-dest-price .woocommerce-Price-amount { color: var(--tesim-ink); }
.tesim-dest-arrow { flex: none; font-size: 1.3rem; line-height: 1; color: var(--tesim-muted); transition: transform .15s, color .15s; }
body.tesim-travel .tesim-dest-list a:hover .tesim-dest-arrow { color: var(--tesim-brand); transform: translateX(2px); }
.tesim-dest-empty { padding: 30px 0; text-align: center; color: var(--tesim-muted); }

@media (max-width: 1024px) { .tesim-dest-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
	.tesim-dest-list { grid-template-columns: 1fr; gap: 10px; }
	body.tesim-travel .tesim-tabs a { padding: 12px 14px; }
}

/* ---------- 14. Single product page (inc/travel-product.php) ---------- */
body.tesim-product .single-breadcrumbs-wrapper { display: none; }
body.tesim-product .main-page-wrapper { padding-top: 26px; }
.tesim-product-crumbs { padding-top: 0; }

/* Two equal columns; WoodMart sets 4/8 inline, hence !important on the vars. */
body.tesim-product .product-images { --wd-col-lg: 6 !important; --wd-col-md: 6 !important; }
body.tesim-product .summary.entry-summary { --wd-col-lg: 6 !important; --wd-col-md: 6 !important; text-align: left; }
body.tesim-product .product-image-summary-inner { --wd-gap-lg: 56px !important; align-items: start; }
body.tesim-product .product-images .woocommerce-product-gallery { display: none; }

.tesim-product-visual { position: sticky; top: 24px; width: 100%; align-self: stretch; box-sizing: border-box; display: flex; align-items: center; justify-content: center; overflow: hidden; aspect-ratio: 4 / 4.2; border-radius: 12px; background: var(--tesim-white); border: 1px solid var(--tesim-line); }
.tesim-visual-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.tesim-visual-flag { width: 62%; height: auto; border-radius: 8px; box-shadow: 0 18px 40px rgba(22, 26, 30, .18), 0 0 0 1px rgba(22, 26, 30, .06); }
img.tesim-visual-art { width: auto; max-width: 46%; height: auto; }
.tesim-flag-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; width: 78%; }
.tesim-flag-mosaic img, .tesim-flag-mosaic span { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 6px; box-shadow: 0 6px 16px rgba(22, 26, 30, .12), 0 0 0 1px rgba(22, 26, 30, .06); }
.tesim-flag-mosaic span { display: flex; align-items: center; justify-content: center; background: var(--tesim-paper); font-weight: 700; color: var(--tesim-muted); }
.tesim-visual-label { position: absolute; left: 20px; bottom: 20px; padding: 10px 16px; border-radius: 6px; background: rgba(22, 26, 30, .86); color: #FFF; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

/* Summary order: eyebrow, title, price panel, Buy Now, plan details, app, meta. */
body.tesim-product .summary-inner { display: flex; flex-direction: column; align-items: stretch; }
body.tesim-product .summary-inner > * { order: 10; }
body.tesim-product .summary-inner > .tesim-product-eyebrow { order: 1; margin-bottom: 12px; }
body.tesim-product .summary-inner > .product_title { order: 2; text-align: left; font-size: clamp(2rem, 3.2vw, 2.7rem); line-height: 1.08; letter-spacing: -.045em; margin-bottom: 22px; }
/* (hidden with !important in section 15) */
body.tesim-product .summary-inner > .tesim-price-panel { order: 3; }
body.tesim-product .summary-inner > .tesim-product-compat { order: 4; }
body.tesim-product .summary-inner > form.cart { order: 4; }
body.tesim-product .summary-inner > .tesim-plan-details-title { order: 5; }
body.tesim-product .summary-inner > .shop_attributes { order: 6; }
body.tesim-product .summary-inner > .store-buttons { order: 7; }
body.tesim-product .summary-inner > .product_meta { order: 8; }
body.tesim-product .summary-inner > .wd-social-icons { order: 9; }

.tesim-price-panel { padding: 22px 24px; margin-bottom: 14px; background: var(--tesim-white); border: 1px solid var(--tesim-line); border-radius: 12px; }
.tesim-price-main { display: flex; flex-direction: column; gap: 2px; padding-bottom: 18px; border-bottom: 1px solid var(--tesim-line); }
.tesim-price-label { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tesim-muted); }
.tesim-price-value, .tesim-price-value .woocommerce-Price-amount { font-size: clamp(2.4rem, 4vw, 3.1rem); font-weight: 700; line-height: 1.1; letter-spacing: -.04em; color: var(--tesim-ink); }
.tesim-price-value .woocommerce-Price-currencySymbol { font-size: .55em; letter-spacing: 0; color: var(--tesim-muted); margin-left: 4px; }
.tesim-price-value del { font-size: .5em; color: var(--tesim-muted); }
.tesim-price-value ins { text-decoration: none; }
.tesim-price-note { margin-top: 6px; font-size: .8rem; color: var(--tesim-muted); }
.tesim-specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 18px 0 0; }
.tesim-specs > div { padding: 12px 14px; border-radius: 8px; background: var(--tesim-paper); }
.tesim-specs dt { font-size: .68rem; font-weight: 600; color: var(--tesim-muted); margin: 0 0 4px; }
.tesim-specs dd { margin: 0; font-size: .95rem; font-weight: 700; color: var(--tesim-ink); overflow-wrap: anywhere; }

body.tesim-product form.cart { margin-bottom: 30px; }
body.tesim-product .single_add_to_cart_button { width: 100%; min-height: 58px; font-size: 1.02rem; border-radius: 8px; }
body.tesim-product .single_add_to_cart_button::after { content: " \2192"; }

/* Same label style as the eyebrow and the PRICE label. */
body.tesim-product .summary-inner > .tesim-plan-details-title { margin: 8px 0 10px; font-family: var(--tesim-font); font-size: .7rem; font-weight: 700; line-height: 1.4; letter-spacing: .17em; text-transform: uppercase; color: var(--tesim-muted); }
body.tesim-product .summary-inner > .shop_attributes { margin-bottom: 26px; padding: 4px 20px; background: var(--tesim-white); border: 1px solid var(--tesim-line) !important; border-radius: 12px; border-collapse: separate; }
body.tesim-product .shop_attributes th,
body.tesim-product .shop_attributes td { padding: 13px 0 !important; border-color: var(--tesim-line) !important; font-size: .85rem; background: none !important; }
body.tesim-product .shop_attributes th { color: var(--tesim-ink); font-weight: 700; text-transform: none; letter-spacing: 0; width: 42%; }
body.tesim-product .shop_attributes th * { text-transform: none !important; font-weight: 700 !important; color: var(--tesim-ink) !important; }
body.tesim-product .shop_attributes td { color: var(--tesim-ink); font-weight: 500; }
body.tesim-product .shop_attributes tr:last-child th, body.tesim-product .shop_attributes tr:last-child td { border-bottom: 0 !important; }

/* App block (functions.php, inline styles): calm card instead of "OR / DOWNLOAD OUR APP". */
body.tesim-product .store-buttons { margin: 0 0 26px !important; padding: 20px 22px; text-align: left !important; background: var(--tesim-band); border: 1px solid var(--tesim-line); border-radius: 12px; }
body.tesim-product .store-buttons h3:first-of-type { display: none; }
body.tesim-product .store-buttons h3 { font-size: 1rem !important; letter-spacing: -.02em; text-transform: none; margin: 0 0 4px !important; }
body.tesim-product .store-buttons p { font-size: .8rem !important; color: var(--tesim-muted) !important; margin: 0 0 14px !important; }
.tesim-store-badges { display: flex; flex-direction: column; align-items: center; gap: 10px; }
body.tesim-product .store-buttons .tesim-store-badges { flex-direction: row; flex-wrap: wrap; align-items: center; }
.tesim-store-badges img, body.tesim-product .store-buttons img { display: block; height: 42px; width: auto; }

body.tesim-product .product_meta { justify-content: flex-start; font-size: .72rem; color: var(--tesim-muted); gap: 4px 14px; }
body.tesim-product .product_meta a { color: var(--tesim-muted); }
body.tesim-product .product-share { justify-content: flex-start; margin-top: 10px; }

/* Description accordion below */

body.tesim-product .wd-accordion-title-text span { font-size: 1.1rem; font-weight: 700; color: var(--tesim-ink); text-transform: none; }
body.tesim-product .woocommerce-Tabs-panel--description, body.tesim-product .woocommerce-Tabs-panel--description * { text-align: left !important; }
body.tesim-product .woocommerce-Tabs-panel--description { color: var(--tesim-muted); font-size: .92rem; }

@media (max-width: 1024px) {
	body.tesim-product .product-images, body.tesim-product .summary.entry-summary { --wd-col-md: 12 !important; }
	.tesim-product-visual { position: relative; top: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
	body.tesim-travel.tesim-product .main-page-wrapper { padding-top: 12px; }
	body.tesim-travel.tesim-product .wd-builder-off { padding-top: 0; }
	body.tesim-product .tesim-breadcrumbs { margin-bottom: 12px; }
	body.tesim-product .product-image-summary-inner { row-gap: 12px; }
	body.tesim-product .tesim-product-visual { aspect-ratio: 4 / 3; }
	body.tesim-product .tesim-product-visual.tesim-visual-mode-photo { width: 100%; height: 144px; aspect-ratio: auto; }
	body.tesim-product .summary-inner > .tesim-product-eyebrow { margin-bottom: 6px; }
	body.tesim-product .summary-inner > .product_title { font-size: 1.75rem; line-height: 1.12; margin-bottom: 12px; }
	body.tesim-product .tesim-price-panel { padding: 12px; margin-bottom: 10px; }
	body.tesim-product .tesim-price-main { padding-bottom: 12px; }
	body.tesim-product .tesim-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
	body.tesim-product .tesim-specs > div { padding: 8px 10px; }
	body.tesim-product .tesim-product-compat { margin: 0 0 10px; }
	body.tesim-travel.tesim-product .tesim-price-panel .tesim-tp-light { margin-top: 8px; }
	body.tesim-product .summary-inner > .shop_attributes { padding: 2px 14px; }
}
/* Data and validity are already in the spec tiles above Buy Now. */
body.tesim-product .shop_attributes .woocommerce-product-attributes-item--attribute_pa_number-of-days,
body.tesim-product .shop_attributes .woocommerce-product-attributes-item--attribute_pa_gigabytes { display: none; }

/* The original WooCommerce price: woodmart-child prints ".product .price{display:block!important}" in wp_head, so this needs !important too. */
body.tesim-product .summary-inner > p.price { display: none !important; }
body.tesim-product .product_meta .sku_wrapper { display: none; }

/* ---------- 15. Description + Reviews accordion as cards ---------- */
body.tesim-product .product-tabs-wrapper { padding-top: 10px; padding-bottom: 50px; border: 0; background: transparent; }
body.tesim-product .woocommerce-tabs.wd-accordion { max-width: none; border: 0; }
body.tesim-product .wd-accordion-item { margin-bottom: 14px; background: var(--tesim-white); border: 1px solid var(--tesim-line) !important; border-radius: 12px; overflow: hidden; }
body.tesim-product .wd-accordion-item::before,
body.tesim-product .wd-accordion-item::after { display: none; }
body.tesim-product .wd-accordion-title { padding: 20px 24px !important; border: 0 !important; transition: background .15s; }
body.tesim-product .wd-accordion-title:hover { background: var(--tesim-paper); }
body.tesim-product .wd-accordion-title-text span { font-family: var(--tesim-font); font-size: 1.05rem; font-weight: 700; letter-spacing: -.02em; color: var(--tesim-ink) !important; text-transform: none; }
body.tesim-product .wd-accordion-title.wd-active .wd-accordion-title-text span { color: var(--tesim-ink) !important; }
body.tesim-product .wd-accordion-opener { color: var(--tesim-muted); }
body.tesim-product .wd-accordion-content { padding: 0 24px 22px !important; border: 0 !important; }

/* Description: intro text, then the underlined lines become a checklist. */
body.tesim-product .woocommerce-Tabs-panel--description p { margin: 0 0 12px; font-size: .92rem; line-height: 1.6; color: var(--tesim-ink); }
body.tesim-product .woocommerce-Tabs-panel--description p:last-child { margin-bottom: 0; color: var(--tesim-muted); font-size: .85rem; }
body.tesim-product .woocommerce-Tabs-panel--description p:has(> span[style*="underline"]) { position: relative; margin-bottom: 8px; padding-left: 28px; }
body.tesim-product .woocommerce-Tabs-panel--description p:has(> span[style*="underline"])::before { content: "\2713"; position: absolute; left: 4px; top: 0; color: var(--tesim-brand); font-weight: 800; }
body.tesim-product .woocommerce-Tabs-panel--description p:has(> span[style*="underline"]) + p:not(:has(> span[style*="underline"])) { margin-top: 16px; }
body.tesim-product .woocommerce-Tabs-panel--description span[style*="underline"] { text-decoration: none !important; font-weight: 600; }

/* Reviews: the accordion title already says "Reviews". */
body.tesim-product .woocommerce-Reviews-title { display: none; }
body.tesim-product .wd-single-reviews .wd-reviews-heading { margin: 0; padding: 0; border: 0; }
body.tesim-product .woocommerce-noreviews { margin: 0 0 6px; font-size: .92rem; color: var(--tesim-ink); }
body.tesim-product .woocommerce-verification-required { margin: 0; font-size: .82rem; color: var(--tesim-muted); }

/* ---------- 16. Description under the picture (desktop, inc/travel-product.php) ---------- */
.tesim-side-description { display: none; }
@media (min-width: 1025px) {
	body.tesim-side-desc .tesim-side-description { display: block; margin-top: 18px; padding: 22px 24px; background: var(--tesim-white); border: 1px solid var(--tesim-line); border-radius: 12px; }
	/* Picture no longer sticky, or it would slide over the description. */
	body.tesim-side-desc .tesim-product-visual { position: relative; top: 0; }
	/* The same text is in the lower Description card; hide that one on desktop. */
	body.tesim-side-desc .wd-accordion-item:has(#tab-item-title-description) { display: none; }
	body.tesim-side-desc .product-tabs-wrapper:not(:has(.wd-accordion-item:not(:has(#tab-item-title-description)))) { display: none; }
}
body.tesim-travel .tesim-side-description h2 { margin: 0 0 12px; font-family: var(--tesim-font); font-size: .7rem; font-weight: 700; line-height: 1.4; letter-spacing: .17em; text-transform: uppercase; color: var(--tesim-muted); }
.tesim-desc-body p { margin: 0 0 12px; font-size: .92rem; line-height: 1.6; color: var(--tesim-ink); text-align: left !important; }
.tesim-desc-body p:last-child { margin-bottom: 0; color: var(--tesim-muted); font-size: .85rem; }
.tesim-desc-body p:has(> span[style*="underline"]) { position: relative; margin-bottom: 8px; padding-left: 28px; }
.tesim-desc-body p:has(> span[style*="underline"])::before { content: "\2713"; position: absolute; left: 4px; top: 0; color: var(--tesim-brand); font-weight: 800; }
.tesim-desc-body p:has(> span[style*="underline"]) + p:not(:has(> span[style*="underline"])) { margin-top: 16px; }
.tesim-desc-body span[style*="underline"] { text-decoration: none !important; font-weight: 600; }

/* ---------- 17. Log in / Sign up (inc/travel-account.php), Airalo-style ---------- */
body.tesim-auth .main-page-wrapper { padding-top: 46px; }
body.tesim-auth .main-page-wrapper .woocommerce {
	max-width: 500px; margin: 0 auto 70px; padding: 34px 36px 30px; box-sizing: border-box;
	background: var(--tesim-white); border: 1px solid var(--tesim-line); border-radius: 18px; box-shadow: 0 24px 60px rgba(22, 26, 30, .08);
}
.tesim-auth-head { text-align: center; }
.tesim-auth-logo { display: none; }
.tesim-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 26px; border-bottom: 1px solid var(--tesim-line); }
body.tesim-travel .tesim-auth-tabs button {
	min-height: 0; margin-bottom: -1px; padding: 12px 0 14px; border: 0; border-bottom: 2px solid transparent; border-radius: 0;
	background: none; box-shadow: none; color: var(--tesim-muted); font: 700 1rem/1.3 var(--tesim-font); letter-spacing: -.01em; text-transform: none; cursor: pointer;
}
body.tesim-travel .tesim-auth-tabs button:hover { color: var(--tesim-ink); background: none; }
body.tesim-travel .tesim-auth-tabs button[aria-selected="true"] { color: var(--tesim-ink); border-bottom-color: var(--tesim-brand); }

/* One column at a time; the tabs replace the "Login" / "Register" headings. */
body.tesim-auth #customer_login { display: block; margin: 0 !important; }
body.tesim-auth .wd-registration-page { margin: 0 !important; }
body.tesim-auth #customer_login > .wd-col { width: 100%; max-width: none; margin: 0; padding: 0; border: 0; }
body.tesim-auth #customer_login > .wd-col::before, body.tesim-auth #customer_login > .wd-col::after { display: none; }
body.tesim-auth .wd-login-title { display: none; }
body.tesim-auth .wd-registration-page:not(.tesim-show-signup) .col-register,
body.tesim-auth .wd-registration-page.tesim-show-signup .col-login { display: none; }

/* Social buttons first, then an "or" divider (word set in wp_head, translatable). */
body.tesim-auth form.login, body.tesim-auth form.register { display: flex !important; flex-direction: column; margin: 0; }
body.tesim-auth form.login > div[style*="padding"], body.tesim-auth form.register > div[style*="padding"] { order: -1; padding: 0 !important; }
body.tesim-auth form.login > div[style*="padding"]::after, body.tesim-auth form.register > div[style*="padding"]::after {
	content: var(--tesim-or, "or"); display: block; margin: 20px 0 14px; text-align: center;
	font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--tesim-muted);
	background: linear-gradient(var(--tesim-line), var(--tesim-line)) left center / calc(50% - 28px) 1px no-repeat,
		linear-gradient(var(--tesim-line), var(--tesim-line)) right center / calc(50% - 28px) 1px no-repeat;
}
body.tesim-auth .nsl-container { margin: 0 !important; padding: 0 !important; }
body.tesim-auth .nsl-container-buttons { display: flex !important; flex-direction: row !important; gap: 10px; padding: 0 !important; }
body.tesim-auth .nsl-container-buttons a { flex: 1 1 0; margin: 0 !important; text-decoration: none !important; }
body.tesim-auth .nsl-button {
	display: flex !important; align-items: center; justify-content: center; gap: 10px; min-height: 50px; margin: 0 !important; padding: 0 14px !important;
	border: 1px solid var(--tesim-line) !important; border-radius: 100px !important; background: #FFF !important; color: var(--tesim-ink) !important; box-shadow: none !important;
	transition: border-color .15s, background .15s;
}
body.tesim-auth .nsl-button:hover { border-color: var(--tesim-ink) !important; background: var(--tesim-paper) !important; }
body.tesim-auth .nsl-button-svg-container { padding: 0 !important; flex: none; }
/* Apple: standard black button, white logo. */
body.tesim-auth .nsl-button-apple { background: #000 !important; border-color: #000 !important; }
body.tesim-auth .nsl-button-apple:hover { background: #2A2F33 !important; border-color: #2A2F33 !important; }
body.tesim-auth .nsl-button-apple .nsl-button-label-container b { color: #FFF; }
/* "Continue with <b>Google</b>": show the provider name only (full text stays for screen readers). */
body.tesim-auth .nsl-button-label-container { margin: 0 !important; padding: 0 !important; font-size: 0 !important; line-height: 1; }
body.tesim-auth .nsl-button-label-container b { font: 700 .9rem/1 var(--tesim-font); color: var(--tesim-ink); }

/* Fields */
body.tesim-auth .woocommerce form .form-row { margin-bottom: 16px; padding: 0; }
body.tesim-auth .woocommerce form .form-row label { margin-bottom: 7px; font-size: .8rem; font-weight: 600; color: var(--tesim-ink); }
body.tesim-auth .woocommerce form .form-row label .required { color: var(--tesim-brand); }
body.tesim-travel.tesim-auth .woocommerce form .input-text {
	height: 52px; padding: 0 16px; border: 1px solid var(--tesim-line); border-radius: 12px; background: #FFF; color: var(--tesim-ink); font: 500 .95rem var(--tesim-font); box-shadow: none;
}
body.tesim-travel.tesim-auth .woocommerce form .input-text:focus { border-color: var(--tesim-brand); outline: none; box-shadow: 0 0 0 3px var(--tesim-brand-soft); }

/* Buttons */
body.tesim-auth .woocommerce form .form-row-btn { margin: 6px 0 14px; }
body.tesim-travel.tesim-auth .woocommerce-form-login__submit,
body.tesim-travel.tesim-auth .woocommerce-form-register button[type="submit"],
body.tesim-travel.tesim-auth .woocommerce-ResetPassword button[type="submit"] {
	width: 100%; min-height: 54px; border-radius: 100px; background: var(--tesim-brand); color: #FFF; font: 700 1rem var(--tesim-font); text-transform: none; box-shadow: none;
}
body.tesim-travel.tesim-auth .woocommerce-form-login__submit:hover,
body.tesim-travel.tesim-auth .woocommerce-form-register button[type="submit"]:hover,
body.tesim-travel.tesim-auth .woocommerce-ResetPassword button[type="submit"]:hover { background: var(--tesim-brand-hover); }

/* Remember me (left) + Forgot password (right) */
body.tesim-auth .login-form-footer { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 6px; font-size: .85rem; }
body.tesim-auth .login-form-footer label { order: -1; margin: 0; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
body.tesim-auth .login-form-footer input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--tesim-brand); }
body.tesim-auth .lost_password { color: var(--tesim-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* Register helper + privacy text, switch links */
body.tesim-auth form.register > p:not(.form-row):not(.tesim-auth-switch),
body.tesim-auth .woocommerce-privacy-policy-text p { margin: 0 0 14px; font-size: .8rem; line-height: 1.55; color: var(--tesim-muted); }
body.tesim-auth .woocommerce-privacy-policy-text a { color: var(--tesim-ink); text-decoration: underline; }
.tesim-auth-switch { order: 50; margin: 10px 0 0; text-align: center; font-size: .85rem; color: var(--tesim-muted); }
body.tesim-travel .tesim-auth-switch a { color: var(--tesim-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* Lost password page */
body.tesim-auth-lost .woocommerce-ResetPassword > p:first-of-type { font-size: .9rem; color: var(--tesim-muted); margin-bottom: 18px; }

@media (max-width: 600px) {
	body.tesim-auth .main-page-wrapper { padding-top: 24px; }
	body.tesim-auth .main-page-wrapper .woocommerce { padding: 26px 20px 22px; border-radius: 14px; }
}
/* Icon + provider name as one centred pair (Nextend stretches the label box). */
body.tesim-auth .nsl-button { justify-content: center !important; gap: 10px; }
body.tesim-auth .nsl-button-svg-container { display: flex !important; align-items: center; justify-content: center; width: 20px; height: 20px; margin: 0 !important; }
body.tesim-auth .nsl-button-svg-container svg { width: 20px; height: 20px; display: block; }
body.tesim-auth .nsl-button-label-container { flex: 0 0 auto !important; display: flex !important; align-items: center; text-align: left !important; }
body.tesim-auth .nsl-button-label-container b { display: block; line-height: 20px; }

/* ---------- 18. Contact us (inc/travel-contact.php) ---------- */
.tesim-contact-heading { max-width: var(--wd-container-w, 1222px); margin-inline: auto; padding-inline: 15px; padding-bottom: 0; box-sizing: border-box; }
.tesim-contact-heading .tesim-browse-heading { margin-bottom: 26px; }
.tesim-help-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
body.tesim-travel a.tesim-help-card {
	display: flex; flex-direction: column; gap: 8px; padding: 24px; text-decoration: none; color: var(--tesim-ink);
	background: var(--tesim-white); border: 1px solid var(--tesim-line); border-radius: 12px; transition: border-color .15s, transform .15s, box-shadow .15s;
}
body.tesim-travel a.tesim-help-card:hover { border-color: var(--tesim-brand); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(22, 26, 30, .07); color: var(--tesim-ink); }
.tesim-help-card strong { font-size: 1.1rem; letter-spacing: -.02em; }
.tesim-help-card > span { font-size: .85rem; color: var(--tesim-muted); }
.tesim-help-card b { margin-top: 4px; font-size: .8rem; color: var(--tesim-brand); }
.tesim-contact-details { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 26px 0 40px; font-size: .9rem; color: var(--tesim-ink); }
.tesim-contact-item { display: inline-flex; align-items: center; gap: 10px; }
.tesim-contact-item svg { width: 20px; height: 20px; fill: none; stroke: var(--tesim-brand); stroke-width: 1.7; }
body.tesim-travel .tesim-contact-item a { color: var(--tesim-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
body.tesim-travel .tesim-contact-heading .tesim-form-title { max-width: 880px; margin: 0 0 14px; font-size: 1.6rem; letter-spacing: -.035em; }

/* The page's own Elementor title is replaced by the heading above. */
body.tesim-contact .elementor-widget-wd_title { display: none; }
body.tesim-contact .main-page-wrapper { padding-top: 0; }
body.tesim-contact .wd-content-layout { padding-top: 0; }
body.tesim-contact .elementor > .e-con { padding-top: 0 !important; }

/* Contact Form 7 as a card */
body.tesim-contact .wd-cf7 .wpcf7 { max-width: 880px; padding: 28px 30px 26px; box-sizing: border-box; background: var(--tesim-white); border: 1px solid var(--tesim-line); border-radius: 16px; box-shadow: 0 18px 46px rgba(22, 26, 30, .06); margin-bottom: 60px; }
body.tesim-contact .wpcf7-form br { display: none; }
body.tesim-contact .wpcf7-form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; margin: 0; }
body.tesim-contact .wpcf7-form .row > p { width: auto; max-width: none; flex: none; padding: 0; margin: 0 0 18px; }
body.tesim-contact .wpcf7-form .row > p:nth-child(3) { grid-column: 1 / -1; }
body.tesim-contact .wpcf7-form > p { margin: 0 0 18px; }
body.tesim-contact .wpcf7-form label { display: block; margin-bottom: 7px; font-size: .8rem; font-weight: 600; color: var(--tesim-ink); }
body.tesim-travel.tesim-contact .wpcf7-form input[type="text"],
body.tesim-travel.tesim-contact .wpcf7-form input[type="email"],
body.tesim-travel.tesim-contact .wpcf7-form textarea {
	width: 100%; box-sizing: border-box; border: 1px solid var(--tesim-line); border-radius: 12px; background: #FFF; color: var(--tesim-ink); font: 500 .95rem var(--tesim-font); box-shadow: none;
}
body.tesim-travel.tesim-contact .wpcf7-form input[type="text"],
body.tesim-travel.tesim-contact .wpcf7-form input[type="email"] { height: 52px; padding: 0 16px; }
body.tesim-travel.tesim-contact .wpcf7-form textarea { min-height: 180px; height: 180px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
body.tesim-travel.tesim-contact .wpcf7-form input:focus,
body.tesim-travel.tesim-contact .wpcf7-form textarea:focus { border-color: var(--tesim-brand); outline: none; box-shadow: 0 0 0 3px var(--tesim-brand-soft); }
body.tesim-travel.tesim-contact .wpcf7-form .wpcf7-submit {
	min-width: 200px; min-height: 52px; padding: 0 34px; border: 0; border-radius: 6px; background: var(--tesim-brand); color: #FFF;
	font: 600 .85rem var(--tesim-font); letter-spacing: 0; box-shadow: none; cursor: pointer; transition: background .15s;
}
body.tesim-travel.tesim-contact .wpcf7-form .wpcf7-submit:hover { background: var(--tesim-brand-hover); }
body.tesim-contact .wpcf7-not-valid-tip { margin-top: 6px; font-size: .78rem; color: var(--tesim-brand); }
body.tesim-contact .wpcf7 form .wpcf7-response-output { margin: 4px 0 0; padding: 12px 16px; border-radius: 10px; font-size: .85rem; }
body.tesim-contact .wpcf7 form.sent .wpcf7-response-output { border-color: #22674D; background: #E9F3EC; color: #22674D; }
body.tesim-contact .wpcf7 form.invalid .wpcf7-response-output,
body.tesim-contact .wpcf7 form.failed .wpcf7-response-output { border-color: var(--tesim-brand); background: var(--tesim-brand-soft); color: var(--tesim-ink); }

@media (max-width: 820px) { .tesim-help-cards { grid-template-columns: 1fr; gap: 12px; } }
@media (max-width: 600px) {
	body.tesim-contact .wd-cf7 .wpcf7 { padding: 20px 18px; }
	body.tesim-contact .wpcf7-form .row { grid-template-columns: 1fr; }
	body.tesim-travel.tesim-contact .wpcf7-form .wpcf7-submit { width: 100%; }
}
/* Line the form card up with the heading (Elementor container side padding). */
body.tesim-contact .elementor > .e-con, body.tesim-contact .elementor > .e-con > .e-con-inner, body.tesim-contact .elementor .e-con.e-child { --padding-left: 0px; --padding-right: 0px; padding-inline: 0 !important; margin-inline: 0 !important; }

/* ---------- 19. About us (templates/travel-about.php) ---------- */
body.tesim-about .main-page-wrapper { padding-top: 0; }
body.tesim-about .wd-content-layout { padding-block: 0; }
.tesim-about-page { padding-block: 56px 70px; }

.tesim-about-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
body.tesim-travel .tesim-about-copy h1 { font-size: clamp(2.6rem, 4.6vw, 4.2rem); line-height: 1.04; letter-spacing: -.045em; margin-bottom: 22px; }
.tesim-about-copy p { font-size: 1rem; line-height: 1.65; color: var(--tesim-muted); max-width: 540px; }
.tesim-about-copy .tesim-about-lead { font-size: 1.15rem; color: var(--tesim-ink); }
.tesim-about-copy .tesim-eyebrow { color: var(--tesim-brand); }
.tesim-about-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tesim-about-photo { position: relative; margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 4.4; }
.tesim-about-photo > img { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.tesim-about-photo figcaption { position: absolute; left: 18px; bottom: 18px; padding: 10px 14px; border-radius: 8px; background: rgba(22, 26, 30, .86); color: #FFF; }
.tesim-about-photo figcaption .tesim-swiss-provider { font-size: .8rem; font-weight: 600; }

.tesim-about-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 56px 0 64px; background: var(--tesim-white); border: 1px solid var(--tesim-line); border-radius: 14px; }
.tesim-about-facts > div { display: flex; flex-direction: column; gap: 6px; padding: 26px 26px 24px; }
.tesim-about-facts > div + div { border-left: 1px solid var(--tesim-line); }
.tesim-about-facts strong { font-size: 2.1rem; line-height: 1; letter-spacing: -.04em; color: var(--tesim-ink); }
.tesim-about-facts span { font-size: .82rem; color: var(--tesim-muted); }

.tesim-about-values .tesim-trip-type { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 27px; background: var(--tesim-white); border: 1px solid var(--tesim-line); border-radius: 10px; }
body.tesim-travel .tesim-about-values .tesim-section-heading h2 { font-size: 2rem; margin: 0; }

.tesim-about-company { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: stretch; margin-top: 56px; }
.tesim-about-company > div:first-child { padding: 30px 32px; background: var(--tesim-white); border: 1px solid var(--tesim-line); border-radius: 14px; }
body.tesim-travel .tesim-about-company h2 { font-size: 1.7rem; letter-spacing: -.035em; margin: 0 0 12px; }
.tesim-about-company p { font-size: .95rem; line-height: 1.6; color: var(--tesim-muted); margin: 0 0 12px; }
.tesim-about-contact { color: var(--tesim-ink) !important; }
body.tesim-travel .tesim-about-contact a { color: var(--tesim-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.tesim-about-app { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 30px 32px; border-radius: 14px; background: var(--tesim-ink); color: #FFF; }
.tesim-about-app strong { font-size: 1.35rem; letter-spacing: -.03em; }
.tesim-about-app > span { font-size: .9rem; color: #D2D5D6; }
.tesim-about-stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.tesim-about-stores img { height: 42px; width: auto; display: block; }

@media (max-width: 1024px) {
	.tesim-about-hero { grid-template-columns: 1fr; gap: 34px; }
	.tesim-about-photo { aspect-ratio: 16 / 9; order: -1; }
	.tesim-about-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tesim-about-facts > div:nth-child(3) { border-left: 0; }
	.tesim-about-facts > div:nth-child(n+3) { border-top: 1px solid var(--tesim-line); }
	.tesim-about-company { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.tesim-about-page { padding-block: 26px 40px; }
	.tesim-about-photo { aspect-ratio: 4 / 3; }
	.tesim-about-facts { margin: 36px 0 44px; }
	.tesim-about-facts > div { padding: 18px; }
	.tesim-about-facts strong { font-size: 1.6rem; }
	.tesim-about-company > div:first-child, .tesim-about-app { padding: 22px; }
}
.tesim-about-company p.tesim-eyebrow { font-size: .7rem; line-height: 1.4; margin-bottom: 10px; }

/* ---------- 20. Checkout (inc/travel-checkout.php) ---------- */
body.tesim-checkout .main-page-wrapper { padding-top: 0; }
.tesim-checkout-heading { max-width: var(--wd-container-w, 1222px); margin-inline: auto; padding: 46px 15px 6px; box-sizing: border-box; }
.tesim-checkout-heading .tesim-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #22674D; }
.tesim-checkout-heading .tesim-eyebrow svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
body.tesim-travel .tesim-checkout-heading h1 { margin: 0 0 8px; font-size: clamp(2.2rem, 3.6vw, 3rem); letter-spacing: -.045em; }
.tesim-checkout-heading > p:last-child { margin: 0; color: var(--tesim-muted); font-size: .95rem; }

/* Returning customer / coupon notices */
body.tesim-checkout .woocommerce-form-login-toggle .woocommerce-info,
body.tesim-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
	margin: 0 0 10px; padding: 14px 18px; border: 1px solid var(--tesim-line); border-radius: 12px; background: var(--tesim-white); font-size: .88rem; color: var(--tesim-ink);
}
body.tesim-checkout .woocommerce-info::before { display: none; }
body.tesim-checkout .woocommerce-info a { color: var(--tesim-brand); font-weight: 700; }
body.tesim-checkout form.checkout_coupon, body.tesim-checkout form.woocommerce-form-login { padding: 20px; border: 1px solid var(--tesim-line); border-radius: 12px; background: var(--tesim-white); }

/* Two columns: details | order + payment */
@media (min-width: 1025px) {
	body.tesim-checkout form.checkout { display: grid !important; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 18px; }
	body.tesim-checkout form.checkout > * { width: auto !important; max-width: none !important; margin: 0 !important; float: none !important; }
	body.tesim-checkout .checkout-order-review { position: sticky; top: 24px; }
}
body.tesim-checkout #customer_details,
body.tesim-checkout .checkout-order-review { padding: 28px 30px; box-sizing: border-box; background: var(--tesim-white) !important; border: 1px solid var(--tesim-line); border-radius: 16px; box-shadow: 0 18px 46px rgba(22, 26, 30, .05); }
body.tesim-travel.tesim-checkout form.checkout h3 { margin: 0 0 18px; font-size: 1.3rem; letter-spacing: -.03em; text-transform: none; text-align: left; }
body.tesim-checkout .woocommerce-additional-fields { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--tesim-line); }

/* Social sign-in buttons (Nextend) as pills, side by side */
body.tesim-checkout .woocommerce-billing-fields .nsl-container { margin: 0 0 20px !important; }
body.tesim-checkout .nsl-container-buttons { display: flex !important; flex-direction: row !important; gap: 10px; padding: 0 !important; }
body.tesim-checkout .nsl-container-buttons a { flex: 1 1 0; margin: 0 !important; text-decoration: none !important; }
body.tesim-checkout .nsl-button { display: flex !important; align-items: center; justify-content: center !important; gap: 10px; min-height: 48px; margin: 0 !important; padding: 0 14px !important; border: 1px solid var(--tesim-line) !important; border-radius: 100px !important; background: #FFF !important; box-shadow: none !important; }
body.tesim-checkout .nsl-button-apple { background: #000 !important; border-color: #000 !important; }
body.tesim-checkout .nsl-button-svg-container { display: flex !important; align-items: center; padding: 0 !important; margin: 0 !important; width: 20px; height: 20px; }
body.tesim-checkout .nsl-button-svg-container svg { width: 20px; height: 20px; }
body.tesim-checkout .nsl-button-label-container { flex: 0 0 auto !important; margin: 0 !important; padding: 0 !important; font-size: 0 !important; line-height: 1; }
body.tesim-checkout .nsl-button-label-container b { font: 700 .9rem/20px var(--tesim-font); color: var(--tesim-ink); }
body.tesim-checkout .nsl-button-apple .nsl-button-label-container b { color: #FFF; }

/* Fields */
body.tesim-checkout form.checkout .form-row { margin-bottom: 16px; }
body.tesim-checkout form.checkout .form-row label { margin-bottom: 7px; font-size: .8rem; font-weight: 600; color: var(--tesim-ink); }
body.tesim-checkout form.checkout .form-row label .optional { color: var(--tesim-muted); font-weight: 500; }
body.tesim-checkout form.checkout .form-row .required { color: var(--tesim-brand); text-decoration: none; }
body.tesim-travel.tesim-checkout form.checkout .input-text,
body.tesim-travel.tesim-checkout form.checkout select,
body.tesim-travel.tesim-checkout .select2-container--default .select2-selection--single {
	height: 50px; border: 1px solid var(--tesim-line); border-radius: 12px; background-color: #FFF; color: var(--tesim-ink); font: 500 .93rem var(--tesim-font); box-shadow: none;
}
body.tesim-travel.tesim-checkout form.checkout .input-text { padding: 0 16px; }
body.tesim-travel.tesim-checkout .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 48px; padding-left: 16px; }
body.tesim-travel.tesim-checkout .select2-container--default .select2-selection--single .select2-selection__arrow { height: 48px; }
body.tesim-travel.tesim-checkout form.checkout textarea.input-text { height: 110px; min-height: 110px; padding: 13px 16px; line-height: 1.5; }
body.tesim-travel.tesim-checkout form.checkout .input-text:focus { border-color: var(--tesim-brand); outline: none; box-shadow: 0 0 0 3px var(--tesim-brand-soft); }
body.tesim-checkout form.checkout .woocommerce-invalid .input-text { border-color: var(--tesim-brand); }
body.tesim-checkout input[type="checkbox"], body.tesim-checkout input[type="radio"] { accent-color: var(--tesim-brand); }
body.tesim-checkout .create-account label { font-size: .88rem; font-weight: 600; }

/* Order summary */
body.tesim-checkout .woocommerce-checkout-review-order-table { margin: 0 0 18px; border: 0; }
body.tesim-checkout .woocommerce-checkout-review-order-table th,
body.tesim-checkout .woocommerce-checkout-review-order-table td { padding: 12px 0; border-color: var(--tesim-line); font-size: .88rem; background: none; }
body.tesim-checkout .woocommerce-checkout-review-order-table thead th { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tesim-muted); }
body.tesim-checkout .woocommerce-checkout-review-order-table .cart_item td { color: var(--tesim-ink); font-weight: 600; }
body.tesim-checkout .woocommerce-checkout-review-order-table .product-quantity { color: var(--tesim-muted); font-weight: 500; }
body.tesim-checkout .woocommerce-checkout-review-order-table tfoot th { color: var(--tesim-muted); font-weight: 500; text-transform: none; }
body.tesim-checkout .woocommerce-checkout-review-order-table .order-total th { color: var(--tesim-ink); font-weight: 700; font-size: 1rem; }
body.tesim-checkout .woocommerce-checkout-review-order-table .order-total td,
body.tesim-checkout .woocommerce-checkout-review-order-table .order-total .amount { font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; color: var(--tesim-ink); }
body.tesim-checkout .woocommerce-checkout-review-order-table .amount { color: var(--tesim-ink); }

/* Payment methods as selectable rows */
body.tesim-checkout #payment { background: none; border-radius: 0; }
body.tesim-checkout #payment ul.payment_methods { display: flex; flex-direction: column; gap: 10px; margin: 0 0 18px; padding: 0; border: 0; list-style: none; }
body.tesim-checkout #payment li.wc_payment_method { margin: 0; padding: 0; border: 1px solid var(--tesim-line); border-radius: 12px; background: #FFF; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
body.tesim-checkout #payment li.wc_payment_method:has(> input:checked) { border-color: var(--tesim-brand); box-shadow: 0 0 0 3px var(--tesim-brand-soft); }
body.tesim-checkout #payment li.wc_payment_method > input { margin: 0 0 0 16px; vertical-align: middle; }
body.tesim-checkout #payment li.wc_payment_method > label { display: inline-flex; align-items: center; gap: 10px; width: calc(100% - 40px); padding: 14px 12px; margin: 0; font-size: .92rem; font-weight: 600; color: var(--tesim-ink); cursor: pointer; }
body.tesim-checkout #payment li.wc_payment_method > label img { max-height: 26px; width: auto; margin: 0 0 0 auto; }
body.tesim-checkout #payment .payment_box { margin: 0; padding: 0 18px 14px 44px; background: none; font-size: .82rem; color: var(--tesim-muted); }
body.tesim-checkout #payment .payment_box::before { display: none; }

/* Privacy, terms, place order */
body.tesim-checkout .woocommerce-privacy-policy-text p { font-size: .78rem; line-height: 1.55; color: var(--tesim-muted); }
body.tesim-checkout .woocommerce-privacy-policy-text a, body.tesim-checkout .woocommerce-terms-and-conditions-link { color: var(--tesim-ink); font-weight: 600; text-decoration: underline; }
body.tesim-checkout .woocommerce-terms-and-conditions-wrapper .form-row { margin: 10px 0 16px; }
body.tesim-checkout .woocommerce-terms-and-conditions-checkbox-text { font-size: .85rem; color: var(--tesim-ink); }
body.tesim-travel.tesim-checkout #place_order { width: 100%; min-height: 56px; border-radius: 100px; background: var(--tesim-brand); color: #FFF; font: 700 1.02rem var(--tesim-font); text-transform: none; box-shadow: none; }
body.tesim-travel.tesim-checkout #place_order:hover { background: var(--tesim-brand-hover); }

@media (max-width: 1024px) {
	body.tesim-checkout .checkout-order-review { margin-top: 20px; }
}
@media (max-width: 600px) {
	.tesim-checkout-heading { padding-top: 26px; }
	body.tesim-checkout #customer_details, body.tesim-checkout .checkout-order-review { padding: 20px 18px; border-radius: 14px; }
}
/* Checkout details: order heading, WoodMart receipt edges, TWINT row, notices. */
body.tesim-travel.tesim-checkout #order_review_heading { text-transform: none !important; text-align: left !important; font-size: 1.3rem; letter-spacing: -.03em; margin: 0 0 14px; }
body.tesim-checkout .checkout-order-review::before,
body.tesim-checkout .checkout-order-review::after { display: none !important; }
body.tesim-checkout .checkout-order-review .woocommerce-checkout-review-order { padding: 0 !important; margin: 0 !important; background: none !important; box-shadow: none !important; border: 0 !important; }
body.tesim-checkout #payment li.wc_payment_method > label { display: inline-flex; min-height: 52px; box-sizing: border-box; }
body.tesim-checkout #payment li.wc_payment_method > label > :last-child:not(:only-child) { margin-left: auto; }
body.tesim-checkout #payment li.wc_payment_method > label img { max-height: 26px; border-radius: 4px; }
body.tesim-checkout .woocommerce-form-login-toggle > *,
body.tesim-checkout .woocommerce-form-coupon-toggle > * {
	display: block; margin: 0 0 10px !important; padding: 14px 18px !important; border: 1px solid var(--tesim-line) !important; border-radius: 12px; background: var(--tesim-white) !important; font-size: .88rem; color: var(--tesim-ink) !important; box-shadow: none !important;
}
body.tesim-checkout .woocommerce-form-login-toggle > *::before,
body.tesim-checkout .woocommerce-form-coupon-toggle > *::before { display: none !important; }
body.tesim-checkout .woocommerce-form-login-toggle a,
body.tesim-checkout .woocommerce-form-coupon-toggle a { color: var(--tesim-brand) !important; font-weight: 700; }
/* The TWINT plugin sets its label inline; match the other payment rows. */
body.tesim-checkout #payment li.wc_payment_method.payment_method_mame_twint > label { display: inline-flex !important; align-items: center; width: calc(100% - 40px) !important; min-height: 52px; padding: 14px 12px !important; }
body.tesim-checkout #payment li.payment_method_mame_twint > label img { margin-left: auto !important; max-height: 26px !important; height: 26px; width: auto; }

/* ---------- 21. International phone field (inc/travel-phone.php, intl-tel-input) ---------- */
body.tesim-travel .iti { display: block; width: 100%; }
body.tesim-travel .iti .iti__selected-country { border-radius: 12px 0 0 12px; }
body.tesim-travel .iti .iti__selected-country-primary { padding: 0 8px 0 14px; }
body.tesim-travel .iti .iti__selected-dial-code { font: 600 .93rem var(--tesim-font); color: var(--tesim-ink); }
body.tesim-travel .iti .iti__selected-country:hover .iti__selected-country-primary { background: var(--tesim-paper); }
body.tesim-travel .iti__dropdown-content { border: 1px solid var(--tesim-line); border-radius: 12px; box-shadow: 0 18px 40px rgba(22, 26, 30, .14); overflow: hidden; font-family: var(--tesim-font); }
body.tesim-travel .iti__country { padding: 9px 12px; font-size: .88rem; }
body.tesim-travel .iti__country.iti__highlight { background: var(--tesim-brand-soft); }
body.tesim-travel .iti__dial-code { color: var(--tesim-muted); }
.tesim-phone-error { display: block; margin-top: 6px; font-size: .78rem; font-weight: 600; color: var(--tesim-brand); }
.tesim-phone-error[hidden] { display: none; }
body.tesim-travel .tesim-phone-invalid .input-text { border-color: var(--tesim-brand) !important; }
/* Phone dropdown search: WoodMart input/button styles override the library's layout. */
body.tesim-travel .iti__search-input-wrapper { background: #FFF; border-bottom: 1px solid var(--tesim-line); transition: border-color .15s; }
body.tesim-travel .iti__search-input-wrapper:focus-within { border-bottom-color: var(--tesim-brand); }
body.tesim-travel .iti__search-icon { left: 14px; right: auto; }
body.tesim-travel .iti__search-icon-svg { width: 16px; height: 16px; stroke: var(--tesim-muted); stroke-width: 2.5; }
body.tesim-travel input.iti__search-input,
body.tesim-travel input.iti__search-input:focus {
	width: 100%; height: 46px; min-height: 0; margin: 0; padding: 0 42px 0 40px !important;
	border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; outline: none !important;
	font: 500 .9rem var(--tesim-font); color: var(--tesim-ink);
}
body.tesim-travel input.iti__search-input::placeholder { color: var(--tesim-muted); }
body.tesim-travel button.iti__search-clear {
	left: auto; right: 8px; width: auto; min-width: 0; height: auto; min-height: 0; padding: 6px !important; margin: 0;
	border: 0 !important; border-radius: 50% !important; background: transparent !important; box-shadow: none !important;
}
body.tesim-travel button.iti__search-clear:hover, body.tesim-travel button.iti__search-clear:focus-visible { background: var(--tesim-paper) !important; }
body.tesim-travel .iti__search-clear-svg { width: 16px; height: 16px; }
body.tesim-travel .iti__search-clear .iti__search-clear-bg { fill: #B9BCB5; }
body.tesim-travel .iti__country-list { max-height: 260px; scrollbar-width: thin; scrollbar-color: #C9CBC1 transparent; }
body.tesim-travel .iti__country { display: flex; align-items: center; gap: 0; }
body.tesim-travel .iti__country-name { color: var(--tesim-ink); font-weight: 500; }

/* ---------- 22. Logged-in My account (inc/travel-account.php) ---------- */
body.tesim-account .main-page-wrapper { padding-top: 0; }
.tesim-account-heading { max-width: var(--wd-container-w, 1222px); margin-inline: auto; padding: 46px 15px 26px; box-sizing: border-box; }
.tesim-account-heading .tesim-eyebrow { color: var(--tesim-brand); }
body.tesim-travel .tesim-account-heading h1 { margin: 0 0 8px; font-size: clamp(2.2rem, 3.6vw, 3rem); letter-spacing: -.045em; }
.tesim-account-heading > p:last-child:not(.tesim-eyebrow) { margin: 0; font-size: .95rem; color: var(--tesim-muted); }

/* Sidebar navigation as a card */
body.tesim-account .wd-my-account-wrapper { --wd-gap-lg: 28px; align-items: start; }
body.tesim-account .woocommerce-MyAccount-title { display: none; }
body.tesim-account .woocommerce-MyAccount-navigation { padding: 10px; background: var(--tesim-white); border: 1px solid var(--tesim-line); border-radius: 14px; }
body.tesim-account .wd-my-account-sidebar { border: 0 !important; padding: 0 !important; }
body.tesim-account .wd-my-account-sidebar::after, body.tesim-account .wd-my-account-sidebar::before { display: none; }
body.tesim-account .woocommerce-MyAccount-navigation ul { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; }
body.tesim-account .woocommerce-MyAccount-navigation li { margin: 0; }
body.tesim-travel.tesim-account .woocommerce-MyAccount-navigation li a {
	display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 9px; color: var(--tesim-ink); font: 600 .9rem var(--tesim-font); text-transform: none; background: none;
}
body.tesim-travel.tesim-account .woocommerce-MyAccount-navigation li a:hover { background: var(--tesim-paper); color: var(--tesim-ink); }
body.tesim-travel.tesim-account .woocommerce-MyAccount-navigation li.wd-active a,
body.tesim-travel.tesim-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--tesim-brand-soft); color: var(--tesim-brand); box-shadow: inset 3px 0 0 var(--tesim-brand); }
body.tesim-account .woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 6px !important; padding-top: 6px; border-top: 1px solid var(--tesim-line); }
body.tesim-travel.tesim-account .woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--tesim-muted); font-weight: 500; }

/* Content column base */
body.tesim-account .woocommerce-MyAccount-content { color: var(--tesim-ink); font-size: .92rem; }
body.tesim-account-dashboard .woocommerce-MyAccount-content > p { display: none; }

/* Dashboard */
.tesim-dash { display: flex; flex-direction: column; gap: 20px; }
.tesim-dash-card { padding: 22px 24px; background: var(--tesim-white); border: 1px solid var(--tesim-line); border-radius: 14px; }
.tesim-dash-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
body.tesim-travel .tesim-dash-head h2 { margin: 0; font-size: 1.15rem; letter-spacing: -.02em; }
body.tesim-travel .tesim-dash-head a { color: var(--tesim-brand); font-size: .85rem; font-weight: 700; text-decoration: none; }
.tesim-order-list { margin: 0; padding: 0; list-style: none; }
.tesim-order-list li { margin: 0; border-top: 1px solid var(--tesim-line); }
.tesim-order-list li:first-child { border-top: 0; }
body.tesim-travel .tesim-order-list a { display: flex; align-items: center; gap: 16px; padding: 14px 4px; color: var(--tesim-ink); text-decoration: none; border-radius: 8px; }
body.tesim-travel .tesim-order-list a:hover { background: var(--tesim-paper); }
.tesim-order-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tesim-order-main strong { font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tesim-order-main small { font-size: .78rem; color: var(--tesim-muted); }
.tesim-order-total { font-weight: 700; white-space: nowrap; }
.tesim-order-total del { color: var(--tesim-muted); font-weight: 500; margin-right: 4px; }
.tesim-order-total ins { text-decoration: none; }
.tesim-dash-empty { margin: 4px 0 0; color: var(--tesim-muted); }
.tesim-dash-actions { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
body.tesim-travel a.tesim-dash-action { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; background: var(--tesim-white); border: 1px solid var(--tesim-line); border-radius: 12px; color: var(--tesim-ink); text-decoration: none; transition: border-color .15s, transform .15s; }
body.tesim-travel a.tesim-dash-action:hover { border-color: var(--tesim-brand); transform: translateY(-1px); color: var(--tesim-ink); }
.tesim-dash-action strong { font-size: .98rem; letter-spacing: -.01em; }
.tesim-dash-action span { font-size: .8rem; color: var(--tesim-muted); }

/* Status pills (dashboard + orders table) */
.tesim-status, body.tesim-account .woocommerce-orders-table__cell-order-status { white-space: nowrap; }
.tesim-status { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 100px; font-size: .72rem; font-weight: 700; background: #F1F1EC; color: #555C57; }
.tesim-status-completed { background: #E9F3EC; color: #22674D; }
.tesim-status-processing, .tesim-status-on-hold, .tesim-status-pending { background: #FBF1DB; color: #875D19; }
.tesim-status-refunded, .tesim-status-cancelled, .tesim-status-failed { background: #F1F1EC; color: #606763; }

/* Orders table */
body.tesim-account .woocommerce-orders-table { background: var(--tesim-white); border: 1px solid var(--tesim-line) !important; border-radius: 14px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
body.tesim-account .woocommerce-orders-table th, body.tesim-account .woocommerce-orders-table td { padding: 14px 18px !important; border-color: var(--tesim-line) !important; font-size: .88rem; vertical-align: middle; }
body.tesim-account .woocommerce-orders-table thead th { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tesim-muted); background: var(--tesim-paper); }
body.tesim-account .woocommerce-orders-table tbody tr:last-child > * { border-bottom: 0 !important; }
body.tesim-account .woocommerce-orders-table .woocommerce-orders-table__cell-order-number a { color: var(--tesim-ink); font-weight: 700; }
body.tesim-account .woocommerce-orders-table .amount { color: var(--tesim-ink); font-weight: 700; }
body.tesim-account .woocommerce-orders-table del .amount { color: var(--tesim-muted); font-weight: 500; }
body.tesim-account .woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status { color: #22674D; font-weight: 700; }
body.tesim-account .woocommerce-orders-table__row--status-refunded .woocommerce-orders-table__cell-order-status,
body.tesim-account .woocommerce-orders-table__row--status-cancelled .woocommerce-orders-table__cell-order-status { color: var(--tesim-muted); font-weight: 700; }
body.tesim-account .woocommerce-orders-table__row--status-processing .woocommerce-orders-table__cell-order-status { color: #875D19; font-weight: 700; }

/* Account buttons: outline (View, Edit) and primary (Save) */
body.tesim-travel.tesim-account .woocommerce-MyAccount-content .woocommerce-button.view,
body.tesim-travel.tesim-account .woocommerce-orders-table .button,
body.tesim-travel.tesim-account .woocommerce-Address .edit {
	display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border: 1px solid var(--tesim-line); border-radius: 100px; background: #FFF; color: var(--tesim-ink); font: 700 .8rem var(--tesim-font); text-transform: none; box-shadow: none; text-decoration: none;
}
body.tesim-travel.tesim-account .woocommerce-orders-table .button:hover,
body.tesim-travel.tesim-account .woocommerce-Address .edit:hover { border-color: var(--tesim-ink); background: var(--tesim-paper); color: var(--tesim-ink); }
body.tesim-travel.tesim-account .woocommerce-MyAccount-content button[type="submit"],
body.tesim-travel.tesim-account .woocommerce-MyAccount-content .woocommerce-Button[type="submit"] {
	min-height: 50px; padding: 0 30px; border-radius: 100px; background: var(--tesim-brand); color: #FFF; font: 700 .95rem var(--tesim-font); text-transform: none; box-shadow: none;
}
body.tesim-travel.tesim-account .woocommerce-MyAccount-content button[type="submit"]:hover { background: var(--tesim-brand-hover); }

/* Addresses */
body.tesim-account .woocommerce-MyAccount-content > p:first-child { color: var(--tesim-muted); font-size: .88rem; }
body.tesim-account .woocommerce-Addresses { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin: 0; }
body.tesim-account .woocommerce-Addresses::before, body.tesim-account .woocommerce-Addresses::after { display: none; }
body.tesim-account .woocommerce-Address { width: auto !important; float: none !important; margin: 0 !important; padding: 22px 24px; background: var(--tesim-white); border: 1px solid var(--tesim-line); border-radius: 14px; }
body.tesim-account .woocommerce-Address-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
body.tesim-travel.tesim-account .woocommerce-Address-title h2, body.tesim-travel.tesim-account .woocommerce-Address-title h3 { margin: 0; font-size: 1.1rem; letter-spacing: -.02em; }
body.tesim-account .woocommerce-Address address { font-style: normal; line-height: 1.7; color: var(--tesim-ink); }

/* Forms (Account details, Edit address) */
body.tesim-account .woocommerce-MyAccount-content form { padding: 26px 28px; background: var(--tesim-white); border: 1px solid var(--tesim-line); border-radius: 14px; }
body.tesim-account .woocommerce-MyAccount-content form .form-row { margin-bottom: 16px; }
body.tesim-account .woocommerce-MyAccount-content form label { margin-bottom: 7px; font-size: .8rem; font-weight: 600; color: var(--tesim-ink); }
body.tesim-account .woocommerce-MyAccount-content form .required { color: var(--tesim-brand); }
body.tesim-travel.tesim-account .woocommerce-MyAccount-content .input-text,
body.tesim-travel.tesim-account .woocommerce-MyAccount-content select,
body.tesim-travel.tesim-account .select2-container--default .select2-selection--single {
	height: 50px; border: 1px solid var(--tesim-line); border-radius: 12px; background-color: #FFF; color: var(--tesim-ink); font: 500 .93rem var(--tesim-font); box-shadow: none;
}
body.tesim-travel.tesim-account .woocommerce-MyAccount-content .input-text { padding: 0 16px; }
body.tesim-travel.tesim-account .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 48px; padding-left: 16px; }
body.tesim-travel.tesim-account .select2-container--default .select2-selection--single .select2-selection__arrow { height: 48px; }
body.tesim-travel.tesim-account .woocommerce-MyAccount-content .input-text:focus { border-color: var(--tesim-brand); outline: none; box-shadow: 0 0 0 3px var(--tesim-brand-soft); }
body.tesim-account .woocommerce-MyAccount-content form em, body.tesim-account #account_display_name_description { display: block; margin-top: 6px; font-size: .76rem; font-style: normal; color: var(--tesim-muted); }
body.tesim-account .woocommerce-MyAccount-content fieldset { margin: 10px 0 20px; padding: 18px 20px 6px; border: 0; border-radius: 12px; background: var(--tesim-paper); }
body.tesim-travel.tesim-account .woocommerce-MyAccount-content fieldset legend { float: left; width: 100%; margin: 0 0 12px; padding: 0; font: 700 .7rem/1.4 var(--tesim-font); letter-spacing: .17em; text-transform: uppercase; color: var(--tesim-muted); }
body.tesim-account .woocommerce-MyAccount-content fieldset legend + * { clear: both; }
body.tesim-travel.tesim-account .woocommerce-MyAccount-content h3 { font-size: 1.15rem; letter-spacing: -.02em; text-transform: none; }

/* Social account linking (Nextend) on Account details */
body.tesim-account .nsl-container-buttons { display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 10px; padding: 0 !important; justify-content: flex-start !important; }
body.tesim-account .nsl-container-buttons a { flex: 0 1 240px; margin: 0 !important; text-decoration: none !important; }
body.tesim-account .nsl-button { display: flex !important; align-items: center; justify-content: center !important; gap: 10px; min-height: 46px; margin: 0 !important; padding: 0 16px !important; border: 1px solid var(--tesim-line) !important; border-radius: 100px !important; background: #FFF !important; box-shadow: none !important; }
body.tesim-account .nsl-button-apple { background: #000 !important; border-color: #000 !important; }
body.tesim-account .nsl-button-svg-container { display: flex !important; align-items: center; padding: 0 !important; margin: 0 !important; }
body.tesim-account .nsl-button-label-container { flex: 0 0 auto !important; margin: 0 !important; padding: 0 !important; font: 600 .86rem var(--tesim-font) !important; color: var(--tesim-ink); }
body.tesim-account .nsl-button-apple .nsl-button-label-container { color: #FFF; }

/* Tablet/phone: the sidebar sits above the content; equal button grid, 2 columns (3 from 601px) */
@media (max-width: 1024px) {
	body.tesim-account .woocommerce-MyAccount-navigation { padding: 8px; }
	body.tesim-account .woocommerce-MyAccount-navigation ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
	body.tesim-account .woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 0 !important; padding-top: 0; border-top: 0; }
	body.tesim-travel.tesim-account .woocommerce-MyAccount-navigation li a { justify-content: center; min-height: 46px; padding: 0 10px; background: var(--tesim-paper); text-align: center; }
	body.tesim-travel.tesim-account .woocommerce-MyAccount-navigation li.wd-active a,
	body.tesim-travel.tesim-account .woocommerce-MyAccount-navigation li.is-active a { box-shadow: inset 0 0 0 1px var(--tesim-brand); }
	body.tesim-travel.tesim-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a { background: none; box-shadow: inset 0 0 0 1px var(--tesim-line); }
}
@media (min-width: 601px) and (max-width: 1024px) {
	body.tesim-account .woocommerce-MyAccount-navigation ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.tesim-account-heading { padding-top: 26px; }
	.tesim-dash-card, body.tesim-account .woocommerce-MyAccount-content form { padding: 18px; }
	.tesim-order-list .tesim-status { display: none; }
	/* Full plan names (wrapped) instead of an ellipsis; "Install & usage" moves under the title */
	.tesim-order-main strong { white-space: normal; }
	body.tesim-travel .tesim-dash-esims .tesim-order-list a { flex-wrap: wrap; row-gap: 6px; }
	.tesim-dash-esims .tesim-dash-install { order: 1; flex-basis: 100%; }
}

/* ---------- 22b. Account fixes + single order view ---------- */
.tesim-order-total .amount, .tesim-order-total ins .amount { color: var(--tesim-ink); }
.tesim-order-total del .amount { color: var(--tesim-muted); }

/* Notices (e.g. "Confirm email address to link past orders") */
body.tesim-account .woocommerce-MyAccount-content .woocommerce-info,
body.tesim-account .woocommerce-MyAccount-content .woocommerce-message {
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 18px; padding: 14px 18px;
	border: 1px solid #E8D5A5; border-radius: 12px; background: #FBF1DB; color: #705117; font-size: .86rem; box-shadow: none;
}
body.tesim-account .woocommerce-MyAccount-content .woocommerce-message { border-color: #CFE0D2; background: #E9F3EC; color: #22674D; }
body.tesim-account .woocommerce-MyAccount-content .woocommerce-info::before,
body.tesim-account .woocommerce-MyAccount-content .woocommerce-message::before { color: inherit; }
body.tesim-account .woocommerce-MyAccount-content .woocommerce-info a,
body.tesim-account .woocommerce-MyAccount-content .woocommerce-message a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Social link buttons side by side */
body.tesim-account .nsl-container-buttons a { flex: 0 1 260px !important; width: auto !important; max-width: 100%; }

/* Single order view: eSIM first, then details, address, updates */
body.tesim-view-order .woocommerce-MyAccount-content { display: flex; flex-direction: column; gap: 18px; }
body.tesim-view-order .woocommerce-MyAccount-content > * { margin: 0 !important; order: 10; }
body.tesim-view-order .woocommerce-MyAccount-content > .woocommerce-notices-wrapper { order: 0; }
body.tesim-view-order .woocommerce-MyAccount-content > p:first-of-type { order: 1; font-size: .92rem; color: var(--tesim-muted); }
body.tesim-view-order .woocommerce-MyAccount-content > p:first-of-type mark { background: none; color: var(--tesim-ink); font-weight: 700; }
body.tesim-view-order .woocommerce-MyAccount-content > p:first-of-type mark.order-status { display: inline-flex; padding: 3px 10px; border-radius: 100px; background: #F1F1EC; color: #555C57; font-size: .78rem; }
body.tesim-view-order .woocommerce-MyAccount-content > .cesim, body.tesim-view-order .woocommerce-MyAccount-content > .tesim-card { order: 2; }
body.tesim-view-order .woocommerce-MyAccount-content > .woocommerce-order-details { order: 3; }
body.tesim-view-order .woocommerce-MyAccount-content > .woocommerce-customer-details { order: 4; }
body.tesim-view-order .woocommerce-MyAccount-content > h2 { order: 5; }
body.tesim-view-order .woocommerce-MyAccount-content > .woocommerce-OrderUpdates { order: 6; }
body.tesim-view-order .woocommerce-order-details,
body.tesim-view-order .woocommerce-customer-details,
body.tesim-view-order .woocommerce-OrderUpdates { padding: 22px 24px; background: var(--tesim-white); border: 1px solid var(--tesim-line); border-radius: 14px; }
body.tesim-travel.tesim-view-order .woocommerce-MyAccount-content h2 { margin: 0 0 12px; font-size: 1.15rem; letter-spacing: -.02em; }
body.tesim-travel.tesim-view-order .woocommerce-MyAccount-content > h2 { margin: 8px 0 -6px !important; font: 700 .7rem/1.4 var(--tesim-font); letter-spacing: .17em; text-transform: uppercase; color: var(--tesim-muted); }
body.tesim-view-order .woocommerce-table--order-details { margin: 0; border: 0; }
body.tesim-view-order .woocommerce-table--order-details th,
body.tesim-view-order .woocommerce-table--order-details td { padding: 12px 0 !important; border-color: var(--tesim-line) !important; font-size: .88rem; background: none; }
body.tesim-view-order .woocommerce-table--order-details thead th { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tesim-muted); }
body.tesim-view-order .woocommerce-table--order-details tfoot th { font-weight: 500; color: var(--tesim-muted); }
body.tesim-view-order .woocommerce-table--order-details .amount { color: var(--tesim-ink); font-weight: 700; }
body.tesim-view-order .woocommerce-table--order-details del .amount { color: var(--tesim-muted); font-weight: 500; }
body.tesim-view-order .woocommerce-table--order-details tfoot tr:last-child th { color: var(--tesim-ink); font-weight: 700; }
body.tesim-view-order .woocommerce-table--order-details tfoot tr:last-child td .amount { font-size: 1.15rem; }
body.tesim-view-order .woocommerce-customer-details address { font-style: normal; line-height: 1.7; border: 0; padding: 0; }
body.tesim-view-order .woocommerce-OrderUpdates { list-style: none; margin: 0; font-size: .85rem; color: var(--tesim-muted); }
body.tesim-view-order .woocommerce-OrderUpdates li { margin: 0; padding: 0; }
/* Dashboard "Your eSIMs" (needs the custom-esim-order-details plugin) */
.tesim-dash-install { font-size: .8rem; font-weight: 700; color: var(--tesim-brand); white-space: nowrap; }
/* My eSIMs page: let the plugin cards breathe in the account column */
body.tesim-account .cesim-list .cesim-btn { font-family: var(--tesim-font); }

/* ---------- 23. Orders grouped by status (woocommerce/myaccount/orders.php) ---------- */
.tesim-order-groups { display: flex; flex-direction: column; gap: 14px; }
.tesim-order-group { background: var(--tesim-white); border: 1px solid var(--tesim-line); border-radius: 14px; overflow: hidden; }
.tesim-order-group > summary { display: flex; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; }
.tesim-order-group > summary::-webkit-details-marker { display: none; }
.tesim-order-group > summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--tesim-muted); border-bottom: 2px solid var(--tesim-muted); transform: rotate(45deg); transition: transform .15s; }
.tesim-order-group[open] > summary::after { transform: rotate(-135deg); }
.tesim-order-group > summary:hover { background: var(--tesim-paper); }
.tesim-order-group-count { font-size: .85rem; font-weight: 600; color: var(--tesim-muted); }
body.tesim-account .tesim-order-group .woocommerce-orders-table { margin: 0; border: 0 !important; border-top: 1px solid var(--tesim-line) !important; border-radius: 0; }
body.tesim-account .tesim-order-group .woocommerce-orders-table__cell-order-plan { color: var(--tesim-ink); }
body.tesim-account .tesim-order-group .woocommerce-orders-table__cell-order-actions { text-align: right; }
.tesim-status-cancelled, .tesim-status-failed, .tesim-status-checkout-draft { background: #F1F1EC; color: #606763; }
/* Phones: WooCommerce's responsive table hides the row header (order number); show it. */
@media (max-width: 768px) {
	body.tesim-account .woocommerce-orders-table tbody th.woocommerce-orders-table__cell-order-number { display: flex !important; justify-content: space-between; align-items: center; text-align: right; }
	body.tesim-account .woocommerce-orders-table tbody th.woocommerce-orders-table__cell-order-number::before { content: attr(data-title); float: left; font-weight: 600; color: var(--tesim-ink); }
}

/* ---------- 24. Magazine / blog (inc/travel-blog.php) ---------- */
body.tesim-blog .main-page-wrapper { padding-top: 0; }
.tesim-blog-heading, .tesim-blog-crumbs { max-width: var(--wd-container-w, 1222px); margin-inline: auto; padding-inline: 15px; box-sizing: border-box; }
.tesim-blog-heading { padding-top: 40px; padding-bottom: 30px; }
.tesim-blog-heading .tesim-eyebrow { color: var(--tesim-brand); }
body.tesim-travel .tesim-blog-heading h1 { margin: 0 0 12px; font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: -.045em; }
.tesim-blog-lead { max-width: 640px; margin: 0; font-size: 1rem; line-height: 1.6; color: var(--tesim-muted); }
.tesim-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
body.tesim-travel .tesim-chips a { padding: 8px 16px; border: 1px solid var(--tesim-line); border-radius: 100px; background: var(--tesim-white); color: var(--tesim-ink); font-size: .85rem; font-weight: 600; text-decoration: none; }
body.tesim-travel .tesim-chips a:hover { border-color: var(--tesim-ink); }
body.tesim-travel .tesim-chips a[aria-current] { background: var(--tesim-ink); border-color: var(--tesim-ink); color: #FFF; }

/* Cards */
body.tesim-blog-archive .wd-blog-holder { --wd-gap-lg: 24px; }
body.tesim-blog-archive .wd-post .wd-post-inner { height: 100%; display: flex; flex-direction: column; background: var(--tesim-white); border: 1px solid var(--tesim-line); border-radius: 14px; overflow: hidden; box-shadow: none !important; transition: border-color .15s, transform .15s; }
body.tesim-blog-archive .wd-post:hover .wd-post-inner { border-color: #C9CBC1; transform: translateY(-2px); }
body.tesim-blog-archive .wd-post-thumb { margin: 0; }
body.tesim-blog-archive .wd-post-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
body.tesim-blog-archive .wd-post-date.wd-style-with-bg { top: 14px; left: 14px; padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, .94); box-shadow: none; color: var(--tesim-ink); }
body.tesim-blog-archive .wd-post-content { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 20px 22px 22px !important; text-align: left; }
body.tesim-blog .wd-post-cat.wd-style-with-bg { position: static; margin: 0 0 10px; transform: none; }
body.tesim-blog .wd-post-cat.wd-style-with-bg a { display: inline-flex; padding: 4px 10px; border-radius: 100px; background: var(--tesim-brand-soft); color: var(--tesim-brand); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
body.tesim-travel.tesim-blog-archive .wd-post-title { margin: 0 0 10px; font-size: 1.2rem; line-height: 1.3; letter-spacing: -.02em; text-align: left; }
body.tesim-blog-archive .wd-post-meta { display: none; }
body.tesim-blog-archive .wd-post-excerpt { margin: 0 0 16px; color: var(--tesim-muted); font-size: .9rem; line-height: 1.6; text-align: left; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
body.tesim-blog-archive .wd-post-read-more { margin-top: auto; }
body.tesim-travel.tesim-blog-archive .wd-post-read-more a { color: var(--tesim-brand); font-size: .85rem; font-weight: 700; text-transform: none; letter-spacing: 0; text-decoration: none; }
body.tesim-travel.tesim-blog-archive .wd-post-read-more a::after { content: " \2192"; }

/* Featured: newest post spans the row (first page of the Magazine only). */
@media (min-width: 900px) {
	body.tesim-blog-archive.blog:not(.paged) .wd-blog-holder > .wd-post:first-child { grid-column: 1 / -1; }
	body.tesim-blog-archive.blog:not(.paged) .wd-blog-holder > .wd-post:first-child .wd-post-inner { flex-direction: row; }
	body.tesim-blog-archive.blog:not(.paged) .wd-blog-holder > .wd-post:first-child .wd-post-thumb { flex: 0 0 56%; }
	body.tesim-blog-archive.blog:not(.paged) .wd-blog-holder > .wd-post:first-child .wd-post-img img { height: 100%; min-height: 380px; aspect-ratio: auto; }
	body.tesim-blog-archive.blog:not(.paged) .wd-blog-holder > .wd-post:first-child .wd-post-content { justify-content: center; padding: 40px 44px !important; }
	body.tesim-travel.tesim-blog-archive.blog:not(.paged) .wd-blog-holder > .wd-post:first-child .wd-post-title { font-size: clamp(1.6rem, 2.4vw, 2.2rem); letter-spacing: -.035em; }
	body.tesim-blog-archive.blog:not(.paged) .wd-blog-holder > .wd-post:first-child .wd-post-excerpt { -webkit-line-clamp: 5; font-size: 1rem; }
}

/* Article */
.tesim-blog-crumbs { padding-top: 34px; }
body.tesim-blog-single .post-single-page { max-width: 760px; margin-inline: auto; }
body.tesim-blog-single .wd-single-post-header { text-align: left; margin-bottom: 30px; }
body.tesim-travel.tesim-blog-single .wd-single-post-header .wd-post-title { margin: 0 0 14px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.045em; text-align: left; }
body.tesim-blog-single .wd-single-post-header .wd-post-meta { justify-content: flex-start; gap: 10px; margin-bottom: 26px; font-size: .85rem; color: var(--tesim-muted); }
body.tesim-blog-single .wd-single-post-header .wd-post-author img,
body.tesim-blog-single .wd-single-post-header .wd-post-reply,
body.tesim-blog-single .wd-single-post-header .wd-modified-date { display: none; }
body.tesim-blog-single .wd-single-post-header .wd-post-image img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 14px; }
body.tesim-blog-single .post-single-page .wd-entry-content { font-size: 1.06rem; line-height: 1.75; color: #2B3035; }
body.tesim-blog-single .post-single-page .wd-entry-content p { margin-bottom: 1.2em; }
body.tesim-travel.tesim-blog-single .post-single-page .wd-entry-content h2 { margin: 1.8em 0 .5em; font-size: 1.65rem; letter-spacing: -.035em; line-height: 1.2; }
body.tesim-travel.tesim-blog-single .post-single-page .wd-entry-content h3 { margin: 1.5em 0 .4em; font-size: 1.3rem; letter-spacing: -.025em; }
body.tesim-blog-single .post-single-page .wd-entry-content strong { color: var(--tesim-ink); }
body.tesim-blog-single .post-single-page .wd-entry-content a:not(.tesim-btn) { color: var(--tesim-brand); text-decoration: underline; text-underline-offset: 3px; }
body.tesim-blog-single .post-single-page .wd-entry-content img { display: block; width: auto; max-width: 100%; max-height: 620px; height: auto; margin: 1.6em auto; border-radius: 12px; }
body.tesim-blog-single .post-single-page .wd-entry-content figure { margin: 1.6em 0; }
body.tesim-blog-single .post-single-page .wd-entry-content figcaption { font-size: .82rem; color: var(--tesim-muted); text-align: center; }
body.tesim-blog-single .post-single-page .wd-entry-content blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--tesim-brand); font-size: 1.15rem; color: var(--tesim-ink); }

/* End-of-article CTA */
.tesim-blog-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 2.4em 0 1em; padding: 26px 28px; border-radius: 14px; background: var(--tesim-ink); color: #FFF; }
.tesim-blog-cta .tesim-eyebrow { color: #F2A3A3; margin-bottom: 6px; }
body.tesim-travel .tesim-blog-cta h2 { margin: 0 0 6px !important; color: #FFF; font-size: 1.35rem !important; }
.tesim-blog-cta p:not(.tesim-eyebrow) { margin: 0 !important; color: #D2D5D6; font-size: .92rem; }

/* Tags, share, prev/next, comments */
body.tesim-blog-single .wd-single-footer { max-width: 760px; margin: 10px auto 0; padding-top: 22px; border-top: 1px solid var(--tesim-line); }
body.tesim-blog-single .wd-tags-list a { display: inline-flex; margin: 0 6px 6px 0; padding: 5px 12px; border: 1px solid var(--tesim-line); border-radius: 100px; background: var(--tesim-white); color: var(--tesim-ink); font-size: .78rem; }
body.tesim-blog-single .wd-page-nav { max-width: 760px; margin: 30px auto; padding: 18px 0; border-color: var(--tesim-line); }
body.tesim-blog-single .comments-area { max-width: 760px; margin-inline: auto; }
body.tesim-blog-single .comment-respond { padding: 24px 26px; background: var(--tesim-white); border: 1px solid var(--tesim-line); border-radius: 14px; }
body.tesim-travel.tesim-blog-single .comment-respond .comment-reply-title { font-size: 1.2rem; letter-spacing: -.02em; text-transform: none; }
body.tesim-travel.tesim-blog-single .comment-respond input[type="text"],
body.tesim-travel.tesim-blog-single .comment-respond input[type="email"],
body.tesim-travel.tesim-blog-single .comment-respond input[type="url"],
body.tesim-travel.tesim-blog-single .comment-respond textarea { border: 1px solid var(--tesim-line); border-radius: 12px; background: #FFF; }
body.tesim-travel.tesim-blog-single .comment-respond .submit { border-radius: 100px; background: var(--tesim-brand); color: #FFF; text-transform: none; }

@media (max-width: 600px) {
	.tesim-blog-heading { padding-top: 26px; }
	body.tesim-blog-single .post-single-page .wd-entry-content { font-size: 1rem; }
	.tesim-blog-cta { padding: 22px; }
	.tesim-blog-cta .tesim-btn { width: 100%; }
}
/* Blog fixes: WoodMart ribbon behind the category pill, left-aligned article header, spacing. */
body.tesim-blog .wd-post-cat.wd-style-with-bg { background: none !important; padding: 0 !important; }
body.tesim-blog .wd-post-cat.wd-style-with-bg::before,
body.tesim-blog .wd-post-cat.wd-style-with-bg::after,
body.tesim-blog .wd-post-cat.wd-style-with-bg a::before,
body.tesim-blog .wd-post-cat.wd-style-with-bg a::after { display: none !important; }
body.tesim-blog-single .wd-single-post-header,
body.tesim-blog-single .wd-single-post-header .wd-post-cat { text-align: left !important; justify-content: flex-start !important; }
body.tesim-blog-single .wd-single-post-header .wd-post-meta { display: flex; justify-content: flex-start !important; }
body.tesim-blog-single .wd-content-layout { padding-top: 18px; }
body.tesim-blog-single .wd-single-post-header { align-items: flex-start !important; }
body.tesim-blog-single .wd-single-post-header .wd-post-title { width: 100%; }
body.tesim-blog-single .main-page-wrapper > .container,
body.tesim-blog-single .wd-content-layout { padding-top: 14px !important; margin-top: 0 !important; }
body.tesim-blog-single .post-single-page { margin-top: 0 !important; }
.tesim-blog-crumbs.tesim-content { padding-bottom: 6px !important; }

/* ---------- 25. App help: Our App hub + app guides (inc/travel-app-help.php) ---------- */
body.tesim-apphelp .main-page-wrapper { padding-top: 0; }
body.tesim-apphelp .wd-content-layout { padding-block: 0; }
.tesim-apphelp-page .tesim-wrap { padding-block: 34px 70px; }
.tesim-apphelp-page .tesim-breadcrumbs { margin-bottom: 22px; }

/* Hub hero */
.tesim-app-hero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: center; padding: 48px 56px; border-radius: 18px; background: var(--tesim-ink); color: #FFF; overflow: hidden; }
.tesim-app-hero .tesim-eyebrow { color: #F2A3A3; }
body.tesim-travel .tesim-app-hero h1 { margin: 0 0 16px; color: #FFF; font-size: clamp(2.3rem, 4.2vw, 3.6rem); line-height: 1.04; letter-spacing: -.045em; }
.tesim-app-lead { max-width: 540px; margin: 0 0 22px; font-size: 1.02rem; line-height: 1.6; color: #D2D5D6; }
.tesim-app-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; margin: 0 0 28px; padding: 0; list-style: none; }
.tesim-app-points li { position: relative; padding-left: 26px; font-size: .9rem; color: #F2F3F4; }
.tesim-app-points li::before { content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 50%; background: var(--tesim-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.5l4.5-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.tesim-app-stores { display: flex; flex-wrap: wrap; gap: 10px; }
.tesim-app-stores a { display: block; border-radius: 8px; transition: transform .15s; }
.tesim-app-stores a:hover { transform: translateY(-1px); }
.tesim-app-stores img { display: block; width: auto; height: 44px; }
.tesim-app-hero-phone { margin: 0 0 -120px; align-self: start; }
.tesim-app-hero-phone img { display: block; width: 100%; height: auto; border: 8px solid #2B3035; border-radius: 34px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }

/* Guide cards */
.tesim-app-section { margin-top: 64px; }
.tesim-app-guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tesim-app-guides.tesim-compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.tesim-travel a.tesim-app-guide { display: flex; flex-direction: column; gap: 8px; padding: 24px; text-decoration: none; color: var(--tesim-ink); background: var(--tesim-white); border: 1px solid var(--tesim-line); border-radius: 14px; transition: border-color .15s, transform .15s, box-shadow .15s; }
body.tesim-travel a.tesim-app-guide:hover { border-color: var(--tesim-brand); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(22, 26, 30, .07); color: var(--tesim-ink); }
.tesim-app-guide-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 6px; border-radius: 12px; background: var(--tesim-brand-soft); }
.tesim-app-guide-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--tesim-brand); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tesim-app-guide strong { font-size: 1.08rem; line-height: 1.3; letter-spacing: -.02em; }
.tesim-app-guide > span:not(.tesim-app-guide-icon) { font-size: .86rem; line-height: 1.5; color: var(--tesim-muted); }
.tesim-app-guide b { margin-top: auto; padding-top: 6px; font-size: .8rem; color: var(--tesim-brand); }
.tesim-compact .tesim-app-guide { padding: 18px 20px; }
.tesim-compact .tesim-app-guide strong { font-size: .95rem; }

/* Guide page */
.tesim-app-guide-head { max-width: 760px; margin-bottom: 34px; }
body.tesim-travel .tesim-app-guide-head h1 { margin: 0 0 12px; font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.045em; }
.tesim-app-guide-meta { margin: 0; font-size: .9rem; color: var(--tesim-muted); }
.tesim-app-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 26px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.tesim-app-step { margin: 0; }
.tesim-app-step figure { margin: 0 0 16px; }
.tesim-app-step img { display: block; width: 100%; max-width: 280px; height: auto; margin-inline: auto; border: 6px solid var(--tesim-ink); border-radius: 26px; background: var(--tesim-ink); box-shadow: 0 16px 34px rgba(22, 26, 30, .14); }
.tesim-app-step-text { display: flex; align-items: flex-start; gap: 12px; max-width: 280px; margin-inline: auto; }
.tesim-app-step-num { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tesim-brand); color: #FFF; font-size: .85rem; font-weight: 700; }
.tesim-app-step-text strong { padding-top: 4px; font-size: 1rem; line-height: 1.35; letter-spacing: -.01em; color: var(--tesim-ink); }
.tesim-app-get { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 54px; padding: 24px 28px; border-radius: 14px; background: var(--tesim-ink); color: #FFF; }
.tesim-app-get div { display: flex; flex-direction: column; gap: 4px; }
.tesim-app-get strong { font-size: 1.2rem; letter-spacing: -.02em; }
.tesim-app-get span { font-size: .9rem; color: #D2D5D6; }
.tesim-apphelp-page .tesim-help-band { margin-top: 56px; }

@media (max-width: 1024px) {
	.tesim-app-hero { grid-template-columns: minmax(0, 1fr) 220px; gap: 34px; padding: 40px; }
	.tesim-app-guides, .tesim-app-guides.tesim-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tesim-app-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
	.tesim-apphelp-page .tesim-wrap { padding-inline: 16px; padding-block: 24px 50px; }
	.tesim-app-hero { grid-template-columns: 1fr; padding: 30px 22px 0; }
	.tesim-app-points { grid-template-columns: 1fr; }
	.tesim-app-hero-phone { width: 62%; margin: 6px auto -70px; }
	.tesim-app-hero-phone + * { margin-top: 0; }
	.tesim-app-hero { margin-bottom: 0; }
	.tesim-apphelp-hub .tesim-app-section { margin-top: 48px; }
	.tesim-app-guides, .tesim-app-guides.tesim-compact { grid-template-columns: 1fr; }
	/* Steps: swipe sideways, one phone at a time with the next peeking in. */
	.tesim-app-steps { display: flex; gap: 16px; margin-inline: -16px; padding: 4px 16px 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; -webkit-overflow-scrolling: touch; }
	.tesim-app-step { flex: 0 0 72%; scroll-snap-align: start; }
	.tesim-app-get { padding: 22px; }
}
/* App help: crop the hero phone to its top half so the hero stays compact; keep store badges side by side. */
.tesim-app-hero { padding-bottom: 0; align-items: end; }
.tesim-app-hero-copy { padding-bottom: 48px; }
.tesim-app-hero-phone { align-self: end; height: 470px; margin: 0; overflow: hidden; }
.tesim-app-hero-phone img { border-bottom: 0; border-radius: 34px 34px 0 0; box-shadow: 0 -10px 50px rgba(0, 0, 0, .35); }
.tesim-app-get .tesim-app-stores { flex-wrap: nowrap; }
@media (max-width: 700px) {
	.tesim-app-hero-copy { padding-bottom: 8px; }
	.tesim-app-hero-phone { width: 66%; height: 300px; margin: 18px auto 0; }
	.tesim-app-get .tesim-app-stores { flex-wrap: wrap; }
}
.tesim-app-get .tesim-app-stores { flex-direction: row; gap: 10px; }
.tesim-app-step img { aspect-ratio: 1183 / 2560; object-fit: contain; }
@media (max-width: 700px) {
	.tesim-app-stores img { height: 40px; }
	.tesim-app-steps { scrollbar-width: none; }
	.tesim-app-steps::-webkit-scrollbar { display: none; }
}

/* ---------- 26. Country eSIM categories: no product image on cards (inc/travel-sku-order.php) ---------- */
body.tesim-country-cat .products .wd-product .wd-product-thumb,
body.tesim-country-cat .products .wd-product .wd-product-card-bg { display: none !important; }
body.tesim-country-cat .products .wd-product .product-element-bottom { padding-top: 22px; }

/* Destination pages (country, regional, global): boxed plan groups + compact cards (js/travel-plan-groups.js). */
body.tesim-plan-groups .products.tesim-grouped { display: flex !important; flex-direction: column; gap: 22px; margin: 0 !important; }
.tesim-plan-group { padding: 18px 18px 20px; border: 1px solid var(--tesim-line); border-radius: 16px; background: var(--tesim-band); }
.tesim-plan-group-label { display: flex; align-items: center; gap: 8px; margin: 0 2px 14px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tesim-muted); }
.tesim-plan-group-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tesim-brand); }
.tesim-plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
body.tesim-plan-groups .tesim-plan-grid > .wd-product { width: auto !important; max-width: none !important; flex: none !important; margin: 0 !important; padding: 0 !important; }
body.tesim-plan-groups .tesim-plan-grid .wd-product-wrapper { display: flex; flex-direction: column; height: 100%; padding: 18px !important; border-radius: 12px !important; }
body.tesim-plan-groups .tesim-plan-grid .wd-product-wrapper:hover { border-color: var(--tesim-brand) !important; }
body.tesim-plan-groups .tesim-plan-grid .product-element-bottom { flex: 1; padding: 0 !important; text-align: left; }
body.tesim-plan-groups .tesim-plan-grid .wd-entities-title { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tesim-plan-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--tesim-line); }
.tesim-plan-head strong { display: block; font-size: 1.55rem; line-height: 1.05; letter-spacing: -.035em; color: var(--tesim-ink); }
.tesim-plan-head small { display: block; margin-top: 4px; font-size: .85rem; color: var(--tesim-muted); }
body.tesim-plan-groups .tesim-plan-head .price { margin: 0 !important; font-size: 1.15rem !important; line-height: 1.2; white-space: nowrap; text-align: right; color: var(--tesim-brand) !important; }
body.tesim-plan-groups .tesim-plan-grid .wrap-price { margin: 0; }
/* Data and Days are in the headline already. */
body.tesim-plan-groups .tesim-plan-grid .esim-loop-attributes tr:nth-child(-n+2) { display: none; }
body.tesim-plan-groups .tesim-plan-grid .esim-loop-attributes { margin: 0 0 14px; }
.tesim-plan-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
body.tesim-plan-groups .tesim-plan-actions div.esim-view-plan-btn { display: flex !important; align-items: center; justify-content: center; margin: 0 !important; padding: 9px 8px !important; min-height: 40px; box-sizing: border-box; font-size: .75rem !important; text-transform: none !important; letter-spacing: 0 !important; text-align: center; cursor: pointer; }
body.tesim-plan-groups .tesim-plan-actions .wd-add-btn { margin: 0 !important; position: static !important; opacity: 1 !important; transform: none !important; }
body.tesim-plan-groups .tesim-plan-actions .wd-add-btn .button { display: flex !important; align-items: center; justify-content: center; width: 100%; min-height: 40px; margin: 0 !important; padding: 9px 8px !important; border-radius: 6px !important; font-size: .75rem !important; }

@media (max-width: 1024px) {
	.tesim-plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.tesim-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.tesim-plan-group { padding: 14px 12px 14px; border-radius: 14px; }
	body.tesim-plan-groups .tesim-plan-grid .wd-product-wrapper { padding: 14px !important; }
	.tesim-plan-head { flex-direction: column; gap: 6px; }
	.tesim-plan-head strong { font-size: 1.35rem; }
	body.tesim-plan-groups .tesim-plan-head .price { text-align: left; }
	.tesim-plan-actions { grid-template-columns: 1fr; }
}
.tesim-plan-head > div { flex: 1 1 auto; min-width: 0; }
.tesim-plan-head strong, .tesim-plan-head small { white-space: nowrap; }
body.tesim-plan-groups .tesim-plan-head .price { flex: 0 0 auto; width: auto !important; display: block !important; }
.tesim-plan-group-label:has(+ .tesim-plan-group-nets) { margin-bottom: 4px; }
.tesim-plan-group-nets { margin: 0 2px 14px 18px; font-size: .8rem; color: var(--tesim-muted); }
body.tesim-plan-groups .tesim-plan-actions div.esim-view-plan-btn,
body.tesim-plan-groups .tesim-plan-actions .wd-add-btn .button { height: 42px; min-height: 42px !important; padding-block: 0 !important; line-height: 1.2 !important; }
body.tesim-plan-groups .tesim-plan-grid .esim-loop-attributes { margin-bottom: 16px; }
/* Regional/global boxes: country list, cut to two lines with Show all. Card images add nothing in this layout. */
body.tesim-plan-groups .tesim-plan-grid .wd-product-thumb,
body.tesim-plan-groups .tesim-plan-grid .wd-product-card-bg { display: none !important; }
.tesim-plan-group-nets.tesim-clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 980px; margin-bottom: 4px; line-height: 1.5; }
.tesim-plan-group-nets.tesim-clamp.tesim-open { display: block; -webkit-line-clamp: unset; }
body.tesim-travel button.tesim-plan-group-more { display: inline-block; min-height: 0; margin: 0 0 14px 18px; padding: 0; border: 0; background: none; color: var(--tesim-brand); font-size: .8rem; font-weight: 700; text-transform: none; letter-spacing: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; box-shadow: none; }
body.tesim-travel button.tesim-plan-group-more[hidden] { display: none !important; }
.tesim-plan-group-nets.tesim-clamp + .tesim-plan-group-more[hidden] { display: none; }
.tesim-plan-group-multi .tesim-plan-group-nets.tesim-clamp:has(+ .tesim-plan-group-more[hidden]) { margin-bottom: 14px; }
/* Larger group labels. */
.tesim-plan-group-label { margin-bottom: 14px; font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; text-transform: none; color: var(--tesim-ink); }
.tesim-plan-group-label::before { width: 9px; height: 9px; }
.tesim-plan-group-label:has(+ .tesim-plan-group-nets) { margin-bottom: 6px; }
.tesim-plan-group-nets { margin-left: 17px; font-size: .92rem; line-height: 1.55; color: var(--tesim-muted); }
body.tesim-travel button.tesim-plan-group-more { margin-left: 17px; font-size: .88rem; }
@media (max-width: 760px) {
	.tesim-plan-group-label { font-size: 1rem; }
	.tesim-plan-group-nets { font-size: .88rem; }
}

/* Visually hidden, read by screen readers and crawlers. */
.tesim-sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- 27. Help Center: Support page + help articles (inc/travel-help.php) ---------- */
body.tesim-help .main-page-wrapper { padding-top: 0; }
body.tesim-help .wd-content-layout { padding-block: 0; }
.tesim-help-page .tesim-wrap { padding-block: 34px 70px; }
.tesim-help-page .tesim-breadcrumbs { margin-bottom: 22px; }

/* Hub hero + search */
.tesim-help-hero { position: relative; padding: 46px 48px 40px; border-radius: 18px; background: var(--tesim-ink); color: #FFF; }
.tesim-help-hero .tesim-eyebrow { color: #F2A3A3; }
body.tesim-travel .tesim-help-hero h1 { margin: 0 0 22px; color: #FFF; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: -.045em; }
.tesim-help-search { position: relative; max-width: 720px; }
.tesim-help-search svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--tesim-muted); stroke-width: 2; }
body.tesim-travel .tesim-help-search input { box-sizing: border-box; width: 100%; height: 58px; padding: 0 18px 0 50px; border: 0; border-radius: 14px; background: #FFF; color: var(--tesim-ink); font-size: 1rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.tesim-help-results { position: absolute; z-index: 20; left: 48px; right: 48px; max-width: 720px; margin-top: 8px; padding: 10px; border-radius: 14px; background: #FFF; color: var(--tesim-ink); box-shadow: 0 18px 40px rgba(0, 0, 0, .22); }
.tesim-help-results-status { margin: 4px 8px 8px; font-size: .8rem; color: var(--tesim-muted); }
.tesim-help-results ul { margin: 0; padding: 0; list-style: none; }
.tesim-help-results li { margin: 0; }
body.tesim-travel .tesim-help-results a { display: flex; flex-direction: column; gap: 2px; padding: 10px 10px; border-radius: 10px; color: var(--tesim-ink); text-decoration: none; }
body.tesim-travel .tesim-help-results a:hover, body.tesim-travel .tesim-help-results a:focus { background: var(--tesim-band); }
.tesim-help-results strong { font-size: .95rem; }
.tesim-help-results small { font-size: .76rem; color: var(--tesim-muted); }
.tesim-help-quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
body.tesim-travel .tesim-help-quick-item {
	display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 100px;
	background: rgba(255, 255, 255, .06); color: #FFF; font-size: .86rem; font-weight: 700; text-decoration: none; text-transform: none; letter-spacing: 0; box-shadow: none;
}
body.tesim-travel .tesim-help-quick-item:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .4); color: #FFF; }
.tesim-help-quick-item svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.tesim-travel .tesim-help-quick-compat { background: var(--tesim-brand); border-color: var(--tesim-brand); }
body.tesim-travel .tesim-help-quick-compat:hover { background: var(--tesim-brand-hover); border-color: var(--tesim-brand-hover); }
.tesim-help-quick-compat svg { stroke: #FFF; }

/* Topic cards */
.tesim-help-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.tesim-help-topic { padding: 22px 22px 18px; border: 1px solid var(--tesim-line); border-radius: 16px; background: var(--tesim-white); scroll-margin-top: 90px; }
.tesim-help-topic-head { display: flex; gap: 14px; margin-bottom: 12px; }
.tesim-help-topic-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--tesim-brand-soft); }
.tesim-help-topic-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--tesim-brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.tesim-travel .tesim-help-topic h3 { margin: 2px 0 4px; font-size: 1.08rem; letter-spacing: -.02em; }
.tesim-help-topic-head p { margin: 0; font-size: .82rem; line-height: 1.45; color: var(--tesim-muted); }
.tesim-help-topic ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--tesim-line); }
.tesim-help-topic li { margin: 0; border-bottom: 1px solid var(--tesim-line); }
.tesim-help-topic li:last-child { border-bottom: 0; }
body.tesim-travel .tesim-help-topic li a { display: block; padding: 10px 22px 10px 0; position: relative; color: var(--tesim-ink); font-size: .9rem; line-height: 1.4; text-decoration: none; }
body.tesim-travel .tesim-help-topic li a::after { content: "\203A"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); color: var(--tesim-muted); font-size: 1.2rem; }
body.tesim-travel .tesim-help-topic li a:hover { color: var(--tesim-brand); }

/* Popular questions */
.tesim-help-popular { margin-top: 56px; }
.tesim-help-faq { display: grid; gap: 10px; }
.tesim-help-faq details { border: 1px solid var(--tesim-line); border-radius: 14px; background: var(--tesim-white); }
.tesim-help-faq summary { position: relative; padding: 18px 54px 18px 22px; font-size: 1rem; font-weight: 700; cursor: pointer; list-style: none; }
.tesim-help-faq summary::-webkit-details-marker { display: none; }
.tesim-help-faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--tesim-brand); }
.tesim-help-faq details[open] summary::after { content: "\2212"; }
.tesim-help-faq details > div { padding: 0 22px 18px; }
.tesim-help-faq details p { margin: 0 0 8px; color: var(--tesim-muted); font-size: .92rem; line-height: 1.6; }
body.tesim-travel .tesim-help-faq details a { color: var(--tesim-brand); font-size: .86rem; font-weight: 700; text-decoration: none; }
.tesim-help-page .tesim-help-band { margin-top: 56px; }

/* Article */
.tesim-help-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.tesim-help-main { max-width: 760px; }
body.tesim-travel .tesim-help-main h1 { margin: 0 0 14px; font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.1; letter-spacing: -.04em; }
.tesim-help-lead { margin: 0 0 26px; padding-bottom: 22px; border-bottom: 1px solid var(--tesim-line); font-size: 1.08rem; line-height: 1.6; color: var(--tesim-muted); }
.tesim-help-body { font-size: 1.02rem; line-height: 1.7; color: #2B3035; }
.tesim-help-body p { margin: 0 0 1.1em; }
body.tesim-travel .tesim-help-body h2 { margin: 1.8em 0 .6em; font-size: 1.35rem; letter-spacing: -.025em; line-height: 1.25; }
.tesim-help-body ul { margin: 0 0 1.2em; padding-left: 1.2em; }
.tesim-help-body ul li { margin-bottom: .45em; }
.tesim-help-body ol { margin: 0 0 1.4em; padding: 0; list-style: none; counter-reset: tesim-step; }
.tesim-help-body ol li { position: relative; margin: 0 0 12px; padding: 14px 16px 14px 56px; border: 1px solid var(--tesim-line); border-radius: 12px; background: var(--tesim-white); counter-increment: tesim-step; }
.tesim-help-body ol li::before { content: counter(tesim-step); position: absolute; left: 14px; top: 13px; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tesim-brand); color: #FFF; font-size: .82rem; font-weight: 700; }
.tesim-help-body strong { color: var(--tesim-ink); }
body.tesim-travel .tesim-help-body a:not(.tcompat-trigger) { color: var(--tesim-brand); text-decoration: underline; text-underline-offset: 3px; }
.tesim-help-body code { padding: 2px 6px; border-radius: 6px; background: var(--tesim-band); font-size: .92em; }
.tesim-help-body .tcompat-trigger { margin: 4px 0; }
.tesim-help-updated { margin: 30px 0 0; font-size: .8rem; color: var(--tesim-muted); }
.tesim-help-aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.tesim-help-side { padding: 20px; border: 1px solid var(--tesim-line); border-radius: 16px; background: var(--tesim-white); }
.tesim-help-side-title { margin: 0 0 10px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tesim-muted); }
.tesim-help-side ul { margin: 0 0 12px; padding: 0; list-style: none; }
.tesim-help-side li { margin: 0; }
body.tesim-travel .tesim-help-side li a { display: block; padding: 7px 0; color: var(--tesim-ink); font-size: .88rem; line-height: 1.4; text-decoration: none; }
body.tesim-travel .tesim-help-side li a:hover { color: var(--tesim-brand); }
body.tesim-travel .tesim-help-side li a[aria-current] { color: var(--tesim-brand); font-weight: 700; }
body.tesim-travel .tesim-help-all { color: var(--tesim-brand); font-size: .84rem; font-weight: 700; text-decoration: none; }
.tesim-help-side-dark { background: var(--tesim-ink); border-color: var(--tesim-ink); color: #FFF; }
.tesim-help-side-dark .tesim-help-side-title { color: #F2A3A3; }
.tesim-help-side-dark p:not(.tesim-help-side-title) { margin: 0 0 14px; font-size: .9rem; color: #D2D5D6; }

/* Product page + destination heading compatibility button */
.tesim-product-compat { margin: -6px 0 18px; }
body.tesim-travel .tesim-compat-inline.tcompat-trigger { min-height: 40px; font-size: .84rem; }

@media (max-width: 1024px) {
	.tesim-help-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tesim-help-layout { grid-template-columns: 1fr; gap: 28px; }
	.tesim-help-aside { position: static; }
}
@media (max-width: 700px) {
	.tesim-help-page .tesim-wrap { padding-inline: 16px; padding-block: 24px 50px; }
	.tesim-help-hero { padding: 30px 20px 26px; border-radius: 16px; }
	.tesim-help-results { left: 20px; right: 20px; }
	.tesim-help-topics { grid-template-columns: 1fr; }
	.tesim-help-quick { gap: 8px; }
	body.tesim-travel .tesim-help-quick-item { min-height: 40px; padding: 0 13px; font-size: .8rem; }
	.tesim-help-body ol li { padding-left: 50px; }
}
/* Checker button: beat WoodMart's generic <button> styles. */
body.tesim-travel button.tcompat-trigger:not(.tesim-btn):not(.tesim-help-quick-item) { min-height: 42px; padding: 0 18px; border: 1px solid var(--tesim-line); border-radius: 100px; background: var(--tesim-white); color: var(--tesim-ink); font-size: .86rem; font-weight: 700; text-transform: none; letter-spacing: 0; box-shadow: none; }
body.tesim-travel button.tcompat-trigger:not(.tesim-btn):not(.tesim-help-quick-item):hover { border-color: var(--tesim-brand); background: var(--tesim-brand-soft); color: var(--tesim-ink); }
body.tesim-travel .tesim-help-side-dark button.tcompat-trigger { background: #FFF; border-color: #FFF; }

/* Help article screenshots ([travelesim_shot]). */
.tesim-help-body .tesim-help-shot { display: block; margin: 12px 0 2px; }
.tesim-help-body .tesim-help-shot-img { display: block; width: auto; max-width: min(100%, 340px); height: auto; border: 1px solid var(--tesim-line); border-radius: 12px; background: #FFF; box-shadow: 0 8px 20px rgba(22, 26, 30, .08); }
.tesim-help-body p .tesim-help-shot { margin-top: 14px; }
@media (max-width: 700px) {
	.tesim-help-body .tesim-help-shot-img { max-width: 100%; }
}

/* ---------- 28. Trustpilot star rating badge (inc/travel-trustpilot.php) ---------- */
body.tesim-travel a.tesim-tp { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: .85rem; line-height: 1; }
.tesim-tp-stars { flex: none; display: block; }
.tesim-tp-logo { display: inline-flex; align-items: center; gap: 2px; font-weight: 700; letter-spacing: -.01em; }
body.tesim-travel a.tesim-tp-dark { margin-top: 26px; color: #FFF; }
body.tesim-travel a.tesim-tp-light { align-self: flex-start; margin-top: 12px; color: var(--tesim-ink); }
body.tesim-travel a.tesim-tp:hover .tesim-tp-logo { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 29. Footer bottom bar (inc/travel-footer.php) ---------- */
body.tesim-travel .wd-copyrights { padding-block: 22px; }
.tesim-footbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px 28px; text-align: left; }
.tesim-footbar-copy { margin: 0; font-size: .8rem; color: rgba(255, 255, 255, .72); }
.tesim-footbar-copy strong { color: #FFF; font-weight: 700; }
.tesim-pay { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tesim-pay li { display: flex; align-items: center; justify-content: center; width: 74px; height: 40px; margin: 0; padding: 0; background: #FFF; border-radius: 6px; list-style: none; }
.tesim-pay img { display: block; width: auto; max-width: none; }
.tesim-footbar-social { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.tesim-footbar-social > span { font-size: .8rem; font-weight: 700; color: #FFF; }
.tesim-footbar-social .wd-social-icons { margin: 0; text-align: right; }
body.tesim-travel .tesim-footbar-social .wd-social-icon { color: rgba(255, 255, 255, .8); }
body.tesim-travel .tesim-footbar-social .wd-social-icon:hover { color: #FFF; }
@media (max-width: 1024px) {
	.tesim-footbar { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	.tesim-footbar-social { justify-content: center; }
	.tesim-footbar .tesim-pay { order: -1; }
}
@media (max-width: 600px) {
	.tesim-footbar .tesim-pay { max-width: 238px; width: 100%; }
	.tesim-footbar .tesim-pay li { flex: 0 0 74px; }
}

/* ---------- 30. Search: suggestions + results page (inc/travel-search.php) ---------- */
.tesim-search-field { position: relative; min-width: 0; }
.tesim-suggest { position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; right: 0; max-height: 380px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: #FFF; border: 1px solid var(--tesim-line); border-radius: 10px; box-shadow: 0 14px 34px rgba(22, 26, 30, .16); text-align: left; }
.tesim-suggest[hidden] { display: none; }
.tesim-suggest-item { margin: 0; }
body.tesim-travel .tesim-suggest-item a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 7px; color: var(--tesim-ink); text-decoration: none; }
body.tesim-travel .tesim-suggest-item[aria-selected="true"] a, body.tesim-travel .tesim-suggest-item a:hover { background: var(--tesim-paper); }
.tesim-suggest .tesim-dest-flag { width: 28px; height: 21px; border-radius: 4px; }
.tesim-suggest-name { flex: 1; min-width: 0; font-size: .88rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tesim-suggest-type { flex: none; font-size: .72rem; color: var(--tesim-muted); }
body.tesim-travel .tesim-suggest-all a { margin-top: 4px; border-top: 1px solid var(--tesim-line); border-radius: 0 0 7px 7px; color: var(--tesim-brand); font-size: .82rem; font-weight: 700; }
.tesim-search-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 4px 0 34px; }
.tesim-search-form .tesim-search-field { flex: 1 1 320px; max-width: 560px; }
.tesim-search-section { margin: 0 0 36px; }
.tesim-search-section h2 { margin: 0 0 14px; font-size: 1.25rem; letter-spacing: -.02em; }
.tesim-dest-sub { display: block; margin-top: 2px; font-size: .72rem; font-weight: 500; color: var(--tesim-muted); }
.tesim-search-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tesim-search-links li { margin: 0; }
body.tesim-travel .tesim-search-links a { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 14px 18px; background: var(--tesim-white); border: 1px solid var(--tesim-line); border-radius: 10px; color: var(--tesim-ink); text-decoration: none; }
body.tesim-travel .tesim-search-links a:hover { border-color: #C9CBC1; box-shadow: 0 6px 18px rgba(22, 26, 30, .08); }
.tesim-search-links span { font-weight: 700; }
.tesim-search-links small { flex-basis: 100%; color: var(--tesim-muted); font-size: .8rem; }
.tesim-search-empty p { color: var(--tesim-muted); }

/* ---------- 31. Compact plan boxes: shared card rows once per box (js/travel-plan-groups.js) ---------- */
.tesim-plan-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 14px 17px; }
.tesim-plan-facts:empty { display: none; }
.tesim-plan-fact { display: inline-flex; align-items: center; gap: 8px; padding: 5px 6px 5px 12px; background: #FFF; border: 1px solid var(--tesim-line); border-radius: 100px; font-size: .8rem; }
.tesim-plan-fact-label { color: var(--tesim-muted); }
.tesim-plan-fact-value { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 100px; background: var(--tesim-paper); font-weight: 700; color: var(--tesim-ink); }
.tesim-plan-fact-value img { display: block; }
body.tesim-plan-groups .esim-loop-attributes tr.tesim-shared,
body.tesim-plan-groups .esim-loop-attributes.tesim-all-shared { display: none !important; }
.tesim-plan-group-compact .tesim-plan-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 1600px) { .tesim-plan-group-compact .tesim-plan-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
body.tesim-plan-groups .tesim-plan-group-compact .wd-product-wrapper { padding: 16px !important; }
.tesim-plan-group-compact .tesim-plan-head { margin-bottom: 14px; }
@media (max-width: 1024px) { .tesim-plan-group-compact .tesim-plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
	.tesim-plan-group-compact .tesim-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tesim-plan-facts { margin-left: 0; }
}
/* Connection chip: opens the networks popup. */
.tesim-plan-fact-link { cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.tesim-plan-fact-link:hover, .tesim-plan-fact-link:focus-visible { border-color: var(--tesim-brand); box-shadow: 0 0 0 3px var(--tesim-brand-soft); outline: none; }
.tesim-plan-fact-more { display: inline-flex; align-items: center; gap: 4px; padding-right: 6px; font-weight: 700; color: var(--tesim-brand); text-decoration: underline; text-underline-offset: 3px; }
.tesim-plan-fact-more::after { content: "\203A"; font-size: 1.1em; line-height: 1; text-decoration: none; }
/* Even rows: --tesim-cols = most columns, --tesim-cols-use set by js/travel-plan-groups.js. */
.tesim-plan-grid { --tesim-cols: 4; }
.tesim-plan-group-compact .tesim-plan-grid { --tesim-cols: 4; }
@media (min-width: 1600px) { .tesim-plan-group-compact .tesim-plan-grid { --tesim-cols: 5; } }
@media (max-width: 1024px) { .tesim-plan-grid, .tesim-plan-group-compact .tesim-plan-grid { --tesim-cols: 3; } }
@media (max-width: 760px) { .tesim-plan-grid, .tesim-plan-group-compact .tesim-plan-grid { --tesim-cols: 2; } }
body.tesim-plan-groups .tesim-plan-grid { grid-template-columns: repeat(var(--tesim-cols-use, var(--tesim-cols)), minmax(0, 1fr)); }
/* Compact boxes as a list: one row per plan (size + days, price, buttons on the right), two rows side by side. */
body.tesim-plan-groups .tesim-plan-group-compact .tesim-plan-grid { --tesim-cols: 2; gap: 10px; }
body.tesim-plan-groups .tesim-plan-group-compact .wd-product-wrapper { flex-direction: row; align-items: center; gap: 18px; padding: 12px 12px 12px 18px !important; }
body.tesim-plan-groups .tesim-plan-group-compact .product-element-bottom { flex: 1 1 auto; min-width: 0; }
body.tesim-plan-groups .tesim-plan-group-compact .wd-product-card-hover { display: none !important; }
.tesim-plan-group-compact .tesim-plan-head { align-items: center; margin: 0 !important; padding: 0; border: 0; }
.tesim-plan-group-compact .tesim-plan-head > div { display: flex; align-items: baseline; gap: 10px; }
.tesim-plan-group-compact .tesim-plan-head strong { font-size: 1.3rem; }
.tesim-plan-group-compact .tesim-plan-head small { margin: 0; }
body.tesim-plan-groups .tesim-plan-group-compact .tesim-plan-head .price { font-size: 1.05rem !important; }
body.tesim-plan-groups .tesim-plan-group-compact .tesim-plan-actions { flex: none; grid-template-columns: auto auto; margin: 0; }
body.tesim-plan-groups .tesim-plan-group-compact .tesim-plan-actions div.esim-view-plan-btn,
body.tesim-plan-groups .tesim-plan-group-compact .tesim-plan-actions .wd-add-btn .button { height: 38px; min-height: 38px !important; padding-inline: 14px !important; white-space: nowrap; }
@media (max-width: 760px) {
	body.tesim-plan-groups .tesim-plan-group-compact .tesim-plan-grid { --tesim-cols: 1; }
	body.tesim-plan-groups .tesim-plan-group-compact .wd-product-wrapper { flex-wrap: wrap; gap: 12px; padding: 14px !important; }
	body.tesim-plan-groups .tesim-plan-group-compact .tesim-plan-actions { flex: 1 1 100%; grid-template-columns: 1fr 1fr; }
	.tesim-plan-group-compact .tesim-plan-head { flex-direction: row; }
}
/* No WoodMart shop toolbar on Travel listing pages: its "Show sidebar" opens an empty sidebar
   and the plans come grouped in their own order (the plan finder does the filtering). */
body.tesim-archive .shop-loop-head { display: none !important; }

/* ---------- 32. Header search (template-parts/travel-header.php, js/travel-search.js) ---------- */
.tesim-header-search { padding: 14px 0 16px; background: var(--tesim-ink); border-top: 1px solid #FFFFFF20; }
.tesim-header-search[hidden] { display: none !important; }
.tesim-header-search .tesim-search-form { margin: 0; justify-content: center; }
.tesim-header-search .tesim-search-form .tesim-search-field { flex: 1 1 360px; max-width: 640px; }
body.tesim-travel .tesim-header-search .tesim-dest-search input { height: 48px; }
.tesim-search-toggle[aria-expanded="true"] { color: var(--tesim-gold); }
@media (max-width: 760px) {
	.tesim-header-search .tesim-search-form .tesim-btn { width: 100%; justify-content: center; }
}
body.tesim-travel .tesim-search-toggle { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .72rem; }
/* Menu dropdowns above the open search bar. */
.tesim-header-main { position: relative; z-index: 5; }
.tesim-header-search { position: relative; z-index: 1; }

/* =========================================================================
 * 33. Mobile bottom bar (inc/travel-tabbar.php): floating pill like the app
 * ====================================================================== */
.tesim-tabbar { display: none; }
@media (max-width: 1100px) {
	body.tesim-has-tabbar { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
	.tesim-tabbar { position: fixed; z-index: 390; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: flex; gap: 6px; width: min(340px, calc(100% - 32px)); padding: 6px; background: var(--tesim-gold, #C6A15B); border-radius: 999px; box-shadow: 0 10px 30px #10182040, 0 2px 6px #10182026; }
	.tesim-tabbar-item { flex: 1 1 0; display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 999px; color: var(--tesim-ink, #161A1E); text-decoration: none; transition: background-color .2s ease, color .2s ease; -webkit-tap-highlight-color: transparent; }
	.tesim-tabbar-item svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
	.tesim-tabbar-item:hover { background: #FFFFFF33; color: var(--tesim-ink, #161A1E); }
	.tesim-tabbar-item.is-active, .tesim-tabbar-item.is-active:hover { background: var(--tesim-ink, #161A1E); color: #FFFFFF; }
	.tesim-tabbar-item:focus-visible { outline: 2px solid var(--tesim-ink, #161A1E); outline-offset: 2px; }
}
@media print { .tesim-tabbar { display: none !important; } }

/* =========================================================================
 * 34. Plain content pages (inc/travel-pages.php) and the 404 page (404.php)
 * ====================================================================== */
body.tesim-plain-page .tesim-page-heading { max-width: calc(780px + 30px); padding-bottom: 10px; }
body.tesim-plain-page .tesim-page-heading h1 { margin-bottom: 0; }
body.tesim-plain-page .wd-content-area > article.entry-content { max-width: 780px; margin-inline: auto; padding-bottom: 40px; font-size: 1rem; line-height: 1.7; }
body.tesim-plain-page .wd-content-area > article.entry-content :is(h2, h3) { margin-top: 1.8em; letter-spacing: -.02em; }
body.tesim-plain-page .wd-content-area > article.entry-content a { color: var(--tesim-brand); text-underline-offset: 3px; }
.tesim-404 { max-width: 720px; margin: 0 auto; padding: 70px 15px 90px; text-align: center; box-sizing: border-box; }
.tesim-404 .tesim-eyebrow { color: var(--tesim-brand); }
body.tesim-travel .tesim-404 h1 { margin: 0 0 14px; font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -.045em; }
.tesim-404-lead { margin: 0 auto 28px; max-width: 560px; color: var(--tesim-muted); font-size: 1.02rem; }
.tesim-404 .tesim-search-form { text-align: left; }
.tesim-404-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 26px 0 0; }
@media (max-width: 600px) { .tesim-404 { padding: 44px 0 60px; } }
