
/*
  FETYCI public theme repair v6.1.7
  Exact existing FETYCI classes only. No DOM guessing and no pseudo-overlay on the announcement.
*/

body.ft-site-theme {
  --ft-bg1:#f9fbff;
  --ft-bg2:#fff7f8;
  --ft-g1:#9bc7ff;
  --ft-g2:#e0667a;
  --ft-surface:#ffffff;
  --ft-surface-alt:#f7f8fc;
  --ft-header:#ffffff;
  --ft-footer:#21312d;
  --ft-control:#f4f6fb;
  --ft-control-hover:#edf1fb;
  --ft-hero-meta:#f7f8fc;
  --ft-hero-card:#ffffff;
  --ft-trust:#f7f8fc;
  --ft-text:#202331;
  --ft-muted:#686e7e;
  --ft-accent:#5977d9;
  --ft-accent2:#d96c7b;
  --ft-accent-text:#ffffff;
  --ft-button:#314b9f;
  --ft-button-text:#ffffff;
  --ft-line:#d9e2f2;
  --ft-glass:.84;
  --ft-blur:18px;
  --ft-radius:20px;
  --ft-shadow:.11;
  --ft-font-scale:1.045;
  --ft-content:1360px;

  min-height:100vh;
  color:var(--ft-text) !important;
  background:
    radial-gradient(circle at 8% 9%,color-mix(in srgb,var(--ft-g1) 36%,transparent),transparent 31%),
    radial-gradient(circle at 92% 8%,color-mix(in srgb,var(--ft-g2) 28%,transparent),transparent 30%),
    radial-gradient(circle at 66% 88%,color-mix(in srgb,var(--ft-g1) 23%,transparent),transparent 35%),
    linear-gradient(135deg,var(--ft-bg1),var(--ft-bg2)) !important;
  background-attachment:fixed !important;
  font-size:calc(16px * var(--ft-font-scale)) !important;
}

/* Kill the over-broad marker from v6.1.6 even if it survives in browser history. */
body.ft-site-theme .ft-announcement::after {
  content:none !important;
  display:none !important;
}

body.ft-site-theme *,
body.ft-site-theme *::before,
body.ft-site-theme *::after {
  box-sizing:border-box;
}

body.ft-site-theme .container {
  width:min(var(--ft-content),calc(100% - 64px)) !important;
  max-width:var(--ft-content) !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Typography: accent is never used as the main text color. */
body.ft-site-theme h1,
body.ft-site-theme h2,
body.ft-site-theme h3,
body.ft-site-theme h4,
body.ft-site-theme h5,
body.ft-site-theme h6,
body.ft-site-theme .product-title,
body.ft-site-theme .product-price,
body.ft-site-theme .footer-brand {
  color:var(--ft-text) !important;
}

body.ft-site-theme p,
body.ft-site-theme small,
body.ft-site-theme .product-description,
body.ft-site-theme .product-old-price,
body.ft-site-theme .catalog-result-line,
body.ft-site-theme .sort-control,
body.ft-site-theme .hero-product-card small {
  color:var(--ft-muted) !important;
}

body.ft-site-theme .eyebrow,
body.ft-site-theme .section-heading > span,
body.ft-site-theme .section-heading div > span,
body.ft-site-theme .collection-index,
body.ft-site-theme .product-category,
body.ft-site-theme .hero-number,
body.ft-site-theme .hero-product-card > span {
  color:var(--ft-accent) !important;
}

/* Header. Dark presets no longer leave a detached white bar. */
body.ft-site-theme .header,
body.ft-site-theme #siteHeader {
  color:var(--ft-text) !important;
  border-bottom:1px solid var(--ft-line) !important;
  background:color-mix(in srgb,var(--ft-header) 92%,transparent) !important;
  box-shadow:0 14px 44px rgba(7,11,24,.10) !important;
  backdrop-filter:blur(20px) saturate(125%) !important;
  -webkit-backdrop-filter:blur(20px) saturate(125%) !important;
}

body.ft-site-theme .header .brand,
body.ft-site-theme .header .nav-links a,
body.ft-site-theme .header .icon-button,
body.ft-site-theme .header .profile-button,
body.ft-site-theme .header .cart-header-button {
  color:var(--ft-text) !important;
}

