/* ============================================================
   WorldDogs Asia - Template Styles (Clean 2025 Version)
   ------------------------------------------------------------
   Dreamweaver-friendly (no fr units, no duplicate rules)
   ============================================================ */

/* === AI Procedure Images === */
.wda-ai-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  object-fit: cover;
}

/* === Vets Directory (Circular Portraits) === */
.wda-vets {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.wda-vets__intro {
  text-align: center;
  margin: 0 0 2rem;
  color: #2f398f;
}
.wda-vets__region {
  margin: 3rem 0 1.5rem;
  color: #2f398f;
  padding-bottom: 0.3rem;
  font-weight: 700;
}
.wda-vet-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  padding: 1.5rem 1rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wda-vet-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}
.wda-vet-card img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 2px solid #2f398f;
}
.wda-vet-info h4 {
  margin: 0.3rem 0;
  color: #2f398f;
  font-weight: 700;
}
.wda-vet-info p {
  margin: 0.2rem 0;
  line-height: 1.5;
  font-size: 0.9rem;
  color: #444;
}
.wda-vet-links a {
  display: inline-block;
  margin: 0.25rem 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  border: 1px solid #2f398f;
  color: #2f398f;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}
.wda-vet-links a:hover {
  background: #2f398f;
  color: #fff;
}

/* === Smooth Scroll === */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 100px; }

@media (max-width: 768px) {
  .wda-vet-card img { width: 140px; height: 140px; }
}

