/* ============================================
   Wicklow Hub v2 Design System
   Based on wicklowhub-v2/style.css
   Scoped under .v2-page to avoid Bootstrap conflicts
   ============================================ */

:root {
  --ink: #0e1b24;
  --ink2: #152935;
  --sky: #4FB3F0;
  --sky-d: #2f93cf;
  --paper: #f6f9fb;
  --line: #e3ebf0;
  --grey: #5b6b75;
  --gold: #f5b301;
  --red: #e25b5b;
}

/* Entry content layout */
.v2-page { overflow-x: clip; }
.v2-page .entry-content > .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}
/* Sections and headers are full-width containers; only constrain non-structural content */
.v2-page .entry-content > section,
.v2-page .entry-content > header {
  width: 100%;
}
.v2-page .entry-content > *:not(.alignfull):not(section):not(header) {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Resets & base (scoped)
   ============================================ */
.v2-page * { box-sizing: border-box; }
.v2-page * { font-family: Arial, Helvetica, sans-serif !important; }
.v2-page body,
.v2-page * { font-family: Arial, Helvetica, sans-serif; }
.v2-page .wrap { max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.v2-page a { color: inherit; text-decoration: none; }
.v2-page img { display: block; max-width: 100%; }

.v2-page .btn {
  display: inline-block; background: var(--sky); color: #fff;
  font-weight: bold; padding: 13px 24px; border-radius: 8px;
  font-size: 15px; transition: .15s; border: none; cursor: pointer;
  text-align: center;
}
.v2-page .btn:hover { background: var(--sky-d); }
.v2-page .section-row {
  display: flex; justify-content: space-between; align-items: center; gap: 15px;
}
@media (max-width: 767px) {
  .v2-page .section-row { flex-direction: column; align-items: flex-start; }
}
.v2-page .btn-ghost { background: transparent; border: 2px solid #fff; color: #fff; }
.v2-page .btn-ghost:hover { background: rgba(255,255,255,.14); }
.v2-page .btn-dark { background: var(--ink); }
.v2-page .btn-dark:hover { background: var(--ink2); }
.v2-page .eyebrow {
  text-transform: uppercase; letter-spacing: 2px; font-size: 13px;
  font-weight: bold; color: var(--sky-d); display: block; margin-bottom: 8px;
}

.v2-page h2.section { font-size: 30px; margin-bottom: 8px; line-height: 1.2; }
.v2-page .lead { color: var(--grey); font-size: 18px; max-width: 720px; }
.v2-page section { padding: 58px 0; }
.v2-page .center { text-align: center; background: #eef3f7; }

/* ============================================
   Top bar (in header.php, outside .v2-page)
   ============================================ */
body.v2-page .topbar {
  background: var(--ink); color: #cfe0ea; font-size: 13px;
}
body.v2-page .topbar .wrap {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 22px; gap: 10px; flex-wrap: wrap;
}
body.v2-page .topbar a { color: #cfe0ea; }

/* ============================================
   Nav (Bootstrap navbar, outside .v2-page)
   ============================================ */
body.v2-page .navbar {
  background: var(--ink2) !important;
  position: sticky; top: 0; z-index: 60;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  padding: 0;
}
body.v2-page .navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 22px;
}
body.v2-page .navbar-brand { margin: 0; padding: 0; flex-shrink: 0; }
body.v2-page .navbar-brand img { height: 38px; width: auto; }
body.v2-page .navbar-toggler {
  border: 1px solid rgba(255,255,255,0.3);
}
body.v2-page .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
body.v2-page .navbar .nav-link {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700; text-transform: uppercase;
  font-size: 0.9em; letter-spacing: 0;
  color: #fff !important; padding: 8px 12px;
}
body.v2-page .navbar .nav-link:hover { color: var(--sky) !important; }

@media (min-width: 768px) {
  body.v2-page .navbar-collapse {
    display: flex; align-items: center; justify-content: flex-end;
  }
  body.v2-page .navbar-nav { display: flex; align-items: center; gap: 8px; }
}
body.v2-page .navbar .dropdown-menu {
  background-color: #fff; border-radius: 10px;
  box-shadow: 0 14px 34px rgba(14,27,36,.22);
  border: none; padding: 8px; margin-top: 8px;
}
body.v2-page .navbar .dropdown-item {
  color: var(--ink); font-size: 0.9em;
  padding: 9px 12px; border-radius: 7px; font-weight: 700;
}
body.v2-page .navbar .dropdown-item:hover {
  background: var(--paper); color: var(--sky-d);
}

/* Restore Dashicons for admin bar (overrides .v2-page * font-family) */
#wpadminbar,
#wpadminbar *,
.dashicons,
.dashicons-before:before {
  font-family: inherit;
}

/* Scroll-to-top button (WPFront Scroll Top plugin) */
body.v2-page #wpfront-scroll-top-container {
  background: var(--sky) !important;
  border-radius: 50% !important;
  width: 44px !important; height: 44px !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.25) !important;
  display: none !important;
}
body.v2-page #wpfront-scroll-top-container.show {
  display: flex !important;
}
body.v2-page #wpfront-scroll-top-container i {
  color: #fff !important;
  font-size: 20px !important;
}
body.v2-page #wpfront-scroll-top-container img {
  display: none;
}
body.v2-page #wpfront-scroll-top-container:after {
  content: '';
  position: absolute;
  width: 12px; height: 12px;
  border: solid #fff;
  border-width: 3px 3px 0 0;
  transform: rotate(-45deg);
  top: 14px;
}

