/*
Theme Name: Design22
Theme URI: https://design22.eu
Description: Custom тема за Design22 - ръчно изработени подаръци
Version: 1.0
Author: Design22
*/

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Merriweather:ital,wght@0,300;0,400;0,700;1,300;1,400&family=Lato:wght@300;400;600&display=swap');

/* ══════════════════════════════
   GLOBAL RESET
══════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }

body, #page, #content, #primary, #main,
.site-content, .entry-content,
.ast-page-builder-template .entry-content {
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
}

.page .entry-title,
.ast-page-builder-template h1.entry-title,
.ast-page-builder-template .entry-header { display: none !important; }

#main, #content, .site-content { display: block !important; float: none !important; }
.site { display: flex; flex-direction: column; min-height: 100vh; }
.site-content { flex: 1; }

/* ══════════════════════════════
   HEADER
══════════════════════════════ */
#masthead, .site-header, .main-header-bar {
  background: #fff !important;
  border-bottom: 1px solid #e8d5c4 !important;
  box-shadow: 0 2px 20px rgba(144,113,85,.06) !important;
  padding: 0 !important;
}
.main-header-bar .ast-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  max-width: 1200px !important;
  padding: 0 40px !important;
  margin: 0 auto !important;
}
.ast-site-identity { order: 1 !important; padding: 18px 0 !important; }
.site-title a, .ast-site-title a {
  font-family: 'Merriweather', serif !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: #3d2b1f !important;
  text-decoration: none !important;
}
.site-title a:hover, .ast-site-title a:hover { color: #907155 !important; }

.ast-main-header-bar-alignment {
  order: 2 !important;
  flex: 1 !important;
  display: flex !important;
  justify-content: center !important;
}
.main-navigation a, .ast-main-navigation a {
  font-family: 'Lato', sans-serif !important;
  font-size: .85rem !important;
  font-weight: 600 !important;
  color: #4a3728 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  padding: 8px 18px !important;
  transition: color .2s !important;
  text-decoration: none !important;
}
.main-navigation a:hover, .ast-main-navigation a:hover { color: #907155 !important; }
.main-navigation .current-menu-item > a,
.ast-main-navigation .current-menu-item > a {
  color: #907155 !important;
  border-bottom: 2px solid #907155 !important;
}

.ast-header-woo-cart { order: 3 !important; display: flex !important; align-items: center !important; }
.ast-cart-menu-wrap {
  display: flex !important; align-items: center !important; gap: 8px !important;
  background: #f7eedf !important; padding: 8px 16px !important;
  border-radius: 50px !important; border: 1px solid #e8d5c4 !important;
  text-decoration: none !important; transition: all .3s !important; cursor: pointer !important;
}
.ast-cart-menu-wrap:hover { background: #907155 !important; border-color: #907155 !important; }
.ast-cart-menu-wrap .ast-icon svg, .ast-cart-menu-wrap svg {
  width: 20px !important; height: 20px !important; fill: #907155 !important; transition: fill .3s !important;
}
.ast-cart-menu-wrap:hover svg { fill: #fff !important; }
.ast-cart-amount {
  font-family: 'Lato', sans-serif !important; font-size: .82rem !important;
  font-weight: 600 !important; color: #907155 !important; transition: color .3s !important;
}
.ast-cart-menu-wrap:hover .ast-cart-amount { color: #fff !important; }
.count {
  background: #907155 !important; color: #fff !important; border-radius: 50% !important;
  width: 20px !important; height: 20px !important; font-size: .7rem !important;
  font-weight: 700 !important; display: flex !important; align-items: center !important;
  justify-content: center !important; font-family: 'Lato', sans-serif !important;
}
.ast-cart-menu-wrap:hover .count { background: #fff !important; color: #907155 !important; }
.ast-mobile-menu-trigger span { background: #3d2b1f !important; }

/* ══════════════════════════════
   BUTTONS
══════════════════════════════ */
.d22-script { font-family: 'Great Vibes', cursive; }
.d22-btn-primary {
  display: inline-block; background: linear-gradient(135deg, #907155, #7a5c3e);
  color: #fff; padding: 16px 42px; border-radius: 50px; text-decoration: none;
  font-size: .95rem; font-weight: 600; letter-spacing: 1px;
  box-shadow: 0 8px 30px rgba(144,113,85,.35); margin: 6px; transition: all .3s;
  font-family: 'Lato', sans-serif; border: none; cursor: pointer;
}
.d22-btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 12px 40px rgba(144,113,85,.45); }
.d22-btn-outline {
  display: inline-block; border: 2px solid #907155; color: #907155;
  padding: 14px 36px; border-radius: 50px; text-decoration: none;
  font-size: .95rem; font-weight: 600; margin: 6px; transition: all .3s;
  background: transparent; font-family: 'Lato', sans-serif;
}
.d22-btn-outline:hover { background: #907155; color: #fff; }

/* ══════════════════════════════
   SECTIONS
══════════════════════════════ */
.d22-section { padding: 90px 40px; text-align: center; margin: 0; }
.d22-section-label {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: #907155; font-weight: 700; margin-bottom: 16px; display: block;
  font-family: 'Lato', sans-serif;
}
.d22-section-title {
  font-family: 'Merriweather', serif; font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #3d2b1f; margin-bottom: 16px; line-height: 1.4;
}
.d22-section-sub {
  color: #7a5c4a; font-size: 1rem; line-height: 1.7; font-weight: 300;
  max-width: 580px; margin: 0 auto 50px; font-family: 'Lato', sans-serif;
}

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.d22-hero-wrap {
  min-height: 100vh; background: #f7eedf;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 80px 20px;
}
.d22-hero-badge {
  display: inline-block; font-size: 12px; letter-spacing: 3px;
  text-transform: uppercase; color: #907155; border: 1px solid #b09070;
  padding: 6px 20px; border-radius: 30px; margin-bottom: 28px;
  font-weight: 600; font-family: 'Lato', sans-serif;
}
.d22-hero-title {
  font-family: 'Merriweather', serif; font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.3; color: #3d2b1f; margin-bottom: 22px;
}
.d22-hero-title em { font-style: italic; color: #907155; }
.d22-hero-sub {
  font-family: 'Lato', sans-serif; font-size: 1.05rem; line-height: 1.8;
  color: #7a5c4a; max-width: 560px; margin: 0 auto 40px; font-weight: 300;
}

/* ══════════════════════════════
   TRUST BAR
══════════════════════════════ */
.d22-trust-bar {
  background: #3d2b1f; padding: 22px 40px;
  display: flex; justify-content: center; gap: 50px; flex-wrap: wrap;
}
.d22-trust-item {
  display: flex; align-items: center; gap: 10px;
  color: #e8d5c4; font-size: .88rem; font-family: 'Lato', sans-serif;
}

/* ══════════════════════════════
   CARDS
══════════════════════════════ */
.d22-cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px; max-width: 1100px; margin: 0 auto;
}
.d22-card {
  background: #fff; border-radius: 24px; padding: 44px 32px;
  transition: all .35s; box-shadow: 0 4px 20px rgba(144,113,85,.08); text-align: center;
}
.d22-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(144,113,85,.15); }
.d22-card-icon { font-size: 2.8rem; margin-bottom: 22px; display: block; }
.d22-card h3 { font-family: 'Merriweather', serif; font-size: 1.2rem; color: #3d2b1f; margin-bottom: 14px; }
.d22-card p { color: #7a5c4a; font-size: .9rem; line-height: 1.75; font-weight: 300; font-family: 'Lato', sans-serif; }

/* ══════════════════════════════
   STEPS
══════════════════════════════ */
.d22-steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px; max-width: 960px; margin: 0 auto;
}
.d22-step { text-align: center; padding: 20px; }
.d22-step-num {
  width: 60px; height: 60px; background: linear-gradient(135deg, #907155, #7a5c3e);
  color: #fff; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-family: 'Merriweather', serif;
  font-size: 1.4rem; margin: 0 auto 20px; box-shadow: 0 6px 20px rgba(144,113,85,.35);
}
.d22-step h4 { font-family: 'Merriweather', serif; color: #3d2b1f; font-size: 1rem; margin-bottom: 10px; }
.d22-step p { font-size: .85rem; color: #9a7a6a; line-height: 1.6; font-weight: 300; font-family: 'Lato', sans-serif; }

/* ══════════════════════════════
   TESTIMONIALS
══════════════════════════════ */
.d22-testi-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px; max-width: 1000px; margin: 0 auto;
}
.d22-testi-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(176,144,112,.2);
  border-radius: 20px; padding: 36px 30px; text-align: left;
}
.d22-testi-stars { color: #b09070; font-size: 1rem; margin-bottom: 16px; letter-spacing: 3px; }
.d22-testi-card p { color: #e8d5c4; font-size: .93rem; line-height: 1.8; font-weight: 300; font-style: italic; margin-bottom: 22px; font-family: 'Lato', sans-serif; }
.d22-testi-author strong { color: #f9ede3; font-size: .9rem; display: block; font-family: 'Lato', sans-serif; }
.d22-testi-author span { color: #c4a08a; font-size: .8rem; font-family: 'Lato', sans-serif; }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.d22-footer { clear: both; width: 100%; display: block; background: #2a1e16; padding: 60px 40px 30px; color: #c4a08a; }
.d22-footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 50px; max-width: 1100px; margin: 0 auto 40px;
}
.d22-footer-brand h3 { font-family: 'Merriweather', serif; color: #f9ede3; font-size: 1.5rem; margin-bottom: 14px; }
.d22-footer-brand p { font-size: .88rem; line-height: 1.7; font-weight: 300; color: #a07868; font-family: 'Lato', sans-serif; }
.d22-footer-col h4 { color: #f9ede3; font-size: .85rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; font-family: 'Lato', sans-serif; }
.d22-footer-col ul { list-style: none; padding: 0; margin: 0; }
.d22-footer-col ul li { margin-bottom: 10px; }
.d22-footer-col ul li a { color: #a07868; text-decoration: none; font-size: .88rem; font-weight: 300; transition: color .2s; font-family: 'Lato', sans-serif; }
.d22-footer-col ul li a:hover { color: #b09070; }
.d22-footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 24px; text-align: center; font-size: .82rem; color: #6a4e3e; max-width: 1100px; margin: 0 auto; font-family: 'Lato', sans-serif; }
.d22-footer-social { display: flex; gap: 16px; margin-top: 16px; }
.d22-footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #b09070; text-decoration: none; transition: all .3s; }
.d22-footer-social a:hover { background: #907155; color: #fff; }

/* ══════════════════════════════
   CONTACT PAGE
══════════════════════════════ */
.d22-contact-hero { background: #f7eedf; text-align: center; padding: 80px 40px 20px; }
.d22-contact-title { font-family: 'Merriweather', serif; font-size: clamp(2rem, 4vw, 3rem); color: #3d2b1f; line-height: 1.4; margin-bottom: 20px; }
.d22-contact-title em { font-family: 'Great Vibes', cursive; font-style: normal; color: #907155; font-size: 1.3em; }
.d22-contact-sub { font-family: 'Lato', sans-serif; color: #7a5c4a; font-size: 1.05rem; line-height: 1.8; max-width: 540px; margin: 0 auto; font-weight: 300; }

.d22-contact-outer { background: #fff; width: 100%; padding: 0; }
.d22-contact-wrap {
  display: grid !important; grid-template-columns: 1.4fr 1fr !important;
  gap: 60px !important; width: 100% !important; max-width: 1200px !important;
  margin: 0 auto !important; padding: 40px 60px 80px !important;
  background: #fff !important; align-items: start !important; box-sizing: border-box !important;
}
.d22-contact-form-box { background: #fff; order: 2 !important; }
.d22-contact-form-title { font-family: 'Merriweather', serif; font-size: 1.5rem; color: #3d2b1f; margin-bottom: 24px; }
.d22-contact-info { display: flex; flex-direction: column; gap: 20px; order: 1 !important; }

.d22-contact-form-box .wpcf7-form p { margin: 0 0 16px; }
.d22-contact-form-box .wpcf7-form input[type="text"],
.d22-contact-form-box .wpcf7-form input[type="email"],
.d22-contact-form-box .wpcf7-form input[type="tel"],
.d22-contact-form-box .wpcf7-form select,
.d22-contact-form-box .wpcf7-form textarea {
  width: 100%; padding: 14px 18px; border: 1.5px solid #e8d5c4; border-radius: 12px;
  font-family: 'Lato', sans-serif; font-size: .95rem; color: #3d2b1f; background: #fdf9f5;
  transition: border-color .3s; outline: none; box-sizing: border-box;
  display: block; min-height: 50px; visibility: visible; opacity: 1;
  -webkit-appearance: auto; appearance: auto;
}
.d22-contact-form-box .wpcf7-form input:focus,
.d22-contact-form-box .wpcf7-form select:focus,
.d22-contact-form-box .wpcf7-form textarea:focus { border-color: #907155; background: #fff; }
.d22-contact-form-box .wpcf7-form textarea { resize: vertical; min-height: 140px; }
.d22-contact-form-box .wpcf7-form label {
  display: block; font-family: 'Lato', sans-serif; font-size: .78rem;
  color: #907155; margin-bottom: 6px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.d22-contact-form-box .wpcf7-submit {
  width: 100%; background: linear-gradient(135deg, #907155, #7a5c3e); color: #fff;
  padding: 16px; border: none; border-radius: 50px; font-family: 'Lato', sans-serif;
  font-size: 1rem; font-weight: 600; cursor: pointer; letter-spacing: 1px; transition: all .3s;
  box-shadow: 0 8px 30px rgba(144,113,85,.35); margin-top: 8px;
}
.d22-contact-form-box .wpcf7-submit:hover { transform: translateY(-2px); }

.d22-contact-info-card { background: #fdf9f5; border-radius: 20px; padding: 28px; border: 1px solid #e8d5c4; }
.d22-contact-info-icon { font-size: 1.8rem; margin-bottom: 12px; display: block; }
.d22-contact-info-card h3 { font-family: 'Merriweather', serif; font-size: 1.05rem; color: #3d2b1f; margin-bottom: 10px; }
.d22-contact-info-card p { font-family: 'Lato', sans-serif; font-size: .88rem; color: #7a5c4a; line-height: 1.7; font-weight: 300; margin-bottom: 6px; }

/* ══ КОМПАКТНИ СОЦИАЛНИ МРЕЖИ ══ */
/* Скриваме празните br и p тагове от Gutenberg */
.d22-contact-info-card br { display: none !important; }
.d22-contact-info-card p:empty { display: none !important; }
.d22-contact-info-card p:has(> a:only-child) { margin: 0 !important; }

/* Социалните линкове — в един ред */
.d22-social-links-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  margin-top: 8px !important;
}
.d22-contact-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #3d2b1f !important;
  text-decoration: none !important;
  font-family: 'Lato', sans-serif !important;
  font-size: .9rem !important;
  font-weight: 600 !important;
  margin-top: 4px !important;
  transition: color .2s !important;
}
.d22-contact-link:hover { color: #907155 !important; }

/* Икони на социалните мрежи */
.d22-social-icon {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  font-size: 14px !important;
  color: #fff !important;
}
.d22-fb-icon { background: #1877f2 !important; }
.d22-ig-icon { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important; }
.d22-tt-icon { background: #010101 !important; }
.d22-fb-icon::before  { content: 'f'; font-weight: 900; font-family: serif; font-size: 16px; }
.d22-ig-icon::before  { content: '◉'; font-size: 15px; }
.d22-tt-icon::before  { content: '♪'; font-size: 15px; }
.d22-contact-link { display: flex; align-items: center; gap: 8px; color: #907155; text-decoration: none; font-family: 'Lato', sans-serif; font-size: .9rem; font-weight: 600; margin-top: 10px; transition: color .2s; }
.d22-contact-link:hover { color: #7a5c3e; }
.d22-social-icon { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.d22-fb-icon { background: #1877f2; }
.d22-ig-icon { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.d22-tt-icon { background: #000; }

.d22-faq-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; text-align: left; }
.d22-faq-item { background: #fff; border-radius: 16px; padding: 28px; border: 1px solid #e8d5c4; }
.d22-faq-item h4 { font-family: 'Merriweather', serif; font-size: .95rem; color: #3d2b1f; margin-bottom: 12px; line-height: 1.4; }
.d22-faq-item p { font-family: 'Lato', sans-serif; font-size: .88rem; color: #7a5c4a; line-height: 1.7; font-weight: 300; }

/* ══════════════════════════════
   LEGAL PAGES
══════════════════════════════ */
.d22-legal-hero { background: #f7eedf; text-align: center; padding: 80px 40px 50px; }
.d22-legal-title { font-family: 'Merriweather', serif; font-size: clamp(1.8rem, 4vw, 2.8rem); color: #3d2b1f; margin-bottom: 12px; line-height: 1.3; }
.d22-legal-meta { font-family: 'Lato', sans-serif; font-size: .9rem; color: #907155; font-weight: 300; }
.d22-legal-content { max-width: 860px; margin: 0 auto; padding: 60px 40px; }
.d22-legal-intro { background: #fdf9f5; border-left: 4px solid #907155; border-radius: 0 12px 12px 0; padding: 24px 28px; margin-bottom: 50px; }
.d22-legal-intro p { font-family: 'Lato', sans-serif; font-size: 1rem; line-height: 1.8; color: #4a3728; margin: 0; }
.d22-legal-section { margin-bottom: 44px; padding-bottom: 44px; border-bottom: 1px solid #e8d5c4; }
.d22-legal-section:last-of-type { border-bottom: none; }
.d22-legal-section h2 { font-family: 'Merriweather', serif; font-size: 1.2rem; color: #3d2b1f; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid #f0e0d0; }
.d22-legal-section p { font-family: 'Lato', sans-serif; font-size: .95rem; line-height: 1.85; color: #5a4030; margin-bottom: 12px; font-weight: 300; }
.d22-legal-section ul { padding-left: 20px; margin: 12px 0; }
.d22-legal-section ul li { font-family: 'Lato', sans-serif; font-size: .95rem; line-height: 1.8; color: #5a4030; margin-bottom: 8px; font-weight: 300; }
.d22-legal-section a { color: #907155; text-decoration: none; border-bottom: 1px solid #d4a782; transition: color .2s; }
.d22-legal-section a:hover { color: #7a5c3e; }
.d22-legal-table { border-radius: 12px; overflow: hidden; border: 1px solid #e8d5c4; margin-top: 16px; }
.d22-legal-table-row { display: grid; grid-template-columns: 1fr 1fr; padding: 14px 20px; border-bottom: 1px solid #e8d5c4; font-family: 'Lato', sans-serif; font-size: .9rem; color: #5a4030; gap: 20px; }
.d22-legal-table-row:last-child { border-bottom: none; }
.d22-legal-table-header { background: #f7eedf; font-weight: 700; color: #3d2b1f; }
.d22-legal-table-row:nth-child(even) { background: #fdf9f5; }
.d22-legal-contact-box { background: linear-gradient(135deg, #f7eedf, #f0e4d0); border-radius: 20px; padding: 44px; text-align: center; margin-top: 50px; }
.d22-legal-contact-box h3 { font-family: 'Merriweather', serif; font-size: 1.4rem; color: #3d2b1f; margin-bottom: 12px; }
.d22-legal-contact-box p { font-family: 'Lato', sans-serif; color: #7a5c4a; margin-bottom: 24px; font-weight: 300; }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media(max-width: 1024px) {
  .d22-faq-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 900px) {
  .d22-contact-wrap { grid-template-columns: 1fr !important; padding: 30px 20px 40px !important; gap: 30px !important; }
}
@media(max-width: 768px) {
  .d22-section { padding: 60px 20px; }
  .d22-trust-bar { gap: 20px; padding: 16px; }
  .d22-btn-primary, .d22-btn-outline { display: block; max-width: 260px; margin: 8px auto; text-align: center; }
  .d22-footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .d22-footer { padding: 40px 20px 20px; }
  .d22-contact-hero { padding: 40px 20px 20px; }
  .d22-faq-grid { grid-template-columns: 1fr; gap: 16px; }
  .d22-legal-hero { padding: 50px 20px 30px; }
  .d22-legal-content { padding: 40px 20px; }
  .d22-legal-table-row { grid-template-columns: 1fr; gap: 4px; }
  .d22-legal-contact-box { padding: 30px 20px; }
  .main-header-bar .ast-container { padding: 0 20px !important; }
  .main-navigation a, .ast-main-navigation a { padding: 12px 20px !important; border-bottom: 1px solid #f0e0d0 !important; }
}

/* ══════════════════════════════
   HEADER
══════════════════════════════ */
.d22-header {
  background: #fff;
  border-bottom: 1px solid #e8d5c4;
  box-shadow: 0 2px 20px rgba(144,113,85,.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}
.d22-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 70px;
}

/* Лого */
.d22-logo { text-decoration: none; }
.d22-logo-text {
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #3d2b1f;
  transition: color .2s;
}
.d22-logo:hover .d22-logo-text { color: #907155; }
.d22-logo img { height: 50px; width: auto; }

/* Навигация */
.d22-nav { flex: 1; display: flex; justify-content: center; }
.d22-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.d22-menu a {
  font-family: 'Lato', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  color: #4a3728;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 16px;
  text-decoration: none;
  transition: color .2s;
  border-bottom: 2px solid transparent;
}
.d22-menu a:hover,
.d22-menu .current-menu-item > a {
  color: #907155;
  border-bottom-color: #907155;
}

/* Количка */
.d22-header-right { display: flex; align-items: center; gap: 16px; }
.d22-cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f7eedf;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid #e8d5c4;
  text-decoration: none;
  transition: all .3s;
  color: #907155;
  position: relative;
}
.d22-cart-btn:hover { background: #907155; color: #fff; border-color: #907155; }
.d22-cart-btn svg { flex-shrink: 0; }
.d22-cart-count {
  background: #907155;
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: .7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lato', sans-serif;
}
.d22-cart-btn:hover .d22-cart-count { background: #fff; color: #907155; }
.d22-cart-total {
  font-family: 'Lato', sans-serif;
  font-size: .82rem;
  font-weight: 600;
}

/* Бургер */
.d22-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.d22-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #3d2b1f;
  transition: all .3s;
  border-radius: 2px;
}
.d22-burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.d22-burger.active span:nth-child(2) { opacity: 0; }
.d22-burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── RESPONSIVE HEADER ── */
@media(max-width: 768px) {
  .d22-header-inner { padding: 0 20px; }
  .d22-burger { display: flex; }
  .d22-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e8d5c4;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
    z-index: 999;
  }
  .d22-nav.d22-nav-open { display: block; }
  .d22-menu { flex-direction: column; gap: 0; padding: 10px 0; }
  .d22-menu a { padding: 14px 24px; border-bottom: 1px solid #f0e0d0; display: block; }
  .d22-cart-total { display: none; }
}

/* ── REMOVE WHITE GAPS ── */
body,
#page,
#content,
#main-content,
.site-content {
  margin: 0 !important;
  padding: 0 !important;
}

.entry-content > *:first-child { margin-top: 0 !important; }
.entry-content > *:last-child { margin-bottom: 0 !important; }

/* ══════════════════════════════
   ПЛАВАЩ БУТОН ЗА КОНТАКТ (ГЛОБАЛЕН)
══════════════════════════════ */

.d22-floating-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* ── СТИЛ НА ГЛАВНИЯ КРЪГЪЛ БУТОН (СЕГА В MESSENGER СИНЬО) ── */
.d22-floating-btn {
  width: 60px;
  height: 60px;
  background: #0084FF; /* Класическо Messenger синьо */
  color: #ffffff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0, 132, 255, 0.3); /* Синя мека сянка */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 0;
  outline: none;
  animation: d22-attention-pulse 4s infinite; /* Анимация за пулсиране */
}

.d22-floating-btn:hover {
  animation: none;
  transform: scale(1.05);
  background: #0066CC; /* Малко по-тъмно синьо при посочване */
}

/* Спираме анимацията напълно, когато менюто е отворено */
.d22-floating-contact.d22-active .d22-floating-btn {
  animation: none;
}

.d22-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

/* Скритата кутия със суб-бутоните */
.d22-contact-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

/* Ефект при АКТИВНО (отворено) състояние */
.d22-floating-contact.d22-active .d22-contact-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Бутонът се завърта на хикс, когато е отворен */
.d22-floating-contact.d22-active .d22-icon-wrapper {
  transform: rotate(135deg);
}

/* Стил на малките бутончета (Viber и Messenger) */
.d22-contact-item {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.d22-contact-item:hover {
  transform: scale(1.1);
}

/* Оригинални цветове на брандовете */
.d22-contact-item.messenger {
  background: linear-gradient(135deg, #0078FF, #00C6FF);
}
.d22-contact-item.viber {
  background: #7360f2;
}

/* ── ОБНОВЕНА СИНЯ АНИМАЦИЯ ЗА ПУЛСИРАНЕ (PULSE) ── */
@keyframes d22-attention-pulse {
  0% { 
    transform: scale(1); 
    box-shadow: 0 0 0 0 rgba(0, 132, 255, 0.6); 
  }
  15% { 
    transform: scale(1.08); 
    box-shadow: 0 0 0 15px rgba(0, 132, 255, 0); 
  }
  30% { 
    transform: scale(1); 
    box-shadow: 0 0 0 0 rgba(0, 132, 255, 0); 
  }
  100% { 
    transform: scale(1); 
    box-shadow: 0 0 0 0 rgba(0, 132, 255, 0); 
  }
}

/* Адаптивност за мобилни телефони */
@media (max-width: 768px) {
  .d22-floating-contact {
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }
  .d22-floating-btn {
    width: 52px;
    height: 52px;
  }
  .d22-contact-item {
    width: 42px;
    height: 42px;
  }
}
/* ══════════════════════════════
   КОРЕКЦИЯ: ПОВДИГАНЕ НА ЧАТ БУТОНА (МОБИЛНИ)
══════════════════════════════ */
@media (max-width: 768px) {
  .d22-floating-contact {
    bottom: 100px !important; /* Вдигаме го над лепящия се бутон "Купи" */
    right: 20px !important;
  }
}