/*
Theme Name: WPWC Atelier
Theme URI: https://wpwc.ru/templates/atelier/
Author: WPWC / ООО «НА ЮГА»
Author URI: https://wpwc.ru/
Description: Official WooCommerce classic theme for WPWC modules. Premium storefront shell with vertical child presets.
Version: 1.3.0
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: wpwc-atelier
Tags: e-commerce, woocommerce, custom-logo, custom-colors, translation-ready, custom-menu
WPWC Modules: supported
*/

:root {
  --wpwc-accent: #FF4D1C;
  --wpwc-ink: #0B1220;
  --wpwc-muted: #5B6577;
  --wpwc-bg: #F2F0EB;
  --wpwc-card: #ffffff;
  --wpwc-line: rgba(11, 18, 32, 0.1);
  --wpwc-radius: 14px;
  --wpwc-radius-sm: 10px;
  --wpwc-font: "Golos Text", "Segoe UI", sans-serif;
  --wpwc-display: Onest, "Segoe UI", sans-serif;
  --wpwc-container: 1120px;
  --wpwc-cols: 3;
  --wpwc-ease: cubic-bezier(.22, 1, .36, 1);
  --wpwc-header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--wpwc-font);
  color: var(--wpwc-ink);
  background: var(--wpwc-bg);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--wpwc-accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; vertical-align: middle; }
h1,h2,h3,h4 { font-family: var(--wpwc-display); letter-spacing: -.03em; line-height: 1.12; margin: 0 0 .55em; }

.wpwc-shell { width: min(var(--wpwc-container), calc(100% - 40px)); margin-inline: auto; }

.site-promo {
  background: var(--wpwc-ink); color: rgba(255,255,255,.9); font-size: 12px; font-weight: 650;
  text-align: center; padding: 8px 14px; letter-spacing: .02em;
}
.site-promo a { color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(16px) saturate(1.15);
  background: color-mix(in srgb, var(--wpwc-bg) 72%, white);
  border-bottom: 1px solid var(--wpwc-line);
}
.site-header-inner {
  display: flex; align-items: center; gap: 20px; min-height: calc(var(--wpwc-header-h) + 4px); padding: 12px 0;
}
.site-brand {
  font-family: var(--wpwc-display); font-weight: 800; letter-spacing: -.04em; font-size: 22px;
  color: var(--wpwc-ink); text-decoration: none; white-space: nowrap;
}
.site-brand span { color: var(--wpwc-accent); }
.site-brand:hover { text-decoration: none; opacity: .92; }
.custom-logo-link img { max-height: 40px; width: auto; }

.site-nav {
  display: flex; gap: 4px 22px; flex-wrap: wrap; align-items: center; font-weight: 650; font-size: 14px;
  margin-left: auto;
}
.site-nav a { color: var(--wpwc-ink); padding: 6px 0; border-bottom: 2px solid transparent; text-decoration: none; }
.site-nav a:hover { border-bottom-color: color-mix(in srgb, var(--wpwc-accent) 50%, transparent); }
.site-nav .menu, .site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px 20px; flex-wrap: wrap; }
.site-nav .current-menu-item > a, .site-nav .current_page_item > a {
  color: var(--wpwc-accent); border-bottom-color: var(--wpwc-accent);
}

.site-actions { display: flex; gap: 8px; align-items: center; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--wpwc-line);
  background: #fff; padding: 10px 9px; cursor: pointer; flex-direction: column; justify-content: space-between;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%; background: var(--wpwc-ink); border-radius: 2px;
  transition: transform .2s var(--wpwc-ease), opacity .2s var(--wpwc-ease);
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.cart-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 13px; padding: 10px 14px 10px 12px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--wpwc-line) 80%, transparent);
  background: color-mix(in srgb, var(--wpwc-card) 92%, white); color: var(--wpwc-ink); text-decoration: none;
  transition: border-color .2s var(--wpwc-ease), transform .2s var(--wpwc-ease), box-shadow .2s var(--wpwc-ease), background .2s var(--wpwc-ease);
}
.cart-link:hover {
  text-decoration: none; border-color: color-mix(in srgb, var(--wpwc-accent) 40%, var(--wpwc-line));
  transform: translateY(-1px); box-shadow: 0 10px 24px rgba(11,18,32,.08);
  background: #fff;
}
.cart-link__icon { flex: 0 0 auto; }
.cart-link__count {
  font-style: normal; background: var(--wpwc-accent); color: #fff; border-radius: 8px;
  min-width: 1.4em; text-align: center; padding: 1px 6px; font-size: 11px; line-height: 1.5;
}
.cart-link__count.is-empty { background: color-mix(in srgb, var(--wpwc-ink) 12%, white); color: var(--wpwc-muted); }