/* ============================================
   Hero
   ============================================ */
.v2-page .hero {
  position: relative; color: #fff;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.v2-page .hero .ov {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(10,22,30,.72), rgba(10,22,30,.6));
}
.v2-page .hero .wrap { position: relative; padding: 86px 22px 74px; }
.v2-page .hero.small .wrap { padding: 60px 22px 54px; }
.v2-page .hero h1 {
  font-size: 44px; line-height: 1.1; max-width: 820px; margin-bottom: 16px;
}
.v2-page .hero.small h1 { font-size: 34px; }
.v2-page .hero .blue { color: var(--sky); }
.v2-page .hero p.sub {
  font-size: 19px; max-width: 640px; color: #e7f1f7; margin-bottom: 18px;
}
.v2-page .price-flag {
  display: inline-flex; align-items: baseline; gap: 12px;
  background: rgba(79,179,240,.16); border: 1px solid rgba(79,179,240,.55);
  padding: 12px 18px; border-radius: 10px; margin: 6px 0 24px;
}
.v2-page .price-flag .big { font-size: 28px; font-weight: bold; color: #fff; }
.v2-page .price-flag .small { font-size: 13.5px; color: #cfe0ea; }
.v2-page .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.v2-page .trust {
  margin-top: 24px; font-size: 14px; color: #dceaf2;
  display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
}
.v2-page .trust .stars { color: var(--gold); letter-spacing: 2px; }

/* ============================================
   Commute section
   ============================================ */
.v2-page .commute { background: var(--paper); }
.v2-page .commute-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  align-items: stretch; margin-top: 26px;
}
.v2-page .cost-card, .v2-page .work-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 26px;
}
.v2-page .cost-card { border-left: 5px solid var(--red); }
.v2-page .work-card { border-left: 5px solid var(--sky); }
.v2-page .cost-card h3, .v2-page .work-card h3 { font-size: 19px; margin-bottom: 12px; }
.v2-page .cost-card ul, .v2-page .work-card ul { list-style: none; }
.v2-page .cost-card li, .v2-page .work-card li {
  padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 16px;
}
.v2-page .cost-card li b { color: #c23b3b; }
.v2-page .work-card li b { color: var(--sky-d); }

/* ============================================
   Video section
   ============================================ */
.v2-page .videowrap {
  max-width: 900px; margin: 24px auto 0; border-radius: 14px;
  overflow: hidden; box-shadow: 0 14px 40px rgba(14,27,36,.25);
  border: 1px solid var(--line);
}
.v2-page .videowrap video {
  width: 100%; display: block; background: #000;
  aspect-ratio: 16/9; object-fit: cover;
}

/* ============================================
   Product cards
   ============================================ */
.v2-page .cards {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 22px; margin-top: 30px;
}
.v2-page .card {
  position: relative; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column;
  background: #fff; transition: .15s;
}
.v2-page .card:hover {
  box-shadow: 0 12px 30px rgba(14,27,36,.13); transform: translateY(-3px);
}
.v2-page .card .ph {
  height: 170px; background-size: cover; background-position: center;
}
.v2-page .card .body {
  padding: 19px; display: flex; flex-direction: column; flex: 1;
}
.v2-page .card.feature {
  border: 2px solid var(--sky);
  box-shadow: 0 10px 30px rgba(79,179,240,.18);
}
.v2-page .ribbon {
  position: absolute; background: var(--sky); color: #fff;
  font-size: 12px; font-weight: bold; padding: 6px 13px;
  border-bottom-right-radius: 10px; text-transform: uppercase;
  letter-spacing: 1px; z-index: 2;
}
.v2-page .card h3 { font-size: 19px; margin-bottom: 3px; }
.v2-page .price { font-size: 27px; font-weight: bold; margin: 5px 0 1px; }
.v2-page .price small { font-size: 14px; font-weight: normal; color: var(--grey); }
.v2-page .price-note {
  font-size: 13px; color: var(--sky-d); font-weight: bold;
  margin-bottom: 9px; min-height: 18px;
}
.v2-page .card p.desc {
  font-size: 14px; color: var(--grey); margin-bottom: 15px; flex: 1;
}
.v2-page .card .btn { margin-top: auto; }

/* ============================================
   Two-col detail (product pages)
   ============================================ */
.v2-page .detail {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start;
}
.v2-page .detail img.lead-img { border-radius: 14px; width: 100%; object-fit: cover; }
.v2-page .detail h2 { font-size: 24px; margin: 26px 0 8px; }
.v2-page .detail h2:first-child { margin-top: 0; }
.v2-page .detail p { margin-bottom: 14px; font-size: 16px; }
.v2-page .aside {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; padding: 24px; position: sticky; top: 90px;
}
/* Product layout with full-width features below intro */
.v2-page .product-row {
  display: flex; gap: 40px; align-items: flex-start; margin-bottom: 40px;
}
.v2-page .product-left { flex: 1.15; min-width: 0; }
.v2-page .product-left img.lead-img { border-radius: 14px; width: 100%; object-fit: cover; }
.v2-page .product-left h2 { font-size: 24px; margin: 26px 0 8px; }
.v2-page .product-left h2:first-child { margin-top: 0; }
.v2-page .product-left p { margin-bottom: 14px; font-size: 16px; }
.v2-page .product-row .aside { flex: 0 0 340px; position: sticky; top: 90px; }
.v2-page .aside h3 { font-size: 19px; margin-bottom: 6px; }
.v2-page .aside .big-price { font-size: 34px; font-weight: bold; color: var(--ink); }
.v2-page .aside .big-price small { font-size: 15px; color: var(--grey); font-weight: normal; }
.v2-page .aside .exvat { font-size: 13px; color: var(--grey); margin: 2px 0 16px; }
.v2-page .aside .btn { display: block; margin-bottom: 10px; }
/* Virtual Office plan cards (Standard / Premium) */
.v2-page .vo-toggle { margin-bottom: 10px; }
.v2-page .vo-toggle summary { cursor: pointer; list-style: none; }
.v2-page .vo-toggle summary::-webkit-details-marker { display: none; }
.v2-page .vo-toggle summary.btn { margin: 0; }
.v2-page .vo-toggle .vo-plans-inner { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.v2-page .vo-toggle[open] .vo-plans-inner { max-height: 500px; }
.v2-page .vo-plans-inner { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; }
.v2-page .vo-plans { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.v2-page .vo-plans-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 26px; }
.v2-page .vo-plan {
  background: #fff; border: 1px solid rgba(79,179,240,0.3);
  border-radius: 12px; padding: 18px; text-align: center;
}
.v2-page .vo-plan h4 { font-size: 15px; margin-bottom: 4px; }
.v2-page .vo-plan .vo-price { font-size: 24px; font-weight: bold; color: var(--sky); margin-bottom: 10px; }
.v2-page .vo-plan .vo-price small { font-size: 12px; color: var(--grey); font-weight: normal; }
.v2-page .vo-plan ul { list-style: none; padding: 0; margin: 0 0 12px; text-align: left; }
.v2-page .vo-plan li { padding: 4px 0; font-size: 13px; border-bottom: 1px solid var(--line); }
.v2-page .vo-plan .btn { font-size: 13px; padding: 8px 12px; }
.v2-page .vo-badge {
  display: none;
}

/* ============================================
   Feature grid
   ============================================ */
.v2-page .feat {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 26px;
}
.v2-page .feat .f {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 13px; padding: 22px;
}
.v2-page .feat .f .ic { font-size: 26px; margin-bottom: 8px; }
.v2-page .feat .f h4 { font-size: 16.5px; margin-bottom: 5px; }
.v2-page .feat .f p { font-size: 14px; color: var(--grey); }

/* ============================================
   Pricing ladder / daily band
   ============================================ */
.v2-page .daily-band { background: var(--ink); color: #fff; }
.v2-page .daily-band .wrap {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 38px; align-items: center;
}
.v2-page .daily-band h2 { font-size: 28px; margin-bottom: 8px; }
.v2-page .daily-band .lead { color: #cfe0ea; }
.v2-page .ladder {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px; overflow: hidden;
}
.v2-page .ladder .row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 16px;
}
.v2-page .ladder .row:last-child { border-bottom: none; }
.v2-page .ladder .row.best { background: rgba(79,179,240,.22); }
.v2-page .ladder .row b { color: #fff; }
.v2-page .ladder .perday { font-weight: bold; color: var(--sky); font-size: 18px; }
.v2-page .ladder .row.best .perday { color: #fff; }
.v2-page .vat { font-size: 13px; color: #9fb3bf; margin-top: 10px; }

/* ============================================
   Price table
   ============================================ */
.v2-page table.price-table {
  width: 100%; border-collapse: collapse; margin-top: 8px;
  font-size: 15px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden;
}
.v2-page table.price-table th, .v2-page table.price-table td {
  padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line);
}
.v2-page table.price-table th { background: var(--ink); color: #fff; font-size: 14px; }
.v2-page table.price-table tr:last-child td { border-bottom: none; }
.v2-page table.price-table tr.best td { background: rgba(79,179,240,.12); font-weight: bold; }
.v2-page .exvat-note { font-size: 13.5px; color: var(--grey); margin-top: 10px; font-style: italic; }

/* ============================================
   Gallery
   ============================================ */
.v2-page .gallery {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 8px;
}
.v2-page .gallery a {
  display: block; position: relative; padding-top: 74%;
  border-radius: 10px; overflow: hidden; cursor: pointer;
}
.v2-page .gallery a div {
  position: absolute; inset: 0; background-size: cover; background-position: center;
}

/* Lightbox overlay */
.glight-overlay {
  display: none; position: fixed; inset: 0; z-index: 99999;
  background: rgba(0,0,0,0.9);
  align-items: center; justify-content: center;
}
.glight-overlay.open { display: flex; }
.glight-overlay img {
  max-width: 90vw; max-height: 85vh;
  border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.glight-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 36px; color: #fff; background: none; border: none;
  cursor: pointer; padding: 10px; z-index: 1; opacity: 0.7; transition: opacity .2s;
}
.glight-nav:hover { opacity: 1; }
.glight-prev { left: 20px; }
.glight-next { right: 20px; }
.glight-close {
  position: absolute; top: 20px; right: 30px; font-size: 36px;
  color: #fff; background: none; border: none; cursor: pointer;
  z-index: 1; opacity: 0.7; transition: opacity .2s;
}
.glight-close:hover { opacity: 1; }
.glight-counter {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 16px; font-family: Arial, sans-serif;
}

/* ============================================
   Reviews
   ============================================ */
.v2-page .reviews { background: var(--paper); }
.v2-page .rev-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 28px;
}
.v2-page .rev {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 24px;
}
.v2-page .rev .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; }
.v2-page .rev p { font-size: 15px; color: #33424c; margin-bottom: 12px; }
.v2-page .rev .who { font-weight: bold; font-size: 14px; }
.v2-page .rev .who span { display: block; color: var(--grey); font-weight: normal; font-size: 13px; }

/* ============================================
   FAQ
   ============================================ */
.v2-page .faq { max-width: 820px; }
.v2-page .faq details {
  background: #fff; border: 1px solid var(--line);
  border-radius: 11px; padding: 4px 18px; margin-bottom: 12px;
}
.v2-page .faq summary {
  font-weight: bold; font-size: 16.5px; padding: 14px 0;
  cursor: pointer; list-style: none;
}
.v2-page .faq summary::-webkit-details-marker { display: none; }
.v2-page .faq summary::after { content: "+"; float: right; color: var(--sky); font-size: 22px; line-height: 1; }
.v2-page .faq details[open] summary::after { content: "–"; }
.v2-page .faq details p { padding: 0 0 16px; color: var(--grey); font-size: 15.5px; }

/* ============================================
   Location
   ============================================ */
.v2-page .loc {
  display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center;
}
.v2-page .loc .info li {
  list-style: none; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 16px;
}
.v2-page .map {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--line); min-height: 330px;
}
.v2-page .map iframe { width: 100%; height: 100%; min-height: 330px; border: 0; }

/* ============================================
   Final CTA
   ============================================ */
.v2-page .finalcta { position: relative; color: #fff; text-align: center; }
.v2-page .finalcta .ov {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(10,22,30,.74), rgba(10,22,30,.66));
}
.v2-page .finalcta .wrap { position: relative; }
.v2-page .finalcta h2 { font-size: 32px; margin-bottom: 12px; }
.v2-page .finalcta p {
  font-size: 18px; color: #e7f1f7; max-width: 640px; margin: 0 auto 22px;
}
.v2-page .finalcta .subnote { font-size: 14px; color: #cfe0ea; margin-top: 16px; }

/* ============================================
   Enquiry form
   ============================================ */
.v2-page .form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.v2-page .form-grid .full { grid-column: 1/-1; }
.v2-page label { font-size: 14px; font-weight: bold; display: block; margin-bottom: 5px; }
.v2-page input, .v2-page select, .v2-page textarea {
  width: 100%; padding: 12px 13px; border: 1px solid var(--line);
  border-radius: 8px; font-size: 15px; font-family: inherit; background: #fff;
}
.v2-page textarea { min-height: 120px; resize: vertical; }

/* ============================================
   Footer (outside .v2-page, via get_footer)
   ============================================ */
body.v2-page footer {
  background: var(--ink); color: #aebfc9; font-size: 14px; padding: 46px 0 26px;
}
body.v2-page footer .cols {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; margin-bottom: 24px;
}
body.v2-page footer img { height: 38px; margin-bottom: 14px; }
body.v2-page footer a { color: #cfe0ea; display: block; padding: 3px 0; }
body.v2-page footer h5 { color: #fff; margin-bottom: 10px; font-size: 15px; }
body.v2-page .copy {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: #8aa0ac;
}

/* ============================================
   Sticky CTA (output in wp_footer)
   ============================================ */
body.v2-page .sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--ink) !important; color: #fff; z-index: 70;
  box-shadow: 0 -3px 14px rgba(0,0,0,.25);
}
body.v2-page .sticky-cta .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 22px; gap: 12px;
}
body.v2-page .sticky-cta .blurb { font-size: 13.5px; color: #cfe0ea; }
body.v2-page .sticky-cta .acts { display: flex; gap: 10px; align-items: center; }
body.v2-page .sticky-cta .acts a.phone { color: #fff; font-weight: bold; font-size: 15px; white-space: nowrap; }
body.v2-page .sticky-cta .btn { padding: 9px 16px; font-size: 14px; }

/* ============================================
   Body padding for v2 pages (sticky CTA offset)
   ============================================ */
body.v2-page { padding-bottom: 54px; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 920px) {
  .v2-page .commute-grid,
  .v2-page .daily-band .wrap,
  .v2-page .loc,
  .v2-page .detail,
  .v2-page .form-grid { grid-template-columns: 1fr; }
  .v2-page .product-row { flex-direction: column; }
  .v2-page .product-row .aside { position: static; flex: none; }
  .v2-page .cards,
  .v2-page .feat,
  .v2-page .rev-grid { grid-template-columns: 1fr 1fr; }
  .v2-page .gallery { grid-template-columns: repeat(2, 1fr); }
  body.v2-page footer .cols { grid-template-columns: 1fr 1fr; }
  .v2-page .hero h1 { font-size: 32px; }
  .v2-page .aside { position: static; }
  body.v2-page .sticky-cta .blurb { display: none; }
  body.v2-page .sticky-cta .wrap { justify-content: center; }
}

@media (max-width: 560px) {
  .v2-page .cards,
  .v2-page .feat,
  .v2-page .rev-grid { grid-template-columns: 1fr; }
  .v2-page .hero h1 { font-size: 27px; }
}

@media (max-width: 767px) {
  body.v2-page .topbar { display: none; }
  .v2-page .hero .wrap { padding: 50px 22px 44px; }
  .v2-page .hero.small .wrap { padding: 36px 22px 30px; }
  .v2-page .entry-content > section:first-child .wrap { padding-top: 40px !important; padding-bottom: 28px !important; }
  body.v2-page .navbar .container { flex-wrap: wrap; }
  body.v2-page .navbar-collapse {
    flex-basis: 100%; flex-direction: column; align-items: stretch;
    padding: 12px 0 4px;
  }
  body.v2-page .navbar-nav {
    flex-direction: column; width: 100%; gap: 0;
  }
  body.v2-page .navbar .nav-link {
    padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  body.v2-page .navbar .nav-link:hover { color: var(--sky) !important; }
  body.v2-page .navbar .dropdown-menu {
    background: transparent; border-radius: 0;
    box-shadow: none; padding-left: 16px;
  }
  body.v2-page .navbar .dropdown-item {
    color: rgba(255,255,255,0.8); background: transparent !important;
  }
  body.v2-page .navbar .dropdown-item:hover { color: var(--sky); }
  body.v2-page .sticky-cta .wrap { flex-direction: column; padding: 8px 16px; gap: 6px; }
  body.v2-page .sticky-cta .acts { width: 100%; justify-content: center; }
  body.v2-page .sticky-cta .acts a.phone { font-size: 13px; }
  body.v2-page .sticky-cta .btn { padding: 6px 12px; font-size: 12px; }
  .v2-page .vo-plans { flex-direction: column; }
  .v2-page .vo-plans-wide { grid-template-columns: 1fr; }
  body.v2-page { padding-bottom: 72px; }
}

/* ============================================
   WooCommerce pages (cart, checkout, account)
   ============================================ */
body.v2-page.woocommerce-page .entry-content {
  max-width: 900px; margin: 0 auto; padding: 40px 22px;
}
body.v2-page.woocommerce-page.post-type-archive-product .entry-content {
  max-width: 1160px;
}
body.v2-page.woocommerce-page .woocommerce-breadcrumb,
body.v2-page.woocommerce-page .woocommerce-result-count,
body.v2-page.woocommerce-page .woocommerce-ordering,
body.v2-page.woocommerce-page .woocommerce-pagination {
  max-width: 1160px; margin-left: auto; margin-right: auto;
}
body.v2-page.woocommerce-page .woocommerce-result-count,
body.v2-page.woocommerce-page .woocommerce-ordering {
  display: inline-flex; gap: 12px; align-items: center;
}
body.v2-page.woocommerce-page h2 { font-size: 24px; margin-bottom: 16px; }
body.v2-page.woocommerce-page ul.products {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  padding: 0; margin: 20px 0 !important;
  list-style: none !important;
}
body.v2-page.woocommerce-page ul.products li.product {
  width: 100% !important; float: none !important; margin: 0 !important; padding: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; min-height: 280px; display: flex; flex-direction: column;
  position: static !important;
}
body.v2-page.woocommerce-page ul.products li.product img { margin: 0; border-radius: 10px 10px 0 0; width: 100%; height: 180px; object-fit: cover; flex-shrink: 0; }
body.v2-page.woocommerce-page ul.products li.product .woocommerce-loop-product__title { padding: 10px 14px 2px; font-size: 14px; }
body.v2-page.woocommerce-page ul.products li.product .price { padding: 0 14px 10px; color: var(--sky); font-weight: 600; font-size: 14px; }
body.v2-page.woocommerce-page ul.products li.product .button { margin: 0 14px 14px; font-size: 12px; padding: 6px 12px; }
body.v2-page.woocommerce-page .woocommerce form .form-row { margin-bottom: 14px; }
body.v2-page.woocommerce-page .woocommerce input[type="text"],
body.v2-page.woocommerce-page .woocommerce input[type="email"],
body.v2-page.woocommerce-page .woocommerce input[type="tel"],
body.v2-page.woocommerce-page .woocommerce input[type="password"],
body.v2-page.woocommerce-page .woocommerce select,
body.v2-page.woocommerce-page .woocommerce textarea {
  padding: 10px 12px; font-size: 14px; border-radius: 6px;
  border: 1px solid var(--line);
}
body.v2-page.woocommerce-page .woocommerce button.button,
body.v2-page.woocommerce-page .woocommerce .button {
  background: var(--sky); color: #fff; border: none;
  padding: 10px 20px; border-radius: 6px; font-weight: 600;
  font-size: 14px; cursor: pointer;
}
body.v2-page.woocommerce-page .woocommerce button.button:hover,
body.v2-page.woocommerce-page .woocommerce .button:hover {
  background: var(--sky-d);
}
body.v2-page.woocommerce-page .woocommerce table.shop_table {
  border-radius: 8px; overflow: hidden; font-size: 14px;
}
body.v2-page.woocommerce-page .woocommerce .cart_totals h2 { font-size: 20px; }
@media (max-width: 767px) {
  body.v2-page.woocommerce-page .entry-content { padding: 24px 16px; }
  body.v2-page.woocommerce-page ul.products { grid-template-columns: 1fr; }
  body.v2-page.woocommerce-page .woocommerce table.shop_table { font-size: 12px; }
}
