/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/




}



/* XC Custom Footer Styles - Class Based */
.xc-footer {
  background-color: #ffffff;
  border-top: 1px solid hsl(0 0% 89% / 1);
  padding-top: 3rem;
  padding-bottom: 3rem;
  font-family: 'Inter', sans-serif;
}

.xc-footer .section-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Column spacing */
.xc-footer .section-content>.row:first-of-type {
  margin-bottom: 3rem;
}

/* Generic Column Styles */
.xc-footer .col-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Override Flatsome default list margins */
.xc-footer .col-inner ul li,
.xc-footer .col-inner ol li {
  margin-left: 0;
  list-style-type: none;
}


/* Column 1: Brand & Social (Targeted by content: has .social-icons) */
.xc-footer .col:has(.social-icons) p:first-child {
  /* Brand Description */
  color: #666;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Social Icons */
.xc-footer .social-icons {
  display: flex;
  gap: 0.5rem;
}

.xc-footer .social-icons .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.375rem;
  /* Rounded square like design */
  color: hsl(340 5% 35% / 1);
  background-color: transparent;
  border: 1px solid transparent;
  margin: 0;
  padding: 0;
}

.xc-footer .social-icons .button:hover {
  background-color: #f3f4f6;
  color: #111;
  border-color: #e5e7eb;
}

.xc-footer .social-icons .button i {
  font-size: 1.25rem;
}

/* Custom Button: View All */
.xc-btn-xem-tat-ca {
  background-color: transparent !important;
  color: #111 !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 0.375rem !important;
  /* rounded-md */
  padding: 0 1rem !important;
  font-size: 0.875rem !important;
  /* text-sm */
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
  min-height: 2.25rem !important;
  /* min-h-9 */
  margin-bottom: 0 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  line-height: normal !important;
}

.xc-btn-xem-tat-ca:hover {
  background-color: #f3f4f6 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  /* hover-elevate */
}

/* Add Arrow Icon via CSS since HTML is fixed */
.xc-btn-xem-tat-ca span::after {
  content: "→";
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform 0.2s;
  line-height: 1;
}

.xc-btn-xem-tat-ca:hover span::after {
  transform: translateX(4px);
}


/* XC Custom Contact Form (CF7) Styles */
.xc-form-lien-he {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  /* rounded-xl */
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  /* shadow-sm */
  padding: 1.5rem;
  /* p-6 */
  color: #111;
}

.xc-form-lien-he h3.xc-form-title {
  font-family: serif;
  font-size: 1.25rem;
  /* text-xl */
  font-weight: 600;
  letter-spacing: -0.025em;
  /* tracking-tight */
  margin-top: 0;
  margin-bottom: 1.5rem;
}

/* Form fields spacing */
.xc-form-lien-he p {
  margin-bottom: 1.5rem;
  /* space-y-6 equivalent per group */
}

/* Labels */
.xc-form-lbl {
  display: block;
  font-size: 0.875rem;
  /* text-sm */
  font-weight: 500;
  line-height: 1;
  margin-bottom: 0.5rem;
  /* space-y-2 gap */
  color: #111;
}

/* Inputs & Textarea */
.xc-form-input,
.xc-form-textarea {
  display: flex;
  width: 100%;
  border-radius: 0.375rem !important;
  /* rounded-md */
  border: 1px solid #e5e7eb;
  /* border-input */
  background-color: #ffffff;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  /* md:text-sm */
  line-height: normal;
  color: #111;
  box-shadow: none;
  min-height: 2.25rem;
  /* h-9 */
}

.xc-form-textarea {
  min-height: 120px;
  resize: vertical;
}

