/* Shared product cards and finder, adopted from the approved 26 October homepage study.
   Product data, query order and native WooCommerce actions remain unchanged. */
.sm-product-card[data-sm-card-style] {
 --sm-card-line: var(--sm-card-border, #b7c5d0);
 display:flex; width:100%; min-width:0; flex-direction:column;
 border:1px solid var(--sm-card-line); background:#fff; box-shadow:none;
 transform:none; transition:border-color .2s,box-shadow .2s;
}
.sm-product-card[data-sm-card-style]:hover,
.sm-product-card[data-sm-card-style]:focus-within {
 border-color:#7893a6; box-shadow:6px 8px 18px -9px rgba(7,31,52,.14); transform:none;
}
.sm-product-card[data-sm-card-style] .product-visual {
 display:block; position:relative; width:100%; height:auto; aspect-ratio:1.5;
 overflow:hidden; background:var(--sm-color-mist,#e8eef2);
}
.sm-product-card[data-sm-card-style] .product-visual img {
 position:absolute; inset:0; width:100%; height:100%; max-width:none;
 object-fit:cover; object-position:center; transition:transform .35s;
}
.sm-product-card[data-sm-card-style]:hover .product-visual img { transform:none; }
.sm-product-card[data-sm-card-style] .product-visual:hover img { transform:scale(1.025); }
.sm-product-card[data-sm-card-style] .duration {
 display:inline-flex; align-items:center; gap:7px; top:15px; left:15px;
 padding:8px 11px; background:#fff; color:var(--sm-color-navy,#071f34);
 font-family:var(--sm-font-body,"Source Sans 3",sans-serif); font-size:14px;
 font-weight:600; line-height:1.3; letter-spacing:0; text-shadow:none;
}
.sm-product-card[data-sm-card-style] .duration .sm-fa-icon { width:15px; height:15px; }
.sm-product-card[data-sm-card-style] .best {
 top:auto; right:15px; bottom:15px; padding:6px 9px;
 background:var(--sm-color-navy,#071f34); color:#fff;
 font-family:var(--sm-font-body,"Source Sans 3",sans-serif);
 font-size:11px; line-height:1.4; font-weight:650; letter-spacing:.08em;
}
.sm-product-card[data-sm-card-style] .product-body {
 display:flex; flex:1; flex-direction:column; padding:24px;
 font-family:var(--sm-font-body,"Source Sans 3",sans-serif);
}
.sm-product-card[data-sm-card-style] .product-body>.sm-product-card__locations {
 margin:0 0 11px; color:var(--sm-color-muted,#52616c);
 font-family:var(--sm-font-body,"Source Sans 3",sans-serif);
 font-size:11px; line-height:1.5; font-weight:600;
 text-transform:uppercase; letter-spacing:.07em;
}
.sm-product-card[data-sm-card-style] .product-body h3 {
 min-height:2.3em; margin:0 0 20px;
 color:var(--sm-color-navy,#071f34); font-family:var(--sm-font-heading,"Barlow Condensed",sans-serif);
 font-size:var(--sm-text-card,30px); line-height:1.15; font-weight:700; letter-spacing:-.008em;
}
.sm-product-card[data-sm-card-style] .product-body h3 a { color:var(--sm-color-navy,#071f34); text-decoration:none; }
.sm-product-card[data-sm-card-style] .product-body h3 a:hover { color:var(--sm-color-ink,#132330); }
.sm-product-card[data-sm-card-style] .product-meta {
 display:block; margin:0 0 19px; padding:0; border:0;
 color:var(--sm-color-muted,#52616c); font-size:13px; line-height:1.5;
}
.sm-product-card[data-sm-card-style] .product-meta>span { font-size:13px; line-height:1.5; color:var(--sm-color-muted,#52616c); }
.sm-product-card[data-sm-card-style] .product-meta .sm-fa-icon { width:12px; height:12px; color:var(--sm-color-gold,#e7b23a); }
.sm-product-card[data-sm-card-style] .sm-product-card__price { margin-top:auto; padding-top:5px; }
.sm-product-card[data-sm-card-style] .sm-product-card__price .price {
 display:flex; align-items:baseline; flex-wrap:wrap; gap:8px 10px;
 margin:0; padding:0; color:var(--sm-color-navy,#071f34); text-align:left;
 font-family:var(--sm-font-body,"Source Sans 3",sans-serif); font-size:26px;
 font-weight:700; line-height:1.25; letter-spacing:0; text-decoration:none;
}
.sm-product-card[data-sm-card-style] .sm-product-card__price .woocommerce-Price-amount {
 color:var(--sm-color-navy,#071f34); font-family:inherit; font-size:26px;
 font-weight:700; line-height:1.25; letter-spacing:0; white-space:nowrap;
}
.sm-product-card[data-sm-card-style] .sm-product-card__price .woocommerce-Price-currencySymbol { font:inherit; color:inherit; }
.sm-product-card[data-sm-card-style] .sm-product-card__price .price>.sm-product-card__price-prefix {
 font-size:15px; line-height:1.3; font-weight:400; margin-right:-5px;
}
.sm-product-card[data-sm-card-style] .sm-product-card__price .woocommerce-price-suffix {
 display:inline; margin:0; color:var(--sm-color-muted,#52616c); font-size:12px;
 font-weight:400; line-height:1.4; letter-spacing:0; white-space:normal;
}
.sm-product-card[data-sm-card-style] .sm-product-card__price .price ins { text-decoration:none; }
.sm-product-card[data-sm-card-style] .sm-product-card__actions {
 display:flex; min-height:0; flex-direction:row; flex-wrap:wrap;
 align-items:center; justify-content:space-between; gap:12px;
 border-top:1px solid var(--sm-card-line); padding-top:19px; margin-top:21px;
}
.sm-product-card[data-sm-card-style] .sm-product-card__actions .product-link {
 display:inline-flex; align-items:center; justify-content:flex-start; gap:9px;
 width:auto; min-width:0; min-height:43px; margin:0; padding:0;
 background:transparent; color:var(--sm-color-navy,#071f34); border:0;
 font-family:var(--sm-font-body,"Source Sans 3",sans-serif); font-size:15px;
 font-weight:600; line-height:1.5; letter-spacing:0; text-decoration:none;
}
.sm-product-card[data-sm-card-style] .sm-product-card__actions .product-link:hover { color:var(--sm-color-ink,#132330); }
.sm-product-card[data-sm-card-style] .sm-product-card__actions .product-link .sm-fa-icon { width:12px; height:12px; }
.sm-product-card[data-sm-card-style] .sm-product-card__actions :is(.sm-product-card__cart,.sm-product-card__options) {
 display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto;
 width:auto; height:auto; min-height:43px; margin:0; padding:10px 12px; gap:9px;
 border:1px solid var(--sm-card-line); border-radius:0; background:#fff;
 color:var(--sm-color-navy,#071f34); box-shadow:none; transform:none;
 font-family:var(--sm-font-body,"Source Sans 3",sans-serif); font-size:13px;
 font-weight:600; line-height:1.35; letter-spacing:0; text-transform:none; text-decoration:none;
 transition:background-color .18s,border-color .18s,color .18s;
}
.sm-product-card[data-sm-card-style] .sm-product-card__cart-label,
.sm-product-card[data-sm-card-style] .sm-product-card__actions .sm-product-card__options-detail { display:inline; }
.sm-product-card[data-sm-card-style] .sm-product-card__actions :is(.sm-product-card__cart,.sm-product-card__options) .sm-fa-icon { width:16px; height:16px; }
.sm-product-card[data-sm-card-style] .sm-product-card__actions :is(.sm-product-card__cart,.sm-product-card__options):hover {
 background:var(--sm-color-blue,#0057b5); border-color:var(--sm-color-blue,#0057b5); color:#fff; transform:none;
}
.sm-product-card[data-sm-card-style] .sm-product-card__cart.added {
 background:var(--sm-color-navy,#071f34); color:#fff; border-color:var(--sm-color-navy,#071f34);
}
.sm-product-card[data-sm-card-style] .sm-product-card__cart-success,
.sm-product-card[data-sm-card-style] .sm-product-card__cart.added .sm-product-card__cart-icon { display:none; }
.sm-product-card[data-sm-card-style] .sm-product-card__cart.added .sm-product-card__cart-success { display:inline-flex; }
.sm-product-card[data-sm-card-style] a:focus-visible {
 outline:3px solid var(--sm-color-gold,#e7b23a); outline-offset:4px;
}
.sm-product-card[data-sm-card-style] .sm-product-card__route-link {
 display:flex; align-items:center; gap:12px; min-height:43px; margin-top:16px; padding-top:12px;
 border-top:1px solid var(--sm-card-line); color:var(--sm-color-navy,#071f34);
 font-family:var(--sm-font-body,"Source Sans 3",sans-serif); font-size:15px; line-height:1.5;
}
.sm-product-card[data-sm-card-style] .sm-product-card__route-link .sm-fa-icon { width:12px; height:12px; }

/* A thin boundary is always present; on a pale blue section the surface becomes white. */
.sm-product-finder .sm-product-finder__form {
 display:grid; grid-template-columns:1.15fr 1fr 1fr auto; gap:24px;
 align-items:end; margin:0 0 25px; padding:25px 28px;
 background:var(--sm-color-mist,#e8eef2); border:1px solid var(--sm-card-border,#b7c5d0);
}
.sm-product-finder.sm-product-finder--on-mist .sm-product-finder__form { background:#fff; }
.sm-product-finder.sm-product-finder--fixed-location .sm-product-finder__form { grid-template-columns:1fr 1fr auto; }
.sm-product-finder .sm-product-finder__form label { display:grid; gap:8px; min-width:0; margin:0; }
.sm-product-finder .sm-product-finder__form label>span {
 color:var(--sm-color-navy,#071f34); font-family:var(--sm-font-body,"Source Sans 3",sans-serif);
 font-size:13px; font-weight:650; letter-spacing:.04em; line-height:1.5; text-transform:none;
}
.sm-product-finder .sm-product-finder__form select {
 width:100%; min-width:0; height:auto; min-height:49px; padding:11px 34px 11px 12px;
 background-color:#fff; border:1px solid var(--sm-card-border,#b7c5d0); border-radius:0;
 color:var(--sm-color-navy,#071f34); font-family:var(--sm-font-body,"Source Sans 3",sans-serif);
 font-size:17px; font-weight:400; line-height:1.4;
}
.sm-product-finder .sm-product-finder__reset {
 display:inline-flex; align-items:center; justify-content:flex-start; gap:8px; justify-self:start;
 width:auto; min-width:0; height:auto; min-height:49px; padding:8px 0 8px 5px;
 background:transparent; border:0; color:var(--sm-color-navy,#071f34); box-shadow:none; transform:none;
 font-family:var(--sm-font-body,"Source Sans 3",sans-serif); font-size:14px;
 font-weight:600; line-height:1.4; letter-spacing:0; text-transform:none;
}
.sm-product-finder .sm-product-finder__reset-icon { width:16px; height:16px; flex:0 0 auto; }
.sm-product-finder .sm-product-finder__reset:hover { background:transparent; color:var(--sm-color-blue,#0057b5); border:0; transform:none; }
.sm-product-finder .sm-product-finder__reset:focus-visible,
.sm-product-finder .sm-product-finder__form select:focus-visible {
 outline:3px solid var(--sm-color-gold,#e7b23a); outline-offset:4px; box-shadow:none;
}
.sm-product-finder .sm-product-finder__summary { font-size:14px; line-height:1.5; margin-bottom:25px; }
.sm-product-finder .sm-load-more,.sm-product-archive__load-more {
 min-height:54px; padding:14px 22px; border:1px solid var(--sm-card-border,#b7c5d0);
 color:var(--sm-color-navy,#071f34); background:transparent; font-weight:600;
}
.sm-product-finder .sm-load-more:hover,.sm-product-archive__load-more:hover {
 color:#fff; background:var(--sm-color-navy,#071f34); border-color:var(--sm-color-navy,#071f34);
}
/* Flight-time comparison remains a comparison; its actions use the same quiet control role. */
body.term-flugzeug-selber-fliegen .sm-variation-offer>a {
 border:1px solid var(--sm-card-border,#b7c5d0); background:#fff; color:var(--sm-color-navy,#071f34);
 font-family:var(--sm-font-body,"Source Sans 3",sans-serif); font-weight:600; text-transform:none;
}
body.term-flugzeug-selber-fliegen .sm-variation-offer>a:hover { background:var(--sm-color-blue,#0057b5); border-color:var(--sm-color-blue,#0057b5); color:#fff; }
@media(max-width:1399px){
 .sm-product-card[data-sm-card-style] .product-body{padding:23px;}
 .sm-product-card[data-sm-card-style] .sm-product-card__actions{gap:10px;}
 .sm-product-card[data-sm-card-style] .sm-product-card__actions .product-link{font-size:14px;}
 .sm-product-card[data-sm-card-style] .sm-product-card__actions :is(.sm-product-card__cart,.sm-product-card__options){font-size:12px;padding:10px;gap:7px;}
}
@media(max-width:1199px){
 .sm-product-card[data-sm-card-style] .product-body{padding:22px 19px;}
 .sm-product-card[data-sm-card-style] .sm-product-card__actions{gap:16px;}
 .sm-product-card[data-sm-card-style] .sm-product-card__actions .product-link{font-size:15px;}
 .sm-product-card[data-sm-card-style] .sm-product-card__actions :is(.sm-product-card__cart,.sm-product-card__options){font-size:13px;}
 .sm-product-finder .sm-product-finder__form{gap:20px;padding:24px;}
}
@media(max-width:999px){
 .sm-product-card[data-sm-card-style] .product-body{padding:24px;}
 .sm-product-card[data-sm-card-style] .sm-product-card__actions :is(.sm-product-card__cart,.sm-product-card__options){font-size:12px;}
 .sm-product-finder .sm-product-finder__form,
 .sm-product-finder.sm-product-finder--fixed-location .sm-product-finder__form{grid-template-columns:1fr 1fr;gap:20px;padding:24px;}
 .sm-product-finder .sm-product-finder__reset{font-size:15px;padding-left:0;}
}
@media(max-width:689px){
 .sm-product-card[data-sm-card-style] .product-body{padding:24px;}
 .sm-product-card[data-sm-card-style] .product-body h3{min-height:0;margin-bottom:17px;}
 .sm-product-card[data-sm-card-style] .product-body>.sm-product-card__locations{font-size:10px;}
 .sm-product-card[data-sm-card-style] .product-meta{margin-bottom:17px;}
 .sm-product-card[data-sm-card-style] .sm-product-card__price{padding-top:0;}
 .sm-product-card[data-sm-card-style] .sm-product-card__actions{gap:10px;margin-top:19px;}
 .sm-product-card[data-sm-card-style] .sm-product-card__actions .product-link{font-size:14px;gap:8px;}
 .sm-product-card[data-sm-card-style] .sm-product-card__actions :is(.sm-product-card__cart,.sm-product-card__options){font-size:12px;padding:10px;gap:7px;}
 .sm-product-card[data-sm-card-style] .duration{top:14px;left:14px;padding:7px 10px;font-size:13px;}
 .sm-product-card[data-sm-card-style] .best{right:14px;bottom:14px;font-size:10px;}
 .sm-product-finder .sm-product-finder__form,
 .sm-product-finder.sm-product-finder--fixed-location .sm-product-finder__form{grid-template-columns:1fr;gap:20px;padding:22px;margin-bottom:20px;}
 .sm-product-finder .sm-product-finder__form select{font-size:18px;}
 .sm-product-finder .sm-product-finder__reset{min-height:40px;padding:6px 0;gap:9px;}
 .sm-product-finder .sm-load-more{width:100%;min-width:0;}
}
@media(max-width:374px){
 .sm-product-card[data-sm-card-style] .product-body{padding:22px 19px;}
 .sm-product-card[data-sm-card-style] .sm-product-card__actions{gap:17px;}
 .sm-product-finder .sm-product-finder__form{padding:20px;}
}
@media(prefers-reduced-motion:reduce){
 .sm-product-card[data-sm-card-style],.sm-product-card[data-sm-card-style] img{transition:none;}
}
