/* Galateya'Crea V2 visual theme.
   This file intentionally overrides presentation only; existing ids and scripts stay untouched. */

:root {
  --v2-cream: #fbf5ec;
  --v2-ecru: #f4e6d2;
  --v2-linen: #fffaf3;
  --v2-brown: #6c4b34;
  --v2-brown-soft: #9b7357;
  --v2-red: #c1121f;
  --v2-red-dark: #a30f1a;
  --v2-text: #3c2f29;
  --v2-muted: #725f54;
  --v2-border: rgba(108, 75, 52, 0.22);
  --v2-shadow: 0 18px 40px rgba(74, 48, 32, 0.12);
}

html {
  background: var(--v2-cream);
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background: var(--v2-cream) !important;
  color: var(--v2-text);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body::before {
  content: "";
  display: block;
  width: 100%;
  height: calc(100vw * 793 / 1983);
  min-height: 210px;
  background-color: var(--v2-ecru);
  background-image: url("assets/images/banners/banner.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
  border-bottom: 1px solid var(--v2-border);
}

.bg-glow,
.top-ribbon {
  display: none !important;
}

.main-header,
.site-header,
.auth-header,
.checkout-header,
.product-header,
.account-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--v2-border);
  border-radius: 0;
  background: rgba(255, 250, 243, 0.96);
  box-shadow: none;
  color: var(--v2-text);
}

.main-header {
  grid-template-columns: minmax(220px, 0.85fr) minmax(240px, 1fr) auto;
  max-width: none;
  margin: 0;
  padding: 14px max(22px, calc((100vw - 1120px) / 2));
}

.site-header {
  padding-inline: max(22px, calc((100vw - 1120px) / 2));
}

.brand-block,
.brand-home-link,
.product-header-left,
.checkout-brand,
.account-brand,
.auth-brand {
  color: var(--v2-text);
  text-decoration: none;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border: 1px solid var(--v2-border);
  border-radius: 8px;
  background: var(--v2-linen);
  box-shadow: none;
}

.home-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.home-nav-links a {
  color: var(--v2-brown);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.home-nav-links a:hover {
  color: var(--v2-red);
}

.home-shell-simple {
  display: block;
}

.home-shell-simple .home-main-column {
  width: 100%;
}

.home-hero-actions,
.home-catalogue-link {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.home-catalogue-link {
  justify-content: center;
  padding-top: 28px;
}

.brand-eyebrow,
.main-header .brand-eyebrow,
.site-header .brand-eyebrow,
.page-header-context,
.hero-eyebrow,
.account-section-kicker,
.checkout-summary-note,
.checkout-guidance-copy {
  color: var(--v2-red);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

.brand-block h1,
.auth-brand h1,
.checkout-brand h1,
.product-header-left h1,
.account-brand h1,
.catalog-showcase h2,
.page-header-center h1,
.panel-head h3,
.panel h2,
.panel h3,
.product-content h2,
.auth-panel h2 {
  color: var(--v2-red-dark);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.search-wrap input,
.filter-field input,
.filter-field select,
.filter-field textarea,
.simple-form input,
.simple-form textarea {
  border: 1px solid var(--v2-border);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--v2-text);
  box-shadow: none;
}

.search-wrap input:focus,
.filter-field input:focus,
.filter-field select:focus,
.filter-field textarea:focus {
  border-color: var(--v2-red);
  box-shadow: 0 0 0 3px rgba(193, 18, 31, 0.12);
  outline: none;
}

.solid-btn,
.ghost-btn,
.link-btn,
.account-signin-btn,
.tag-btn,
.count-pill {
  border-radius: 8px;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

.solid-btn,
.account-signin-btn,
.tag-btn.is-active,
.filter-chip.is-active {
  border-color: var(--v2-red);
  background: var(--v2-red);
  color: #fffaf7;
  box-shadow: none;
}

.solid-btn:hover,
.account-signin-btn:hover {
  background: var(--v2-red-dark);
  border-color: var(--v2-red-dark);
  transform: none;
}

.ghost-btn,
.link-btn,
.tag-btn,
.count-pill {
  border-color: var(--v2-border);
  background: var(--v2-linen);
  color: var(--v2-brown);
  box-shadow: none;
}

.ghost-btn:hover,
.link-btn:hover,
.tag-btn:hover {
  border-color: var(--v2-red);
  color: var(--v2-red);
  transform: none;
}

.page-content,
.product-main,
.checkout-main,
.auth-main,
.account-main {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 22px;
}

.home-shell,
.checkout-shell,
.account-shell,
.product-panel-page,
.auth-panel {
  gap: 22px;
}

.panel,
.account-mega-menu,
.modal-card,
.cookie-banner,
.product-card,
.checkout-summary,
.guard-panel {
  border: 1px solid var(--v2-border);
  border-radius: 8px;
  background: var(--v2-linen);
  box-shadow: var(--v2-shadow);
}

.panel::before,
.panel::after,
.site-footer::before,
.site-footer::after,
.product-card::before,
.product-card::after {
  display: none !important;
}

.categories-panel,
.product-panel,
.checkout-guidance,
.checkout-stack .panel,
.account-panel,
.account-sidebar .panel {
  background: var(--v2-linen);
}

.catalog-showcase {
  min-height: 260px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 250, 243, 0.96), rgba(255, 250, 243, 0.78)),
    url("assets/images/banners/banner.jpg") center / cover no-repeat;
}

.catalog-showcase-copy {
  max-width: 620px;
}

.hero-summary-premium,
.panel p,
.product-description,
.auth-subtitle,
.account-nav-subtitle,
.site-footer-brand span {
  color: var(--v2-muted);
}

.product-grid {
  gap: 18px;
}

.home-products-heading {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--v2-border);
}

.home-site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 14px max(22px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid var(--v2-border);
  background: rgba(255, 250, 243, 0.96);
}

.home-site-header > *,
.home-brand,
.home-nav-links,
.home-header-actions,
.catalogue-page,
.home-page,
.content-section,
.catalogue-layout,
.catalogue-products-panel,
.home-product-preview,
.contact-panel,
.text-panel,
.creation-card,
.product-card {
  min-width: 0;
}

.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--v2-red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.home-brand span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.home-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-header-actions .account-trigger {
  min-width: 112px;
  padding: 8px 12px;
  text-align: left;
}

.home-header-actions .line-top,
.home-header-actions .line-bottom {
  display: block;
  line-height: 1.15;
}

.home-header-actions .line-top {
  font-size: 0.72rem;
  color: var(--v2-muted);
}

.home-header-actions .line-bottom {
  font-size: 0.86rem;
  font-weight: 800;
}

.home-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 22px;
}

