/* =====================================================
   GOLDEN BAKERY — CONTACT SHOWCASE
===================================================== */

#gb-contact-showcase,
#gb-contact-showcase *,
#gb-contact-showcase *::before,
#gb-contact-showcase *::after {
  box-sizing: border-box;
}

#gb-contact-showcase {
  --gb-wine: #7d0d1b;
  --gb-wine-dark: #570711;
  --gb-gold: #dda931;
  --gb-text: #65574f;
  --gb-paper: #fffefd;
  --gb-cream: #fbf5e9;

  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: clamp(48px, 7vw, 90px) 20px;

  background:
    radial-gradient(
      circle at 84% 20%,
      rgba(221, 169, 49, 0.13),
      transparent 24%
    ),
    linear-gradient(
      135deg,
      #fffdf9 0%,
      #fbf5e9 55%,
      #fffaf1 100%
    );

  overflow: hidden;
}

#gb-contact-showcase .gb-contact-showcase__card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr) !important;
  align-items: stretch !important;

  width: min(100%, 960px) !important;
  min-height: 620px;
  margin: 0 auto !important;
  padding: 0 !important;

  overflow: hidden;
  border-radius: 30px;
  background: var(--gb-paper);
  box-shadow: 0 24px 70px rgba(74, 40, 20, 0.14);
}

/* =========================
   IMAGE
========================= */

#gb-contact-showcase .gb-contact-showcase__image {
  position: relative;
  display: block !important;
  min-width: 0;
  min-height: 620px;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background: #f9edd4;
}

#gb-contact-showcase .gb-contact-showcase__image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 620px;
  margin: 0 !important;
  padding: 0 !important;

  object-fit: cover;
  object-position: center;
}

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

#gb-contact-showcase .gb-contact-showcase__content {
  display: flex !important;
  min-width: 0;
  margin: 0 !important;
  padding: clamp(44px, 6vw, 76px) clamp(28px, 5vw, 66px) !important;

  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;

  background: #fffefd;
  text-align: center;
}

#gb-contact-showcase .gb-contact-showcase__top {
  display: block !important;
  width: 100%;
  margin: 0 0 22px !important;
  padding: 0 !important;

  color: var(--gb-gold) !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.23em !important;
  text-align: center;
  text-transform: uppercase;
}

#gb-contact-showcase .gb-contact-showcase__title {
  display: block !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;

  color: var(--gb-wine) !important;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
  font-size: clamp(56px, 6vw, 78px) !important;
  font-weight: 500 !important;
  line-height: 0.84 !important;
  letter-spacing: -0.045em !important;
  text-align: center !important;
  text-transform: uppercase !important;
}

/* =========================
   DIVIDER
========================= */

#gb-contact-showcase .gb-contact-showcase__divider {
  display: flex !important;
  width: min(260px, 85%) !important;
  margin: 36px auto 30px !important;
  padding: 0 !important;

  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
}

#gb-contact-showcase .gb-contact-showcase__divider span {
  display: block !important;
  flex: 1 1 auto !important;
  width: auto !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;

  background: rgba(125, 13, 27, 0.18) !important;
}

#gb-contact-showcase .gb-contact-showcase__divider b {
  display: block !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;

  color: var(--gb-gold) !important;
  font-family: Georgia, serif;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
}

/* =========================
   DESCRIPTION
========================= */

#gb-contact-showcase .gb-contact-showcase__description {
  display: block !important;
  width: 100%;
  max-width: 520px;
  margin: 0 0 38px !important;
  padding: 0 !important;

  color: var(--gb-text) !important;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
  font-size: clamp(22px, 2vw, 29px) !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  letter-spacing: -0.01em !important;
  text-align: center !important;
}

/* =========================
   CALL BUTTON
========================= */

#gb-contact-showcase a.gb-contact-showcase__call {
  position: relative;
  display: flex !important;
  width: min(100%, 310px) !important;
  min-height: 82px !important;
  margin: 0 !important;
  padding: 16px 24px 16px 86px !important;

  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;

  border: 1px solid rgba(221, 169, 49, 0.7) !important;
  border-radius: 999px !important;
  background:
    linear-gradient(
      135deg,
      var(--gb-wine),
      var(--gb-wine-dark)
    ) !important;

  color: #ffffff !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 29px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: 0.01em !important;
  text-align: left !important;
  text-decoration: none !important;

  box-shadow:
    0 16px 34px rgba(125, 13, 27, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);

  overflow: hidden !important;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

