/*
 * GO GAO Boutique Retreat — Compact Footer V7
 * Ported from Shopify sections/go-gao-contact-footer.liquid
 * Shopify section CSS is preserved; WordPress compatibility is isolated before/after the source block.
 */

#gg-footer-wp {
  --font-body-family: var(--gg-footer-body-family, serif);
  --font-body-style: normal;
  --font-body-weight: 400;
  --font-heading-family: var(--gg-footer-heading-family, serif);
  --font-heading-style: normal;
  --font-heading-weight: 400;
  box-sizing: border-box;
  font-size: 17.6px;
  line-height: 1.7272727273;
  letter-spacing: .66px;
}

@media screen and (max-width: 749px) {
  #gg-footer-wp {
    font-size: 16.5px;
  }
}

/* ==========================================================
     ROOT
  ========================================================== */

  #gg-footer-wp {
    position: relative;

    width: 100%;

    margin: 0;

    overflow: hidden;

    isolation: isolate;

    color: var(--gg-text);

    background-color: var(--gg-bg);

    background-image: none;

    font-family:
      var(--font-body-family);

    font-style:
      var(--font-body-style);

    font-weight:
      var(--font-body-weight);
  }


  #gg-footer-wp *,
  #gg-footer-wp *::before,
  #gg-footer-wp *::after {
    box-sizing: border-box;
  }


  #gg-footer-wp a {
    text-decoration: none;
  }




#gg-footer-wp .gg-footer__background {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

