
/* ── FONTS ─────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --f-serif:    'Raleway', sans-serif;
  --f-sans:     'Raleway', sans-serif;
  --f-accent:   #C8A96E;
  --f-dark:     #1C1B18;
  --f-mid:      #3D3B35;
  --f-muted:    #8C8A82;
  --f-cream:    #F7F4EE;
  --f-border:   #E2DDD4;
  --f-white:    #FDFCFA;
}

/* ── GLOBAL TYPOGRAPHY ─────────────────────────────────────── */
body {
  font-family: var(--f-sans);
  color: var(--f-dark);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-serif);
  font-weight: 300;
  line-height: 1.15;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-serif);
  font-weight: 300;
  line-height: 1.15;
      text-transform: uppercase;
    font-family: 'Raleway', sans-serif;
    color:#1C1B18;
    margin:0

}
h2{
    /*font-size:42px;*/
    font-size:32px;
}
h3{
    font-size:22px;font-weight:300;
}
h4{
    font-size:18px;font-weight:300;color:#fff; 
}

.button span{font-weight:400;}
.button.alt, .button.checkout, .checkout-button, .button.secondary {
    color: #111;     border: 0;
    background-color: #f4f4f4;
}
.button.secondary span{ padding: 10px; }
.button.secondary:hover {
    background-color: #000;
}
/* Serif eyebrow label (використовувати через клас) */
.f-eyebrow {
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--f-muted);
  display: block;
  margin-bottom: 10px;
}

/* Italic gold em у заголовках — автоматично */
h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--f-accent);
}

/* Section heading sizes */
.f-heading-xl { font-family: var(--f-serif); font-size: 60px; font-weight: 400; line-height: 1.05; }
.f-heading-lg { font-family: var(--f-serif); font-size: 48px; font-weight: 400; line-height: 1.1;  }
.f-heading-md { font-family: var(--f-serif); font-size: 38px; font-weight: 400; line-height: 1.15; }
.f-heading-sm { font-family: var(--f-serif); font-size: 32px; font-weight: 400; line-height: 1.2;  }

.f-body    { font-size: 13px; color: var(--f-muted); line-height: 1.85; }
.f-body-sm { font-size: 12px; color: var(--f-muted); line-height: 1.75; }

/* Gold accent text */
.f-gold { color: var(--f-accent); }

/* ── STATS STRIP — CARD OVER HERO ──────────────────────────── */

.top-divider{    display: none !important;}
.transparent #logo img{    max-height: 150px !important; } 
 
.f-stats-floating { margin-top: -60px; position: relative; z-index: 10; }
.f-stats-row .col {
  position: relative;
  z-index: 10;
}

.f-stats-card {
  background: rgba(253, 252, 250, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.14);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid rgba(226,221,212,0.6);
}

.f-stat-item {
  padding: 14px 0px;
  text-align: center;
  border-right: 1px solid var(--f-border);
}
.f-stat-item:last-child { border-right: none; }

.f-stat-number {
  font-family: var(--f-serif);
  font-size: 40px;
  font-weight: 300;
  color: var(--f-accent);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.f-stat-label {
  font-family: var(--f-sans);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--f-muted);
}

/* Responsive stats */
@media (max-width: 767px) {
  .f-stats-card {
    grid-template-columns: repeat(2, 1fr);
  }
  .f-stat-item:nth-child(2) { border-right: none; }
  .f-stat-item:nth-child(3) { border-top: 1px solid var(--f-border); }
  .f-stat-item:nth-child(4) { border-top: 1px solid var(--f-border); }
  .f-heading-xl { font-size: 40px; }
  .f-heading-lg { font-size: 34px; }
  .f-heading-md { font-size: 28px; }
}

/* ── SECTION SPACING ───────────────────────────────────────── */
.f-section        { padding: 80px 0; }
.f-section-sm     { padding: 56px 0; }
.f-section-lg     { padding: 112px 0; }
.f-section-cream  { background-color: var(--f-cream); }
.f-section-white  { background-color: var(--f-white); }
.f-section-dark   { background-color: var(--f-dark); color: var(--f-white); }

/* Section header block (eyebrow + heading) */
.f-section-header { margin-bottom: 48px; }
.f-section-header--center { text-align: center; }
.f-section-header--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

/* ── BUTTONS ───────────────────────────────────────────────── */
.f-btn {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 28px;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  border-radius: 0;
}
.f-btn-gold   { background: var(--f-accent); color: var(--f-dark); }
.f-btn-dark   { background: var(--f-dark);  color: var(--f-white); }
.f-btn-outline {
  background: transparent;
  color: var(--f-dark);
  border: 1px solid var(--f-border);
}
.f-btn-outline:hover { border-color: var(--f-dark); }
.f-btn-ghost-white {
  background: transparent;
  color: var(--f-white);
  border: 1px solid rgba(255,255,255,0.35);
}