/* Dòng label tạo bằng CSS để WordPress không tách HTML */
#gb-contact-showcase a.gb-contact-showcase__call::before {
  content: "☎";
  position: absolute;
  left: 12px;
  top: 50%;

  display: flex !important;
  width: 58px;
  height: 58px;

  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: var(--gb-gold);
  color: #ffffff;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;

  transform: translateY(-50%);
}

#gb-contact-showcase a.gb-contact-showcase__call::after {
  content: "LIÊN HỆ ĐẶT BÁNH";
  position: absolute;
  left: 86px;
  top: 17px;

  display: block !important;

  color: rgba(255, 255, 255, 0.72);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

#gb-contact-showcase a.gb-contact-showcase__call:hover {
  color: #ffffff !important;
  text-decoration: none !important;
  transform: translateY(-4px);

  box-shadow:
    0 22px 40px rgba(125, 13, 27, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

#gb-contact-showcase a.gb-contact-showcase__call:focus-visible {
  outline: 3px solid rgba(221, 169, 49, 0.4);
  outline-offset: 5px;
}

/* Tắt pseudo-element lạ từ Flatsome */
#gb-contact-showcase
a.gb-contact-showcase__call
i {
  display: none !important;
}

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

@media screen and (max-width: 849px) {
  #gb-contact-showcase {
    padding: 45px 18px;
  }

  #gb-contact-showcase .gb-contact-showcase__card {
    width: min(100%, 820px) !important;
    min-height: 540px;
  }

  #gb-contact-showcase .gb-contact-showcase__image,
  #gb-contact-showcase .gb-contact-showcase__image img {
    min-height: 540px;
  }

  #gb-contact-showcase .gb-contact-showcase__content {
    padding: 40px 28px !important;
  }

  #gb-contact-showcase .gb-contact-showcase__title {
    font-size: 58px !important;
  }

  #gb-contact-showcase .gb-contact-showcase__description {
    font-size: 23px !important;
  }
}

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

@media screen and (max-width: 640px) {
  #gb-contact-showcase {
    padding: 28px 14px;
  }

  #gb-contact-showcase .gb-contact-showcase__card {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    min-height: 0;
    border-radius: 24px;
  }

  #gb-contact-showcase .gb-contact-showcase__image {
    min-height: 310px;
  }

  #gb-contact-showcase .gb-contact-showcase__image img {
    height: 310px !important;
    min-height: 310px;
    object-position: center;
  }

  #gb-contact-showcase .gb-contact-showcase__content {
    padding: 40px 20px 44px !important;
  }

  #gb-contact-showcase .gb-contact-showcase__top {
    margin-bottom: 18px !important;
    font-size: 10px !important;
  }

  #gb-contact-showcase .gb-contact-showcase__title {
    font-size: 54px !important;
    line-height: 0.87 !important;
  }

  #gb-contact-showcase .gb-contact-showcase__divider {
    margin: 28px auto 24px !important;
  }

  #gb-contact-showcase .gb-contact-showcase__description {
    margin-bottom: 30px !important;
    font-size: 22px !important;
  }

  #gb-contact-showcase .gb-contact-showcase__description br {
    display: none;
  }

  #gb-contact-showcase a.gb-contact-showcase__call {
    width: 100% !important;
    max-width: 310px !important;
    min-height: 78px !important;
    padding-left: 80px !important;
    font-size: 27px !important;
  }

  #gb-contact-showcase a.gb-contact-showcase__call::before {
    width: 54px;
    height: 54px;
  }

  #gb-contact-showcase a.gb-contact-showcase__call::after {
    left: 80px;
  }
}

/* =========================
   REDUCED MOTION
========================= */

@media (prefers-reduced-motion: reduce) {
  #gb-contact-showcase *,
  #gb-contact-showcase *::before,
  #gb-contact-showcase *::after {
    transition: none !important;
  }
}