.xc-form-input:focus,
.xc-form-textarea:focus {
  outline: 2px solid var(--primary-color, #d4a017);
  outline-offset: 2px;
  border-color: var(--primary-color, #d4a017);
}

.xc-form-input::placeholder,
.xc-form-textarea::placeholder {
  color: #666;
  /* text-muted-foreground */
}

/* Grid for Two Columns (Email & Phone) */
.xc-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .xc-form-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Submit Button */
.xc-form-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  min-height: 2.25rem;
  background-color: var(--primary-color, #d4a017);
  color: #fff;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.2s;
  gap: 0.5rem;
}

.xc-form-submit-btn:hover {
  opacity: 0.9;
}

/* Submit button wrapper */
.xc-form-submit-wrapper {
  position: relative;
  display: block;
  width: 100%;
}

/* Cleanup extra spacing from CF7 auto-formatting */
.xc-form-lien-he br,
.xc-form-lien-he p:empty {
  display: none;
}

/* XC Contact Page Header */
.xc-page-header {
  text-align: center;
  margin-bottom: 3rem;
  /* mb-12 */
}

.xc-page-header h1.xc-page-title {
  font-family: serif;
  font-size: 1.875rem;
  /* text-3xl */
  line-height: 2.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  /* mb-4 */
  margin-top: 0;
  color: #111;
}

@media (min-width: 768px) {
  .xc-page-header h1.xc-page-title {
    font-size: 2.25rem;
    /* md:text-4xl */
    line-height: 2.5rem;
  }
}

.xc-page-header p.xc-page-subtitle {
  color: #666;
  /* text-muted-foreground */
  max-width: 42rem;
  /* max-w-2xl */
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0;
}


/* Column 2: Quick Links (Targeted by first .ux-menu in row) */
/* Actually, assume standard 4 col layout */


/* Header styling: Target both <p> and <h5> for backward compatibility if user changes HTML structure */
.xc-footer .col:not(:has(.social-icons)) p:first-child,
.xc-footer .col h5,
.xc-footer .col .widget-title {
  font-size: 1rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 0.5rem;
  margin-top: 0;
  display: block;
}

/* Links specific style */
.xc-footer .ux-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}


.xc-footer .ux-menu-link {
  padding: 0;
}

.xc-footer .ux-menu-link__link {
  padding: 0;
  color: #666;
  font-size: 0.875rem;
  text-transform: none;
  font-weight: 400;
}

.xc-footer .ux-menu-link__link:hover {
  color: #111;
  background: none;
  opacity: 1;
}

/* Column 3: Contact Content (Targeted by exclusion or specific content pattern if needed) */
/* Column 3: Contact Content */
.xc-footer .xc-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.xc-footer .xc-contact-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  color: #666;
  font-size: 0.875rem;
  line-height: 1.5;
}

