/*!
Theme Name: Dụng Cụ Y Tế Lê Lợi
Theme URI: https://leloi.phanmempanda.com
Description: Child theme của Kadence — giao diện "Hướng A – Phòng khám sạch" cho Dụng cụ y tế Lê Lợi.
Author: Panda
Template: kadence
Version: 1.0.0
Text Domain: dcyt-child
*/

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root{
  --dcyt-navy: #0c4a6e;
  --dcyt-navy-dark: #0a3a56;
  --dcyt-cyan: #0891b2;
  --dcyt-cyan-light: #ecfeff;
  --dcyt-sky: #e0f2fe;
  --dcyt-sky-mid: #f0f9ff;
  --dcyt-ink: #0f172a;
  --dcyt-body: #334155;
  --dcyt-muted: #64748b;
  --dcyt-line: #e2e8f0;
  --dcyt-bg: #f1f5f9;
  --dcyt-zalo: #0068ff;
  --dcyt-radius: 14px;
  --dcyt-radius-sm: 10px;
  --dcyt-container: 1180px;
  --dcyt-font: 'Be Vietnam Pro', system-ui, -apple-system, "Segoe UI", sans-serif;
}

body{
  font-family: var(--dcyt-font);
  color: var(--dcyt-ink);
  background: #ffffff;
}
a{ color: var(--dcyt-cyan); }
a:hover{ color: var(--dcyt-navy-dark); }
h1,h2,h3,h4,h5,h6{ font-family: var(--dcyt-font); color: var(--dcyt-navy); letter-spacing: -0.01em; }
.site,.site-container,#content{ background: #fff; }

.dcyt-wrap{ box-sizing: border-box; width: auto !important; max-width: var(--dcyt-container) !important; margin: 0 auto !important; padding: 0 24px; }
@media (max-width: 640px){ .dcyt-wrap{ padding: 0 16px; } }

/* ==========================================================================
   2. HEADER
   ========================================================================== */
#masthead, .site-header, .kadence-header{ display: none !important; } /* replaced by custom header.php */