.intro-section {
  padding: clamp(64px, 9vw, 118px) 0 clamp(72px, 10vw, 132px);
}

.intro-content {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--v2-red);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.intro-section h1 {
  margin: 0;
  color: var(--v2-red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.8rem, 8vw, 5.7rem);
  line-height: 0.94;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--v2-muted);
  font-size: 1.18rem;
  line-height: 1.65;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.content-section {
  padding: clamp(54px, 8vw, 92px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  color: var(--v2-brown);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.section-copy {
  margin: 14px 0 0;
  color: var(--v2-muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.text-panel,
.creation-card,
.contact-panel,
.home-offer-card,
.home-product-preview {
  border: 1px solid var(--v2-border);
  border-radius: 8px;
  background: var(--v2-linen);
  box-shadow: var(--v2-shadow);
}

.about-panel {
  padding: clamp(22px, 4vw, 34px);
}

.about-item {
  padding: 0;
}

.about-item + .about-item {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--v2-border);
}

.about-item p,
.contact-panel p {
  margin: 0;
  color: var(--v2-text);
  font-size: 1.08rem;
  line-height: 1.78;
}

.about-item strong {
  color: var(--v2-red);
}

.creation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.creation-card {
  padding: 26px;
}

.creation-card h3 {
  margin: 0 0 12px;
  color: var(--v2-red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.creation-card p {
  margin: 0;
  color: var(--v2-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.home-selection-section {
  scroll-margin-top: 90px;
}

.home-offer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding: 22px;
}

.home-offer-card strong,
.home-offer-card span {
  display: block;
}

.home-offer-card strong {
  color: var(--v2-red);
  font-size: 1.2rem;
}

.home-offer-card span {
  margin-top: 6px;
  color: var(--v2-muted);
}

.home-product-preview {
  padding: clamp(20px, 4vw, 30px);
}

.home-product-preview .panel-head {
  padding: 0;
}

.home-product-preview .product-grid {
  margin-top: 18px;
}

.contact-panel {
  padding: clamp(22px, 4vw, 34px);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.contact-list {
  margin: 26px 0 0;
  border-top: 1px solid var(--v2-border);
}

.contact-list div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--v2-border);
}

.contact-list dt {
  color: var(--v2-brown);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
}

.contact-list dd {
  margin: 0;
  color: var(--v2-muted);
}

.contact-list a {
  color: var(--v2-red);
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.catalogue-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 22px;
}

.catalogue-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
  gap: 28px;
  padding: clamp(52px, 8vw, 92px) 0 clamp(34px, 6vw, 64px);
}

.catalogue-hero h1 {
  margin: 0;
  color: var(--v2-red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.catalogue-offer-card {
  margin: 0;
}

.catalogue-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.catalogue-categories,
.catalogue-products-panel {
  border: 1px solid var(--v2-border);
  border-radius: 8px;
  background: var(--v2-linen);
  box-shadow: var(--v2-shadow);
}

.catalogue-categories {
  position: sticky;
  top: 88px;
  padding: 22px;
}

.catalogue-products-panel {
  min-width: 0;
  padding: clamp(20px, 4vw, 30px);
}

.catalogue-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 240px) auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.catalogue-search {
  width: 100%;
}

.catalogue-search input,
.catalogue-sort select {
  min-width: 0;
  width: 100%;
}

.catalogue-products-head {
  padding: 0;
}

.catalogue-products-head h2 {
  margin: 0;
  color: var(--v2-red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.catalogue-products-panel .product-grid {
  margin-top: 20px;
}

.catalog-mobile-menu-toggle {
  display: none;
}

.catalogue-toolbar .catalog-mobile-menu-toggle {
  width: 100%;
  min-width: 132px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--v2-border);
  border-radius: 8px;
  background: var(--v2-linen);
  color: var(--v2-brown);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
}

.catalogue-toolbar .catalog-mobile-menu-toggle span {
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.catalogue-toolbar .catalog-mobile-menu-toggle em {
  font-style: normal;
}

@media (max-width: 1180px) {
  .catalogue-hero {
    grid-template-columns: 1fr;
  }

  .catalogue-layout {
    grid-template-columns: 1fr;
  }

  .catalogue-categories {
    display: none;
  }

  .catalogue-toolbar {
    grid-template-columns: minmax(0, 1fr) 220px 132px !important;
  }

  .catalog-mobile-menu-toggle {
    display: inline-flex;
  }

  .catalogue-products-panel .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.product-card {
  overflow: hidden;
  background: var(--v2-linen);
}

.product-title,
.product-card h4,
.add-btn,
.product-actions,
.product-meta,
.contact-list dd,
.site-footer-brand,
.site-footer-nav {
  min-width: 0;
  overflow-wrap: anywhere;
}

.product-card:hover {
  border-color: rgba(193, 18, 31, 0.38);
  box-shadow: var(--v2-shadow);
  transform: translateY(-2px);
}

.price,
.product-price,
.cart-total-final strong,
.checkout-totals strong {
  color: var(--v2-red-dark);
}

.cart-panel,
.side-menu {
  border-color: var(--v2-border);
  background: var(--v2-linen);
}

.site-footer {
  margin-top: 60px;
  border-top: 1px solid var(--v2-border);
  background: var(--v2-linen);
  color: var(--v2-muted);
}

.site-footer-inner {
  max-width: 1120px;
}

.site-footer-nav a {
  color: var(--v2-brown);
}

.site-footer-nav a:hover {
  color: var(--v2-red);
}

@media (max-width: 900px) {
  body::before {
    height: calc(100vw * 793 / 1983);
    min-height: 0;
  }

  .home-site-header {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 14px;
    padding-inline: 18px;
  }

  .main-header {
    grid-template-columns: 1fr;
    padding-inline: 18px;
  }

  .home-nav-links {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
  }

  .home-header-actions {
    align-items: stretch;
    min-width: 0;
  }

  .home-header-actions > * {
    flex: 1;
    min-width: 0;
  }

  .home-page {
    padding-inline: 18px;
  }

  .creation-grid {
    grid-template-columns: 1fr;
  }

  .catalogue-page {
    padding-inline: 18px;
  }

  .catalogue-toolbar {
    grid-template-columns: minmax(0, 1fr) 190px 132px !important;
  }

  .catalogue-products-panel .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header {
    padding-inline: 18px;
  }

  .page-content,
  .product-main,
  .checkout-main,
  .auth-main,
  .account-main {
    padding-inline: 18px;
  }
}

@media (max-width: 560px) {
  body::before {
    height: calc(100vw * 793 / 1983);
    min-height: 0;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .main-header,
  .site-header,
  .home-site-header {
    position: static;
  }

  .home-brand {
    font-size: 1.08rem;
  }

  .home-header-actions {
    flex-direction: column;
  }

  .home-header-actions .account-menu-wrap,
  .home-header-actions .account-trigger,
  .home-header-actions .cart-btn {
    width: 100%;
    max-width: 100%;
  }

  .intro-section h1 {
    font-size: clamp(2.65rem, 13vw, 3.45rem);
  }

  .catalogue-hero h1 {
    font-size: clamp(2.55rem, 13vw, 3.35rem);
  }

  .section-heading h2,
  .catalogue-products-head h2 {
    font-size: clamp(2rem, 11vw, 2.65rem);
  }

  .lead,
  .about-item p,
  .contact-panel p {
    font-size: 1rem;
  }

  .home-offer-card {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .catalogue-toolbar {
    grid-template-columns: 1fr !important;
  }

  .catalog-mobile-menu-toggle {
    justify-content: center;
  }

  .catalogue-products-panel .product-grid {
    grid-template-columns: 1fr;
  }

  .home-page,
  .catalogue-page,
  .page-content,
  .product-main,
  .checkout-main,
  .auth-main,
  .account-main {
    padding-inline: 14px;
  }

  .catalogue-products-panel,
  .home-product-preview,
  .text-panel,
  .contact-panel,
  .creation-card {
    padding: 16px;
  }
}

@media (max-width: 390px) {
  .home-site-header {
    padding-inline: 12px;
  }

  .home-nav-links {
    gap: 12px;
  }

  .home-page,
  .catalogue-page,
  .page-content,
  .product-main,
  .checkout-main,
  .auth-main,
  .account-main {
    padding-inline: 10px;
  }

  .catalogue-products-panel,
  .home-product-preview,
  .text-panel,
  .contact-panel,
  .creation-card {
    padding: 14px;
  }

  .cookie-banner {
    left: 8px;
    right: 8px;
    max-width: calc(100vw - 16px);
  }
}