.btn, .button, button.button, a.button, input.button,
#respond input#submit,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.product_type_simple,
.woocommerce a.add_to_cart_button {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 16px !important; border-radius: 10px !important;
  border: 1px solid var(--wpwc-line) !important; background: #fff !important;
  color: var(--wpwc-ink) !important; font-weight: 700 !important; font-size: 14px !important;
  line-height: 1.2 !important; text-decoration: none !important; cursor: pointer; box-shadow: none !important;
  transition: transform .2s var(--wpwc-ease), background .2s var(--wpwc-ease), border-color .2s var(--wpwc-ease) !important;
}
.btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover {
  transform: translateY(-1px); text-decoration: none !important;
}
.btn-primary, .button.alt, .woocommerce a.button.alt, .woocommerce button.button.alt,
.woocommerce input.button.alt, .woocommerce #respond input#submit.alt, .woocommerce a.checkout-button,
.woocommerce div.product form.cart .single_add_to_cart_button {
  background: var(--wpwc-accent) !important; border-color: transparent !important; color: #fff !important;
}
.btn-ghost {
  background: transparent !important; border-color: rgba(255,255,255,.42) !important; color: #fff !important;
}
.btn-text {
  background: transparent !important; border-color: transparent !important; padding: 8px 0 !important;
  color: var(--wpwc-ink) !important; font-weight: 750 !important;
}

/* Hero */
.hero { padding: 48px 0 28px; display: grid; gap: 16px; }
.hero-inner { display: grid; gap: 14px; }
.hero-kicker {
  font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--wpwc-muted);
  font-weight: 750; margin: 0;
}
.hero h1 { font-size: clamp(34px, 5.2vw, 56px); max-width: 14ch; margin: 0; }
.hero-lead { margin: 0; max-width: 44ch; color: var(--wpwc-muted); font-size: 17px; }
.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; margin-top: 14px; } /* hero-actions-gap-fix */
.hero-secondary {
  color: inherit; font-weight: 650; font-size: 14px; text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  padding-bottom: 2px;
}
.hero-secondary:hover { border-bottom-color: currentColor; text-decoration: none; }
.hero--visual .hero-secondary { color: rgba(255,255,255,.92); }
.hero-credit { display: none; }

.hero--visual {
  position: relative; isolation: isolate; min-height: min(72vh, 640px);
  padding: 0; margin: 0; display: flex; align-items: end;
  background: var(--wpwc-ink); color: #fff; overflow: hidden;
}
.hero--visual::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: var(--hero-image); background-size: cover; background-position: center;
  transform: scale(1.03); animation: wpwc-hero-ken 20s var(--wpwc-ease) both;
}
.hero--visual::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, rgba(5,8,14,.94) 0%, rgba(5,8,14,.62) 42%, rgba(5,8,14,.32) 72%, rgba(5,8,14,.22) 100%),
    linear-gradient(180deg, rgba(5,8,14,.2) 0%, rgba(5,8,14,.82) 100%);
}
.hero--visual .hero-inner {
  padding: 80px 0 52px; width: min(var(--wpwc-container), calc(100% - 40px)); margin-inline: auto;
  animation: wpwc-rise .75s var(--wpwc-ease) both;
}
.hero--visual .hero-kicker { color: color-mix(in srgb, var(--wpwc-accent) 55%, white); }
.hero--visual .hero-lead, .hero--visual .hero-credit {
  color: rgba(255,255,255,.92);
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
  max-width: 38ch;
}
.hero--visual h1 {
  color: #fff; max-width: 12ch;
  text-shadow: 0 4px 28px rgba(0,0,0,.35);
}
.hero--visual .hero-kicker { text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.hero--visual .btn:not(.btn-primary):not(.btn-ghost) {
  color: #fff !important; border-color: rgba(255,255,255,.35) !important; background: rgba(255,255,255,.08) !important;
}

@keyframes wpwc-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes wpwc-hero-ken {
  from { transform: scale(1.07); }
  to { transform: scale(1.01); }
}
@media (prefers-reduced-motion: reduce) {
  .hero--visual::before, .hero--visual .hero-inner { animation: none; }
}

.trust-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin: 36px 0 48px; border-top: 1px solid var(--wpwc-line); border-bottom: 1px solid var(--wpwc-line);
}
.trust-item { padding: 22px 20px 24px; display: grid; gap: 8px; border-right: 1px solid var(--wpwc-line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { font-family: var(--wpwc-display); font-size: 18px; letter-spacing: -.02em; font-weight: 700; }
.trust-item span { color: var(--wpwc-muted); font-size: 14px; line-height: 1.5; max-width: 28ch; }
.trust-strip--ota { margin-top: 12px; background: transparent; }

.section-head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 8px 0 22px;
}
.section-kicker {
  margin: 0 0 4px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--wpwc-muted); font-weight: 750;
}
.section-head h2 { margin: 0; font-size: clamp(26px, 3.4vw, 34px); }
.catalog-block { padding-bottom: 28px; scroll-margin-top: 88px; }