/* === Price List === */
.price-table {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem 4rem;
}
.price-category {
  flex: 1 1 480px;
}
.price-category h3 {
  color: #2f398f;
  font-weight: 800;
  margin: 0 0 .6rem;
}
.price-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.price-list li {
  display: flex;
  align-items: baseline;
  padding: .5rem 0;
}
.price-item {
  flex: 0 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.price-leader {
  flex: 1 1 auto;
  height: 1px;
  margin: 0 .75rem;
  align-self: center;
  background-image: repeating-linear-gradient(to right, #9fb0c9 0, #9fb0c9 2px, transparent 2px, transparent 8px);
  opacity: .9;
}
.price-cost {
  flex: 0 0 auto;
  text-align: right;
  min-width: 5ch;
  white-space: nowrap;
  font-weight: 700;
  color: #000;
}
@media (max-width: 768px) {
  .price-table { padding: 0 1.25rem; gap: 1.5rem; }
  .price-category { flex-basis: 100%; }
  .price-category h3 { font-size: 1.1rem; }
}

/* === Buttons === */
.wda-btn {
  appearance: none;
  border: 0;
  background-color: #2f398f !important;
  color: #fff !important;
  padding: .75rem 1.25rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: all .25s ease;
}
.wda-btn:hover {
  background-color: #4a5bd5 !important;
  color: #e0c000 !important;
}
.wda-btn:focus-visible {
  outline: 3px solid #e0c000;
  outline-offset: 2px;
}

/* === Contact Form === */
.wda-form {
  max-width: 760px;
  margin: 1.5rem auto;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 1rem;
}
.wda-form__title {
  text-align: center;
  color: #2f398f;
  margin: .2rem 0 1rem;
}
.wda-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: .75rem;
}
.wda-row > label {
  font-weight: 700;
  color: #2f398f;
  width: 32%;
  max-width: 240px;
}
.wda-row--full {
  flex-direction: column;
  align-items: stretch;
}
.wda-row--full > label {
  width: 100%;
  margin-bottom: .35rem;
}
.wda-input, .wda-select, .wda-textarea {
  width: 100%;
  padding: .6rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

/* === Email + Result Pages === */
.email-container, .wda-result {
  max-width: 720px;
  margin: 3rem auto;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
  padding: 2rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.wda-result__title {
  color: #2f398f;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.wda-result__text {
  color: #222;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* === General Layout === */
@media screen and (max-width: 768px) {
  .right { float: none; }
  nav { padding: 0; }
}

/* === Site Backgrounds === */
nav { padding: 0.825rem 0; background-image: url("blue_grad.svg"); }
#first-block, #fourth-block { padding: 1.5rem 0; }
#second-block { padding: 0 0 2.5rem 0; }
#third-block { padding: 1rem 0 0 0; }
#first-block  { background:#cfe3f0 url("semen.jpg") repeat; }
#second-block { background:#e5eff8; }
#third-block  { background:#e5eff8; }
#fourth-block { background:#e5eff8 url("blue_diag_grad.svg") repeat; }
#fifth-block  { background:#e5eff8 url("dogs.gif") repeat; }
#sixth-block  { background:#e5eff8 url("shopping_lt.gif") repeat; }
#footer       { background:#fff url("blue_grad_footer.svg") repeat; padding:5em 0 .5em 0; }

/* === SHOP TEMPLATE === */
:root { --shop-logo-width: 340px; }  
.shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0;
}
.shop-logo img {
  max-height: 78px;
  height: auto;
  max-width: 320px;
}

/* --- Side Menu --- */
.side-menu--blue {
  background:#93cbe9;
  color:#2f398f;
  border:0;
  border-radius:0 14px 14px 0;
  padding:.6rem .9rem;
  width:160px;
  max-width:160px;
  flex-shrink:0;
  margin:0 5px 10px 0;
  box-shadow:0 2px 6px rgba(0,0,0,.06);
}
.side-menu--blue h3 {
  color:#2f398f;
  font-weight:800;
  font-size:1.1rem;
  line-height:1.2;
  margin:.15rem 0 .25rem;
}
.side-menu--blue ul {
  list-style:disc;
  list-style-position:outside;
  margin:0;
  padding:0 0 0 1.25rem;
}
.side-menu--blue li { margin:.4rem 0; }
.side-menu--blue a {
  color:#2f398f;
  font-size:.9rem;
  text-decoration:none;
}
.side-menu--blue a:hover { color:#fff; }

@media (min-width:1280px) {
  .side-menu--blue { width:170px; max-width:170px; }
}
@media (max-width:960px) {
  .side-menu--blue { width:100%; max-width:100%; margin:0 5px 10px 5px; }
}

/* --- Shop Layout --- */
.shop-wrap {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
}
@media (max-width: 960px) {
  .shop-wrap { flex-wrap: wrap; }
}
.shop-main {
  flex: 1 1 0;
  min-width: 0;
}
.shop-main .shop-title {
  margin: 0.25rem 0 1rem;
  color: #2f398f;
  font-weight: 800;
  text-align: center;
}

/* === Product Grid (No fr units) === */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 2%;
  padding: 1rem 0;
}
.product-card {
  flex: 1 1 23%;
  max-width: 23%;
  margin-bottom: 2%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}
@media (max-width: 1200px) {
  .product-card { flex: 1 1 31%; max-width: 31%; }
}
@media (max-width: 800px) {
  .product-card { flex: 1 1 47%; max-width: 47%; }
}
@media (max-width: 520px) {
  .product-card { flex: 1 1 96%; max-width: 96%; }
}

/* --- Product Content --- */
.product-card__img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: #f5f8fc;
  padding: 1rem;
}
.product-card__body {
  padding: 1rem 1rem 1.5rem;
  flex-grow: 1;
}
.product-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2f398f;
  margin: 0.5rem 0;
}
.product-card__summary {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.5;
  min-height: 3.5em;
}
.product-price {
  font-weight: 700;
  margin: 0.8rem 0;
}
.add-to-cart label {
  font-size: 0.85rem;
  color: #333;
  display: block;
  margin-top: 0.5rem;
}
.add-to-cart select,
.add-to-cart input[type="number"] {
  width: 100%;
  padding: .4rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.add-to-cart .wda-btn {
  margin-top: .7rem;
  width: 100%;
  font-size: .9rem;
  padding: .6rem;
}

/* --- Submenu Toggles --- */
.slide-nav ul ul,
.top-nav ul ul {
  display: none;
  transition: all 0.25s ease;
}
.slide-nav ul ul.open,
.top-nav ul ul.open {
  display: block;
}
