/* =====================================================
   DUSHISTO — FOOTER (FINAL PREMIUM)
   FULL CUSTOM HTML + Astra Free SAFE
===================================================== */

.d-footer,
.d-footer *{
  box-sizing: border-box;
}

/* =====================================================
   MAIN FOOTER
===================================================== */

.d-footer{
  font-family: var(--font-ui, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
  background:#2f2721;
  color:rgba(255,255,255,.82);
  position:relative;
  overflow:hidden;
  border-top:1px solid rgba(255,255,255,.06);
}

/* мягкая текстура */
.d-footer::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(1200px 460px at 18% 0%, rgba(233,220,205,.10), transparent 60%),
    radial-gradient(900px 380px at 85% 25%, rgba(233,220,205,.07), transparent 58%),
    radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,.02) 1px, transparent 1px);
  background-size:auto,auto,22px 22px,30px 30px;
  background-position:0 0,0 0,0 0,12px 16px;
  opacity:.9;
}

/* =====================================================
   CONTAINER
===================================================== */

.d-footer-container{
  position:relative;
  z-index:1;
  max-width:1200px;
  margin:0 auto;
  padding:54px 22px 34px;

  display:grid;
  grid-template-columns:1.35fr 1fr 1fr;
  gap:38px;
  align-items:start;
}

/* =====================================================
   BRAND
===================================================== */

.d-footer-logo{
  font-family: var(--font-brand, "Cormorant Garamond", serif);
  letter-spacing:.14em;
  text-transform:uppercase;
  font-weight:700;
  font-size:16px;
  color:rgba(255,255,255,.92);
  margin-bottom:10px;
}

.d-footer-brand p{
  margin:0 0 14px;
  font-size:13px;
  line-height:1.75;
  color:rgba(255,255,255,.72);
  max-width:380px;
}

.d-footer-made{
  margin:0 0 16px;
  font-size:12px;
  line-height:1.6;
  color:rgba(255,255,255,.62);
}

/* =====================================================
   TITLES + LISTS
===================================================== */

.d-footer h4{
  font-family: var(--font-brand, "Cormorant Garamond", serif);
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:700;
  font-size:13px;
  color:rgba(255,255,255,.92);
  margin:6px 0 14px;
}

.d-footer ul{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:10px;
}

.d-footer a{
  color:rgba(255,255,255,.72);
  text-decoration:none;
  font-size:13px;
  line-height:1.55;
  transition:color .2s ease, opacity .2s ease;
}

.d-footer a:hover{
  color:rgba(233,220,205,.95);
  text-decoration:underline;
}

/* =====================================================
   SOCIAL ICONS (NO BUTTONS — MINIMAL)
===================================================== */

.d-footer-social{
  display:flex;
  gap:16px;
  margin-top:10px;
}

.d-social-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  color:rgba(255,255,255,.58);
  transition:color .25s ease, transform .25s ease;
}

.d-social-icon svg{
  width:20px;
  height:20px;
}

.d-social-icon:hover{
  color:#fff;
  transform:translateY(-2px);
}

/* =====================================================
   BOTTOM LINE
===================================================== */

.d-footer-bottom{
  position:relative;
  z-index:1;
  text-align:center;
  padding:18px 18px 22px;
  border-top:1px solid rgba(255,255,255,.08);
  color:rgba(255,255,255,.55);
  font-size:12px;
  letter-spacing:.02em;
}

/* =====================================================
   ASTRA FIXES
===================================================== */

#colophon .d-footer a,
#colophon .d-footer a:visited{
  color:rgba(255,255,255,.72) !important;
  text-decoration:none !important;
}
#colophon .d-footer a:hover{
  color:rgba(233,220,205,.95) !important;
  text-decoration:underline !important;
}

#colophon,
#colophon .site-primary-footer-wrap,
#colophon .site-below-footer-wrap{
  background:transparent !important;
}

/* FULL WIDTH FIX */
#colophon .ast-builder-grid-row-container,
#colophon .ast-builder-grid-row{
  max-width:100% !important;
  width:100% !important;
  padding:0 !important;
}

#colophon{
  padding:0 !important;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width:980px){
  .d-footer-container{
    grid-template-columns:1fr 1fr;
    gap:28px;
    padding-top:44px;
  }
  .d-footer-brand p{ max-width:none; }
}

@media (max-width:640px){
  .d-footer-container{
    grid-template-columns:1fr;
    text-align:center;
  }

  .d-footer-social{
    justify-content:center;
  }

  .d-footer h4{
    margin-top:14px;
  }

  .d-footer ul{
    justify-items:center;
  }

  .d-footer a{
    font-size:13.5px;
  }
}