#wpwc-main, .wpwc-main { padding: 0 0 72px; }
.woocommerce-products-header { margin: 8px 0 18px; }
.woocommerce-products-header__title { font-size: clamp(28px, 4vw, 40px); margin: 0; }

.woocommerce-breadcrumb {
  margin: 18px 0 8px; font-size: 12.5px; color: var(--wpwc-muted); font-weight: 600;
}
.woocommerce-breadcrumb a { color: var(--wpwc-muted); }
.woocommerce-breadcrumb .breadcrumb-sep { opacity: .4; margin: 0 5px; }
.woocommerce-result-count { color: var(--wpwc-muted); font-size: 13px; margin: 0; }
.woocommerce-ordering { margin: 0 0 18px; }
.woocommerce-ordering select {
  border-radius: 10px; border: 1px solid var(--wpwc-line); padding: 9px 12px;
  background: #fff; font-weight: 650; color: var(--wpwc-ink);
}
.woocommerce .woocommerce-result-count, .woocommerce-page .woocommerce-result-count { float: none !important; }
#secondary, .widget-area, aside.sidebar, .sidebar { display: none !important; }

ul.products {
  display: grid !important; grid-template-columns: repeat(var(--wpwc-cols), minmax(0, 1fr));
  gap: 22px; margin: 0 !important; padding: 0 !important; list-style: none !important;
}
ul.products::before, ul.products::after { display: none !important; content: none !important; }
ul.products li.product {
  width: auto !important; margin: 0 !important; float: none !important; clear: none !important;
  background: var(--wpwc-card); border: 1px solid color-mix(in srgb, var(--wpwc-line) 70%, transparent);
  border-radius: calc(var(--wpwc-radius) + 2px);
  padding: 0; display: flex; flex-direction: column; gap: 0; overflow: hidden;
  box-shadow: 0 10px 30px rgba(11,18,32,.04);
  transition: transform .3s var(--wpwc-ease), box-shadow .3s var(--wpwc-ease), border-color .3s var(--wpwc-ease);
}
ul.products li.product:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(11, 18, 32, 0.11);
  border-color: color-mix(in srgb, var(--wpwc-accent) 22%, var(--wpwc-line));
}
ul.products li.product a.woocommerce-LoopProduct-link { text-decoration: none; color: inherit; display: block; }
ul.products li.product .wpwc-thumb {
  display: block; overflow: hidden; background: color-mix(in srgb, var(--wpwc-bg) 60%, #ddd);
}
ul.products li.product img,
ul.products li.product .attachment-woocommerce_thumbnail {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; display: block;
  transition: transform .55s var(--wpwc-ease);
}
ul.products li.product:hover img { transform: scale(1.05); }
ul.products li.product .woocommerce-loop-product__title {
  font-size: 17.5px !important; padding: 16px 16px 6px !important; margin: 0 !important;
  font-family: var(--wpwc-display); letter-spacing: -.02em; line-height: 1.28 !important;
  min-height: 2.6em;
}
ul.products li.product .price {
  color: var(--wpwc-ink) !important; font-weight: 800; font-size: 16px !important;
  padding: 0 16px 14px; margin: 0 !important; display: block;
}
ul.products li.product .button {
  align-self: stretch; margin: 0 16px 16px !important; margin-top: auto !important;
  width: calc(100% - 32px) !important; justify-content: center;
}
ul.products li.product .onsale {
  background: var(--wpwc-accent); border-radius: 8px; line-height: 1.6; min-height: 0; min-width: 0;
  padding: 3px 9px; left: 12px; top: 12px; right: auto; z-index: 2;
  font-size: 11px; font-weight: 750; letter-spacing: .02em;
}

.woocommerce div.product {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: start;
  background: var(--wpwc-card); border: 1px solid var(--wpwc-line); border-radius: 18px;
  padding: 18px; box-shadow: 0 16px 40px rgba(11,18,32,.05);
}
.woocommerce div.product .woocommerce-product-gallery { width: 100% !important; float: none !important; }
.woocommerce div.product .summary { width: 100% !important; float: none !important; margin: 0 !important; }
@media (min-width: 901px) {
  .woocommerce div.product .summary {
    position: sticky; top: calc(var(--wpwc-header-h) + 16px);
  }
}
.woocommerce div.product .product_title { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 6px; }
.woocommerce div.product .woocommerce-product-gallery img {
  border-radius: 14px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
}
.woocommerce div.product p.price { font-size: 24px; font-weight: 800; color: var(--wpwc-ink); margin: 6px 0 10px; }
.woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--wpwc-muted); font-size: 15px; margin-bottom: 8px; line-height: 1.45;
}
.stock {
  display: inline-flex; align-items: center; font-weight: 700; font-size: 12.5px;
  padding: 5px 10px; border-radius: 999px; margin-bottom: 12px;
}
.stock.in-stock {
  color: color-mix(in srgb, var(--wpwc-accent) 55%, #0b3d2e);
  background: color-mix(in srgb, var(--wpwc-accent) 12%, white);
}
.stock.out-of-stock { color: #b42318; background: #fef3f2; }

.wpwc-tour-booking, .wpwc-stay-booking {
  display: grid; gap: 0 12px; grid-template-columns: 1fr 1fr;
  margin: 4px 0 12px !important; padding: 12px 12px 10px !important;
  border-radius: 14px !important;
  background: color-mix(in srgb, var(--wpwc-accent) 6%, white) !important;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wpwc-accent) 16%, transparent) !important;
  border: 0 !important;
}
.wpwc-tour-booking > strong, .wpwc-stay-booking > strong {
  grid-column: 1 / -1; font-family: var(--wpwc-display); font-size: 17px; letter-spacing: -.02em;
  margin-bottom: 4px;
}
.wpwc-tour-booking label, .wpwc-stay-booking label {
  font-size: 11.5px; font-weight: 700; color: var(--wpwc-muted); letter-spacing: .02em;
  margin: 8px 0 3px !important;
}
.wpwc-tour-booking .wpwc-date-field, .wpwc-stay-booking .wpwc-date-field { min-width: 0; }
.wpwc-tour-booking .wpwc-date-field { grid-column: 1 / -1; }
.wpwc-tour-booking input, .wpwc-tour-booking textarea,
.wpwc-stay-booking input, .wpwc-stay-booking textarea {
  max-width: none !important; width: 100% !important;
  border: 1px solid var(--wpwc-line); border-radius: 10px; padding: 10px 12px;
  background: #fff; font: inherit; color: var(--wpwc-ink);
}
.wpwc-date-ru { letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.wpwc-date-hint { grid-column: 1 / -1; display: block; font-size: 11px; color: var(--wpwc-muted); margin: 2px 0 0; }
.wpwc-stay-booking label[for="wpwc_stay_guests"],
.wpwc-stay-booking #wpwc_stay_guests { grid-column: 1 / -1; }
.wpwc-booking-note { grid-column: 1 / -1; margin-top: 6px; }
.wpwc-booking-note summary {
  cursor: pointer; font-size: 12.5px; font-weight: 650; color: var(--wpwc-muted);
  list-style: none;
}
.wpwc-booking-note summary::-webkit-details-marker { display: none; }
.wpwc-booking-note[open] summary { margin-bottom: 6px; }

.woocommerce div.product form.cart {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin-top: 2px;
}
.woocommerce div.product form.cart .quantity { margin: 0; }
.wpwc-preset-tourism .woocommerce div.product form.cart .quantity,
.wpwc-preset-hotel .woocommerce div.product form.cart .quantity { display: none; }
.woocommerce div.product form.cart .single_add_to_cart_button {
  min-width: 220px; padding: 14px 22px !important; font-size: 15px !important;
}
.wpwc-preset-tourism .woocommerce div.product form.cart .single_add_to_cart_button,
.wpwc-preset-hotel .woocommerce div.product form.cart .single_add_to_cart_button {
  width: 100%; min-width: 0; justify-content: center;
}
.woocommerce div.product .product_meta {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--wpwc-line);
  font-size: 12.5px; color: var(--wpwc-muted);
}
.woocommerce-breadcrumb { font-size: 13px; color: var(--wpwc-muted); margin: 0 0 16px; }
.woocommerce-breadcrumb a { color: var(--wpwc-muted); }
.woocommerce-tabs { margin-top: 22px; }
.woocommerce-tabs ul.tabs {
  padding-left: 0 !important; margin: 0 0 14px !important; border-bottom: 1px solid var(--wpwc-line);
  display: flex; gap: 18px;
}
.woocommerce-tabs ul.tabs li {
  background: transparent !important; border: 0 !important; border-radius: 0 !important;
  margin: 0 !important; padding: 0 !important;
}
.woocommerce-tabs ul.tabs li a {
  font-weight: 750 !important; padding: 10px 0 !important; color: var(--wpwc-muted) !important;
  border-bottom: 2px solid transparent; display: inline-block;
}
.woocommerce-tabs ul.tabs li.active a { color: var(--wpwc-ink) !important; border-bottom-color: var(--wpwc-accent); }

