/*GenericVilla – style.css  (v2 – fully responsive)
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:       #00b8b8;
  --teal-dark:  #009999;
  --blue:       #0d5c8f;
  --blue-dark:  #0a4a73;
  --text:       #333;
  --muted:      #666;
  --light:      #f5f7f8;
  --border:     #0d5b8d54;
  --white:      #fff;
  --footer-bg:  #1b1f24;
  --star:       #f5a623;
  --radius:     4px;
  --shadow:     0 2px 8px rgba(0,0,0,0.08);
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 14px;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; display: block; }
.teal { color: var(--teal); }


/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
  background: #f0f0f0;
  border-bottom: 1px solid #ddd;
  padding: 6px 0;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.top-bar-left { display: flex; gap: 5px; align-items: center; }
.top-bar-left a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; background: #555; color: #fff;
  border-radius: 50%; font-size: 11px; transition: background 0.2s;
  flex-shrink: 0;
}
.top-bar-left a:hover { background: var(--teal); }

.top-bar-right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.top-bar-right a {
  display: inline-flex; align-items: center; gap: 5px;
  color: #555; font-size: 12px; transition: color 0.2s;
}
.top-bar-right a:hover { color: var(--teal); }
.top-bar-right a i { color: var(--teal); }

/* =============================================
   MAIN HEADER
   ============================================= */
.main-header {
  background: var(--white);
  padding: 10px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: sticky; top: 0; z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}
/* Logo */
.logo { flex-shrink: 0;
    display: inline-block;
    width: 20%; }
.logo a { display: block; }
.logo-mark { display: flex; align-items: center; gap: 8px; }
.logo-pill {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; min-width: 44px;
  background: var(--teal); color: #fff;
  border-radius: 50%; font-size: 20px; font-weight: 900;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-size: 22px; font-weight: 800; color: var(--blue); white-space: nowrap; }