/* ── FEATURED BOX OVERRIDES ────────────────────────────────── */
/* Flatsome featured_box — override default styles */
.f-featured-box .feature-box {
  border-top: 3px solid var(--f-accent) !important;
  border: 1px solid var(--f-border);
  padding: 36px 24px;
  border-radius: 0;
  transition: box-shadow 0.3s;
}
.f-featured-box .feature-box:hover {
  box-shadow: 0 6px 32px rgba(0,0,0,0.08);
}
.f-featured-box .feature-box-icon { color: var(--f-accent) !important; }
.f-featured-box h3 {
  font-family: var(--f-serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 10px;
}
.f-featured-box p {
  font-size: 12px;
  color: var(--f-muted);
  line-height: 1.75;
}

/* ── PORTFOLIO BANNERS ─────────────────────────────────────── */
.f-port-banner .banner {
  overflow: hidden;
}
.f-port-banner .banner img {
  transition: transform 0.5s ease;
}
.f-port-banner .banner:hover img {
  transform: scale(1.04);
}
.f-port-label-cat {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--f-accent);
  display: block;
  margin-bottom: 4px;
}
.f-port-label-title {
  font-family: var(--f-serif);
  font-size: 18px;
  font-weight: 300;
  color: #fff;
  display: block;
}

/* ── QUOTE / BLOCKQUOTE ────────────────────────────────────── */
.f-quote {
  border-left: 3px solid transparent;
  padding-left: 0px;
  font-style: italic;
  font-size: 14px;
  color: var(--f-mid);
      color: var(--f-muted);
  line-height: 1.75;
  margin: 20px 0;
}

/* ── ACCORDION OVERRIDES ───────────────────────────────────── */
.f-accordion .accordion-title {
  font-family: var(--f-serif);
  font-size: 17px;
  font-weight: 400;
  border-bottom: 1px solid var(--f-border) !important;
  padding: 16px 0 !important;
}
.f-accordion .accordion-content {
  font-size: 12px;
  color: var(--f-muted);
  line-height: 1.8;
}

/* ── CTA BAND ──────────────────────────────────────────────── */
.f-cta-band {
  background: var(--f-accent);
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.f-cta-band h3 {
  font-family: var(--f-serif);
  font-size: 26px;
  font-weight: 300;
  color: var(--f-dark);
  margin: 0;
}
.f-cta-band p {
  font-size: 12px;
  color: rgba(26,25,22,0.6);
  margin: 4px 0 0;
}

/* ── CONTACT INFO ──────────────────────────────────────────── */
.f-ci-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--f-muted);
  margin-bottom: 4px;
  display: block;
}
.f-ci-value {
  font-family: var(--f-serif);
  font-size: 20px;
  color: var(--f-dark);
  margin-bottom: 20px;
  display: block;
}
.f-divider {
  border: none;
  border-top: 1px solid var(--f-border);
  margin: 24px 0;
}

/* ── FOOTER ────────────────────────────────────────────────── */
#footer,
.footer-primary {
  background-color: #1C1B18 !important;
}

.f-footer {
  background:#1C1B18;
  color: rgba(255,255,255,0.4);
  font-size: 12px;
}

.f-footer-logo {
  font-family: var(--f-serif);
  font-size: 20px;
  color: #fff;
  font-weight: 300;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 12px;
}

.f-footer p,
.f-footer-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  line-height: 1.75;
}

.f-footer-heading {
  font-family: var(--f-sans) !important;
  font-size: 9px !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25) !important;
  font-weight: 500 !important;
  margin-bottom: 16px !important;
}

.f-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.f-footer li {
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.f-footer a {
  color: rgba(255,255,255,0.45) !important;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s;
}
.f-footer a:hover { color: var(--f-accent) !important; }

.f-footer-assoc {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 14px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
  margin-top: 16px;
}

.f-footer-partner-link {
  border: 1px solid rgba(255,255,255,0.12);
  padding: 12px 16px;
  display: block;
  margin-top: 8px;
}
.f-footer-partner-link span {
  font-family: var(--f-serif);
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  display: block;
}
.f-footer-partner-link a {
  font-size: 10px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--f-accent) !important;
  margin-top: 8px;
  display: block;
}

.f-footer-bottom {
  background: #1C1B18;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: rgba(255,255,255,0.2);
}

/* Hide WP default archive/category widgets in footer */
.widget_archive,
.widget_categories {
  display: none !important;
}