.woocommerce-cart-form, .cart-collaterals, .woocommerce-checkout, .woocommerce-MyAccount-content,
.woocommerce-MyAccount-navigation, .woocommerce-info, .woocommerce-message, .woocommerce-error,
form.checkout, .woocommerce-order, .related.products, .woocommerce-tabs {
  background: var(--wpwc-card); border: 1px solid var(--wpwc-line); border-radius: var(--wpwc-radius);
}
.woocommerce-info, .woocommerce-message, .woocommerce-error { padding: 14px 16px; margin-bottom: 14px; }
.woocommerce-cart-form, .cart-collaterals, .woocommerce-checkout, form.checkout,
.woocommerce-MyAccount-content, .woocommerce-order, .woocommerce-tabs { padding: 22px; }
.woocommerce-MyAccount-navigation { padding: 12px 16px; margin-bottom: 14px; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.related.products { padding: 22px; margin-top: 28px; }
.related.products > h2 { font-size: 24px; margin-bottom: 16px; }

.woocommerce-cart .cart-empty,
.woocommerce-cart .wc-empty-cart-message {
  background: var(--wpwc-card); border: 1px solid var(--wpwc-line); border-radius: var(--wpwc-radius);
  padding: 36px 28px; text-align: center; font-size: 22px; font-family: var(--wpwc-display);
  font-weight: 700; letter-spacing: -.02em;
}
.woocommerce-cart .return-to-shop { text-align: center; margin: 18px 0 8px; }
.woocommerce-cart .wpwc-empty-recs { margin-top: 36px; }
.woocommerce-cart .wpwc-empty-recs h2 { font-size: 24px; margin-bottom: 16px; }
.woocommerce table.shop_table {
  border: 1px solid var(--wpwc-line); border-radius: var(--wpwc-radius); border-collapse: separate; overflow: hidden;
}
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--wpwc-line); padding: 14px; }

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border-radius: 10px; border: 1px solid var(--wpwc-line); padding: 11px 12px; width: 100%;
}
.woocommerce-checkout .wpwc-module-slot,
.woocommerce-checkout [class*="wpwc-"],
.woocommerce-cart [class*="wpwc-"] { max-width: 100%; }