.logo-name span { color: var(--teal); }
.logo-name.white { color: #fff; }
.logo-name.white span { color: var(--teal); }
.logo-tagline { font-size: 10px; color: var(--teal); font-style: italic; }

/* Search */
.header-search { flex: 1; min-width: 0; }
.search-box {
  display: flex;
  border: 2px solid var(--teal);
  border-radius: 4px;
  overflow: hidden;
  height: 40px;
}
.search-box input {
  flex: 1; min-width: 0;
  border: none; outline: none;
  padding: 0 12px; font-size: 13px; color: #333;
}
.search-box button {
  background: var(--teal); color: #fff; border: none;
  padding: 0 18px; font-size: 12px; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  display: flex; align-items: center; gap: 6px;
  transition: background 0.2s; flex-shrink: 0;
}
.search-box button:hover { background: var(--teal-dark); }

/* Header actions */
.header-actions {
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
}
.btn-auth {
  font-size: 12px; color: #444; padding: 6px 10px;
  border-radius: var(--radius); border: 1px solid #ccc;
  display: flex; align-items: center; gap: 5px;
  transition: all 0.2s; white-space: nowrap;
}
.btn-auth:hover { color: var(--teal); border-color: var(--teal); }
.btn-cart {
  background: var(--teal); color: #fff; padding: 7px 14px;
  border-radius: var(--radius); font-weight: 700;
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; transition: background 0.2s; white-space: nowrap;
}
.btn-cart:hover { background: var(--teal-dark); color: #fff; }

/* Mobile hamburger button */
.mobile-menu-btn {
  display: none;
  background: none; border: none; cursor: pointer;
  color: var(--blue); font-size: 22px; padding: 4px;
  flex-shrink: 0;
}

.search-box .dgwt-wcas-search-wrapp {
    max-width: 100% !important;
}

.search-box .dgwt-wcas-search-submit {
  background: var(--teal)!important;
}



/* =============================================
   NAVIGATION
   ============================================= */
.main-nav {
  background: #0a4a73;
  position: sticky; top: 64px; z-index: 999;
}
.nav-inner {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
}
.nav-categories { flex-shrink: 0; }
.btn-all-cats {
  background: #00b8b8; color: #fff; border: none;
  padding: 11px 16px; font-size: 13px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; gap: 6px;
  white-space: nowrap; height: 100%; transition: background 0.2s;
}
.btn-all-cats:hover { background: var(--blue-dark); }

.nav-links { display: flex; align-items: stretch; flex-wrap: nowrap; }
.nav-links li a {
  display: flex; align-items: center; gap: 4px; color: #fff;
  padding: 11px 14px; font-size: 18px; font-weight: 600;
  transition: background 0.2s; white-space: nowrap; height: 100%;
}

li.sub-menu-item a {
    color: #000000;
}

.nav-links li a:hover { background: rgba(0,0,0,0.15); }
.nav-links li.offer a { background: var(--blue); font-weight: 700; }
.nav-links li.offer a:hover { background: var(--blue-dark); }


/* =============================================
   RATINGS & REVIEWS
   ============================================= */
.reviews-section { padding: 40px 0; background: var(--light); }
.reviews-layout {
  display: grid;
  gap: 28px;
  align-items: start;
}
.overall-rating {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
}
.rating-score { font-size: 56px; font-weight: 900; color: var(--blue); line-height: 1; }
.rating-stars { margin: 6px 0 4px; }
.rating-stars i { color: var(--star); font-size: 22px; }
.rating-meta { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.bar-row {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 6px; font-size: 12px;
}
.bar-row span:first-child { width: 60px; color: #555; flex-shrink: 0; }
.bar-row span:last-child { width: 32px; text-align: right; color: #555; flex-shrink: 0; }
.bar-track {
  flex: 1; background: #eee; border-radius: 10px; height: 8px; overflow: hidden;
}
.bar-fill { height: 100%; background: var(--teal); border-radius: 10px; }
.bar-fill.orange { background: #f5a623; }
.bar-fill.red { background: #e74c3c; }

.reviews-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.review-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow);
}
.review-card.review-featured { border-color: var(--teal); border-width: 2px; }
.review-card h4 { font-size: 14px; font-weight: 700; color: var(--blue); margin-bottom: 4px; }
.review-stars i { color: var(--star); font-size: 12px; }
.review-date { font-size: 11px; color: var(--muted); margin: 4px 0; }
.review-text { font-size: 13px; color: #555; line-height: 1.5; margin-bottom: 8px; }
.reviewer-name { font-size: 12px; font-weight: 700; color: var(--blue); }



/* ---------- Section Wrapper ---------- */
.reviews-layout {
  margin: 0 auto;
  padding: 2rem 0rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
 
/* ---------- Section Heading ---------- */

 
/* ============================================
   SUMMARY SECTION
   ============================================ */
 
.shortcode-site-reviews-summary {
  margin-bottom: 2.5rem;
}
 
.glsr-summary-wrap .glsr-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  background: transparent;
  padding: 0 1rem;
}
 
/* ---------- Left: Rating Number + Stars ---------- */
.glsr-summary .rating-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
 
.glsr-summary-rating .glsr-tag-value {
  font-size: 56px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1;
}
 
.rating-section__rating-star-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
 
/* Stars – blue like screenshot */
.glsr-summary-stars .glsr-star-rating {
  display: flex;
  gap: 2px;
}
 
.glsr-summary-stars .glsr-star::before {
  font-size: 36px;
  color: #1e90ff;
}
 
.glsr-summary-stars .glsr-star-half::before {
  color: #1e90ff;
}
 
.glsr-summary-stars .glsr-star-empty::before {
  color: #ccc;
}
 
.glsr-summary-text .glsr-tag-value {
  font-size: 13px;
  color: #555;
}
 
/* ---------- Right: Percentage Bars ---------- */
.glsr-summary .percentage-section {
  flex: 1;
  max-width: 480px;
}
 
.glsr-summary-percentages {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
 
.glsr-summary-bar {
  display: grid;
  grid-template-columns: 72px 1fr 40px;
  align-items: center;
  gap: 10px;
}
 
.glsr-summary-bar-label {
  font-size: 13px;
  color: #444;
  text-align: right;
}
 
.glsr-summary-bar-background {
  height: 10px;
  background: #e0e0e0;
  border-radius: 99px;
  overflow: hidden;
  display: block;
  position: relative;
}
 
.glsr-summary-bar-background::after {
  content: "";
  display: block;
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: var(--glsr-bar-percent, 0%);
  border-radius: 99px;
  background: #f0c040;
}
 
.glsr-summary-bar[data-level="4"] .glsr-summary-bar-background::after {
  background: #f0c040;
}
 
.glsr-summary-bar[data-level="3"] .glsr-summary-bar-background::after,
.glsr-summary-bar[data-level="2"] .glsr-summary-bar-background::after,
.glsr-summary-bar[data-level="1"] .glsr-summary-bar-background::after {
  background: #ccc;
}
 
.glsr-summary-bar-percent {
  font-size: 13px;
  color: #555;
  text-align: right;
}

/* ============================================
   REVIEWS GRID
   ============================================ */
 
.shortcode-site-reviews .glsr-reviews-wrap {
  background: transparent;
}
 
.glsr-reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
 
/* ---------- Single Review Card ---------- */
.glsr-review {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s;
}
 
.glsr-review:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
 
/* ---------- Title ---------- */
.glsr-review-title h4.glsr-tag-value {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 4px;
}
 
/* ---------- Stars + Date Row ---------- */
.glsr-review-rating {
  display: inline-block;
}
 
.glsr-review-rating .glsr-star-rating {
  display: flex;
  gap: 2px;
}
 
.glsr-review-rating .glsr-star::before {
  font-size: 18px;
  color: #1e90ff;
}
 
.glsr-review-rating .glsr-star-empty::before {
  color: #ccc;
}
 
/* Stars and date on same row */
.glsr-review-rating,
.glsr-review-date {
  display: inline-flex;
  align-items: center;
}
 
.glsr-review .glsr-review-rating + .glsr-review-date {
  float: right;
  margin-top: -26px;
}
 
.glsr-review-date .glsr-tag-value {
  font-size: 13px;
  color: #888;
  font-style: italic;
}
 
/* ---------- Content ---------- */
.glsr-review-content {
  clear: both;
}
 
.glsr-review-content .glsr-tag-value p {
  font-size: 14px;
  color: #444;
  line-height: 1.65;
  margin: 0;
}
 
/* ---------- Author ---------- */
.glsr-review-author {
  margin-top: auto;
  padding-top: 10px;
}
 
.glsr-review-author .glsr-tag-value {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
 



/* =============================================
   FOOTER
   ============================================= */
.main-footer { background: var(--footer-bg); color: #aaa; }
.footer-inner { padding: 40px 16px 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.widget-title.text-white.h6.text-uppercase.mb-3.h3 {
  color: #fff; font-size: 13px; font-weight: 700;
  letter-spacing: 0.8px; margin-bottom: 16px;
  padding-bottom: 8px; border-bottom: 1px solid #333;
}
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a {     color: #ffffff !important;
    font-size: 16px !important;
    transition: color 0.2s;
    padding: 0 !important;
}
.footer-col ul li a:hover { color: var(--teal); }
.footer-contact li {
  display: flex; align-items: flex-start; gap: 8px;
  margin-bottom: 8px; font-size: 12.5px;
}
.footer-contact i { color: var(--teal); margin-top: 2px; flex-shrink: 0; }
.footer-hours { margin-top: 14px; font-size: 12px; color: #aaa; }
.footer-hours strong { color: #ddd; display: block; margin-bottom: 5px; }
.footer-hours p { margin-bottom: 6px; line-height: 1.6; }


.footer-bottom {
  background: #13161a;
  border-top: 1px solid #2a2d31;
  padding: 16px 0 14px;
}
.footer-bottom-inner { padding: 0 16px; }
.disclaimer {
  font-size: 11.5px; color: #ffffff; line-height: 1.7; margin-bottom: 14px;
}
.disclaimer strong { color: #ffffff; }
.footer-bottom-row {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; background: #2a2d31; color: #aaa;
  border-radius: 50%; font-size: 12px; transition: all 0.2s;
}
.footer-social a:hover { background: var(--teal); color: #fff; }
.footer-payments { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.footer-payments img { height: 26px; width: auto; opacity: 0.8; transition: opacity 0.2s; }
.footer-payments img:hover { opacity: 1; }
.footer-logo-small .logo-name { font-size: 18px; font-weight: 800; }

/* =============================================
   MOBILE NAV OVERLAY
   ============================================= */
.mobile-nav-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.5);
}
.mobile-nav-drawer {
  position: fixed; top: 0; left: -100%; bottom: 0;
  width: min(280px, 85vw);
  background: #fff; z-index: 2001;
  transition: left 0.3s ease;
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.mobile-nav-drawer.open { left: 0; }
.mobile-nav-overlay.open { display: block; }
.drawer-header {
  background: var(--blue); color: #fff;
  padding: 14px 16px; display: flex;
  justify-content: space-between; align-items: center;
}
.drawer-header .logo-name { font-size: 18px; font-weight: 800; color: #fff; }
.drawer-header .logo-name span { color: var(--teal); }
.drawer-close {
  background: none; border: none; color: #fff;
  font-size: 22px; cursor: pointer; padding: 0; line-height: 1;
}
.drawer-nav { padding: 8px 0; flex: 1; }
.drawer-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px; font-size: 14px; color: #333;
  border-bottom: 1px solid #f0f0f0; font-weight: 600;
  transition: all 0.15s;
}
.drawer-nav a:hover { color: var(--teal); background: #f9f9f9; }
.drawer-nav a.offer-link { color: var(--blue); }
.drawer-search {
  padding: 12px 16px; border-top: 2px solid var(--light);
  background: var(--light);
}
.drawer-search .search-box { height: 38px; }

/* =============================================
   RESPONSIVE: 1100px — tablet landscape
   ============================================= */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 185px 1fr 215px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   RESPONSIVE: 900px — tablet portrait
   ============================================= */
@media (max-width: 900px) {
  /* NAV: hide text nav, show hamburger */
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; align-items: center; }

  /* Shrink header */
  .header-inner { gap: 10px; }
  .logo-name { font-size: 19px; }

 
  /* Reviews: stack */
  .reviews-layout { grid-template-columns: 1fr; }
  .reviews-cards { grid-template-columns: repeat(3, 1fr); }

}

/* =============================================
   RESPONSIVE: 768px — small tablet
   ============================================= */
@media (max-width: 768px) {
  /* Top bar: stack */
  .top-bar-inner { flex-direction: column; align-items: flex-start; gap: 4px; }
  .top-bar-right { gap: 10px; }

  /* Header: search moves to second row */
  .main-header { padding: 8px 0; }
  .header-inner { flex-wrap: wrap; }
  .logo { order: 1; }
  .mobile-menu-btn { order: 2; margin-left: auto; }
  .header-actions { order: 3; }
  .header-search { order: 4; width: 100%; flex-basis: 100%; }

  /* Hide login/register text on tiny, keep cart */
  .btn-auth { padding: 5px 8px; font-size: 11px; }



  /* Products: 2 cols */
  .products-grid { grid-template-columns: repeat(2, 1fr); }

  /* Reviews */
  .reviews-cards { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-bottom-row { flex-direction: column; align-items: flex-start; gap: 10px; }

  .glsr-summary .glsr-summary {
      flex-direction: column;
      gap: 1.5rem;
    }
   
    .glsr-reviews {
      grid-template-columns: 1fr;
    }
   
    .glsr-summary-rating .glsr-tag-value {
      font-size: 40px;
    }
   
    .glsr-summary-stars .glsr-star::before {
      font-size: 26px;
    }
}

/* =============================================
   RESPONSIVE: 580px — large phone
   ============================================= */
@media (max-width: 580px) {
  /* Products: 2 cols still fine on ≥360px */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Reviews: stack to 1 col */
  .reviews-cards { grid-template-columns: 1fr; }



  
  /* Footer: stack */
  .footer-grid { grid-template-columns: 1fr; }

  /* Header: hide auth buttons text, icon only */
  .btn-auth .auth-text { display: none; }
}

/* =============================================
   RESPONSIVE: 400px — small phone
   ============================================= */
@media (max-width: 400px) {
  .products-grid { grid-template-columns: 1fr; }
  .logo-name { font-size: 17px; }
  .logo-pill { width: 36px; height: 36px; min-width: 36px; font-size: 17px; }
  .logo-tagline { font-size: 9px; }
  .search-box button { padding: 0 10px; font-size: 11px; }
  .top-bar-right { flex-direction: column; align-items: flex-start; gap: 3px; }
  .footer-grid { grid-template-columns: 1fr; }
  .reviews-cards { grid-template-columns: 1fr; }
  .security-badges { flex-direction: column; align-items: flex-start; gap: 12px; }
}