/* ── NAVBAR ────────────────────────────────────────────────── */
/*#header .header-inner {*/
/*  background: #fff !important;*/
/*  border-bottom: 1px solid var(--f-border);*/
/*  box-shadow: 0 1px 12px rgba(0,0,0,0.06);*/
/*}*/
/*#header nav > ul > li > a {*/
/*  font-size: 10px !important;*/
/*  letter-spacing: 0.1em !important;*/
/*  text-transform: uppercase !important;*/
/*  color: var(--f-muted) !important;*/
/*}*/
/*#header nav > ul > li > a:hover,*/
/*#header nav > ul > li.active > a {*/
/*  color: var(--f-dark) !important;*/
/*}*/

/* ── UTILITIES ─────────────────────────────────────────────── */
.f-border-top-gold { border-top: 3px solid var(--f-accent); }
.f-text-center     { text-align: center; }
.f-text-muted      { color: var(--f-muted); }
.f-text-gold       { color: var(--f-accent); }
.f-mt-sm  { margin-top: 16px; }
.f-mt-md  { margin-top: 28px; }
.f-mt-lg  { margin-top: 48px; }
.f-mb-sm  { margin-bottom: 16px; }
.f-mb-md  { margin-bottom: 28px; }
.f-mb-lg  { margin-bottom: 48px; }

.page-template-page-transparent-header .nav>li>a:hover,
.header:not(.transparent) .header-nav-main.nav > li > a:hover{
    color: #c8a96e;
}


.header-bg-color{    background-color: hsla(0, 0%, 100%, .9); }
.header  .header-nav-main.nav > li > a {
    color: #525755; font-weight: 500;     font-family: 'Raleway';     font-size: 1em;
}

.from_the_blog_excerpt.show-on-hover{    opacity: 1;
    pointer-events: inherit;
    transform: scale(1) translateZ(0) translateY(0) !important;
    color: #8C8A82;
    line-height: 1.85;
}

.banner .button.is-normal{min-width: 170px; }


 
 
/*
   CONTACT FORM 7 styles
*/
 
=================================================================
   CONTACT FORM 7 — EXTENDED FORM styles
   Pievienot filippo-custom.css faila beigās
=================================================================
*/
 
/* Grid wrapper */
.f-cf7-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
}
.f-cf7-full  { grid-column: span 2; }
.f-cf7-row   { display: flex; flex-direction: column; gap: 8px; }
 
/* Step block title */
.f-cf7-block-title {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 0 4px;
  border-top: 1px solid var(--f-border);
  margin-top: 8px;
}
.f-cf7-block-title:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}
.f-cf7-step {
  font-family: var(--f-serif);
  font-size: 28px;
  font-weight: 300;
  color: var(--f-accent);
  line-height: 1;
  flex-shrink: 0;
}
.f-cf7-block-label {
  font-family : var(--f-serif);
    font-size: 20px;
    font-weight: 300;
  color: var(--f-dark);
  letter-spacing: 0.02em;
}
.f-cf7-optional {
  font-size: 11px;
  color: var(--f-muted);
  font-weight: 400;
}
 
/* Divider */
.f-cf7-divider {
  height: 0;
  border: none;
}
 
/* Labels */
.f-cf7-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--f-muted);
  display: block;
}
 
/* Text inputs */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--f-border);
  border-radius: 0;
  font-family: var(--f-sans);
  font-size: 13px;
  color: var(--f-dark);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: var(--f-accent);
  background: #fff;
}
.wpcf7 textarea {
  resize: vertical;
  min-height: 130px;
}
 
/* Select arrow */
.wpcf7 select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238C8A82' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
   padding: 0 16px;
  padding-right: 36px;
     
}
 
/* Radio buttons */
.f-cf7-radio-group .wpcf7-list-item {
  display: inline-block;
  margin: 0 8px 8px 0;
}
.f-cf7-radio-group .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid var(--f-border);
  background: var(--f-cream);
  font-size: 12px;
  color: var(--f-mid);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}
.f-cf7-radio-group .wpcf7-list-item input[type="radio"] {
  display: none;
}
.f-cf7-radio-group .wpcf7-list-item input[type="radio"]:checked + label,
.f-cf7-radio-group .wpcf7-list-item label:has(input:checked) {
  border-color: var(--f-accent);
  background: #fff;
  color: var(--f-dark);
}
/* Fallback без :has() */
.f-cf7-radio-group .wpcf7-list-item.wpcf7-list-item-checked label {
  border-color: var(--f-accent);
  background: #fff;
  color: var(--f-dark);
}
 
/* Checkboxes */
.f-cf7-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.f-cf7-checkbox-group .wpcf7-list-item {
  margin: 0;
}
.f-cf7-checkbox-group .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--f-border);
  background: var(--f-cream);
  font-size: 12px;
  color: var(--f-mid);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}
