/* Storefront styles for travelwithstyle.gr: design tokens + homepage, header and footer components.
   Class names come from elementor/build/*.json (scripts/tws-build-elementor.py). Layout direction is set
   here through Elementor's container variables (--flex-direction etc.), never in the JSON. */

:root {
	--tws-cream: #F4EFE6;
	--tws-olive: #1F2A1F;
	--tws-cognac: #8A5A35;
	--tws-text: #1E1E1E;
	--tws-muted: #6B6458;
	--tws-border: #D9D1C3;
	--tws-band: #EDE6DA;
	--tws-card: #ECE6DC;
	--tws-serif: "TWS Serif", Georgia, serif;
	--tws-sans: "TWS Sans", "Helvetica Neue", Arial, sans-serif;
	--tws-track: 0.18em;
}

/* Our containers set their own padding; drop Elementor's 10px default so every edge lines up at 1320px.
   Gaps go through --row-gap/--column-gap (Elementor's container gap reads those, not --gap). */
.e-con[class*="tws-"] { --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; }
/* Boxed sections keep a 16px side gutter below 1352px (full width up to the kit's 1320px above). */
.e-con-boxed[class*="tws-"] { --content-width: min(calc(100% - 32px), var(--container-max-width, 1320px)); }

/* Thin line icons (Lucide, ISC licence) drawn through a CSS mask in place of Elementor's Font Awesome glyph. */
:root {
	--tws-ico-leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z'/%3E%3Cpath d='M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12'/%3E%3C/svg%3E");
	--tws-ico-gem: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h12l4 6-10 13L2 9Z'/%3E%3Cpath d='M11 3 8 9l4 13 4-13-3-6'/%3E%3Cpath d='M2 9h20'/%3E%3C/svg%3E");
	--tws-ico-plane: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z'/%3E%3C/svg%3E");
	--tws-ico-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E");
	--tws-ico-user: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Cpath d='M16 7a4 4 0 1 1-8 0 4 4 0 0 1 8 0Z'/%3E%3C/svg%3E");
	--tws-ico-bag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z'/%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E");
}
.tws-value .elementor-icon > *, .tws-header-icons .elementor-icon > * { display: none; }
.tws-value .elementor-icon::before, .tws-header-icons .elementor-icon::before {
	content: ""; display: block; width: 1em; height: 1em; background: currentColor;
	-webkit-mask: var(--tws-ico) center / contain no-repeat; mask: var(--tws-ico) center / contain no-repeat;
}
.tws-value:nth-child(1) { --tws-ico: var(--tws-ico-leaf); }
.tws-value:nth-child(2) { --tws-ico: var(--tws-ico-gem); }
.tws-value:nth-child(3) { --tws-ico: var(--tws-ico-plane); }
.tws-value:nth-child(4) { --tws-ico: var(--tws-ico-heart); }
.tws-header-icons > .tws-icon:nth-child(1) { --tws-ico: var(--tws-ico-user); }
.tws-header-icons > .tws-icon:nth-child(2) { --tws-ico: var(--tws-ico-heart); }
.tws-header-icons > .tws-icon:nth-child(3) { --tws-ico: var(--tws-ico-bag); }

html body { background: var(--tws-cream); color: var(--tws-text); font-family: var(--tws-sans); }

/* ---------- Type ---------- */
.elementor .tws-eyebrow .elementor-heading-title,
.elementor .tws-more .elementor-heading-title,
.elementor .tws-tile__label .elementor-heading-title,
.elementor .tws-topbar__item .elementor-heading-title,
.elementor .tws-footer__title .elementor-heading-title {
	font-family: var(--tws-sans); font-size: 11px; font-weight: 500; line-height: 1.4;
	letter-spacing: var(--tws-track); text-transform: uppercase; color: var(--tws-text);
}
.elementor .tws-eyebrow .elementor-heading-title { color: var(--tws-muted); }
.elementor .tws-h2 .elementor-heading-title {
	font-family: var(--tws-serif); font-weight: 500; font-size: clamp(28px, 2.95vw, 44px); line-height: 1.1; color: var(--tws-text);
}
.elementor .tws-h2--sm .elementor-heading-title { font-size: clamp(22px, 1.8vw, 27px); }
.elementor .tws-more .elementor-heading-title a,
.elementor .tws-tile__label .elementor-heading-title a,
.elementor .tws-tile__more .elementor-heading-title a { color: var(--tws-text); }
.elementor .tws-tile__more .elementor-heading-title { font: 400 12px/1.4 var(--tws-sans); }