body.ft-site-theme .header .icon-button,
body.ft-site-theme .header .profile-button,
body.ft-site-theme .header .cart-header-button {
  border-color:var(--ft-line) !important;
  background:var(--ft-control) !important;
}

body.ft-site-theme .header svg {
  color:currentColor !important;
  stroke:currentColor !important;
}

body.ft-site-theme .header .cart-count {
  color:var(--ft-button-text) !important;
  background:var(--ft-button) !important;
}

/* The announcement keeps its original image and layout. Only its card controls stay readable. */
body.ft-site-theme [class*="announcement"],
body.ft-site-theme [class*="site-banner"],
body.ft-site-theme [class*="promo-banner"] {
  color:inherit;
}

body.ft-site-theme [class*="announcement"] button,
body.ft-site-theme [class*="announcement"] .button,
body.ft-site-theme [class*="site-banner"] button,
body.ft-site-theme [class*="site-banner"] .button,
body.ft-site-theme [class*="promo-banner"] button,
body.ft-site-theme [class*="promo-banner"] .button {
  color:var(--ft-button-text) !important;
  border-color:transparent !important;
  background:var(--ft-button) !important;
}

/* Hero */
body.ft-site-theme .hero {
  color:var(--ft-text) !important;
  background:transparent !important;
}

body.ft-site-theme .hero h1,
body.ft-site-theme .hero h1 em {
  color:var(--ft-text) !important;
}

body.ft-site-theme .hero p {
  color:var(--ft-muted) !important;
}

body.ft-site-theme .hero-actions .glass-button-dark,
body.ft-site-theme .hero-actions .button-dark {
  color:var(--ft-button-text) !important;
  border-color:transparent !important;
  background:var(--ft-button) !important;
}

body.ft-site-theme .hero-actions .text-link,
body.ft-site-theme #heroQuickView {
  min-height:46px !important;
  padding:0 18px !important;
  color:var(--ft-text) !important;
  border:1px solid var(--ft-line) !important;
  border-radius:14px !important;
  background:var(--ft-control) !important;
  text-decoration:none !important;
  box-shadow:none !important;
}

body.ft-site-theme .hero-actions .text-link:hover,
body.ft-site-theme #heroQuickView:hover {
  background:var(--ft-control-hover) !important;
}

body.ft-site-theme .hero-meta {
  overflow:hidden !important;
  border:1px solid var(--ft-line) !important;
  border-radius:18px !important;
  background:color-mix(in srgb,var(--ft-hero-meta) 90%,transparent) !important;
}

body.ft-site-theme .hero-meta > div {
  min-height:78px !important;
  padding:16px 18px !important;
  border-color:var(--ft-line) !important;
  background:transparent !important;
}

body.ft-site-theme .hero-meta strong {
  color:var(--ft-text) !important;
  font-size:.78rem !important;
}

body.ft-site-theme .hero-meta span {
  color:var(--ft-muted) !important;
  font-size:.68rem !important;
}

body.ft-site-theme .hero-showcase,
body.ft-site-theme .hero-product-card {
  color:var(--ft-text) !important;
  border-color:var(--ft-line) !important;
  background:color-mix(in srgb,var(--ft-hero-card) calc(var(--ft-glass) * 100%),transparent) !important;
  box-shadow:0 22px 60px rgba(7,11,24,var(--ft-shadow)) !important;
}

body.ft-site-theme .hero-product-card > strong,
body.ft-site-theme .hero-product-card b {
  color:var(--ft-text) !important;
}

/* Trust strip: no coloured blocks outside the content width. */
body.ft-site-theme .trust-strip {
  padding:18px 0 !important;
  border:0 !important;
  background:transparent !important;
}

body.ft-site-theme .trust-grid {
  width:min(var(--ft-content),calc(100% - 64px)) !important;
  max-width:var(--ft-content) !important;
  margin:0 auto !important;
  overflow:hidden !important;
  border:1px solid var(--ft-line) !important;
  border-radius:20px !important;
  background:color-mix(in srgb,var(--ft-trust) 92%,transparent) !important;
  box-shadow:0 16px 44px rgba(7,11,24,.08) !important;
}

body.ft-site-theme .trust-grid > div {
  min-height:94px !important;
  border-color:var(--ft-line) !important;
  background:transparent !important;
}