.dcyt-topbar{
  background: var(--dcyt-navy);
  color: var(--dcyt-sky);
  font-size: 13px;
}
.dcyt-topbar .dcyt-wrap{
  padding-top: 8px; padding-bottom: 8px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.dcyt-topbar a{ color: #7dd3fc; }

.dcyt-header{ border-bottom: 1px solid var(--dcyt-line); }
.dcyt-header-row{
  padding-top: 18px; padding-bottom: 18px; /* không dùng "padding: 18px 0" — sẽ xoá lề trái/phải của .dcyt-wrap */
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.dcyt-logo{ display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.dcyt-logo:hover{ color: inherit; }
.dcyt-logo img{ height: 64px; width: auto; display: block; }
.dcyt-logo-mark{
  width: 46px; height: 46px; border-radius: 12px; background: var(--dcyt-cyan);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.dcyt-logo-text-main{ font-weight: 800; font-size: 18px; color: var(--dcyt-navy); line-height: 1.15; }
.dcyt-logo-text-sub{ font-size: 12px; color: var(--dcyt-muted); }

.dcyt-search{
  flex-grow: 1; min-width: 220px; display: flex; align-items: center;
  border: 2px solid var(--dcyt-cyan); border-radius: 12px; overflow: hidden;
}
.dcyt-search input[type="search"]{
  flex-grow: 1; border: 0; padding: 12px 16px; font-size: 14px; font-family: inherit; outline: none; color: var(--dcyt-body);
}
.dcyt-search button{
  border: 0; background: var(--dcyt-cyan); color: #fff; padding: 0 22px; align-self: stretch;
  font-weight: 600; font-family: inherit; cursor: pointer;
}
.dcyt-search button:hover{ background: var(--dcyt-navy); }

.dcyt-hotline{ display: flex; align-items: center; gap: 10px; white-space: nowrap; flex-shrink: 0; }
.dcyt-hotline svg{ flex-shrink: 0; }
.dcyt-hotline-label{ font-size: 11px; color: var(--dcyt-muted); }
.dcyt-hotline-number{ font-weight: 800; font-size: 17px; color: var(--dcyt-navy); }
.dcyt-hotline-number a{ color: inherit; }

.dcyt-nav{ background: #f8fafc; border-top: 1px solid var(--dcyt-line); }
.dcyt-nav .dcyt-wrap{ display: flex; align-items: stretch; gap: 4px; flex-wrap: wrap; }
.dcyt-nav-catbtn{
  display: flex; align-items: center; gap: 10px; background: var(--dcyt-cyan); color: #fff;
  padding: 13px 20px; font-weight: 600; font-size: 14px; border: 0; font-family: inherit; cursor: pointer; position: relative;
}
.dcyt-nav ul.dcyt-menu{ list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.dcyt-nav ul.dcyt-menu li a{
  display: block; padding: 13px 16px; font-size: 14px; font-weight: 500; color: var(--dcyt-body); text-decoration: none;
}
.dcyt-nav ul.dcyt-menu li a:hover{ color: var(--dcyt-cyan); }

.dcyt-megamenu{
  display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--dcyt-line);
  border-radius: 0 0 12px 12px; box-shadow: 0 16px 32px rgba(15,23,42,.12); width: min(720px, 90vw);
  padding: 18px; z-index: 60; max-height: 70vh; overflow-y: auto;
}
.dcyt-nav-catbtn:hover .dcyt-megamenu,
.dcyt-nav-catbtn:focus-within .dcyt-megamenu,
.dcyt-megamenu:hover{ display: block; }
.dcyt-megamenu ul{ list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 20px; }
.dcyt-megamenu li{ break-inside: avoid; }
.dcyt-megamenu a{
  display: block; padding: 8px 4px; font-size: 13.5px; color: var(--dcyt-body); text-decoration: none; border-bottom: 1px dashed #f1f5f9;
}
.dcyt-megamenu a:hover{ color: var(--dcyt-cyan); }
.dcyt-megamenu-empty{ font-size: 13px; color: var(--dcyt-muted); padding: 8px 4px; }

/* mobile: nút ☰ đóng/mở menu, danh mục dạng xổ xuống */
.dcyt-nav-toggle{ display: none; }
@media (max-width: 900px){
  .dcyt-header-row{ padding-top: 12px; padding-bottom: 12px; gap: 12px 14px; flex-wrap: wrap; }
  .dcyt-logo{ flex: 1 1 auto; min-width: 0; }
  .dcyt-hotline{ order: 2; }
  .dcyt-nav-toggle{
    order: 3; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 44px; height: 44px; padding: 0; border: 1px solid var(--dcyt-line); border-radius: 10px;
    background: #fff; color: var(--dcyt-navy); cursor: pointer;
  }
  .dcyt-nav-toggle .dcyt-icon-close{ display: none; }
  .dcyt-nav-toggle[aria-expanded="true"]{ background: var(--dcyt-navy); border-color: var(--dcyt-navy); color: #fff; }
  .dcyt-nav-toggle[aria-expanded="true"] .dcyt-icon-open{ display: none; }
  .dcyt-nav-toggle[aria-expanded="true"] .dcyt-icon-close{ display: block; }
  .dcyt-search{ order: 4; flex-basis: 100%; min-width: 0; }

  .dcyt-nav{ display: none; }
  .dcyt-nav.is-open{ display: block; box-shadow: 0 12px 24px rgba(15,23,42,.08); }
  .dcyt-nav .dcyt-wrap{ flex-direction: column; gap: 0; padding: 0; }
  .dcyt-nav-catbtn{ flex-wrap: wrap; padding: 13px 16px; }
  .dcyt-nav-catbtn::after{
    order: 1; content: ""; margin-left: auto; width: 8px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0;
    transform: rotate(45deg); transition: transform .2s ease; position: relative; top: -2px;
  }
  .dcyt-nav-catbtn[aria-expanded="true"]::after{ transform: rotate(-135deg); top: 2px; }
  /* trên màn hình cảm ứng không mở bằng hover/focus (dễ bị kẹt mở) — chỉ mở khi bấm */
  .dcyt-nav .dcyt-nav-catbtn:hover .dcyt-megamenu,
  .dcyt-nav .dcyt-nav-catbtn:focus-within .dcyt-megamenu,
  .dcyt-nav .dcyt-megamenu:hover{ display: none; }
  .dcyt-nav .dcyt-nav-catbtn[aria-expanded="true"] .dcyt-megamenu{ display: block; }
  .dcyt-megamenu{
    order: 2; position: static; flex: 0 0 calc(100% + 32px); width: auto; margin: 13px -16px -13px; padding: 6px 16px;
    box-shadow: none; border: 0; border-radius: 0; max-height: 55vh; cursor: default;
  }
  .dcyt-megamenu a{ padding: 11px 4px; }
  .dcyt-nav ul.dcyt-menu{ flex-direction: column; }
  .dcyt-nav ul.dcyt-menu li + li{ border-top: 1px solid var(--dcyt-line); }
  .dcyt-nav ul.dcyt-menu li a{ padding: 13px 16px; font-size: 15px; }
}
@media (max-width: 640px){
  .dcyt-topbar{ font-size: 12px; }
  .dcyt-topbar .dcyt-wrap{ justify-content: center; padding-top: 6px; padding-bottom: 6px; }
  .dcyt-topbar .dcyt-wrap > span:first-child{ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .dcyt-topbar .dcyt-wrap > span + span{ display: none; }
  .dcyt-hotline{ display: none; } /* đã có nút Gọi nổi ở góc màn hình */
  .dcyt-logo{ gap: 10px; }
  .dcyt-logo-mark{ width: 40px; height: 40px; border-radius: 10px; }
  .dcyt-logo img{ height: 48px; }
  .dcyt-logo-text-main{ font-size: 16px; }
  .dcyt-logo-text-sub{ font-size: 11.5px; }
  .dcyt-search input[type="search"]{ padding: 10px 12px; font-size: 16px; min-width: 0; } /* 16px: iPhone không tự phóng to khi gõ */
  .dcyt-search button{ padding: 0 14px; font-size: 14px; }
  .dcyt-megamenu ul{ columns: 1; }
}

/* ==========================================================================
   3. BUTTONS / PILLS
   ========================================================================== */
.dcyt-btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 700; font-size: 14px; text-decoration: none; border: 0; cursor: pointer;
  font-family: inherit;
}
.dcyt-btn-primary{ background: var(--dcyt-cyan); color: #fff; }
.dcyt-btn-primary:hover{ background: var(--dcyt-navy); color: #fff; }
.dcyt-btn-zalo{ background: var(--dcyt-zalo); color: #fff; }
.dcyt-btn-zalo:hover{ opacity: .9; color: #fff; }
.dcyt-btn-outline{ background: #fff; color: var(--dcyt-cyan); border: 1.5px solid var(--dcyt-cyan); }
.dcyt-btn-outline:hover{ background: var(--dcyt-cyan-light); color: var(--dcyt-navy); }
.dcyt-btn-white{ background: #fff; color: var(--dcyt-navy); }
.dcyt-btn-block{ display: flex; width: 100%; }
.dcyt-btn-sm{ padding: 8px 10px; font-size: 12.5px; border-radius: 9px; }

/* ==========================================================================
   4. HOMEPAGE SECTIONS (used by front-page block content)
   ========================================================================== */
.home .entry-title, .home .page-title, .home .entry-header{ display: none !important; }
.home .content-area, .home #primary, .home .entry-content{ max-width: none !important; padding: 0 !important; }
.home article{ background: none; box-shadow: none !important; padding: 0 !important; }
.home .entry-content-wrap{ padding: 0 !important; }

/* Gutenberg bọc mỗi khối Group trong 1 div ".wp-block-group__inner-container" —
   khiến CSS grid/flex đặt trên khối Group cha chỉ thấy "1 con" (div bọc đó) thay vì
   các phần tử thật bên trong, làm vỡ bố cục lưới. Bỏ div bọc này ra khỏi luồng layout
   (nhưng vẫn giữ trong DOM) để CSS lưới/flex của mình áp dụng đúng lên nội dung thật. */
.entry-content .wp-block-group__inner-container{ display: contents; }

.dcyt-section{ box-sizing: border-box; width: auto !important; max-width: var(--dcyt-container) !important; margin: 0 auto !important; padding: 40px 24px; }
.dcyt-section-head{ display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }
.dcyt-section-title{ font-size: 22px; font-weight: 800; color: var(--dcyt-navy); margin: 0; }
.dcyt-section-link{ font-size: 13px; font-weight: 600; white-space: nowrap; }

/* --- Slider banner trang chủ --- */
.dcyt-slider{
  position: relative; box-sizing: border-box;
  width: auto !important; max-width: calc(var(--dcyt-container) - 48px) !important; margin: 24px auto 0 !important;
  border-radius: 16px; overflow: hidden; background: #f8fafc; border: 1px solid var(--dcyt-line);
}
.dcyt-slider-track{
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none; scroll-behavior: smooth;
}
.dcyt-slider-track::-webkit-scrollbar{ display: none; }
.dcyt-slide{ flex: 0 0 100%; scroll-snap-align: start; }
.dcyt-slide a{ display: block; }
.dcyt-slide img.dcyt-slide-img{
  display: block; width: 100%; height: clamp(200px, 30vw, 400px);
  object-fit: contain; background: #f8fafc;
}
.dcyt-slider-nav{
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.88); color: var(--dcyt-navy);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 4px 14px rgba(15,23,42,.14); opacity: 0; transition: opacity .18s ease;
}
.dcyt-slider:hover .dcyt-slider-nav, .dcyt-slider-nav:focus-visible{ opacity: 1; }
.dcyt-slider-prev{ left: 12px; }
.dcyt-slider-next{ right: 12px; }
.dcyt-slider-nav:hover{ background: #fff; color: var(--dcyt-cyan); }
.dcyt-slider-dots{
  position: absolute; left: 0; right: 0; bottom: 10px;
  display: flex; justify-content: center; gap: 7px;
}
.dcyt-slider-dot{
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(12,74,110,.28); transition: background .18s ease, width .18s ease;
}
.dcyt-slider-dot.is-active{ background: var(--dcyt-cyan); width: 22px; border-radius: 999px; }
@media (max-width: 700px){
  .dcyt-slider{ margin-left: 16px !important; margin-right: 16px !important; max-width: calc(100% - 32px) !important; }
  .dcyt-slider-nav{ opacity: 1; width: 34px; height: 34px; }
}

.dcyt-hero{
  box-sizing: border-box; width: auto !important; max-width: calc(var(--dcyt-container) - 48px) !important; margin: 20px auto 0 !important;
  border-radius: 16px; background: linear-gradient(115deg, var(--dcyt-navy), var(--dcyt-cyan)); color: #fff;
  padding: 30px 40px; display: flex; flex-direction: column; justify-content: center; overflow: hidden;
}
.dcyt-hero h1{ margin: 8px 0 10px; }
.dcyt-hero p{ margin-bottom: 18px; }
@media (max-width: 700px){ .dcyt-hero{ margin-left: 16px !important; margin-right: 16px !important; max-width: calc(100% - 32px) !important; padding: 26px 22px; } }
.dcyt-hero .dcyt-eyebrow{ font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #7dd3fc; }
.dcyt-hero h1{ font-size: clamp(26px,4vw,38px); line-height: 1.15; margin: 12px 0 14px; font-weight: 800; max-width: 620px; color: #fff; }
.dcyt-hero p{ margin: 0 0 24px; font-size: 15px; color: var(--dcyt-sky); max-width: 560px; }
.dcyt-hero .dcyt-actions{ display: flex; gap: 12px; flex-wrap: wrap; }
/* Nút của khối Buttons: lớp dcyt-btn nằm ở khung bao -> khung trong suốt, định dạng thẻ <a> bên trong */
.dcyt-actions .wp-block-button.dcyt-btn{ padding: 0; background: none; border: 0; border-radius: 0; }
.dcyt-actions .wp-block-button .wp-block-button__link{
  display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 10px;
  font-weight: 700; font-size: 14px; line-height: 1.3; box-shadow: none; text-decoration: none;
}
.dcyt-actions .dcyt-btn-white .wp-block-button__link{ background: #fff; color: var(--dcyt-navy); border: 1.5px solid #fff; }
.dcyt-actions .dcyt-btn-white .wp-block-button__link:hover{ background: var(--dcyt-cyan-light); border-color: var(--dcyt-cyan-light); color: var(--dcyt-navy); }
.dcyt-hero .dcyt-btn-outline .wp-block-button__link{ background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.65); }
.dcyt-hero .dcyt-btn-outline .wp-block-button__link:hover{ background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
@media (max-width: 520px){
  .dcyt-hero .dcyt-actions .wp-block-button{ flex: 1 1 100%; }
  .dcyt-hero .dcyt-actions .wp-block-button__link{ width: 100%; }
}

.dcyt-trust-row{ display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; align-items: stretch !important; gap: 16px; max-width: var(--dcyt-container); margin: 16px auto 0; padding: 0 24px; }
.dcyt-trust-item{ border: 1px solid var(--dcyt-line); border-radius: 12px; padding: 16px; display: flex; gap: 12px; align-items: center; font-size: 13px; font-weight: 600; color: var(--dcyt-body); margin: 0; }
@media (max-width: 700px){ .dcyt-trust-row{ grid-template-columns: 1fr !important; } }

.dcyt-cat-grid{ display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 14px; }
@media (max-width: 900px){ .dcyt-cat-grid{ grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 520px){ .dcyt-cat-grid{ grid-template-columns: repeat(2,minmax(0,1fr)); } }
.dcyt-cat-card{
  border: 1px solid var(--dcyt-line); border-radius: var(--dcyt-radius); padding: 18px 12px; text-align: center;
  color: var(--dcyt-body); text-decoration: none; display: block;
}
.dcyt-cat-card:hover{ border-color: var(--dcyt-cyan); color: var(--dcyt-body); }
.dcyt-cat-icon{ width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 14px; background: var(--dcyt-cyan-light); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.dcyt-cat-icon img{ width: 100%; height: 100%; object-fit: cover; }
.dcyt-cat-name{ font-size: 12.5px; font-weight: 600; }
.dcyt-cat-more{ border: 1px dashed #cbd5e1; color: var(--dcyt-cyan); font-weight: 700; font-size: 12.5px; display: flex; align-items: center; justify-content: center; }

.dcyt-trustband{ width: auto !important; max-width: none !important; margin: 0 !important; background: var(--dcyt-sky-mid); border-top: 1px solid var(--dcyt-sky); border-bottom: 1px solid var(--dcyt-sky); }
.dcyt-trustband .dcyt-wrap{ padding: 32px 24px; display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)) !important; gap: 20px; text-align: center; }
@media (max-width: 700px){ .dcyt-trustband .dcyt-wrap{ grid-template-columns: repeat(2,minmax(0,1fr)) !important; } }
.dcyt-stat-num{ font-size: 30px; font-weight: 800; color: var(--dcyt-navy); margin: 0; }
.dcyt-stat-label{ font-size: 13px; color: var(--dcyt-muted); margin: 0; }

/* --- Lưới tin tức trang chủ (khối Latest Posts) --- */
.dcyt-news-grid{
  display: grid !important; grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  gap: 18px; list-style: none; margin: 0 !important; padding: 0 !important;
}
@media (max-width: 900px){ .dcyt-news-grid{ grid-template-columns: repeat(2, minmax(0,1fr)) !important; } }
@media (max-width: 560px){ .dcyt-news-grid{ grid-template-columns: 1fr !important; } }
.dcyt-news-grid > li{
  width: auto !important; margin: 0 !important; padding: 0 0 14px !important;
  border: 1px solid var(--dcyt-line); border-radius: var(--dcyt-radius); overflow: hidden; background: #fff;
  display: flex; flex-direction: column;
}
.dcyt-news-grid .wp-block-latest-posts__featured-image{ margin: 0 0 12px !important; }
.dcyt-news-grid .wp-block-latest-posts__featured-image a{ display: block; }
.dcyt-news-grid .wp-block-latest-posts__featured-image img{
  width: 100% !important; aspect-ratio: 16 / 9; object-fit: cover; display: block; max-width: none !important;
}
.dcyt-news-grid .wp-block-latest-posts__post-title{
  display: block; padding: 0 14px; font-size: 14px; font-weight: 600; color: #1e293b;
  line-height: 1.4; text-decoration: none;
}
.dcyt-news-grid .wp-block-latest-posts__post-title:hover{ color: var(--dcyt-cyan); }
.dcyt-news-grid .wp-block-latest-posts__post-date{
  display: block; padding: 6px 14px 0; font-size: 11.5px; color: var(--dcyt-muted); order: -1; margin-top: 0;
}
.dcyt-news-grid .wp-block-latest-posts__post-excerpt{
  padding: 6px 14px 0; font-size: 12.5px; color: var(--dcyt-muted); line-height: 1.55; margin: 0;
}
.dcyt-news-grid .wp-block-latest-posts__post-excerpt a{ display: none; }

.dcyt-store-grid{ display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)) !important; align-items: stretch !important; gap: 16px; }
@media (max-width: 900px){ .dcyt-store-grid{ grid-template-columns: repeat(2,minmax(0,1fr)) !important; } }
@media (max-width: 520px){ .dcyt-store-grid{ grid-template-columns: 1fr !important; } }
.dcyt-store-card{ border: 1px solid var(--dcyt-line); border-radius: var(--dcyt-radius); padding: 16px; height: 100%; }
.dcyt-store-card b{ display: block; color: var(--dcyt-navy); font-size: 14px; margin-bottom: 6px; }
.dcyt-store-card span{ font-size: 12.5px; color: var(--dcyt-muted); line-height: 1.5; }
.dcyt-store-card p{ margin: 0; font-size: 12.5px; color: var(--dcyt-muted); line-height: 1.6; }
.dcyt-store-card p strong{ display: block; color: var(--dcyt-navy); font-size: 14px; margin-bottom: 6px; }

/* ==========================================================================
   5. WOOCOMMERCE — catalog mode cards
   ========================================================================== */
.woocommerce ul.products{ display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; list-style: none; }
@media (max-width: 900px){ .woocommerce ul.products{ grid-template-columns: repeat(2,minmax(0,1fr)); } }
.woocommerce ul.products li.product{
  width: 100% !important; margin: 0 !important; float: none !important;
  border: 1px solid var(--dcyt-line); border-radius: var(--dcyt-radius); overflow: hidden; display: flex; flex-direction: column; background: #fff;
}
.woocommerce ul.products li.product img{ aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-size: 13.5px; font-weight: 600; color: #1e293b; line-height: 1.35; padding: 14px 14px 0; flex-grow: 1;
}
.woocommerce ul.products li.product .price{ font-size: 15px; font-weight: 800; color: var(--dcyt-navy) !important; padding: 6px 14px 0; }
.woocommerce ul.products li.product .price ins{ text-decoration: none; }
.dcyt-card-cta{ display: flex; gap: 8px; padding: 10px 14px 14px; }
.dcyt-card-cta .dcyt-btn{ flex-grow: 1; }
.dcyt-card-cta .dcyt-btn-zalo{ flex-grow: 0; width: 42px; padding: 8px 0; }

.dcyt-liên-hệ, .dcyt-contact-price{ font-weight: 800; color: var(--dcyt-navy); }

/* Thẻ danh mục (shortcode [product_categories]) */
.woocommerce ul.products li.product-category{ text-align: center; }
.woocommerce ul.products li.product-category a{ display: block; text-decoration: none; color: var(--dcyt-body); }
.woocommerce ul.products li.product-category img{
  aspect-ratio: 4 / 3 !important; object-fit: contain !important; background: #fff; padding: 10px;
  margin: 0 !important;
}
.woocommerce ul.products li.product-category .product-details,
.woocommerce ul.products li.product-category .entry-content-wrap{ padding: 10px 12px 14px !important; }
.woocommerce ul.products li.product-category .woocommerce-loop-category__title{
  font-size: 13px !important; font-weight: 600; color: var(--dcyt-navy); line-height: 1.35; margin: 0 !important; padding: 0 !important;
}
.woocommerce ul.products li.product-category .count{
  background: transparent; color: var(--dcyt-muted); font-weight: 500; font-size: 12px;
}
.woocommerce ul.products li.product-category:hover{ border-color: var(--dcyt-cyan); }

/* Lưới danh mục 6 cột trên desktop cho khối "Danh mục nổi bật" */
.dcyt-section .woocommerce ul.products.columns-6{ grid-template-columns: repeat(6, minmax(0,1fr)) !important; }
@media (max-width: 1100px){ .dcyt-section .woocommerce ul.products.columns-6{ grid-template-columns: repeat(4, minmax(0,1fr)) !important; } }
@media (max-width: 760px){ .dcyt-section .woocommerce ul.products.columns-6{ grid-template-columns: repeat(2, minmax(0,1fr)) !important; } }

/* single product */
.single-product .dcyt-brand{ font-size: 12px; color: var(--dcyt-cyan); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.single-product .product_title{ font-size: 26px; margin: 8px 0 12px; }
.dcyt-price-box{ background: var(--dcyt-sky-mid); border: 1px solid var(--dcyt-sky); border-radius: var(--dcyt-radius); padding: 18px 20px; margin-bottom: 18px; }
.dcyt-price-box .dcyt-price-label{ font-size: 13px; color: var(--dcyt-muted); }
.dcyt-price-box .dcyt-price-big{ font-size: 26px; font-weight: 800; color: var(--dcyt-navy); margin: 2px 0 4px; }
.dcyt-price-box .dcyt-price-note{ font-size: 12.5px; color: var(--dcyt-muted); }
.dcyt-single-actions{ display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.dcyt-single-actions .dcyt-btn{ flex-grow: 1; padding: 14px; font-size: 15px; }
.dcyt-feature-list{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.dcyt-feature-list div{ display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--dcyt-body); }

/* ==========================================================================
   6. FOOTER
   ========================================================================== */
#colophon, .site-footer{ display: none !important; }
.dcyt-footer{ background: var(--dcyt-navy); color: #cbd5e1; }
/* Chỉ hàng cột đầu của footer mới chia 4 cột — KHÔNG áp cho khối "Hệ thống cửa hàng"
   nằm trong một .dcyt-wrap khác bên dưới (trước đây bị nhét hết vào 1 cột). */
.dcyt-footer .dcyt-footer-cols{ padding: 40px 24px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 800px){ .dcyt-footer .dcyt-footer-cols{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px){ .dcyt-footer .dcyt-footer-cols{ grid-template-columns: 1fr; } }
.dcyt-footer h4{ color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 10px; }
.dcyt-footer ul{ list-style: none; margin: 0; padding: 0; font-size: 13px; line-height: 2; }
.dcyt-footer ul a{ color: #cbd5e1; }
.dcyt-footer ul a:hover{ color: #fff; }
.dcyt-footer-bottom{
  border-top: 1px solid #155e75; padding: 14px; font-size: 12px; color: #94a3b8;
  display: flex; align-items: center; justify-content: center; gap: 14px 22px; flex-wrap: wrap;
}
.dcyt-bct{ display: inline-flex; }
.dcyt-bct img{ height: 42px; width: auto; display: block; }
.dcyt-footer-hotline{ font-size: 20px; font-weight: 800; color: #fff; }

/* ==========================================================================
   7. FLOATING CALL/ZALO
   ========================================================================== */
.dcyt-floating{ position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 10px; z-index: 90; }
.dcyt-fab{
  width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none; box-shadow: 0 8px 20px rgba(15,23,42,.22); font-weight: 800; font-size: 12px;
}
.dcyt-fab-call{ background: var(--dcyt-cyan); }
.dcyt-fab-zalo{ background: var(--dcyt-zalo); }

/* ==========================================================================
   8. TRANG DANH MỤC — thanh lọc
   ========================================================================== */
.dcyt-filterbar{
  border: 1px solid var(--dcyt-line); border-radius: var(--dcyt-radius);
  padding: 14px 16px; margin: 0 0 22px; background: #fff;
  display: flex; flex-direction: column; gap: 12px;
}
.dcyt-filter-group{ display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.dcyt-filter-label{ font-size: 12.5px; font-weight: 700; color: var(--dcyt-navy); padding-top: 6px; white-space: nowrap; }
.dcyt-chips{ display: flex; flex-wrap: wrap; gap: 8px; }
.dcyt-chip{
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--dcyt-line);
  font-size: 12.5px; color: var(--dcyt-body); text-decoration: none; background: #f8fafc;
}
.dcyt-chip:hover{ border-color: var(--dcyt-cyan); color: var(--dcyt-cyan); background: var(--dcyt-cyan-light); }
.dcyt-chip.is-active{ background: var(--dcyt-cyan); border-color: var(--dcyt-cyan); color: #fff; }
.dcyt-chip-count{ font-size: 11px; color: var(--dcyt-muted); }
.dcyt-chip.is-active .dcyt-chip-count{ color: #e0f2fe; }

.woocommerce nav.woocommerce-pagination ul{ border: 0 !important; display: flex; gap: 6px; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li{ border: 0 !important; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span{
  border: 1px solid var(--dcyt-line); border-radius: 9px; min-width: 38px; padding: 8px 10px !important;
  font-size: 13px; color: var(--dcyt-body);
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover{ background: var(--dcyt-cyan) !important; border-color: var(--dcyt-cyan); color: #fff !important; }

/* ==========================================================================
   9. TRANG CHI TIẾT SẢN PHẨM
   ========================================================================== */
.single-product .summary.entry-summary > p.price{ display: none !important; } /* đã có khối giá riêng */

.dcyt-product-meta{
  font-size: 12.5px; color: var(--dcyt-muted); margin: 0 0 16px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
}
.dcyt-product-meta a{ color: var(--dcyt-cyan); }
.dcyt-dot{ color: #cbd5e1; margin: 0 2px; }
.dcyt-instock{ color: #16a34a; font-weight: 600; }

.dcyt-feature-list div{ display: flex; gap: 8px; align-items: flex-start; }
.dcyt-feature-list svg{ flex-shrink: 0; margin-top: 1px; }
@media (max-width: 560px){ .dcyt-feature-list{ grid-template-columns: 1fr; } }

.dcyt-support-box{
  margin-top: 20px; border: 1px solid var(--dcyt-line); border-radius: var(--dcyt-radius);
  padding: 16px; background: #f8fafc;
}
.dcyt-support-title{ font-weight: 700; color: var(--dcyt-navy); font-size: 14px; margin-bottom: 6px; }
.dcyt-support-box p{ font-size: 12.5px; color: var(--dcyt-muted); line-height: 1.6; margin: 0 0 12px; }

.single-product .woocommerce-product-gallery img{ border-radius: 12px; }
.single-product .flex-control-thumbs li img,
.single-product .woocommerce-product-gallery__image img{ border-radius: 10px; }

.single-product .woocommerce-tabs ul.tabs{
  padding: 0 !important; margin: 0 0 18px !important; border-bottom: 2px solid var(--dcyt-line) !important;
  display: flex; gap: 4px; flex-wrap: wrap;
}
.single-product .woocommerce-tabs ul.tabs::before{ display: none !important; }
.single-product .woocommerce-tabs ul.tabs li{
  border: 0 !important; background: none !important; margin: 0 !important; padding: 0 !important; border-radius: 0 !important;
}
.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after{ display: none !important; }
.single-product .woocommerce-tabs ul.tabs li a{
  display: block; padding: 10px 16px !important; font-weight: 600; font-size: 14px; color: var(--dcyt-muted) !important;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
}
.single-product .woocommerce-tabs ul.tabs li.active a{ color: var(--dcyt-navy) !important; border-bottom-color: var(--dcyt-cyan); }
.single-product .woocommerce-Tabs-panel h2:first-child{ display: none; }
.single-product .woocommerce-Tabs-panel img{ max-width: 100%; height: auto; border-radius: 10px; }
.single-product .woocommerce-Tabs-panel table{ width: 100%; }

.related.products > h2, .up-sells > h2{
  font-size: 20px; font-weight: 800; color: var(--dcyt-navy); margin-bottom: 16px;
}

/* ==========================================================================
   10. FORM (Fluent Forms) theo tông của theme
   ========================================================================== */
.fluentform .ff-el-group{ margin-bottom: 16px; }
.fluentform .ff-el-input--label label{
  font-size: 13px !important; font-weight: 600 !important; color: var(--dcyt-navy) !important; margin-bottom: 6px;
}
.fluentform .ff-el-form-control{
  border: 1px solid var(--dcyt-line) !important; border-radius: 10px !important;
  padding: 11px 14px !important; font-size: 14px !important; font-family: var(--dcyt-font) !important;
  color: var(--dcyt-ink) !important; background: #fff !important; box-shadow: none !important;
}
.fluentform .ff-el-form-control:focus{ border-color: var(--dcyt-cyan) !important; outline: none !important; }
.fluentform .ff-btn-submit{
  background: var(--dcyt-cyan) !important; color: #fff !important; border: 0 !important;
  border-radius: 10px !important; padding: 12px 26px !important; font-weight: 700 !important;
  font-size: 14px !important; font-family: var(--dcyt-font) !important; cursor: pointer;
}
.fluentform .ff-btn-submit:hover{ background: var(--dcyt-navy) !important; }
.fluentform .ff-el-is-error .ff-el-form-control{ border-color: #dc2626 !important; }
.ff-message-success{
  border: 1px solid #bbf7d0 !important; background: #f0fdf4 !important; color: #166534 !important;
  border-radius: var(--dcyt-radius) !important; padding: 16px 18px !important;
}

/* ==========================================================================
   11. THƯ VIỆN VIDEO — carousel + khung xem
   ========================================================================== */
.dcyt-vcarousel{ position: relative; }
.dcyt-vcarousel-head{
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px;
}
.dcyt-vcarousel-head .dcyt-section-title{ margin: 0; }
.dcyt-vcarousel-nav{ display: flex; gap: 8px; margin-left: auto; }
.dcyt-vcarousel-nav button{
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--dcyt-line);
  background: #fff; color: var(--dcyt-navy); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.dcyt-vcarousel-nav button:hover:not(:disabled){ background: var(--dcyt-cyan); border-color: var(--dcyt-cyan); color: #fff; }
.dcyt-vcarousel-nav button:disabled{ opacity: .35; cursor: default; }

.dcyt-vcarousel-track{
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 6px; scrollbar-width: none; -ms-overflow-style: none;
}
.dcyt-vcarousel-track::-webkit-scrollbar{ display: none; }

.dcyt-video-item{
  flex: 0 0 calc((100% - 3 * 18px) / 4); scroll-snap-align: start; min-width: 0;
}
@media (max-width: 1024px){ .dcyt-video-item{ flex-basis: calc((100% - 2 * 18px) / 3); } }
@media (max-width: 760px){  .dcyt-video-item{ flex-basis: calc((100% - 18px) / 2); } }
@media (max-width: 520px){  .dcyt-video-item{ flex-basis: 82%; } }

.dcyt-video-card{
  display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none; cursor: pointer; text-align: left;
  border-radius: 12px; overflow: hidden;
}
.dcyt-video-thumb{
  position: relative; display: block; aspect-ratio: 16 / 9; background: #0f172a; border-radius: 12px; overflow: hidden;
}
.dcyt-video-thumb img{
  width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease, opacity .2s ease;
}
.dcyt-video-card:hover .dcyt-video-thumb img{ transform: scale(1.04); opacity: .88; }
.dcyt-video-play{
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%; background: rgba(8,145,178,.92);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.28);
  transition: transform .2s ease, background .2s ease;
}
.dcyt-video-play svg{ margin-left: 3px; }
.dcyt-video-card:hover .dcyt-video-play{ transform: translate(-50%, -50%) scale(1.08); background: var(--dcyt-navy); }
.dcyt-video-card:focus-visible{ outline: 3px solid var(--dcyt-cyan); outline-offset: 3px; }

.dcyt-video-meta{ padding: 10px 2px 0; }
.dcyt-video-title{
  font-size: 13.5px; font-weight: 600; color: #1e293b; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.dcyt-video-source{ font-size: 11.5px; color: var(--dcyt-muted); margin-top: 4px; }

/* Khung xem video */
.dcyt-vmodal{ position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.dcyt-vmodal[hidden]{ display: none !important; }
.dcyt-vmodal-backdrop{ position: absolute; inset: 0; background: rgba(2,6,23,.82); }
.dcyt-vmodal-box{ position: relative; width: min(960px, 100%); }
.dcyt-vmodal-frame{ position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.dcyt-vmodal-frame iframe{ position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dcyt-vmodal-title{ color: #fff; font-weight: 600; font-size: 15px; margin-top: 12px; line-height: 1.4; }
.dcyt-vmodal-close{
  position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.dcyt-vmodal-close:hover{ background: rgba(255,255,255,.28); }
html.dcyt-vmodal-open, html.dcyt-vmodal-open body{ overflow: hidden; }

/* Lưới video trong tab "Video" của trang sản phẩm */
.dcyt-video-grid{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px){ .dcyt-video-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px){ .dcyt-video-grid{ grid-template-columns: 1fr; } }
.dcyt-video-grid .dcyt-video-item{ flex: none; }

/* ==========================================================================
   12. TAB CHI TIẾT SẢN PHẨM — công dụng, thông số, hướng dẫn
   ========================================================================== */
.dcyt-spec-table{
  width: 100%; border-collapse: separate; border-spacing: 0; margin: 0;
  border: 1px solid var(--dcyt-line); border-radius: var(--dcyt-radius); overflow: hidden; font-size: 14px;
}
.dcyt-spec-table th, .dcyt-spec-table td{
  padding: 11px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--dcyt-line);
}
.dcyt-spec-table tr:last-child th, .dcyt-spec-table tr:last-child td{ border-bottom: 0; }
.dcyt-spec-table th{ width: 34%; background: #f8fafc; color: var(--dcyt-navy); font-weight: 600; }
.dcyt-spec-table td{ color: var(--dcyt-body); }
.dcyt-spec-table tr:nth-child(even) td{ background: #fcfdfe; }
@media (max-width: 560px){
  .dcyt-spec-table th, .dcyt-spec-table td{ display: block; width: auto; }
  .dcyt-spec-table th{ border-bottom: 0; padding-bottom: 2px; }
}
.dcyt-tab-content{ font-size: 15px; line-height: 1.75; color: var(--dcyt-body); }
.dcyt-tab-content img{ max-width: 100%; height: auto; border-radius: 10px; }
.dcyt-tab-content ul, .dcyt-tab-content ol{ padding-left: 20px; }

/* ==========================================================================
   13. CHUYÊN GIA — bộ lọc hình thức, video đầu bài, nguồn
   ========================================================================== */
.dcyt-expert-filter{ margin-bottom: 26px; }
.dcyt-post-video{ margin: 0 0 24px; }
.dcyt-post-video .dcyt-video-play{ width: 72px; height: 72px; }
.dcyt-post-video .dcyt-video-play svg{ width: 36px; height: 36px; }
.dcyt-post-video .dcyt-video-card:hover .dcyt-video-thumb img{ transform: none; }
.dcyt-post-source{
  margin-top: 28px !important; padding-top: 14px; border-top: 1px dashed var(--dcyt-line);
  font-size: 13.5px; font-style: italic; color: var(--dcyt-muted);
}
/* bài có video: biểu tượng ▶ trên ảnh bìa ở trang danh sách */
.dcyt-has-video .post-thumbnail,
.dcyt-has-video .post-thumbnail-inner{ position: relative; }
.dcyt-has-video .post-thumbnail::after{
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; pointer-events: none;
  background: rgba(8,145,178,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9 5.5v13l10.5-6.5z'/%3E%3C/svg%3E") center / 26px no-repeat;
  box-shadow: 0 6px 18px rgba(0,0,0,.28);
}

/* ==========================================================================
   14. DẢI TIÊU ĐỀ TRANG (hero của Kadence) — gọn, căn trái
   ========================================================================== */
.entry-hero .entry-hero-container-inner{
  background: #f8fafc !important; border-bottom: 1px solid var(--dcyt-line);
}
.entry-hero .hero-section-overlay{ display: none; }
.entry-hero .hero-container{ background: transparent !important; }
.entry-hero .entry-hero-container-inner .entry-header{
  min-height: 0 !important; padding: 22px 0 !important;
  text-align: left !important; align-items: flex-start !important;
}
.entry-hero .page-title{ font-size: clamp(22px, 2.6vw, 28px); margin: 0; line-height: 1.25; }
.entry-hero + .content-area,
.entry-hero + #primary{ margin-top: 24px; }
@media (max-width: 700px){
  .entry-hero .entry-hero-container-inner .entry-header{ padding: 16px 0 !important; }
  .entry-hero + .content-area, .entry-hero + #primary{ margin-top: 16px; }
}

/* ==========================================================================
   15. BẢN ĐỒ CƠ SỞ — lưới ảnh bản đồ + khung xem lớn
   ========================================================================== */
.dcyt-store-maps{ display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
@media (max-width: 900px){ .dcyt-store-maps{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 460px){ .dcyt-store-maps{ grid-template-columns: 1fr; } }

.dcyt-store-map-card{
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer;
  font-family: inherit; text-align: center;
}
.dcyt-store-thumb{
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden;
  border: 1px solid var(--dcyt-line); border-radius: var(--dcyt-radius); background: #eef2f6;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.dcyt-store-thumb img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.dcyt-store-thumb-blank{
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(148,163,184,.25) 1px, transparent 1px) 0 0 / 100% 34px,
    linear-gradient(90deg, rgba(148,163,184,.25) 1px, transparent 1px) 0 0 / 34px 100%,
    #eef2f6;
}
.dcyt-store-pin{
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -62%);
  filter: drop-shadow(0 2px 4px rgba(15,23,42,.35));
}
.dcyt-store-map-card:hover .dcyt-store-thumb{
  border-color: var(--dcyt-cyan); box-shadow: 0 10px 24px rgba(15,23,42,.12); transform: translateY(-2px);
}
.dcyt-store-map-card:focus-visible .dcyt-store-thumb{ outline: 3px solid var(--dcyt-cyan); outline-offset: 3px; }
.dcyt-store-label{
  display: block; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--dcyt-navy);
}
.dcyt-store-map-card:hover .dcyt-store-label{ color: var(--dcyt-cyan); }

/* Khung xem bản đồ */
.dcyt-mapmodal{ position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.dcyt-mapmodal[hidden]{ display: none !important; }
.dcyt-mapmodal-backdrop{ position: absolute; inset: 0; background: rgba(2,6,23,.82); }
.dcyt-mapmodal-box{
  position: relative; width: min(920px, 100%); max-height: 90vh; overflow-y: auto;
  background: #fff; border-radius: var(--dcyt-radius); box-shadow: 0 24px 60px rgba(2,6,23,.4);
}
.dcyt-mapmodal-frame{ position: relative; aspect-ratio: 16 / 9; background: #e5e7eb; }
.dcyt-mapmodal-frame iframe{ position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 600px){ .dcyt-mapmodal-frame{ aspect-ratio: 4 / 3; } }
.dcyt-mapmodal-info{ padding: 18px 20px 20px; }
.dcyt-mapmodal-name{ font-weight: 700; color: var(--dcyt-navy); font-size: 16px; margin: 0 0 6px; }
.dcyt-mapmodal-address{ font-size: 14px; color: var(--dcyt-body); margin: 0 0 4px; }
.dcyt-mapmodal-phone{ font-size: 14px; color: var(--dcyt-body); margin: 0 0 14px; }
.dcyt-mapmodal-phone a{ color: var(--dcyt-cyan); font-weight: 600; }
.dcyt-mapmodal-close{
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: rgba(15,23,42,.6); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.dcyt-mapmodal-close:hover{ background: rgba(15,23,42,.85); }