/* ---------- Buttons: outlined, tracked caps ---------- */
.elementor .tws-btn .elementor-button {
	background: transparent; color: var(--tws-text); border: 1px solid currentColor; border-radius: 0;
	padding: 14px 22px; font: 500 11px/1 var(--tws-sans); letter-spacing: var(--tws-track); text-transform: uppercase;
}
.elementor .tws-btn .elementor-button:hover { background: var(--tws-olive); border-color: var(--tws-olive); color: var(--tws-cream); }
.elementor .tws-btn--light .elementor-button { color: #fff; }
.elementor .tws-btn--light .elementor-button:hover { background: #fff; border-color: #fff; color: var(--tws-olive); }

/* ---------- Hero ---------- */
.e-con.tws-hero {
	min-height: clamp(420px, 30vw, 620px); position: relative; isolation: isolate; --justify-content: center; padding: 48px 0;
}
/* Soft left-to-right shade behind the copy (mockup), no box edge. */
.e-con.tws-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: linear-gradient(90deg, rgba(20, 16, 10, .5) 0%, rgba(20, 16, 10, .3) 36%, rgba(20, 16, 10, 0) 62%);
}
.e-con.tws-hero__copy { max-width: 640px; --row-gap: 14px; --column-gap: 14px; }
.elementor .tws-hero .tws-eyebrow .elementor-heading-title { color: #fff; }
.elementor .tws-hero__title .elementor-heading-title {
	font-family: var(--tws-serif); font-weight: 500; font-size: clamp(34px, 3.75vw, 56px); line-height: 1.08; color: #fff; max-width: 12em; text-wrap: balance;
}
.tws-hero__text { color: #fff; font-size: 15px; line-height: 1.7; }
.tws-hero__text p { margin: 0; max-width: 24em; }
.elementor-element.tws-hero .tws-btn { margin-top: 8px; }
.tws-hero .tws-eyebrow, .tws-hero__title, .tws-hero__text { text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.elementor-element.tws-badge-wrap { position: absolute; top: 32px; right: 40px; width: auto; }
.tws-badge {
	width: 132px; height: 132px; border: 1px solid rgba(255, 255, 255, .85); border-radius: 50%;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 0 26px;
	color: #fff; font: 400 16px/1.1 var(--tws-serif); letter-spacing: .14em; text-transform: uppercase; text-align: center;
}
.tws-flag { display: inline-flex; width: 24px; height: 7px; }
.tws-flag i { flex: 1; }
.tws-flag i:nth-child(1) { background: #1E8E3E; }
.tws-flag i:nth-child(2) { background: #fff; }
.tws-flag i:nth-child(3) { background: #C8102E; }

/* ---------- Values row ---------- */
.e-con.tws-values { background: var(--tws-band); padding: 30px 0; --flex-direction: row; --row-gap: 0px; --column-gap: 0px; }
.elementor-element.tws-value { flex: 1 1 0; padding: 4px 28px; border-left: 1px solid var(--tws-border); }
.elementor-element.tws-value:first-child { border-left: 0; }
.tws-value .elementor-icon { font-size: 28px; color: var(--tws-text); }
.tws-value .elementor-icon-box-icon { margin-right: 20px !important; }
.tws-value .elementor-icon-box-title { margin: 0 0 8px; font: 500 11px/1.4 var(--tws-sans); letter-spacing: var(--tws-track); text-transform: uppercase; }
.tws-value .elementor-icon-box-description { font-size: 13px; line-height: 1.6; color: var(--tws-muted); max-width: 13em; margin: 0; }

/* ---------- Section heads ---------- */
.e-con.tws-section { padding: 44px 0 20px; --row-gap: 22px; --column-gap: 22px; }
.e-con.tws-head { --flex-direction: row; --justify-content: space-between; --align-items: flex-end; }
.e-con.tws-head__titles { width: auto; --row-gap: 8px; --column-gap: 8px; }
/* "View all" sits on the heading's baseline (the mockup), not on the container's bottom edge. */
.elementor-element.tws-more { width: auto; padding-bottom: .35em; }
.tws-featured-section .elementor-element.tws-more { padding-bottom: .2em; }

/* ---------- Category tiles ---------- */
.e-con.tws-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.e-con.tws-tile { --row-gap: 10px; --column-gap: 10px; padding: 0; }
.elementor-element.tws-tile__label { margin-top: 10px; }
.tws-tile__img img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* ---------- Product cards ([tws_featured]) ---------- */
.tws-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.tws-card { position: relative; }
.tws-card__media { display: block; background: var(--tws-card); }
.tws-card__media img { display: block; width: 100%; aspect-ratio: 145 / 124; object-fit: cover; }
.tws-card__fav { position: absolute; top: 8px; right: 8px; padding: 4px; background: none; border: 0; color: var(--tws-text); line-height: 0; cursor: pointer; }
.tws-card__brand, .tws-card__name, .tws-card__price { padding: 0 6px; }
.tws-card__brand { margin: 16px 0 2px; font: 500 10px/1.4 var(--tws-sans); letter-spacing: var(--tws-track); text-transform: uppercase; color: var(--tws-muted); }
.tws-card__name { margin: 0 0 6px; font: 400 13px/1.4 var(--tws-sans); }
.tws-card__name a { color: var(--tws-text); }
.tws-card__price { margin: 0; font-size: 12px; color: var(--tws-muted); }

/* ---------- Three-panel strip ---------- */
/* Three equal thirds; the photo panels keep the crops' ratio (~351:211) so the whole photo shows. */
.e-con.tws-strip { --flex-direction: row; --row-gap: 0px; --column-gap: 0px; padding: 0; margin-top: 36px; }
.e-con.tws-strip > .e-con { flex: 0 0 33.3333%; width: 33.3333%; min-height: max(280px, 20.6vw); }
.e-con.tws-strip__text { padding: 24px 48px; --justify-content: center; --row-gap: 14px; --column-gap: 14px; background: var(--tws-cream); }
.elementor .tws-strip .tws-h2 .elementor-heading-title { font-size: clamp(26px, 2.25vw, 34px); max-width: 11em; text-wrap: balance; }
.tws-strip__para p { margin: 0; }
.tws-strip__para { font-size: 14px; line-height: 1.7; max-width: 28em; }

/* ---------- Banner ---------- */
.e-con.tws-banner { min-height: max(120px, 8.2vw); padding: 16px 0; position: relative; isolation: isolate; --flex-direction: row; --justify-content: space-between; --align-items: center; }
.e-con.tws-banner::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: linear-gradient(90deg, rgba(20, 16, 10, .45) 0%, rgba(20, 16, 10, .2) 30%, rgba(20, 16, 10, 0) 50%);
}
.e-con.tws-banner__copy { width: auto; --row-gap: 4px; --column-gap: 4px; }
.elementor .tws-banner .tws-h2 .elementor-heading-title { font-size: clamp(26px, 2.6vw, 38px); }
.elementor .tws-banner .elementor-heading-title { color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.elementor .tws-banner__line .elementor-heading-title { font: 400 14px/1.5 var(--tws-sans); }

/* ---------- Header (Elementor Pro) ---------- */
.elementor-location-header { background: var(--tws-cream); }
.e-con.tws-topbar { background: var(--tws-olive); padding: 7px 0; --flex-direction: row; --justify-content: center; --row-gap: 28px; --column-gap: 28px; }
.elementor .tws-topbar__item .elementor-heading-title { color: var(--tws-cream); font-size: 10px; }
.e-con.tws-header-main { --flex-direction: row; --justify-content: space-between; --align-items: center; padding: 18px 0 4px; }
.elementor-element.tws-search, .e-con.tws-header-icons { flex: 1 1 0; }
.elementor-element.tws-search { max-width: 260px; }
/* Search: icon + placeholder on the cream, no filled box (mockup). */
.tws-search .elementor-search-form__container { background: transparent; min-height: 32px; border: 0; }
.tws-search .elementor-search-form__input { min-height: 32px; height: 32px; padding: 0 10px; }
.tws-search input[type="search"] { font: 400 12px var(--tws-sans); background: transparent; color: var(--tws-text); }
.tws-search .elementor-search-form__icon { color: var(--tws-text); }
.e-con.tws-logo-wrap { width: auto; --align-items: center; --row-gap: 8px; --column-gap: 8px; }
.elementor .tws-logo .elementor-heading-title { font: 500 30px/1 var(--tws-serif); letter-spacing: .16em; text-transform: uppercase; }
.elementor .tws-logo .elementor-heading-title a { color: var(--tws-text); }
.elementor .tws-tagline .elementor-heading-title { font: 500 9px/1.4 var(--tws-sans); letter-spacing: .28em; text-transform: uppercase; color: var(--tws-muted); }
.e-con.tws-header-icons { --flex-direction: row; --justify-content: flex-end; --row-gap: 26px; --column-gap: 26px; }
.tws-icon .elementor-icon { font-size: 20px; color: var(--tws-text); }
.e-con.tws-header-nav { padding: 2px 0 0; border-bottom: 1px solid var(--tws-border); }
.tws-nav .elementor-nav-menu--main .elementor-item {
	font: 500 11px/1 var(--tws-sans); letter-spacing: var(--tws-track); text-transform: uppercase; color: var(--tws-text); padding: 12px 34px;
}

/* ---------- Footer (Elementor Pro) ---------- */
.e-con.tws-footer { background: var(--tws-olive); color: var(--tws-cream); padding: 32px 0 16px; }
/* Column widths measured on the mockup: brand wide, the newsletter column flush right. */
.e-con.tws-footer__cols { display: grid; grid-template-columns: 1.9fr 1fr 1fr 1.45fr 1.1fr; gap: 24px; }
.e-con.tws-footer__cols > .e-con { width: auto; --row-gap: 10px; --column-gap: 10px; }
.e-con.tws-footer__brand { --row-gap: 6px; }
.elementor .tws-footer .tws-logo .elementor-heading-title { font-size: 21px; white-space: nowrap; }
.elementor-element.tws-social { margin-top: 14px; }
.elementor .tws-footer .elementor-heading-title,
.elementor .tws-footer .elementor-heading-title a { color: var(--tws-cream); }
.elementor .tws-footer__note .elementor-heading-title { font: 400 12px/1.6 var(--tws-sans); color: rgba(244, 239, 230, .82); }
.tws-footer__links .elementor-icon-list-items .elementor-icon-list-item { margin: 0; padding: 0; }
.tws-footer__links .elementor-icon-list-text { font-size: 11px; line-height: 1.5; color: rgba(244, 239, 230, .82); }
.tws-social { --icon-size: 16px; --icon-padding: 0; }
.tws-social .elementor-social-icons-wrapper { display: flex; justify-content: flex-start; gap: 22px; }
.tws-social .elementor-social-icon { background: transparent; }
.tws-social .elementor-social-icon i { color: var(--tws-cream); }
.tws-newsletter { display: flex; border: 1px solid rgba(244, 239, 230, .5); }
.tws-newsletter input { flex: 1; min-width: 0; padding: 10px 12px; border: 0; border-radius: 0; background: #fff; font: 400 12px var(--tws-sans); }
.tws-newsletter button { padding: 0 14px; border: 0; background: transparent; color: var(--tws-cream); cursor: pointer; }
.e-con.tws-footer__bottom { --flex-direction: row; --justify-content: space-between; --align-items: center; margin-top: 24px; padding-top: 14px; border-top: 1px solid rgba(244, 239, 230, .2); }
.tws-copyright p, .tws-madein { margin: 0; font-size: 11px; color: rgba(244, 239, 230, .82); }
.tws-madein { display: flex; align-items: center; gap: 8px; letter-spacing: var(--tws-track); text-transform: uppercase; }

/* ---------- Responsive: 6 -> 3 -> 2 columns, strip stacks on mobile ---------- */
@media (max-width: 1024px) {
	.e-con.tws-tiles, .tws-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.e-con.tws-values { --flex-wrap: wrap; --row-gap: 20px; }
	.elementor-element.tws-value { flex: 1 1 45%; }
	.elementor-element.tws-value:nth-child(3) { border-left: 0; }
	.e-con.tws-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.e-con.tws-tiles, .tws-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	/* Copy sits low so the round badge (top right) never overlaps the title. */
	.e-con.tws-hero { min-height: 480px; padding: 124px 0 36px; --justify-content: flex-end; }
	.e-con.tws-hero::before { background: linear-gradient(90deg, rgba(20, 16, 10, .55) 0%, rgba(20, 16, 10, .3) 60%, rgba(20, 16, 10, .1) 100%); }
	.elementor-element.tws-badge-wrap { top: 16px; right: 16px; }
	.tws-badge { width: 92px; height: 92px; font-size: 12px; padding: 0 16px; }
	.elementor-element.tws-value { flex: 1 1 100%; border-left: 0; padding: 0; }
	.tws-value .elementor-icon-box-icon { margin: 0 auto 8px !important; }
	.tws-value .elementor-icon-box-description { max-width: none; }
	.e-con.tws-head { --flex-direction: column; --align-items: flex-start; }
	.e-con.tws-strip { --flex-direction: column; }
	.e-con.tws-strip > .e-con { flex: 0 0 auto; width: 100%; min-height: 0; }
	.e-con.tws-strip > .tws-strip__photo { aspect-ratio: 351 / 211; }
	.e-con.tws-strip__text { padding: 36px 16px; }
	.e-con.tws-banner { --flex-direction: column; --align-items: flex-start; --row-gap: 16px; --column-gap: 16px; }
	.e-con.tws-topbar .elementor-element:nth-child(n+2) { display: none; }
	.elementor-element.tws-search { display: none; }
	.elementor .tws-logo .elementor-heading-title { font-size: 20px; letter-spacing: .12em; }
	.e-con.tws-header-main { --flex-wrap: nowrap; }
	.e-con.tws-logo-wrap { --align-items: flex-start; --width: auto; }
	.e-con.tws-header-icons { flex: 0 0 auto; --width: auto; --flex-wrap: nowrap; --row-gap: 14px; --column-gap: 14px; }
	.tws-icon .elementor-icon { font-size: 18px; }
	.e-con.tws-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.e-con.tws-footer__brand, .e-con.tws-footer__news { grid-column: 1 / -1; }
	.e-con.tws-footer__bottom { --flex-direction: column; --row-gap: 10px; --column-gap: 10px; }
}