body.ft-site-theme .trust-grid svg {
  color:var(--ft-accent) !important;
  stroke:currentColor !important;
}

body.ft-site-theme .trust-grid strong {
  color:var(--ft-text) !important;
  font-size:.76rem !important;
}

body.ft-site-theme .trust-grid span {
  color:var(--ft-muted) !important;
  font-size:.65rem !important;
}

/* Sections and collections */
body.ft-site-theme .section-heading h2,
body.ft-site-theme .about h2 {
  color:var(--ft-text) !important;
}

body.ft-site-theme .section-heading.split > p {
  color:var(--ft-muted) !important;
}

body.ft-site-theme .collection-card {
  color:var(--ft-text) !important;
  border:1px solid var(--ft-line) !important;
  background:color-mix(in srgb,var(--ft-surface) 88%,transparent) !important;
  box-shadow:0 18px 48px rgba(7,11,24,.08) !important;
}

body.ft-site-theme .collection-card.light {
  color:var(--ft-text) !important;
  background:color-mix(in srgb,var(--ft-surface-alt) 94%,transparent) !important;
}

body.ft-site-theme .collection-card.gold {
  color:var(--ft-accent-text) !important;
  border-color:color-mix(in srgb,var(--ft-accent) 50%,var(--ft-line)) !important;
  background:linear-gradient(135deg,var(--ft-accent),var(--ft-accent2)) !important;
}

body.ft-site-theme .collection-card strong,
body.ft-site-theme .collection-card span,
body.ft-site-theme .collection-card i {
  color:inherit !important;
}

body.ft-site-theme .collection-card::before {
  color:color-mix(in srgb,currentColor 7%,transparent) !important;
}

/* Catalog */
body.ft-site-theme .muted-section {
  border-color:var(--ft-line) !important;
  background:color-mix(in srgb,var(--ft-surface-alt) 42%,transparent) !important;
}

body.ft-site-theme .catalog-toolbar,
body.ft-site-theme .advanced-filters {
  color:var(--ft-text) !important;
  border:1px solid var(--ft-line) !important;
  background:color-mix(in srgb,var(--ft-surface-alt) 94%,transparent) !important;
  box-shadow:0 16px 42px rgba(7,11,24,.08) !important;
}

body.ft-site-theme .catalog-search,
body.ft-site-theme .large-search {
  color:var(--ft-text) !important;
  border-color:var(--ft-line) !important;
  background:var(--ft-control) !important;
}

body.ft-site-theme .catalog-search input,
body.ft-site-theme .large-search input,
body.ft-site-theme .sort-control select,
body.ft-site-theme .advanced-filters input,
body.ft-site-theme .advanced-filters select {
  color:var(--ft-text) !important;
  border-color:var(--ft-line) !important;
  background:var(--ft-control) !important;
}

body.ft-site-theme input::placeholder,
body.ft-site-theme textarea::placeholder {
  color:color-mix(in srgb,var(--ft-muted) 84%,transparent) !important;
  opacity:1 !important;
}

body.ft-site-theme .category-filters button {
  color:var(--ft-text) !important;
  border-color:var(--ft-line) !important;
  background:transparent !important;
}

body.ft-site-theme .category-filters button:hover {
  background:var(--ft-control-hover) !important;
}

body.ft-site-theme .category-filters button.active,
body.ft-site-theme .category-filters button[aria-selected="true"] {
  color:var(--ft-accent-text) !important;
  border-color:transparent !important;
  background:var(--ft-accent) !important;
}

/* Product cards */
body.ft-site-theme .product-card {
  color:var(--ft-text) !important;
  border:1px solid var(--ft-line) !important;
  background:color-mix(in srgb,var(--ft-surface) calc(var(--ft-glass) * 100%),transparent) !important;
  box-shadow:0 20px 55px rgba(7,11,24,var(--ft-shadow)) !important;
}

body.ft-site-theme .product-image-wrap {
  background:var(--ft-surface-alt) !important;
}

body.ft-site-theme .product-title,
body.ft-site-theme .product-price,
body.ft-site-theme .price-wrap strong,
body.ft-site-theme .stock-note.in,
body.ft-site-theme .stock-note.low,
body.ft-site-theme .stock-note.out {
  color:var(--ft-text) !important;
}

