/*!
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{ max-width: var(--dcyt-container); margin: 0 auto; 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: 18px 0;
  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: 46px; 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 nav toggle */
.dcyt-nav-toggle{ display: none; }
@media (max-width: 900px){
  .dcyt-header-row{ padding: 14px 0; }
  .dcyt-search{ order: 3; flex-basis: 100%; }
  .dcyt-nav .dcyt-wrap{ flex-direction: column; }
  .dcyt-nav ul.dcyt-menu{ flex-direction: column; }
  .dcyt-megamenu{ position: static; width: 100%; box-shadow: none; border: 0; border-top: 1px solid var(--dcyt-line); border-radius: 0; }
}

/* ==========================================================================
   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; }

.dcyt-section{ padding: 40px 24px; max-width: var(--dcyt-container); margin: 0 auto; }
.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; }

.dcyt-hero{
  border-radius: 16px; background: linear-gradient(115deg, var(--dcyt-navy), var(--dcyt-cyan)); color: #fff;
  padding: 44px 48px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; margin: 24px auto 0;
  max-width: var(--dcyt-container);
}
.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; }

.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{ 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; }

.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); }

/* 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; }
.dcyt-footer .dcyt-wrap{ padding: 40px 24px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 800px){ .dcyt-footer .dcyt-wrap{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px){ .dcyt-footer .dcyt-wrap{ 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; text-align: center; padding: 14px; font-size: 12px; color: #94a3b8; }
.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); }