.f-cf7-checkbox-group .wpcf7-list-item input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: var(--f-accent);
  flex-shrink: 0;
}
.f-cf7-checkbox-group .wpcf7-list-item label:hover {
  border-color: var(--f-accent);
}
 
/* File upload */
.wpcf7 input[type="file"] {
  width: 100%;
  padding: 20px;
  border: 1.5px dashed var(--f-border);
  background: var(--f-cream);
  font-size: 12px;
  color: var(--f-muted);
  cursor: pointer;
  text-align: center;
}
.wpcf7 input[type="file"]:hover {
  border-color: var(--f-accent);
  background: #fff;
}
 
/* Acceptance */
.wpcf7 .wpcf7-acceptance {
  font-size: 12px;
  color: var(--f-muted);
  line-height: 1.6;
}
.wpcf7 .wpcf7-acceptance a {
  color: var(--f-accent);
}
 
/* Submit */
.wpcf7 .f-cf7-submit,
.wpcf7 input[type="submit"] {
  background: #000;
  color: #fff;
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 15px 36px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  width: 100%;
}
.wpcf7 .f-cf7-submit:hover,
.wpcf7 input[type="submit"]:hover {
  background: #b8954f;
}
.wpcf7 .f-cf7-submit:active {
  transform: translateY(1px);
}

.cf7mls-btns button.cf7mls_next.action-button{ background: #000; }
 
/* Response messages */
.wpcf7 .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 14px 18px;
  font-size: 12px;
  border: none;
  border-radius: 0;
}
.wpcf7 .wpcf7-mail-sent-ok {
  background: #f0f7f0;
  border-left: 3px solid #5a9e6f;
  color: #3a7a50;
}
.wpcf7 .wpcf7-validation-errors,
.wpcf7 .wpcf7-mail-sent-ng {
  background: #fff5f5;
  border-left: 3px solid #c87070;
  color: #a05050;
}
.wpcf7 .wpcf7-not-valid-tip {
  font-size: 11px;
  color: #c87070;
  margin-top: 4px;
}
 
/* Spinner */
.wpcf7 .wpcf7-spinner {
  background-color: var(--f-accent);
}

.contacts-info{
    padding: 24px 18px;
}
 
/* Responsive */
@media (max-width: 767px) {
  .f-cf7-grid {
    grid-template-columns: 1fr;
  }
  .f-cf7-full {
    grid-column: span 1;
  }
  .f-cf7-radio-group .wpcf7-list-item {
    display: block;
    margin-bottom: 6px;
  }
}