#gg-footer-wp .gg-footer__background img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--gg-bg-pos-desktop-x, 50%) var(--gg-bg-pos-desktop-y, 50%);
}

  /* ==========================================================
     FOOTER BACKGROUND OVERLAY
  ========================================================== */

  #gg-footer-wp
  .gg-footer__overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
      linear-gradient(
        100deg,
        rgb(6 31 22 / var(--gg-overlay)) 0%,
        rgb(7 39 27 / var(--gg-overlay)) 48%,
        rgb(5 27 19 / var(--gg-overlay)) 100%
      );
  }


  #gg-footer-wp
  .gg-footer__overlay::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
      radial-gradient(
        circle at 52% 40%,
        rgba(74, 125, 94, .10),
        transparent 45%
      );
  }



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

  #gg-footer-wp
  .gg-footer__container {
    position: relative;

    z-index: 2;

    width:
      min(
        calc(100% - 96px),
        var(--gg-max)
      );

    margin: 0 auto;

    padding:
      46px 0 24px;
  }



  /* ==========================================================
     PANEL
  ========================================================== */

  #gg-footer-wp
  .gg-footer__panel {
    padding:
      40px 42px 38px;

    border:
      1px solid rgba(209,175,125,.14);

    border-radius:
      22px;

    background:
      linear-gradient(
        180deg,
        rgba(3,31,22,.14),
        rgba(3,31,22,.06)
      );
  }



  /* ==========================================================
     MAIN GRID
  ========================================================== */

  #gg-footer-wp
  .gg-footer__main {
    display: grid;

    grid-template-columns:
      minmax(280px, .95fr)
      minmax(300px, .82fr)
      minmax(360px, .95fr);

    align-items: center;

    gap:
      clamp(34px, 3.4vw, 58px);
  }



  /* ==========================================================
     INTRO
  ========================================================== */

  #gg-footer-wp
  .gg-footer__intro {
    min-width: 0;

    padding-right:
      8px;
  }


  #gg-footer-wp
  .gg-footer__brand {
    margin-bottom:
      34px;
  }


  #gg-footer-wp
  .gg-footer__brand-main {
    color:
      var(--gg-heading);

    font-family:
      var(--font-heading-family);

    font-style:
      var(--font-heading-style);

    font-weight:
      var(--font-heading-weight);

    font-size:
      clamp(29px, 2.3vw, 43px);

    line-height:
      1;

    letter-spacing:
      .16em;
  }


  #gg-footer-wp
  .gg-footer__brand-sub {
    margin-top:
      8px;

    color:
      var(--gg-gold);

    font-size:
      10px;

    line-height:
      1;

    letter-spacing:
      .28em;
  }



  /* ==========================================================
     INTRO CONTENT
  ========================================================== */

  #gg-footer-wp
  .gg-footer__intro-line {
    width:
      30px;

    height:
      1px;

    margin-bottom:
      22px;

    background:
      var(--gg-gold);
  }


  #gg-footer-wp
  .gg-footer__heading {
    max-width:
      430px;

    margin:
      0;

    padding:
      0;

    color:
      var(--gg-heading);

    font-family:
      var(--font-heading-family);

    font-style:
      var(--font-heading-style);

    font-weight:
      var(--font-heading-weight);

    font-size:
      clamp(38px, 3vw, 56px);

    line-height:
      1.08;

    letter-spacing:
      -.025em;
  }


  #gg-footer-wp
  .gg-footer__description {
    max-width:
      420px;

    margin-top:
      16px;

    color:
      var(--gg-text);

    font-family:
      var(--font-body-family);

    font-size:
      13px;

    line-height:
      1.8;

    opacity:
      .86;
  }


  #gg-footer-wp
  .gg-footer__description p {
    margin:
      0;
  }



  /* ==========================================================
     CTA
  ========================================================== */

  #gg-footer-wp
  .gg-footer__button {
    display:
      inline-flex;

    align-items:
      center;

    justify-content:
      center;

    gap:
      28px;

    min-width:
      220px;

    height:
      54px;

    margin-top:
      26px;

    padding:
      0 28px;

    color:
      var(--gg-button-text) !important;

    background:
      var(--gg-button);

    border:
      1px solid rgba(255,255,255,.13);

    font-family:
      var(--font-heading-family);

    font-size:
      15px;

    line-height:
      1;

    transition:
      transform .3s ease,
      box-shadow .3s ease;
  }


  #gg-footer-wp
  .gg-footer__button:hover {
    transform:
      translateY(-2px);

    box-shadow:
      0 16px 34px rgba(0,0,0,.20);
  }


  #gg-footer-wp
  .gg-footer__button-arrow {
    transition:
      transform .3s ease;
  }


  #gg-footer-wp
  .gg-footer__button:hover
  .gg-footer__button-arrow {
    transform:
      translateX(4px);
  }



  /* ==========================================================
     CONTACT
  ========================================================== */

  #gg-footer-wp
  .gg-footer__contact {
    min-width:
      0;

    padding:
      0 12px 0 34px;

    border-left:
      1px solid rgba(209,175,125,.16);
  }


  #gg-footer-wp
  .gg-footer__contact-heading {
    margin-bottom:
      26px;

    color:
      var(--gg-muted);

    font-family:
      var(--font-heading-family);

    font-size:
      14px;

    line-height:
      1;

    letter-spacing:
      .20em;

    text-transform:
      uppercase;
  }


  #gg-footer-wp
  .gg-footer__contact-row {
    display:
      grid;

    grid-template-columns:
      36px minmax(0, 1fr);

    gap:
      16px;

    align-items:
      start;
  }


  #gg-footer-wp
  .gg-footer__contact-row
  + .gg-footer__contact-row {
    margin-top:
      22px;
  }



  /* ==========================================================
     CONTACT ICON
  ========================================================== */

  #gg-footer-wp
  .gg-footer__contact-icon {
    display:
      flex;

    align-items:
      center;

    justify-content:
      center;

    width:
      30px;

    height:
      30px;

    color:
      var(--gg-gold);
  }


  #gg-footer-wp
  .gg-footer__contact-icon svg {
    display:
      block;

    width:
      26px;

    height:
      26px;
  }



  /* ==========================================================
     ADDRESS
  ========================================================== */

  #gg-footer-wp
  .gg-footer__address {
    max-width:
      320px;

    color:
      var(--gg-text);

    font-family:
      var(--font-heading-family);

    font-size:
      14px;

    line-height:
      1.68;
  }


  #gg-footer-wp
  .gg-footer__address p {
    margin:
      0;
  }



  /* ==========================================================
     PHONE
  ========================================================== */

  #gg-footer-wp
  .gg-footer__phones {
    display:
      flex;

    flex-direction:
      column;

    gap:
      4px;
  }


  #gg-footer-wp
  .gg-footer__phone {
    width:
      fit-content;

    color:
      var(--gg-text) !important;

    font-family:
      var(--font-heading-family);

    font-size:
      15px;

    line-height:
      1.5;

    transition:
      color .25s ease,
      transform .25s ease;
  }


  #gg-footer-wp
  .gg-footer__phone:hover {
    color:
      var(--gg-gold) !important;

    transform:
      translateX(3px);
  }



  /* ==========================================================
     SOCIAL
  ========================================================== */

  #gg-footer-wp
  .gg-footer__social-area {
    margin-top:
      26px;

    padding-top:
      20px;

    border-top:
      1px solid rgba(209,175,125,.14);
  }


  #gg-footer-wp
  .gg-footer__social-title {
    margin-bottom:
      15px;

    color:
      var(--gg-muted);

    font-size:
      10px;

    line-height:
      1;

    letter-spacing:
      .20em;

    text-transform:
      uppercase;
  }


  #gg-footer-wp
  .gg-footer__socials {
    display:
      flex;

    flex-wrap:
      wrap;

    align-items:
      center;

    gap:
      11px;
  }


  #gg-footer-wp
  .gg-footer__social {
    display:
      flex;

    align-items:
      center;

    justify-content:
      center;

    width:
      42px;

    height:
      42px;

    color:
      var(--gg-gold) !important;

    border:
      1px solid rgba(203,170,123,.45);

    border-radius:
      50%;

    background:
      rgba(255,255,255,.01);

    transition:
      color .25s ease,
      border-color .25s ease,
      background .25s ease,
      transform .25s ease;
  }


  #gg-footer-wp
  .gg-footer__social:hover {
    color:
      var(--gg-heading) !important;

    border-color:
      var(--gg-gold);

    background:
      rgba(255,255,255,.045);

    transform:
      translateY(-2px);
  }


  #gg-footer-wp
  .gg-footer__social svg {
    display:
      block;

    width:
      17px;

    height:
      17px;
  }


  #gg-footer-wp
  .gg-footer__zalo {
    display:
      flex;

    align-items:
      center;

    justify-content:
      center;

    width:
      17px;

    height:
      17px;

    border:
      1px solid currentColor;

    border-radius:
      4px;

    font-size:
      9px;

    font-weight:
      700;
  }



  /* ==========================================================
     MAP COLUMN
  ========================================================== */

  #gg-footer-wp
  .gg-footer__map-column {
    min-width:
      0;

    display:
      flex;

    justify-content:
      flex-end;
  }


  #gg-footer-wp
  .gg-footer__map-card {
    position:
      relative;

    width:
      100%;

    max-width:
      540px;

    height:
      var(--gg-map-height);

    overflow:
      hidden;

    border:
      1px solid rgba(203,170,123,.30);

    border-radius:
      16px;

    background:
      #ffffff;

    box-shadow:
      0 18px 45px rgba(0,0,0,.12);
  }



  /* ==========================================================
     GOOGLE MAP
  ========================================================== */

  #gg-footer-wp
  .gg-footer__map {
    position:
      absolute;

    top:
      0;

    left:
      0;

    display:
      block;

    width:
      100%;

    height:
      calc(100% - 62px);

    border:
      0;

    background:
      #ffffff;

    filter:
      none !important;

    opacity:
      1 !important;

    mix-blend-mode:
      normal !important;

    transform:
      none !important;
  }



  /* ==========================================================
     MAP PLACEHOLDER
  ========================================================== */

  #gg-footer-wp
  .gg-footer__map-placeholder {
    position:
      absolute;

    top:
      0;

    left:
      0;

    display:
      flex;

    align-items:
      center;

    justify-content:
      center;

    width:
      100%;

    height:
      calc(100% - 62px);

    color:
      #68716c;

    background:
      #f1f2ef;

    font-size:
      18px;

    letter-spacing:
      .15em;
  }



  /* ==========================================================
     MAP BOTTOM LINK
  ========================================================== */

  #gg-footer-wp
  .gg-footer__map-link {
    position:
      absolute;

    z-index:
      3;

    left:
      0;

    bottom:
      0;

    display:
      flex;

    align-items:
      center;

    width:
      100%;

    height:
      62px;

    padding:
      0 22px;

    color:
      #f6f4ed !important;

    background:
      #103c2d;

    border-top:
      1px solid rgba(203,170,123,.24);

    font-family:
      var(--font-heading-family);

    font-size:
      12px;

    transition:
      background .25s ease;
  }


  #gg-footer-wp
  .gg-footer__map-link:hover {
    background:
      #164a38;
  }


  #gg-footer-wp
  .gg-footer__map-link-icon {
    display:
      flex;

    align-items:
      center;

    justify-content:
      center;

    width:
      20px;

    height:
      20px;

    flex:
      0 0 20px;

    margin-right:
      14px;

    color:
      var(--gg-gold);
  }


  #gg-footer-wp
  .gg-footer__map-link-icon svg {
    width:
      100%;

    height:
      100%;
  }


  #gg-footer-wp
  .gg-footer__map-arrow {
    margin-left:
      auto;

    color:
      var(--gg-gold);

    transition:
      transform .3s ease;
  }


  #gg-footer-wp
  .gg-footer__map-link:hover
  .gg-footer__map-arrow {
    transform:
      translateX(4px);
  }



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

  #gg-footer-wp
  .gg-footer__bottom {
    position:
      relative;

    z-index:
      2;

    margin-top:
      12px;
  }


  #gg-footer-wp
  .gg-footer__bottom-inner {
    display:
      grid;

    grid-template-columns:
      1fr auto 260px;

    align-items:
      center;

    gap:
      36px;

    width:
      min(
        calc(100% - 96px),
        var(--gg-max)
      );

    min-height:
      72px;

    margin:
      0 auto;

    padding:
      0 6px;

    border-top:
      1px solid rgba(209,175,125,.14);
  }


  #gg-footer-wp
  .gg-footer__copyright {
    color:
      var(--gg-muted);

    font-family:
      var(--font-heading-family);

    font-size:
      11px;

    line-height:
      1.4;
  }



  /* ==========================================================
     BOTTOM LINKS
  ========================================================== */

  #gg-footer-wp
  .gg-footer__links {
    display:
      flex;

    align-items:
      center;

    gap:
      20px;

    color:
      var(--gg-muted);

    font-family:
      var(--font-heading-family);

    font-size:
      11px;
  }


  #gg-footer-wp
  .gg-footer__links a {
    color:
      var(--gg-muted) !important;

    transition:
      color .25s ease;
  }


  #gg-footer-wp
  .gg-footer__links a:hover {
    color:
      var(--gg-gold) !important;
  }


  #gg-footer-wp
  .gg-footer__link-divider {
    width:
      1px;

    height:
      14px;

    background:
      rgba(209,175,125,.18);
  }



  /* ==========================================================
     TAGLINE
  ========================================================== */

  #gg-footer-wp
  .gg-footer__tagline {
    padding-left:
      28px;

    color:
      var(--gg-gold);

    border-left:
      1px solid rgba(209,175,125,.18);

    font-size:
      8px;

    line-height:
      1.75;

    letter-spacing:
      .18em;

    text-transform:
      uppercase;
  }



  /* ==========================================================
     TABLET
  ========================================================== */

  @media screen and (max-width: 1180px) {

    #gg-footer-wp
    .gg-footer__container {
      width:
        calc(100% - 56px);
    }


    #gg-footer-wp
    .gg-footer__panel {
      padding:
        36px 30px 34px;
    }


    #gg-footer-wp
    .gg-footer__main {
      grid-template-columns:
        1fr 1fr;

      gap:
        34px;
    }


    #gg-footer-wp
    .gg-footer__map-column {
      grid-column:
        1 / -1;

      justify-content:
        flex-start;
    }


    #gg-footer-wp
    .gg-footer__map-card {
      max-width:
        100%;

      height:
        340px;
    }


    #gg-footer-wp
    .gg-footer__contact {
      padding-left:
        28px;
    }


    #gg-footer-wp
    .gg-footer__bottom-inner {
      width:
        calc(100% - 56px);

      grid-template-columns:
        1fr auto;

      gap:
        24px;
    }


    #gg-footer-wp
    .gg-footer__tagline {
      display:
        none;
    }

  }



  /* ==========================================================
     MOBILE
  ========================================================== */

  @media screen and (max-width: 749px) {

    #gg-footer-wp .gg-footer__background img {
      object-position:
        var(--gg-bg-pos-mobile-x, 50%) var(--gg-bg-pos-mobile-y, 50%);
    }


    #gg-footer-wp
    .gg-footer__container {
      width:
        calc(100% - 28px);

      padding:
        24px 0 18px;
    }


    #gg-footer-wp
    .gg-footer__panel {
      padding:
        26px 18px 22px;

      border-radius:
        18px;
    }


    #gg-footer-wp
    .gg-footer__main {
      display:
        block;
    }


    #gg-footer-wp
    .gg-footer__brand {
      margin-bottom:
        28px;
    }


    #gg-footer-wp
    .gg-footer__brand-main {
      font-size:
        30px;
    }


    #gg-footer-wp
    .gg-footer__heading {
      max-width:
        360px;

      font-size:
        clamp(38px, 11vw, 52px);
    }


    #gg-footer-wp
    .gg-footer__button {
      min-width:
        210px;
    }


    #gg-footer-wp
    .gg-footer__contact {
      margin-top:
        34px;

      padding:
        30px 0 0;

      border-left:
        0;

      border-top:
        1px solid rgba(209,175,125,.16);
    }


    #gg-footer-wp
    .gg-footer__map-column {
      margin-top:
        32px;
    }


    #gg-footer-wp
    .gg-footer__map-card {
      height:
        min(
          var(--gg-map-height),
          340px
        );

      min-height:
        300px;

      border-radius:
        12px;
    }


    #gg-footer-wp
    .gg-footer__bottom-inner {
      display:
        block;

      width:
        calc(100% - 28px);

      min-height:
        0;

      padding:
        16px 0 6px;
    }


    #gg-footer-wp
    .gg-footer__links {
      margin-top:
        12px;

      gap:
        13px;

      flex-wrap:
        wrap;
    }


    #gg-footer-wp
    .gg-footer__tagline {
      display:
        none;
    }

  }