body.ft-site-theme .product-description,
body.ft-site-theme .product-article,
body.ft-site-theme .product-old-price {
  color:var(--ft-muted) !important;
}

body.ft-site-theme .product-options select {
  color:var(--ft-text) !important;
  border-color:var(--ft-line) !important;
  background:var(--ft-control) !important;
}

body.ft-site-theme .add-button,
body.ft-site-theme .quick-view-button {
  color:var(--ft-button-text) !important;
  border-color:transparent !important;
  background:var(--ft-button) !important;
}

/* About and contacts */
body.ft-site-theme .about-logo {
  border:1px solid var(--ft-line) !important;
  background:color-mix(in srgb,var(--ft-surface) 88%,transparent) !important;
  box-shadow:0 22px 60px rgba(7,11,24,var(--ft-shadow)) !important;
}

body.ft-site-theme .about-copy > p {
  color:var(--ft-muted) !important;
}

body.ft-site-theme .advantages div {
  border-color:var(--ft-line) !important;
}

body.ft-site-theme .advantages strong {
  color:var(--ft-accent) !important;
}

body.ft-site-theme .advantages span {
  color:var(--ft-text) !important;
}

body.ft-site-theme .social-link,
body.ft-site-theme .contact-phone {
  color:var(--ft-text) !important;
  border-color:var(--ft-line) !important;
  background:var(--ft-control) !important;
  box-shadow:none !important;
}

body.ft-site-theme .social-link:hover,
body.ft-site-theme .contact-phone:hover {
  background:var(--ft-control-hover) !important;
}

body.ft-site-theme .social-link strong,
body.ft-site-theme .contact-phone strong {
  color:var(--ft-text) !important;
}

body.ft-site-theme .social-link small,
body.ft-site-theme .contact-phone span {
  color:var(--ft-muted) !important;
}

body.ft-site-theme .social-icon,
body.ft-site-theme .social-link i {
  color:var(--ft-accent) !important;
}

/* Modals and drawers keep readable surfaces under every preset. */
body.ft-site-theme .drawer,
body.ft-site-theme .modal-card,
body.ft-site-theme .quick-view-card,
body.ft-site-theme .auth-modal-card,
body.ft-site-theme .info-modal-card {
  color:var(--ft-text) !important;
  border-color:var(--ft-line) !important;
  background:var(--ft-surface) !important;
}

body.ft-site-theme .drawer input,
body.ft-site-theme .drawer select,
body.ft-site-theme .drawer textarea,
body.ft-site-theme .modal-card input,
body.ft-site-theme .modal-card select,
body.ft-site-theme .modal-card textarea {
  color:var(--ft-text) !important;
  border-color:var(--ft-line) !important;
  background:var(--ft-control) !important;
}

/* Footer */
body.ft-site-theme .footer {
  color:#f5f7f7 !important;
  border-color:rgba(255,255,255,.12) !important;
  background:var(--ft-footer) !important;
}

body.ft-site-theme .footer .footer-brand,
body.ft-site-theme .footer strong {
  color:#ffffff !important;
}

body.ft-site-theme .footer a,
body.ft-site-theme .footer button,
body.ft-site-theme .footer span,
body.ft-site-theme .footer p {
  color:rgba(245,247,247,.72) !important;
  background:transparent !important;
}

body.ft-site-theme .footer a:hover,
body.ft-site-theme .footer button:hover {
  color:#ffffff !important;
}

body.ft-site-theme .copyright {
  color:rgba(245,247,247,.52) !important;
  border-color:rgba(255,255,255,.12) !important;
}

body.ft-theme-dark {
  color-scheme:dark;
}

body.ft-theme-dark img {
  filter:none !important;
}

@media (max-width:900px) {
  body.ft-site-theme .container,
  body.ft-site-theme .trust-grid {
    width:calc(100% - 28px) !important;
  }
}

@media (max-width:700px) {
  body.ft-site-theme {
    font-size:16px !important;
  }

  body.ft-site-theme .trust-grid {
    display:grid !important;
    grid-template-columns:1fr !important;
  }

  body.ft-site-theme .trust-grid > div {
    border-right:0 !important;
    border-bottom:1px solid var(--ft-line) !important;
  }

  body.ft-site-theme .trust-grid > div:last-child {
    border-bottom:0 !important;
  }
}