.site-footer {
  border-top: 1px solid var(--wpwc-line); padding: 40px 0 48px; color: var(--wpwc-muted); font-size: 14px;
  background: color-mix(in srgb, var(--wpwc-bg) 70%, white);
}
.site-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-footer a { color: var(--wpwc-ink); font-weight: 650; text-decoration: none; }
.site-footer a:hover { color: var(--wpwc-accent); }
.site-footer-brand { font-family: var(--wpwc-display); font-weight: 800; color: var(--wpwc-ink); font-size: 20px; margin: 0 0 8px; }
.site-footer-label {
  margin: 0 0 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 750; color: var(--wpwc-muted);
}
.footer-menu, .site-footer-nav .menu {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 8px;
}
.site-footer-copy { margin-top: 14px; font-size: 13px; }

.photo-credits { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--wpwc-line); font-size: 12px; }
.photo-credits summary {
  cursor: pointer; color: var(--wpwc-muted); font-weight: 600; list-style: none;
  font-size: 12px; opacity: .75;
}
.photo-credits summary:hover { opacity: 1; }
.photo-credits summary::-webkit-details-marker { display: none; }
.photo-credits ul {
  margin: 10px 0 0; padding-left: 1.1em; columns: 2; gap: 24px; color: var(--wpwc-muted);
}
.photo-credits li { break-inside: avoid; margin-bottom: 4px; }