.section-bg .wpcf7 input[type="text"], 
.section-bg .wpcf7 input[type="email"], 
.section-bg .wpcf7 input[type="tel"], 
.section-bg .wpcf7 input[type="number"], 
.section-bg .wpcf7 select, 
.section-bg .wpcf7 textarea{     background: #fff; }



/* ================================================================
   PRODUCT CARDS 
   ================================================================ */

.f-prod-slide {
  /*background: var(--f-white);*/
  /*border: 1px solid var(--f-border);*/
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.f-prod-slide .ux-image img,
.f-prod-slide .lazyload-wrapper img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.f-prod-slide:hover .ux-image img {
  transform: scale(1.04);
}


/*.f-prod-card-body {*/
/*  padding: 20px 22px 24px;*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*  flex: 1;*/
/*}*/


.f-prod-brand {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--f-accent);
  display: block;
  margin-bottom: 8px;
}


.f-prod-name {
  font-family: var(--f-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--f-dark);
  margin: 0 0 10px;
  line-height: 1.3;
}

.f-prod-desc {
  font-size: 12px;
  color: var(--f-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}

.f-prod-price {
  font-family: var(--f-serif);
  font-size: 18px;
  color: var(--f-accent);
  display: block;
  margin-bottom: 14px;
}



.f-prod-slide ~ .ux-slider-nav .nav-btn {
  background: var(--f-dark);
  color: var(--f-white);
  width: 36px;
  height: 36px;
  border-radius: 0;
}



/* ================================================================
   PORTFOLIO SINGLE — single-portfolio.php
   Додати в filippo-custom.css
   ================================================================ */

/* ── ГОЛОВНА СЕКЦІЯ ── */
.f-ps-main {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 0;
  min-height: 80vh;
  max-width: 100%;
}

/* ── СЛАЙДЕР ── */
.f-ps-slider-wrap {
  position: sticky;
  top: 64px; /* висота navbar */
  height: calc(100vh - 64px);
  overflow: hidden;
  background: var(--f-cream2, #EDEAE2);
}

.f-ps-slider {
  width: 100%;
  height: 100%;
}

.f-ps-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Стрілки слайдера */
.f-ps-slider-prev,
.f-ps-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  background: rgba(253,252,250,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  color: var(--f-dark);
}
.f-ps-slider-prev:hover,
.f-ps-slider-next:hover { background: var(--f-white); }
.f-ps-slider-prev { left: 20px; }
.f-ps-slider-next { right: 20px; }

/* Лічильник */
.f-ps-slider-count {
  position: absolute;
  bottom: 16px;
  right: 20px;
  z-index: 10;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  background: rgba(15,14,12,0.45);
  padding: 4px 10px;
  font-family: var(--f-sans);
}

/* Thumbnails */
.f-ps-thumbs {
  height: 72px;
  padding: 8px 0;
}
.f-ps-thumbs .swiper-slide {
  opacity: 0.45;
  cursor: pointer;
  transition: opacity 0.2s;
  overflow: hidden;
}
.f-ps-thumbs .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.f-ps-thumbs .swiper-slide-thumb-active { opacity: 1; }

/* Single image fallback */
.f-ps-single-img img {
  width: 100%;
  height: calc(100vh - 64px);
  object-fit: cover;
  display: block;
}

/* ── META / ОПИС (права колонка) ── */
.f-ps-meta-wrap {
  padding: 56px 48px;
  overflow-y: auto;
  background: var(--f-white);
  border-left: 1px solid var(--f-border);
  min-height: calc(100vh - 64px);
}

/* Категорія */
.f-ps-cat {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--f-accent);
  display: block;
  margin-bottom: 12px;
}

/* Заголовок */
.f-ps-title {
  font-family: var(--f-serif);
  font-size: 36px;
  font-weight: 300;
  color: var(--f-dark);
  line-height: 1.15;
  margin: 0 0 32px;
}

/* Мета поля */
.f-ps-meta-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
.f-ps-meta-item {}
.f-ps-meta-label {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--f-muted);
  display: block;
  margin-bottom: 4px;
}
.f-ps-meta-value {
  font-family: var(--f-serif);
  font-size: 18px;
  color: var(--f-dark);
  display: block;
}

/* Divider */
.f-ps-divider {
  border: none;
  border-top: 1px solid var(--f-border);
  margin: 28px 0;
}

/* Опис тексту */
.f-ps-description {
  font-size: 13px;
  color: var(--f-muted);
  line-height: 1.85;
  margin-bottom: 32px;
}
.f-ps-description p { margin-bottom: 12px; }

/* CTA кнопка */
.f-ps-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--f-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--f-border);
  padding-bottom: 4px;
  transition: border-color 0.2s, color 0.2s;
}
.f-ps-cta:hover {
  color: var(--f-accent);
  border-color: var(--f-accent);
}
.f-ps-cta svg { transition: transform 0.2s; }
.f-ps-cta:hover svg { transform: translateX(4px); }

/* ── НАВІГАЦІЯ ── */
.f-ps-nav {
  border-top: 1px solid var(--f-border);
  padding: 32px 48px;
}
.f-ps-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.f-ps-nav-link {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--f-dark);
  transition: color 0.2s;
  max-width: 280px;
}
.f-ps-nav-link:hover { color: var(--f-accent); }
.f-ps-nav-link svg {
  flex-shrink: 0;
  stroke: currentColor;
  fill: currentColor;
}
.f-ps-nav-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--f-muted);
  display: block;
  margin-bottom: 4px;
}
.f-ps-nav-title {
  font-family: var(--f-serif);
  font-size: 16px;
  font-weight: 400;
  display: block;
  line-height: 1.3;
}

.f-ps-nav-prev { flex-direction: row; text-align: left; }
.f-ps-nav-next { flex-direction: row-reverse; text-align: right; }

/* Іконка всіх проектів по центру */
.f-ps-nav-all {
  color: var(--f-muted);
  transition: color 0.2s;
  flex-shrink: 0;
}
.f-ps-nav-all:hover { color: var(--f-accent); }

/* ── RELATED PROJECTS ── */
.f-ps-related {
  border-top: 1px solid var(--f-border);
  padding: 72px 48px;
  background: var(--f-cream);
}
.f-ps-related-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.f-ps-related-header {
  margin-bottom: 40px;
}
.f-ps-related-title {
  font-family: var(--f-serif);
  font-size: 36px;
  font-weight: 300;
  margin: 8px 0 0;
}
.f-ps-related-title em {
  font-style: italic;
  color: var(--f-accent);
}

.f-ps-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.f-ps-related-item {
  text-decoration: none;
  color: var(--f-dark);
  display: block;
  overflow: hidden;
}
.f-ps-related-img {
  height: 240px;
  overflow: hidden;
  margin-bottom: 16px;
}
.f-ps-related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.f-ps-related-item:hover .f-ps-related-img img {
  transform: scale(1.04);
}
.f-ps-related-body { padding: 0 4px; }
.f-ps-related-name {
  font-family: var(--f-serif);
  font-size: 20px;
  font-weight: 400;
  margin: 6px 0 0;
  line-height: 1.3;
  transition: color 0.2s;
}
.f-ps-related-item:hover .f-ps-related-name {
  color: var(--f-accent);
}