/* WordPress compatibility layer.
   The GO GAO Typography plugin intentionally uses broad !important selectors.
   Re-assert only the properties that Shopify/Dawn provides to this footer so
   choosing "Shopify" remains exact, while "Global" can still swap font family
   through --gg-footer-body-family / --gg-footer-heading-family. */
#gg-footer-wp a {
  text-decoration: none !important;
}

.gg-typography-enabled #gg-footer-wp .gg-footer__heading {
  margin: 0 !important;
  padding: 0 !important;
  font-family: var(--font-heading-family) !important;
  font-style: var(--font-heading-style) !important;
  font-weight: var(--font-heading-weight) !important;
  font-size: clamp(38px, 3vw, 56px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.025em !important;
  text-wrap: wrap !important;
  word-break: break-word !important;
}

.gg-typography-enabled #gg-footer-wp .gg-footer__contact-heading {
  font-family: var(--font-heading-family) !important;
  text-wrap: wrap !important;
  word-break: normal !important;
}

.gg-typography-enabled #gg-footer-wp .gg-footer__social-title {
  font-family: var(--font-body-family) !important;
  text-wrap: wrap !important;
  word-break: normal !important;
}

.gg-typography-enabled #gg-footer-wp .gg-footer__description p,
.gg-typography-enabled #gg-footer-wp .gg-footer__address p {
  margin: 0 !important;
  font-family: var(--font-body-family) !important;
}

.gg-typography-enabled #gg-footer-wp .gg-footer__button,
.gg-typography-enabled #gg-footer-wp .gg-footer__button-arrow {
  font-family: var(--font-heading-family) !important;
  font-size: 15px !important;
  font-weight: var(--font-heading-weight) !important;
  letter-spacing: .66px !important;
}


.gg-vietnamese-safe #gg-footer-wp h2,
.gg-vietnamese-safe #gg-footer-wp p,
.gg-vietnamese-safe #gg-footer-wp a,
.gg-vietnamese-safe #gg-footer-wp [class*="title"],
.gg-vietnamese-safe #gg-footer-wp [class*="heading"] {
  font-variant-ligatures: normal !important;
  font-feature-settings: normal !important;
  text-rendering: auto !important;
}

@media screen and (max-width: 749px) {
  .gg-typography-enabled #gg-footer-wp .gg-footer__heading {
    font-size: clamp(38px, 11vw, 52px) !important;
  }
}