.wpwc-demo-bar {
  opacity: .72; transform-origin: bottom right; transition: opacity .2s ease;
}
.wpwc-demo-bar:hover { opacity: 1; }

@media (max-width: 900px) {
  .trust-strip, .site-footer-grid, .woocommerce div.product { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--wpwc-line); }
  .trust-item:last-child { border-bottom: 0; }
  ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-toggle { display: inline-flex; }
  .site-header-inner { flex-wrap: wrap; }
  .site-brand, .custom-logo-link { margin-right: 0; }
  .site-actions { margin-left: auto; }
  .cart-link__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .site-nav {
    display: none; width: 100%; padding: 6px 0 2px; border-top: 1px solid var(--wpwc-line);
  }
  body.nav-open .site-nav { display: block; }
  .site-nav .menu, .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a, .site-nav .menu a {
    display: block; padding: 12px 2px; border-bottom: 1px solid var(--wpwc-line); font-size: 15px;
  }
  .photo-credits ul { columns: 1; }
  .hero--visual { min-height: min(64vh, 540px); }
  .wpwc-tour-booking, .wpwc-stay-booking { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  ul.products { grid-template-columns: 1fr; gap: 14px; }
  .wpwc-shell { width: min(var(--wpwc-container), calc(100% - 28px)); }
  .hero--visual .hero-inner { padding: 56px 0 36px; }
}
@media (prefers-reduced-motion: reduce) {
  ul.products li.product, ul.products li.product img, .btn, .cart-link { transition: none; }
}

/* OTA: keep book CTA in the first screen with the booking panel */
.wpwc-preset-tourism .woocommerce div.product .summary > *:not(.cart):not(.wpwc-tour-booking),
.wpwc-preset-hotel .woocommerce div.product .summary > *:not(.cart):not(.wpwc-stay-booking) { }
.wpwc-preset-tourism .woocommerce div.product .stock,
.wpwc-preset-hotel .woocommerce div.product .stock { margin-bottom: 8px; }
.wpwc-preset-tourism .wpwc-tour-booking,
.wpwc-preset-hotel .wpwc-stay-booking {
  margin-bottom: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
.wpwc-preset-tourism .woocommerce div.product form.cart,
.wpwc-preset-hotel .woocommerce div.product form.cart {
  display: block;
  margin: 0;
  padding: 0 14px 12px;
  background: color-mix(in srgb, var(--wpwc-accent) 6%, white);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wpwc-accent) 16%, transparent);
  border-radius: 0 0 14px 14px;
}
.wpwc-preset-tourism .woocommerce div.product form.cart .single_add_to_cart_button,
.wpwc-preset-hotel .woocommerce div.product form.cart .single_add_to_cart_button {
  width: 100% !important; min-width: 0 !important; margin-top: 2px; display: block;
}
.wpwc-booking-note {
  margin-top: 10px; width: 100%;
}
.wpwc-booking-note input { width: 100%; margin-top: 6px; border: 1px solid var(--wpwc-line); border-radius: 10px; padding: 10px 12px; }
.woocommerce-breadcrumb { margin: 0 0 12px; }
.site-promo { padding: 9px 16px; letter-spacing: .03em; }


/* ——— 1.2.2 premium polish ——— */
.wpwc-main:not(.wpwc-main--ota) { padding-top: 18px; }
.woocommerce-products-header { margin: 4px 0 20px; }
.woocommerce div.product .product_meta {
  margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--wpwc-line);
  font-size: 12.5px; color: var(--wpwc-muted); letter-spacing: .01em;
}
.woocommerce div.product .product_meta a { color: var(--wpwc-ink); font-weight: 650; }