.header-bg-color{    background-color: hsla(0, 0%, 100%, .9); }
.header  .header-nav-main.nav > li > a {
    color: #525755;
}






/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .f-ps-main {
    grid-template-columns: 1fr 360px;
  }
  .f-ps-meta-wrap { padding: 40px 32px; }
}

@media (max-width: 768px) {
  .f-ps-main {
    grid-template-columns: 1fr;
  }
  .f-ps-slider-wrap {
    position: relative;
    top: 0;
    height: 60vw;
    min-height: 280px;
  }
  .f-ps-slider { height: calc(100% - 60px); }
  .f-ps-meta-wrap {
    padding: 32px 20px;
    border-left: none;
    border-top: 1px solid var(--f-border);
    min-height: auto;
  }
  .f-ps-meta-fields { grid-template-columns: 1fr 1fr; gap: 16px; }
  .f-ps-title { font-size: 28px; }
  .f-ps-nav { padding: 24px 20px; }
  .f-ps-nav-title { font-size: 14px; }
  .f-ps-related { padding: 48px 20px; }
  .f-ps-related-grid { grid-template-columns: 1fr; gap: 12px; }
  .f-ps-related-img { height: 200px; }
}




/* ================================================================
   PORTFOLIO ARCHIVE — archive-portfolio.php
   Masonry grid + hover overlay в стилі Studio Around
   Додати в filippo-custom.css
   ================================================================ */

/* ── FILTERS ── */
/*.f-port-filters {*/
/*  position: sticky; 
  top: 64px;  висота navbar */
/*  z-index: 50;*/
/*  background: var(--f-white);*/
/*  border-bottom: 1px solid var(--f-border);*/
/*}*/

/*.f-port-filters-inner {*/
/*  max-width: 1400px;*/
/*  margin: 0 auto;*/
/*  padding: 0 24px;*/
/*  display: flex;*/
/*  gap: 0;*/
/*  overflow-x: auto;*/
/*  scrollbar-width: none;*/
/*}*/
/*.f-port-filters-inner::-webkit-scrollbar { display: none; }*/

/*.f-port-filter {*/
/*  font-family: var(--f-sans);*/
/*  font-size: 11px;*/
/*  letter-spacing: 0.1em;*/
/*  text-transform: uppercase;*/
/*  color: var(--f-muted);*/
/*  background: none;*/
/*  border: none;*/
/*  border-bottom: 2px solid transparent;*/
/*  padding: 18px 20px;*/
/*  cursor: pointer;*/
/*  white-space: nowrap;*/
/*  transition: color 0.2s, border-color 0.2s;*/
/*  flex-shrink: 0;*/
/*}*/
/*.f-port-filter:hover { color: var(--f-dark); }*/
/*.f-port-filter.active {*/
/*  color: var(--f-dark);*/
/*  border-bottom-color: var(--f-dark);*/
/*}*/

/* ── MASONRY GRID ── */
/*.f-port-grid {*/
/*  max-width: 1400px;*/
/*  margin: 0 auto;*/
/*  padding: 0;*/
  /* 3 колонки */
/*  column-count: 3;*/
/*  column-gap: 0;*/
  /* Isotope перевизначить це через JS */
/*}*/

/* Isotope layout */
/*.f-port-item {*/
/*  width: calc(33.333% - 24px);*/
/*   margin: 12px;*/
/*   float: left;   для Isotope masonry */
/*  break-inside: avoid;*/
/*  position: relative;*/
/*  overflow: hidden;*/
/*  display: block;*/
/*}*/
/*.f-port-gutter-sizer {*/
/*  width: 12px;*/
/*}*/
/* ── ФОТО ── */
/*.f-port-item-img {*/
/*  width: 100%;*/
/*  overflow: hidden;*/
/*  background: var(--f-cream2);*/
/*  display: block;*/
/*  position: relative;*/
/*}*/

/*.f-port-item-img img {*/
/*  width: 100%;*/
/*  height: 100%;*/
/*  object-fit: cover;*/
/*  display: block;*/
/*  transition: transform 0.6s ease;*/
/*}*/

/* Різна висота для masonry ефекту */
/* Замінити всі три nth-child правила на: */
/*.f-port-item:nth-child(3n+1) .f-port-item-img { aspect-ratio: 4/3; }*/
/*.f-port-item:nth-child(3n+2) .f-port-item-img { aspect-ratio: 16/10; }*/
/*.f-port-item:nth-child(3n+3) .f-port-item-img { aspect-ratio: 4/3; }*/