.xc-footer .xc-contact-list li i {
  /* Icon styling (FontAwesome) */
  color: hsl(340 5% 35% / 1);
  font-size: 1rem;
  margin-right: 0.75rem;
  width: 1.25rem;
  text-align: center;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.xc-footer .xc-contact-list li a {
  color: inherit;
  text-decoration: none;
}

.xc-footer .xc-contact-list li a:hover {
  color: #111;
}

/* Newsletter Column Styles */
.xc-footer .col:last-child p:nth-child(2) {
  /* Subtext for newsletter */
  color: #666;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* Newsletter Input Form Styling */
.xc-footer input[type="email"] {
  display: block;
  width: 100%;
  height: 2.25rem;
  border-radius: 0.375rem;
  border: 1px solid #e5e7eb;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  box-shadow: none;
  background: #fff;
}

.xc-footer button,
.xc-footer input[type="submit"] {
  width: 100%;
  height: 2.25rem;
  border-radius: 0.375rem;
  background-color: var(--primary-color, #d4a017);
  color: #fff;
  font-weight: 500;
  font-size: 0.875rem;
  border: none;
  margin-top: 0.5rem;
  cursor: pointer;
}


/* Footer Bottom / Copyright Row */
.xc-footer-copyright {
  border-top: 1px solid #e5e7eb;
  padding-top: 2rem;
  padding-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

/* First col in copyright row (Copyright text) */
.xc-footer-copyright>.col:first-child {
  width: auto !important;
  max-width: none !important;
  flex: 1 !important;
}

.xc-footer-copyright>.col:first-child p {
  color: #666;
  font-size: 0.875rem;
  margin: 0;
}

/* Second col in copyright row (Links menu) */
/* Targeting the specific menu class for copyright links to override vertical stack */
.xc-footer-copyright-menu {
  flex-direction: row !important;
  /* Override vertical direction */
  gap: 1.5rem !important;
  justify-content: flex-end;
}

.xc-footer-copyright>.col:last-child {
  width: auto !important;
  max-width: none !important;
}

.xc-footer-copyright .ux-menu-link__link {
  padding: 0;
  color: #666;
  font-size: 0.875rem;
  text-transform: none;
  font-weight: 400;
}

.xc-footer-copyright .ux-menu-link__link:hover {
  color: #111;
}

@media (max-width: 767px) {
  .xc-footer-copyright {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .xc-footer-copyright-menu {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem !important;
  }
}

.xc-map-embed iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

/* XC Contact Info Card Styles */
.xc-thong-tin-lien-he {
  background-color: #FAFAFA;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  /* rounded-xl */
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  /* shadow-sm */
  color: #111;
  overflow: hidden;
}

.xc-thong-tin-lien-he .xc-card-header {
  padding: 1.5rem;
  padding-bottom: 0.5rem;
}

.xc-thong-tin-lien-he .xc-contact-title {
  font-family: serif;
  font-size: 1.25rem;
  /* text-xl */
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0;
}

.xc-thong-tin-lien-he .xc-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  /* space-y-6 */
}

.xc-thong-tin-lien-he .xc-contact-item {
  display: flex;
  gap: 1rem;
  /* gap-4 */
  align-items: flex-start;
}

.xc-thong-tin-lien-he .xc-contact-icon-box {
  width: 2.5rem;
  /* w-10 */
  height: 2.5rem;
  /* h-10 */
  border-radius: 9999px;
  /* rounded-full */
  background-color: rgba(212, 160, 23, 0.1);
  /* bg-primary/10 (assuming primary is #d4a017) */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-color, #d4a017);
}

.xc-thong-tin-lien-he .xc-contact-icon-box i {
  font-size: 1.1rem;
}

.xc-thong-tin-lien-he .xc-contact-icon-box svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
}

.xc-thong-tin-lien-he .xc-contact-details {
  display: flex;
  flex-direction: column;
}

.xc-thong-tin-lien-he .xc-contact-label {
  font-size: 0.875rem;
  /* text-sm */
  font-weight: 700;
  /* font-bold */
  color: #111;
  margin: 0;
  line-height: 1.5;
}

.xc-thong-tin-lien-he .xc-contact-value {
  font-size: 0.875rem;
  /* text-sm */
  color: #666;
  /* text-muted-foreground */
  margin: 0;
  line-height: 1.5;
}

.xc-thong-tin-lien-he .xc-contact-value a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.xc-thong-tin-lien-he .xc-contact-value a:hover {
  color: var(--primary-color, #d4a017);
}

/* Hide Flatsome Absolute Footer */
.absolute-footer {
  display: none !important;
}

.xc-map-embed {
  margin-top: 20px;
  border: 2px solid #e5e7eb;
  /* xám nhạt */
  border-radius: 10px;
  overflow: hidden;
  /* cắt bo góc iframe */
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  max-width: 100%;
}

.xc-map-embed iframe {

  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

/* XC Introduction Hero Section */
.xc-gioi-thieu-hero {
  /* bg-gradient-to-br from-primary/10 via-primary/5 to-background */
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.1) 0%, rgba(212, 160, 23, 0.05) 50%, #ffffff 100%);
  padding-top: 4rem;
  /* py-16 */
  padding-bottom: 4rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .xc-gioi-thieu-hero {
    padding-top: 6rem;
    /* md:py-24 */
    padding-bottom: 6rem;
  }
}

.xc-gioi-thieu-hero .xc-hero-container {
  max-width: 80rem;
  /* max-w-7xl */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  /* px-4 */
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .xc-gioi-thieu-hero .xc-hero-container {
    padding-left: 1.5rem;
    /* sm:px-6 */
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .xc-gioi-thieu-hero .xc-hero-container {
    padding-left: 2rem;
    /* lg:px-8 */
    padding-right: 2rem;
  }
}

.xc-gioi-thieu-hero .xc-hero-content {
  max-width: 48rem;
  /* max-w-3xl */
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.xc-gioi-thieu-hero .xc-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  /* w-16 */
  height: 4rem;
  /* h-16 */
  border-radius: 9999px;
  /* rounded-full */
  background-color: rgba(212, 160, 23, 0.1);
  /* bg-primary/10 */
  margin-bottom: 1.5rem;
  /* mb-6 */
  color: var(--primary-color, #d4a017);
}

.xc-gioi-thieu-hero .xc-hero-icon i {
  font-size: 2rem;
  /* Matches lucide width 8 (2rem) */
}

/* Fallback if user uses SVG directly */
.xc-gioi-thieu-hero .xc-hero-icon svg {
  width: 2rem;
  height: 2rem;
}

.xc-gioi-thieu-hero h1.xc-hero-title {
  font-family: serif;
  font-size: 1.875rem;
  /* text-3xl */
  line-height: 2.25rem;
  font-weight: 600;
  /* font-semibold */
  margin-bottom: 1.5rem;
  /* mb-6 */
  margin-top: 0;
  color: #111;
}

@media (min-width: 768px) {
  .xc-gioi-thieu-hero h1.xc-hero-title {
    font-size: 3rem;
    /* md:text-5xl */
    line-height: 1;
  }
}

.xc-gioi-thieu-hero p.xc-hero-subtitle {
  font-size: 1.125rem;
  /* text-lg */
  color: #666;
  /* text-muted-foreground */
  line-height: 1.625;
  /* leading-relaxed */
  margin-bottom: 0;
}

/* XC Core Values Cards (.xc-gia-tri) */
.xc-gia-tri {
  background-color: #ffffff;
  /* bg-card */
  border: 1px solid #e5e7eb;
  /* border-card-border */
  border-radius: 0.75rem;
  /* rounded-xl */
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  /* shadow-sm */
  height: 100%;
  transition: all 0.3s ease;
  overflow: hidden;
}

.xc-gia-tri .icon-box-text {
  padding: 2rem 1.5rem;
  /* p-6 pt-8 pb-8 */
}

/* Icon Container */
.xc-gia-tri .xc-icon-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  /* w-14 */
  height: 3.5rem;
  /* h-14 */
  border-radius: 9999px;
  /* rounded-full */
  background-color: rgba(212, 160, 23, 0.1);
  /* bg-primary/10 */
  margin-bottom: 1.5rem;
  /* mb-6 */
  color: var(--primary-color, #d4a017);
}

.xc-gia-tri .xc-icon-container svg {
  width: 1.75rem;
  /* w-7 */
  height: 1.75rem;
  /* h-7 */
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Typography */
.xc-gia-tri h3 {
  font-family: 'Inter', sans-serif;
  /* Fallback if not Inherited */
  font-weight: 600;
  /* font-semibold */
  font-size: 1.125rem;
  /* text-lg */
  margin-bottom: 0.75rem;
  /* mb-3 */
  color: #111;
  text-transform: none;
  /* Override Flatsome defaults */
  letter-spacing: normal;
}

.xc-gia-tri p {
  font-size: 0.875rem;
  /* text-sm */
  color: #666;
  /* text-muted-foreground */
  line-height: 1.625;
  /* leading-relaxed */
  margin-bottom: 0;
}

/* Reset default Flatsome icon box margins if needed */
.icon-box.xc-gia-tri {
  text-align: center;
}

/* Responsive Grid Gap */
#row-1203579886 .col-inner {
  height: 100%;
}

/* Icon Mapping using FontAwesome via CSS - Directly on .icon-box-text */
.xc-gia-tri .icon-box-text::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-size: 1.75rem;
  /* w-7 equivalent size */

  /* Icon Container Styling */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  /* w-14 */
  height: 3.5rem;
  /* h-14 */
  border-radius: 9999px;
  /* rounded-full */
  background-color: rgba(212, 160, 23, 0.1);
  /* bg-primary/10 */
  margin-bottom: 1.5rem;
  /* mb-6 */
  color: var(--primary-color, #d4a017);
  margin-left: auto;
  margin-right: auto;
}

/* Tan Tam - Heart */
.xc-gia-tri.tan-tam .icon-box-text::before {
  content: "\f004";
}

/* Chat Luong - Shield (Quality) */
.xc-gia-tri.chat-luong .icon-box-text::before {
  content: "\f3ed";
  /* shield-alt */
}

/* Tu Nhien - Leaf */
.xc-gia-tri.tu-nhien .icon-box-text::before {
  content: "\f06c";
}

/* Reset any old container styling */
.xc-gia-tri .xc-icon-container {
  display: none !important;
}

/* XC Vision & Mission Boxes */
/* XC Vision & Mission Boxes */
.xc-vision-mission-box {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  /* rounded-xl */
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  /* shadow-sm */
  padding: 2rem 1.5rem;
  /* p-6 pt-8 pb-8 */
  height: 100%;
  min-height: 200px;
}

.xc-vision-mission-box h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  /* font-semibold */
  font-size: 1.25rem;
  /* text-xl */
  margin-bottom: 1rem;
  /* mb-4 */
  color: var(--primary-color, #d4a017);
  /* text-primary */
  margin-top: 0;
}

.xc-vision-mission-box p {
  font-size: 1rem;
  color: #666;
  /* text-muted-foreground */
  line-height: 1.625;
  /* leading-relaxed */
  margin-bottom: 0;
}

/* XC Custom Product Card Styles (Shadcn-like) */

/* Product Box Container */
.product-small .box {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  /* rounded-xl */
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  /* shadow-sm */
  overflow: hidden;
  transition: all 0.2s ease;
  background: #fff;
}

.product-small .box:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  /* hover-elevate */
  transform: translateY(-2px);
}

/* Image */
.product-small .box-image {
  border-radius: 0.75rem 0.75rem 0 0;
  overflow: hidden;
  margin-bottom: 0;
}

/* Text Content Area */
.product-small .box-text {
  padding: 1rem;
  /* p-4 */
}

/* Title */
.product-small .box-text .product-title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  /* font-medium */
  font-size: 1rem;
  /* text-base */
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

/* Custom Label (Always Visible) */
.xc-custom-label {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 20;
  /* Higher than Flatsome tools */
  background-color: var(--primary-color, #d4a017);
  color: #fff;
  font-size: 0.75rem;
  /* text-xs */
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 0.375rem;
  /* rounded-md */
  line-height: 1.5;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  display: block;
}

/* Ensure image wrapper is relative for absolute positioning */
.product-small .box-image a,
.product-small .box-image {
  position: relative;
  display: block;
}


/* Short Description */
.xc-product-desc {
  font-size: 0.875rem;
  /* text-sm */
  color: #666;
  /* text-muted-foreground */
  margin-bottom: 0.5rem;
  display: -webkit-box;
  /* Compatibility */
  -webkit-line-clamp: 2;
  /* Safari/Chrome */
  line-clamp: 2;
  /* Standard */
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

/* Custom Buttons Container */
.xc-product-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* Detail Button */
.xc-btn-detail {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid #e5e7eb !important;
  color: #111 !important;
  background: transparent !important;
  font-weight: 500 !important;
  text-transform: none !important;
  border-radius: 0.375rem !important;
  /* rounded-md */
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  /* shadow-xs */
  line-height: 1.5 !important;
  /* Ensure vertical centering */
  padding: 0 1rem !important;
  /* px-4 */
}

.xc-btn-detail:hover {
  background: #f3f4f6 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
  /* hover-elevate */
  color: #000 !important;
  transform: translateY(-1px);
}

/* SVG icons within buttons */
.xc-btn-detail svg {
  width: 1rem;
  /* size-4 */
  height: 1rem;
  flex-shrink: 0;
}

/* Cart Button (Icon Only) */
.xc-btn-cart {
  width: 2.25rem;
  /* w-9 */
  height: 2.25rem;
  /* h-9 */
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem !important;
  background-color: var(--primary-color, #d4a017) !important;
  color: #fff !important;
  border: 1px solid transparent !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.xc-btn-cart:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.xc-btn-cart i {
  display: none;
  /* Hide default icon if present */
}

.xc-btn-cart svg {
  width: 1rem;
  height: 1rem;
}

/* Custom Placeholder Styles */
.xc-placeholder-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #f3f4f6;
  /* bg-muted */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem 0.75rem 0 0;
  /* match box radius top */
}

.xc-placeholder-img svg {
  color: rgba(107, 114, 128, 0.3);
  /* text-muted-foreground/30 roughly */
  width: 4rem;
  /* w-16 */
  height: 4rem;
  /* h-16 */
}

/* Hide Flatsome default add to cart in grid if it still appears */
.add-to-cart-button {
  display: none !important;
}

/* But ensure our custom one inside .xc-product-buttons is visible */
.xc-product-buttons .add-to-cart-button {
  display: flex !important;
}

/* Service Book Button */
.xc-btn-book {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.375rem !important;
  /* rounded-md */
  background-color: var(--primary-color, #d4a017) !important;
  color: #fff !important;
  font-weight: 500 !important;
  text-transform: none !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  /* shadow-xs */
  line-height: 1.5 !important;
  padding: 0 1rem !important;
}

.xc-btn-book:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

/* Service Placeholder Gradient */
.xc-placeholder-service {
  /* bg-gradient-to-br from-primary/10 to-primary/5 */
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.1) 0%, rgba(212, 160, 23, 0.05) 100%);
}

.xc-placeholder-service svg {
  color: rgba(212, 160, 23, 0.3);
  /* text-primary/30 */
}

/* Service Meta Row (Time & Price) */
/* Service Meta Row (Time & Price) */
.xc-service-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  /* text-sm */
  margin-bottom: 0.5rem;
}

.xc-service-info-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  /* gap-4 */
  width: 100%;
}

.xc-meta-time {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  /* gap-1 */
  color: #666;
  /* text-muted-foreground */
}

.xc-meta-time svg {
  width: 1rem;
  /* size-4 */
  height: 1rem;
}

.xc-meta-price {
  font-weight: 600;
  /* font-semibold */
  color: var(--primary-color, #d4a017);
  /* text-primary */
  margin-left: auto;
  /* Push price to the right to match 'justify-between' feel within the group if needed, or keep adjacent */
}


/* Service specific label refinements if needed */
.xc-label-service {
  background-color: #fff !important;
  /* bg-white */
  color: var(--primary-color, #d4a017) !important;
  /* text-primary */
  border: 1px solid var(--primary-color, #d4a017);
  /* Make it look like a badge/pill */
}

/* Booking Form (Shadcn Style) */
.xc-booking-form {
  border: 1px solid #e5e7eb;
  /* border-card-border */
  background-color: #fff;
  /* bg-card */
  color: #020817;
  /* text-card-foreground */
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  /* shadow-sm */
  border-radius: 0.75rem;
  /* rounded-xl */
  max-width: 500px;
  margin: 0 auto;
  overflow: visible;
}

.xc-form-header {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  /* p-6 */
  text-align: center;
  gap: 0.375rem;
  /* space-y-1.5 */
}

.xc-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  /* w-12 */
  height: 3rem;
  /* h-12 */
  border-radius: 9999px;
  /* rounded-full */
  background-color: rgba(212, 160, 23, 0.1);
  /* bg-primary/10 */
  margin: 0 auto 1rem auto;
  /* mx-auto mb-4 */
  color: var(--primary-color, #d4a017);
  font-size: 1.5rem;
  /* FontAwesome size */
}

.xc-header-icon svg,
.xc-header-icon i {
  width: 1.5rem;
  /* w-6 */
  height: 1.5rem;
  /* h-6 */
  font-size: 1.5rem;
  /* Ensure FA icon scales */
  line-height: 1;
}

.xc-header-title {
  font-family: serif;
  /* font-serif */
  font-size: 1.5rem;
  /* text-2xl */
  font-weight: 600;
  /* font-semibold */
  letter-spacing: -0.025em;
  /* tracking-tight */
  line-height: 1.2;
  margin: 0;
}

.xc-header-subtitle {
  font-size: 0.875rem;
  /* text-sm */
  color: #64748b;
  /* text-muted-foreground */
  margin-top: 0.5rem;
}

.xc-form-body {
  padding: 1.5rem;
  /* p-6 */
  padding-top: 0;
}

.xc-form-body form {
  /* space-y-6 */
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.xc-form-group {
  /* space-y-2 */
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.xc-form-group label {
  font-size: 0.875rem;
  /* text-sm */
  font-weight: 500;
  /* font-medium */
  line-height: 1;
  cursor: default;
  margin-bottom: 0;
}

.xc-input {
  display: flex;
  height: 2.25rem;
  /* h-9 */
  width: 100%;
  border-radius: 0.375rem;
  /* rounded-md */
  border: 1px solid #e2e8f0;
  /* border-input */
  background-color: #ffffff;
  /* bg-background */
  padding: 0.5rem 0.75rem;
  /* px-3 py-2 */
  font-size: 0.875rem;
  /* text-sm */
  line-height: 1.25rem;
  color: #020817;
  transition: all 0.2s;
}

.xc-input:focus {
  outline: none;
  border-color: var(--primary-color, #d4a017);
  box-shadow: 0 0 0 2px rgba(212, 160, 23, 0.2);
}

.xc-input::placeholder {
  color: #94a3b8;
  /* text-muted-foreground */
}

/* Select styling fix for CF7 */
select.xc-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

/* Submit Button */
.xc-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 0.375rem;
  /* rounded-md */
  font-size: 0.875rem;
  /* text-sm */
  font-weight: 500;
  height: 2.5rem;
  /* min-h-10 */
  padding: 0 2rem;
  /* px-8 */
  width: 100%;
  background-color: var(--primary-color, #d4a017) !important;
  color: #ffffff !important;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.xc-btn-submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Hide default Price Wrapper on Service Category Page (ID 25) to avoid duplication */
.term-dich-vu-tri-lieu .product-small .price-wrapper {
  display: none !important;
}

/* Hide ALL custom labels (including Time label) on Service Category Page as it is redundant with the meta row */
.term-dich-vu-tri-lieu .xc-custom-label {
  display: none !important;
}

/* Hide default Shop Title/Breadcrumbs on Service Category Page */
.term-dich-vu-tri-lieu .shop-page-title.category-page-title.page-title {
  display: none !important;
}

/* About AnThe Club Section */
.xc-about-section {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.xc-about-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 4rem !important;
  height: 4rem !important;
  border-radius: 9999px !important;
  background-color: rgba(212, 160, 23, 0.1) !important;
  color: var(--primary-color, #d4a017) !important;
  font-size: 2rem !important;
  margin-bottom: 1.5rem !important;
}

/* Ensure FontAwesome icons inside show up & are sized */
.xc-about-icon i,
.xc-about-icon svg {
  font-size: 2rem !important;
  width: 2rem !important;
  height: 2rem !important;
  line-height: 1 !important;
}

.xc-about-title {
  font-family: serif !important;
  font-size: 1.875rem !important;
  /* 3xl */
  font-weight: 600 !important;
  margin-bottom: 1rem !important;
  line-height: 1.2 !important;
}

.xc-about-desc {
  color: #64748b !important;
  line-height: 1.625 !important;
  max-width: 42rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.box-diem-manh {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 1.5rem !important;
  width: 100% !important;
}

.box-diem-manh .number {
  font-family: serif !important;
  font-size: 3rem !important;
  font-weight: 800 !important;
  color: var(--primary-color, #d4a017) !important;
  margin-bottom: 0.5rem !important;
  line-height: 1 !important;
}

.box-diem-manh .text {
  color: #64748b !important;
  font-size: 1.125rem !important;
  font-weight: 500 !important;
}

@media (min-width: 768px) {
  .xc-about-section {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
  }

  .xc-about-title {
    font-size: 2.25rem !important;
  }
}

/* Custom Blog Card Styles */
.box-blog-post .box-image {
  border-radius: 0.375rem 0.375rem 0 0;
  /* rounded-t-md */
  overflow: hidden;
}

/* Placeholder */
.xc-blog-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  /* aspect-video */
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.1) 0%, rgba(212, 160, 23, 0.05) 100%);
  /* bg-gradient-to-br from-primary/10 */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.xc-blog-placeholder svg {
  width: 3rem;
  /* w-12 */
  height: 3rem;
  /* w-12 */
  color: rgba(212, 160, 23, 0.3);
  /* text-primary/30 */
}

/* Category Badge on Placeholder */
.xc-blog-cat-badge {
  position: absolute;
  top: 0.75rem;
  /* top-3 */
  left: 0.75rem;
  /* left-3 */
  background-color: #f1f5f9;
  /* bg-secondary */
  color: #0f172a;
  /* text-secondary-foreground */
  font-size: 0.75rem;
  /* text-xs */
  font-weight: 600;
  /* font-semibold */
  padding: 0.125rem 0.625rem;
  /* px-2.5 py-0.5 */
  border-radius: 0.375rem;
  /* rounded-md */
  z-index: 10;
}

/* Content Area */
.box-blog-post .box-text {
  padding: 1rem !important;
  /* p-4 */
  text-align: left !important;
}

/* Title */
.box-blog-post .post-title a {
  font-size: 1.125rem !important;
  /* text-lg */
  font-weight: 600 !important;
  /* font-semibold */
  line-height: 1.75rem;
  /* line-clamp-2 equivalent height approx */
  height: 3.5rem;
  /* Force 2 lines height (1.75 * 2) */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  /* Standard property */
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: inherit;
  transition: color 0.2s;
}

.box-blog-post:hover .post-title a {
  color: var(--primary-color, #d4a017);
  /* group-hover:text-primary */
}

/* Hide divider */
.box-blog-post .is-divider {
  display: none;
}

/* Excerpt */
/* Excerpt */
.box-blog-post .from_the_blog_excerpt {
  font-size: 0.875rem !important;
  /* text-sm */
  color: #64748b;
  /* text-muted-foreground */
  margin-bottom: 0.75rem;
  /* space-y-3 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  /* Standard property */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Meta Footer (Author + Date) */
.xc-blog-meta-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  /* gap-4 */
  font-size: 0.75rem;
  /* text-xs */
  color: #64748b;
  /* text-muted-foreground */
  margin-top: auto;
}

.xc-meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  /* gap-1 */
}

.xc-meta-item i {
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Card Container Style Override */
.box-blog-post {
  border: 1px solid #e5e7eb;
  /* border */
  border-radius: 0.75rem;
  /* rounded-xl */
  background-color: #fff;
  /* bg-card */
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  /* shadow-sm */
  transition: all 0.2s;
}

/* Blog Section Header */
.xc-blog-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  /* mb-8 */
}

@media (min-width: 768px) {
  .xc-blog-section-header {
    margin-bottom: 3rem;
    /* mb-12 */
  }
}

.xc-section-title {
  font-family: serif;
  font-size: 1.875rem;
  /* 3xl */
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .xc-section-title {
    font-size: 2.25rem;
    /* 4xl */
  }
}

.xc-section-subtitle {
  color: #64748b;
  /* text-muted-foreground */
  font-size: 1rem;
}

/* View All Button */
.xc-btn-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 0.375rem;
  /* rounded-md */
  font-size: 0.875rem;
  /* text-sm */
  font-weight: 500;
  height: 2.25rem;
  /* min-h-9 */
  padding: 0.5rem 1rem;
  /* px-4 py-2 */
  gap: 0.5rem;
  background-color: transparent;
  border: 1px solid #e2e8f0;
  color: #020817;
  transition: all 0.2s;
  cursor: pointer;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  /* shadow-xs */
}

.xc-btn-view-all:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  background-color: #f8fafc;
  /* slight hover bg */
}

.xc-btn-view-all svg,
.xc-btn-view-all i {
  width: 1rem;
  height: 1rem;
}

/* Ensure blog grid gap matches design closer */
.xc-home-blog.row {
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.xc-home-blog .col {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  margin-bottom: 1.5rem;
}

.box-blog-post:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  /* hover-elevate */
  transform: translateY(-1px);
}