/* Gallery trigger — hide emoji zoom chip, keep lightbox via image click */
.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
  width: 40px !important; height: 40px !important; top: 12px !important; right: 12px !important;
  border-radius: 999px !important; background: rgba(255,255,255,.92) !important;
  box-shadow: 0 8px 20px rgba(11,18,32,.12) !important; text-indent: -9999px !important;
  overflow: hidden !important; border: 0 !important;
}
.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger::before {
  content: "" !important; position: absolute; inset: 0; margin: auto;
  width: 16px; height: 16px;
  background: no-repeat center / 16px 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230B1220' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath stroke-linecap='round' d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");
}
.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger img { display: none !important; }

ul.products li.product .button {
  margin-top: 4px !important;
}
.hero-actions { gap: 12px; margin-top: 6px; }
.hero--visual .btn-primary {
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}
.hero--visual .btn-ghost:hover {
  background: rgba(255,255,255,.12) !important;
  text-decoration: none !important;
}
.section-head { margin-bottom: 26px; }
.trust-item strong { font-size: 16px; }
.site-footer-note { margin: 0; color: var(--wpwc-muted); line-height: 1.45; max-width: 36ch; }

/* Cart / checkout breathing room */
.woocommerce-cart .wpwc-shell,
.woocommerce-checkout .wpwc-shell,
.woocommerce-account .wpwc-shell { padding-top: 8px; }
.cart-collaterals .cart_totals h2,
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout #order_review_heading {
  font-size: 22px; letter-spacing: -.02em;
}
.woocommerce a.checkout-button {
  width: 100%; padding: 14px 18px !important; font-size: 15px !important;
}

/* Fashion-like editorial ATC as full-width under price on cards */
.wpwc-preset-fashion ul.products li.product .button {
  align-self: stretch; justify-content: flex-start;
  border: 0 !important; background: transparent !important; color: var(--wpwc-ink) !important;
  padding: 8px 0 0 !important; border-radius: 0 !important; font-size: 12px !important;
  letter-spacing: .08em; text-transform: uppercase;
  border-bottom: 1px solid var(--wpwc-ink) !important; width: fit-content;
}
.wpwc-preset-fashion ul.products li.product .button:hover {
  color: var(--wpwc-accent) !important; border-bottom-color: var(--wpwc-accent) !important;
  transform: none;
}

.wpwc-preset-cosmetics ul.products li.product .button {
  background: var(--wpwc-accent) !important; color: #fff !important; border-color: transparent !important;
}

/* Stronger header brand on sticky */
.site-header { transition: background .2s var(--wpwc-ease), box-shadow .2s var(--wpwc-ease); }
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--wpwc-bg) 88%, white);
  box-shadow: 0 8px 24px rgba(11,18,32,.06);
}


/* ——— 1.3.0 sellable pass ——— */
.hero--visual { min-height: min(78vh, 700px); }
.hero--visual .hero-inner { padding: 88px 0 56px; }
.hero--visual .btn-primary {
  min-height: 50px; padding: 14px 26px !important; font-size: 15px !important;
  box-shadow: 0 16px 36px rgba(0,0,0,.28); border-radius: 12px !important;
}
.catalog-block { padding-bottom: 56px; }
.section-head { margin: 8px 0 28px; align-items: flex-end; }
.section-head h2 { letter-spacing: -.03em; }

.wpwc-preset-tourism ul.products li.product .button,
.wpwc-preset-hotel ul.products li.product .button {
  background: var(--wpwc-accent) !important; color: #fff !important; border-color: transparent !important;
}

.woocommerce div.product {
  gap: 32px; padding: 22px; border-radius: 20px;
  border-color: color-mix(in srgb, var(--wpwc-line) 80%, transparent);
}
.woocommerce div.product .product_title { letter-spacing: -.03em; }
.woocommerce-tabs,
.related.products {
  border-color: color-mix(in srgb, var(--wpwc-line) 80%, transparent);
  box-shadow: 0 10px 28px rgba(11,18,32,.03);
}

.woocommerce-cart .cart-empty,
.woocommerce-cart .wc-empty-cart-message {
  border-style: dashed; padding: 48px 28px;
}
.woocommerce a.checkout-button { letter-spacing: .01em; }

.site-footer { padding: 48px 0 56px; }
.wpwc-demo-bar { opacity: .55; }
.wpwc-demo-bar:hover { opacity: .95; }

@media (max-width: 900px) {
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 14px; }
  ul.products li.product .woocommerce-loop-product__title { min-height: 0; }
}