/* ── HOVER OVERLAY ── */
/*.f-port-item-overlay {*/
/*  position: absolute;*/
/*  inset: 0;*/
/*  background: rgba(15, 14, 12, 0);*/
/*  display: flex;*/
/*  align-items: flex-end;*/
/*  padding: 28px;*/
/*  transition: background 0.4s ease;*/
/*  pointer-events: none;*/
/*}*/

/*.f-port-item-link:hover .f-port-item-overlay {*/
/*  background: rgba(15, 14, 12, 0.65);*/
/*}*/

/*.f-port-item-link:hover .f-port-item-img img {*/
/*  transform: scale(1.04);*/
/*}*/

/* Текст у оверлеї */
/*.f-port-item-info {*/


  
/*  transform: translateY(12px);*/
/*  opacity: 0;*/
/*  transition: transform 0.35s ease, opacity 0.35s ease;*/
/*}*/

/*.f-port-item-link:hover .f-port-item-info {*/
/*  transform: translateY(0);*/
/*  opacity: 1;*/
/*}*/

/*.f-port-item-cat {*/
/*  font-family: var(--f-sans);*/
/*  font-size: 10px;*/
/*  letter-spacing: 0.14em;*/
/*  text-transform: uppercase;*/
/*  color: var(--f-accent);*/
/*  display: block;*/
/*  margin-bottom: 6px;*/
/*}*/

/*.f-port-item-title {*/
/*  font-family: var(--f-serif);*/
/*  font-size: 22px;*/
/*  font-weight: 300;*/
/*  color: var(--f-white);*/
/*  line-height: 1.2;*/
/*  margin: 0 0 8px;*/
/*}*/

/*.f-port-item-meta {*/
/*  font-family: var(--f-sans);*/
/*  font-size: 11px;*/
/*  color: rgba(255, 255, 255, 0.55);*/
/*  letter-spacing: 0.05em;*/
/*  display: block;*/
/*}*/

/* ── BADGE ── */
/*.f-port-item-badge {*/
/*  position: absolute;*/
/*  top: 16px;*/
/*  right: 16px;*/
/*  background: var(--f-accent);*/
/*  color: var(--f-dark);*/
/*  font-family: var(--f-sans);*/
/*  font-size: 9px;*/
/*  letter-spacing: 0.1em;*/
/*  text-transform: uppercase;*/
/*  padding: 4px 10px;*/
/*  z-index: 5;*/
/*}*/

/* ── NO IMAGE FALLBACK ── */
/*.f-port-no-img {*/
/*  aspect-ratio: 4/3;*/
/*  background: var(--f-cream2);*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: center;*/
/*  font-family: var(--f-serif);*/
/*  font-size: 18px;*/
/*  color: var(--f-muted);*/
/*}*/

/* ── LINK ── */
/*.f-port-item-link {*/
/*  display: block;*/
/*  text-decoration: none;*/
/*  position: relative;*/
/*  overflow: hidden;*/
/*}*/

/* ── PAGINATION ── */
/*.f-port-pagination {*/
/*  clear: both;*/
/*  padding: 52px 24px;*/
/*  text-align: center;*/
/*  border-top: 1px solid var(--f-border);*/
/*}*/

/*.f-port-pagination .page-numbers {*/
/*  display: inline-block;*/
/*  font-family: var(--f-sans);*/
/*  font-size: 11px;*/
/*  letter-spacing: 0.1em;*/
/*  text-transform: uppercase;*/
/*  color: var(--f-muted);*/
/*  text-decoration: none;*/
/*  padding: 10px 16px;*/
/*  border: 1px solid var(--f-border);*/
/*  margin: 0 3px;*/
/*  transition: all 0.2s;*/
/*}*/
/*.f-port-pagination .page-numbers:hover,*/
/*.f-port-pagination .page-numbers.current {*/
/*  background: var(--f-dark);*/
/*  color: var(--f-white);*/
/*  border-color: var(--f-dark);*/
/*}*/
/*.f-port-pagination .page-numbers.dots {*/
/*  border: none;*/
/*  color: var(--f-muted);*/
/*}*/

/* ── RESPONSIVE ── */
/*@media (max-width: 1024px) {*/
/*  .f-port-item { width: 50%; }*/
/*  .f-port-item:nth-child(3n+1) .f-port-item-img,*/
/*  .f-port-item:nth-child(3n+2) .f-port-item-img,*/
/*  .f-port-item:nth-child(3n+3) .f-port-item-img { aspect-ratio: 4/3; }*/
/*}*/

/*@media (max-width: 600px) {*/
/*  .f-port-item { width: 100%; }*/
/*  .f-port-filters-inner { padding: 0 12px; }*/
/*  .f-port-filter { padding: 14px 12px; font-size: 10px; }*/
/*  .f-port-item-info { opacity: 1; transform: translateY(0); }*/
/*  .f-port-item-overlay { background: linear-gradient(transparent, rgba(15,14,12,0.7)); }*/
/*}*/

/* ── ISOTOPE TRANSITION ── */
/*.f-port-grid.isotope-hidden { opacity: 0; }*/
/*.f-port-item.isotope-hidden { opacity: 0; }*/

/* Ховаємо сітку поки Isotope не готовий */
/*.f-port-grid {*/
/*  opacity: 0;*/
/*  transition: opacity 0.3s ease;*/
/*}*/
/*.f-port-grid.isotope-ready {*/
/*  opacity: 1;*/
/*}*/

/* ================================================================
   PORTFOLIO — CSS Grid 2 колонки, мінімалізм
   ЗАМІНИТИ старий блок /* PORTFOLIO ARCHIVE */ в filippo-custom.css
   ================================================================ */

/* ── FILTERS ── */
.f-port-filters {
  position: sticky;
  top: 64px;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #f0ede8;
}

.f-port-filters-inner {
  padding: 0 24px;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.f-port-filters-inner::-webkit-scrollbar { display: none; }

.f-port-filter {
  /*font-family: var(--f-sans);*/
   font-family: Raleway, sans-serif;
  font-size: 12px;     font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aaa;
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  padding: 16px 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.f-port-filter:hover { color: #1C1B18; }
.f-port-filter.active {
  color: #1C1B18;
  border-bottom-color: #1C1B18;
}

/* ── CSS GRID — 2 колонки ── */
.f-port-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: 3px;
  /* Прибрати float і Isotope стилі */
  float: none !important;
  position: static !important;
  height: auto !important;
  opacity: 1 !important;
}

/* Елементи — скинути Isotope стилі */
.f-port-item {
  width: 100% !important;
  float: none !important;
  position: relative !important;
  left: auto !important;
  top: auto !important;
  margin: 0 !important;
  overflow: hidden;
  display: block;
}

/* Фото */
.f-port-item-img {
  width: 100%;
  overflow: hidden;
  background: #f5f5f3;
  display: block;
  position: relative;
  aspect-ratio: 3/2;
}

/* Скинути старі nth-child */
.f-port-item:nth-child(n) .f-port-item-img {
  aspect-ratio: 3/2;
}

.f-port-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

/* ── HOVER ── */
.f-port-item-link {
  display: block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.f-port-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 14, 12, 0);
  display: flex;
  align-items: flex-end;
  padding: 20px 24px;
  transition: background 0.4s ease;
  pointer-events: none;
}

.f-port-item-link:hover .f-port-item-overlay {
  background: rgba(15, 14, 12, 0.45);
}

.f-port-item-link:hover .f-port-item-img img {
  transform: scale(1.03);
}

.f-port-item-info {
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.f-port-item-link:hover .f-port-item-info {
  transform: translateY(0);
  opacity: 1;
}

/* Тільки назва */
.f-port-item-cat  { display: none; }
.f-port-item-meta { display: none; }

.f-port-item-title {
  /*font-family: var(--f-sans);*/
  font-family: Raleway, sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #fff;
  line-height: 1.3;
  margin: 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
      font-size: 25px;
    font-weight: 300;
}

/* Badge */
.f-port-item-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,0.92);
  color: #1C1B18;
  font-family: var(--f-sans);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  z-index: 5;
}

/* No image */
.f-port-no-img {
  aspect-ratio: 3/2;
  background: #f0ede8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-sans);
  font-size: 11px;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Pagination */
.f-port-pagination {
  padding: 48px 24px;
  text-align: center;
}
.f-port-pagination .page-numbers {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #aaa;
  text-decoration: none;
  padding: 8px 14px;
  margin: 0 2px;
  transition: color 0.2s;
  display: inline-block;
}
.f-port-pagination .page-numbers:hover,
.f-port-pagination .page-numbers.current { color: #1C1B18; }

/* Responsive */
@media (max-width: 480px) {
  .f-port-grid { grid-template-columns: 1fr;   }
}


.wpcf7 .f-cf7-submit, .wpcf7 input[type="submit"]{font-size: 13px; color: #fff;}

.off-canvas .nav-vertical>li>a{     color: #525755;
    font-weight: 500;
    font-family: 'Raleway';}
    
@media (max-width: 767px) {    
    .accordion-title{font-size: 100%;}
    .f-heading-sm{font-size: 24px;}
    .f-port-filter{padding: 10px 10px;} 
    .f-social{justify-content: center;}
    /*.flickity-enabled.is-draggable .flickity-viewport .ux-logo img{  max-height: 30px; }*/
    
}