/*
Theme Name: Bowbells Florist
Theme URI: https://bowbells.co.uk
Author: Bowbells Florist
Description: Custom theme for Bowbells Florist, Gloucester — converted from the hand-coded static site. Includes Home, Shop, About Us, Gallery, Delivery, Reviews and Contact page templates, and is WooCommerce-ready.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: bowbells-florist
*/

/* Google Fonts are loaded via wp_enqueue_style() in functions.php, not @import here. */

:root {
  --pink-deep: #b85c7a;
  --pink-soft: #f3d9e0;
  --pink-pale: #fbeff2;
  --green-deep: #3f5b45;
  --green-soft: #7c9a7e;
  --cream: #fdf8f3;
  --charcoal: #33302e;
  --gold: #c8a15b;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(63, 91, 69, 0.12);
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--green-deep);
  margin: 0 0 0.5em;
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--green-deep);
  color: var(--pink-pale);
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a { color: var(--pink-pale); }
.topbar .socials a { margin-left: 14px; }

/* ---------- Header / Nav ---------- */
header.site-header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  height: 76px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-text h1 {
  font-size: 1.4rem;
  margin: 0;
  letter-spacing: 0.5px;
}
.brand-text span {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-soft);
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  padding-bottom: 4px;
  white-space: nowrap;
}
nav.main-nav a.active,
nav.main-nav li.current-menu-item > a,
nav.main-nav a:hover {
  color: var(--pink-deep);
}
nav.main-nav a.active::after,
nav.main-nav li.current-menu-item > a::after,
nav.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--pink-deep);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  border: 2px solid var(--pink-deep);
  cursor: pointer;
}
.btn-primary {
  background: var(--pink-deep);
  color: var(--white);
}
.btn-primary:hover { background: #9c4a65; border-color: #9c4a65; }
.btn-outline {
  background: transparent;
  color: var(--pink-deep);
}
.btn-outline:hover { background: var(--pink-soft); }
.btn-light {
  border-color: var(--white);
  color: var(--white);
}
.btn-light:hover { background: var(--white); color: var(--green-deep); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--green-deep);
}

/* Header product search */
.nav-search {
  position: relative;
  display: flex;
  align-items: center;
}
.search-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--green-deep);
  display: flex;
  align-items: center;
  padding: 6px;
}
.search-toggle:hover { color: var(--pink-deep); }
.search-toggle svg { width: 20px; height: 20px; }
.search-form {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--pink-soft);
  border-radius: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
  width: 0;
  opacity: 0;
  pointer-events: none;
  transition: width 0.25s ease, opacity 0.2s ease;
  z-index: 20;
}
.nav-search.is-open .search-form {
  width: 260px;
  opacity: 1;
  pointer-events: auto;
}
.search-form .search-input {
  border: none;
  outline: none;
  padding: 10px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: var(--charcoal);
  flex: 1;
  min-width: 0;
  background: transparent;
}

.account-link {
  display: flex;
  align-items: center;
  padding: 6px;
  color: var(--green-deep);
}
.account-link:hover { color: var(--pink-deep); }
.account-link svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-size: cover;
  background-position: 65% center;
  color: var(--white);
  min-height: 74vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43,58,45,0.55), rgba(43,58,45,0.72));
}
.hero .container { position: relative; z-index: 2; max-width: 720px; }
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  color: var(--pink-soft);
  margin-bottom: 14px;
  display: block;
}
.hero h2 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 560px;
}
.hero .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.page-hero {
  min-height: 42vh;
}
.page-hero .container { max-width: 780px; }

/* ---------- Sections ---------- */
section { padding: 78px 0; }
.section-alt { background: var(--pink-pale); }
.section-dark { background: var(--green-deep); color: var(--pink-pale); }
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.78rem;
  color: var(--pink-deep);
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: 30px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}
.card:hover { transform: translateY(-6px); }
.card img { height: 240px; width: 100%; object-fit: cover; }
.product-card > a { display: block; }
.product-card > a img { transition: transform 0.3s ease; }
.product-card > a:hover img { transform: scale(1.04); }
.card .card-body { padding: 20px; }
.card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.card .price { color: var(--pink-deep); font-weight: 600; margin-bottom: 14px; }

.product-card .card-body { display: flex; flex-direction: column; }

/* Occasion pill grid */
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.pill {
  background: var(--white);
  border: 1px solid var(--pink-soft);
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--green-deep);
  cursor: default;
}
.pill-link {
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.pill-link:hover {
  background: var(--pink-soft);
  border-color: var(--pink-deep);
  color: var(--green-deep);
}

/* Feature row (about/history) */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature-row img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  margin-top: 50px;
}
.stat-row .stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: var(--pink-deep);
  font-weight: 700;
}
.stat-row .stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green-soft);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.gallery-grid img {
  height: 220px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-grid figure:hover img { transform: scale(1.08); }

/* Testimonials */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card .quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--pink-soft);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.testimonial-card .stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 10px; }
.testimonial-card footer {
  margin-top: 16px;
  font-weight: 600;
  color: var(--green-deep);
  font-size: 0.9rem;
}
.testimonial-card footer span {
  display: block;
  font-weight: 400;
  color: var(--green-soft);
  font-size: 0.8rem;
}

/* Delivery */
.delivery-map {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.area-tags span {
  background: var(--pink-pale);
  border: 1px solid var(--pink-soft);
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.step {
  text-align: center;
  padding: 30px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.step .step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pink-deep);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin: 0 auto 16px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}
.info-list { list-style: none; padding: 0; margin: 0 0 30px; }
.info-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.info-list .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--pink-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}
table.hours { width: 100%; border-collapse: collapse; }
table.hours td { padding: 8px 0; border-bottom: 1px solid var(--pink-soft); font-size: 0.92rem; }
table.hours td:last-child { text-align: right; color: var(--green-deep); font-weight: 500; }

form.contact-form { display: grid; gap: 18px; }
form.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-deep);
  display: block;
  margin-bottom: 6px;
}
form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
}
form.contact-form textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: none;
  width: 100%;
  height: 320px;
}

/* CTA banner */
.cta-banner {
  background: var(--pink-deep);
  color: var(--white);
  text-align: center;
  padding: 60px 0;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { max-width: 560px; margin: 0 auto 26px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--green-deep);
  color: var(--pink-pale);
  padding: 60px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-grid h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 18px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-grid a:hover { color: var(--white); }
.footer-brand p { font-size: 0.9rem; opacity: 0.85; margin-bottom: 20px; }
.footer-socials a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}
.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  opacity: 0.75;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- WooCommerce shop/store styling ---------- */
.woocommerce .container,
.woocommerce-page .container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.woocommerce-breadcrumb {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 24px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--green-deep);
  border-bottom: 1px solid var(--pink-soft);
}
.woocommerce-breadcrumb a {
  color: var(--green-deep);
  text-decoration: none;
}
.woocommerce-breadcrumb a:hover {
  color: var(--pink-deep);
  text-decoration: underline;
}
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 40px 0 0;
  max-width: 1180px;
  padding: 0 24px;
  margin-left: auto;
  margin-right: auto;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: var(--white) !important;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0 0 20px !important;
  margin: 0 !important;
  overflow: hidden;
  text-align: center;
  transition: transform 0.25s ease;
  list-style: none;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  display: flex !important;
  flex-direction: column;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-6px);
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
  display: block;
}
.woocommerce ul.products li.product img {
  height: 240px;
  width: 100%;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 0 !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Playfair Display', serif;
  color: var(--green-deep);
  font-size: 1.05rem;
  font-weight: 600;
  flex-grow: 1;
  margin: 16px 20px 6px;
  line-height: 1.2;
}
.woocommerce ul.products li.product .price {
  color: var(--pink-deep);
  font-weight: 600;
  margin: 0 20px 16px;
  display: block;
  font-size: 0.95rem;
}
.woocommerce ul.products li.product .button {
  margin: 0 20px;
  width: calc(100% - 40px);
}
.woocommerce span.onsale {
  background: var(--pink-deep) !important;
  border-radius: 50%;
}
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--pink-deep) !important;
  color: var(--white) !important;
  border-radius: 30px !important;
  font-weight: 600 !important;
  border: none;
}
.woocommerce a.button:hover, .woocommerce button.button:hover {
  background: #9c4a65 !important;
}

/* Shop filter tabs (replaces pill-style filter row) */
.shop-filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid var(--pink-soft);
  padding-bottom: 0;
  margin: 0 0 10px;
}
.shop-filter-tabs a,
.shop-filter-tabs span {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--green-deep);
  padding: 0 0 16px;
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}
.shop-filter-tabs a:hover,
.shop-filter-tabs span.active {
  color: var(--pink-deep);
}
.shop-filter-tabs a::after,
.shop-filter-tabs span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--pink-deep);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.shop-filter-tabs a:hover::after,
.shop-filter-tabs span.active::after {
  opacity: 1;
}
@media (max-width: 720px) {
  .shop-filter-tabs {
    gap: 20px;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Result count + sorting */
.woocommerce .woocommerce-result-count,
.woocommerce-page .woocommerce-result-count {
  color: var(--green-soft);
  max-width: 1180px;
  margin: 30px auto 0;
  padding: 0 24px;
}
.woocommerce .woocommerce-ordering,
.woocommerce-page .woocommerce-ordering {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.woocommerce .woocommerce-ordering select.orderby {
  border: 1px solid var(--pink-soft);
  border-radius: 20px;
  padding: 8px 16px;
  font-family: 'Poppins', sans-serif;
  color: var(--green-deep);
  background: var(--white);
}

/* Pagination */
.woocommerce nav.woocommerce-pagination {
  max-width: 1180px;
  margin: 40px auto 0;
  padding: 0 24px;
  text-align: center;
}
.woocommerce nav.woocommerce-pagination ul.page-numbers {
  border: none;
  display: inline-flex;
  gap: 8px;
}
.woocommerce nav.woocommerce-pagination ul li {
  border: none;
}
.woocommerce nav.woocommerce-pagination ul li a.page-numbers,
.woocommerce nav.woocommerce-pagination ul li span.page-numbers {
  border: 1px solid var(--pink-soft);
  border-radius: 50%;
  color: var(--green-deep);
  padding: 0;
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.woocommerce nav.woocommerce-pagination ul li span.page-numbers.current,
.woocommerce nav.woocommerce-pagination ul li a.page-numbers:hover {
  background: var(--pink-deep);
  color: var(--white);
  border-color: var(--pink-deep);
}

/* Single product page */
.woocommerce div.product {
  max-width: 1180px;
  margin: 30px auto 0;
  padding: 0 24px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: flex-start;
}
.woocommerce div.product > .woocommerce-product-gallery {
  grid-column: 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}
.woocommerce div.product > .summary {
  grid-column: 2;
}
.woocommerce div.product > .woocommerce-tabs,
.woocommerce div.product > .related.products {
  grid-column: 1 / -1;
}
.woocommerce div.product .woocommerce-product-gallery img {
  width: 100%;
  height: auto;
  display: block;
}
.woocommerce div.product .summary {
  padding: 10px 0 0;
}
.woocommerce div.product .product_title {
  font-family: 'Playfair Display', serif;
  color: var(--green-deep);
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 12px;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--pink-deep);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 20px;
  display: block;
}
.woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 24px;
}
.woocommerce div.product form.cart {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 24px;
  flex-wrap: wrap;
}
.woocommerce div.product form.cart .quantity {
  margin: 0;
}
.woocommerce div.product form.cart .quantity input.qty {
  width: 70px;
  padding: 12px 14px;
  border: 1px solid var(--pink-soft);
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: var(--charcoal);
}
.woocommerce div.product form.cart .button {
  padding: 14px 32px;
}
.delivery-choice {
  flex-basis: 100%;
  margin-top: 6px;
  padding: 14px 16px;
  background: var(--pink-pale);
  border-radius: var(--radius);
}
.delivery-choice-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--green-deep);
  margin-bottom: 8px;
}
.delivery-choice label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 20px;
  font-size: 0.9rem;
  color: var(--charcoal);
  cursor: pointer;
}
.delivery-choice input[type="radio"] {
  accent-color: var(--pink-deep);
}
.delivery-choice-note {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: var(--green-soft);
  line-height: 1.5;
}
.woocommerce div.product .product_meta {
  font-size: 0.85rem;
  color: var(--green-soft);
  border-top: 1px solid var(--pink-soft);
  padding-top: 16px;
}
.woocommerce div.product .product_meta > span {
  display: block;
  margin-bottom: 4px;
}
.woocommerce div.product .product_meta a {
  color: var(--green-deep);
  text-decoration: none;
}

/* Description / reviews tabs on single product page */
.woocommerce div.product .woocommerce-tabs {
  margin: 40px 0 0;
  padding: 40px 0 0;
  border-top: 1px solid var(--pink-soft);
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0 0 30px;
  padding: 0;
  border: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0;
  border: none;
  background: none;
  padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  color: var(--green-deep);
  font-weight: 600;
  padding: 0 0 12px;
  display: inline-block;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--pink-deep);
  border-bottom: 2px solid var(--pink-deep);
}
.woocommerce div.product .woocommerce-tabs .panel h2 {
  font-family: 'Playfair Display', serif;
  color: var(--green-deep);
  margin: 0 0 16px;
}

/* Related products, shown below a single product */
.woocommerce .related.products {
  padding: 20px 0 0;
}
.woocommerce .related.products > h2 {
  font-family: 'Playfair Display', serif;
  color: var(--green-deep);
  margin: 0 0 30px;
}
.woocommerce div.product .related.products ul.products {
  max-width: none;
  margin: 30px 0 0;
  padding: 0;
}

@media (max-width: 720px) {
  .woocommerce div.product {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .woocommerce div.product > .woocommerce-product-gallery,
  .woocommerce div.product > .summary {
    grid-column: 1;
  }
}

@media (max-width: 960px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: 1fr;
  }
}

/* ---------- My Account ---------- */
.woocommerce:has(> .woocommerce-MyAccount-navigation) {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 50px;
  align-items: start;
}
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.woocommerce-MyAccount-navigation li {
  border-bottom: 1px solid var(--pink-soft);
}
.woocommerce-MyAccount-navigation li:last-child { border-bottom: none; }
.woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 14px 20px;
  color: var(--green-deep);
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.woocommerce-MyAccount-navigation li a:hover {
  background: var(--pink-pale);
  color: var(--pink-deep);
}
.woocommerce-MyAccount-navigation li.is-active a {
  background: var(--pink-deep);
  color: var(--white);
}
.woocommerce-MyAccount-content p { line-height: 1.7; }
.woocommerce-MyAccount-content mark { background: none; color: var(--pink-deep); font-weight: 600; }

/* Address cards */
.woocommerce-MyAccount-content .u-columns.woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.woocommerce-Address {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.woocommerce-Address-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.woocommerce-Address-title h2,
.woocommerce-Address-title h3 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--green-deep);
}
.woocommerce-Address-title .edit {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pink-deep);
  white-space: nowrap;
}
.woocommerce-Address address {
  font-style: normal;
  line-height: 1.7;
  color: var(--charcoal);
}

/* Forms: edit account, addresses, login/register */
.woocommerce-MyAccount-content form { max-width: 640px; }
.woocommerce-form-row,
.form-row {
  margin-bottom: 18px;
}
.woocommerce-form-row label,
.form-row label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--green-deep);
  font-size: 0.9rem;
}
.woocommerce-Input,
.woocommerce-form-row select,
.woocommerce-form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--pink-soft);
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
}
.form-row-first, .form-row-last {
  display: inline-block;
  width: 48%;
  vertical-align: top;
}
.form-row-first { margin-right: 4%; }
.woocommerce-MyAccount-content fieldset {
  border: 1px solid var(--pink-soft);
  border-radius: var(--radius);
  padding: 20px;
  margin: 0 0 18px;
}
.woocommerce-MyAccount-content legend {
  padding: 0 10px;
  font-weight: 600;
  color: var(--green-deep);
  font-family: 'Playfair Display', serif;
}
.password-input { position: relative; }
.password-input input { padding-right: 60px; }
.show-password-input {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--green-soft);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 6px;
}
.show-password-input::before { content: "Show"; }
.show-password-input.display-password::before { content: "Hide"; }

/* Login / register columns */
.u-columns:not(.woocommerce-Addresses) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.u-columns .u-column1,
.u-columns .u-column2 {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}
.u-columns h2 {
  font-family: 'Playfair Display', serif;
  color: var(--green-deep);
  font-size: 1.4rem;
  margin: 0 0 20px;
}
.woocommerce-form-login__rememberme {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  margin: 0 0 16px;
}
.woocommerce-LostPassword {
  margin-top: 14px;
  font-size: 0.85rem;
}

/* Orders table */
.woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.woocommerce-orders-table th {
  text-align: left;
  padding: 14px 16px;
  background: var(--green-deep);
  color: var(--white);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.woocommerce-orders-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--pink-soft);
  font-size: 0.9rem;
  color: var(--charcoal);
}
.woocommerce-orders-table tr:last-child td { border-bottom: none; }
.woocommerce-orders-table .button { font-size: 0.8rem; padding: 8px 16px; }

@media (max-width: 900px) {
  .woocommerce:has(> .woocommerce-MyAccount-navigation) {
    grid-template-columns: 1fr;
  }
  .u-columns:not(.woocommerce-Addresses),
  .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses {
    grid-template-columns: 1fr;
  }
  .form-row-first, .form-row-last {
    width: 100%;
    margin-right: 0;
  }
  .woocommerce-orders-table,
  .woocommerce-orders-table thead {
    display: none;
  }
  .woocommerce-orders-table tbody tr {
    display: block;
    margin-bottom: 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .woocommerce-orders-table tbody td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }
  .woocommerce-orders-table tbody td::before {
    content: attr(data-title);
    font-weight: 600;
    color: var(--green-deep);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.reverse { direction: ltr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  nav.main-nav { display: none; }
  .hamburger { display: flex; }
  .nav-cta .btn-outline { display: none; }
  .nav-wrap { padding: 10px 16px; }
  .brand-mark { height: 60px; }
  .nav-search.is-open .search-form { width: min(260px, calc(100vw - 32px)); }
}

@media (max-width: 720px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .brand-text { display: none; }
  .brand-mark { height: 52px; }
  .nav-wrap { padding: 8px 16px; }
}

body.nav-open nav.main-nav {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 20px 24px;
}
body.nav-open nav.main-nav ul {
  flex-direction: column;
  gap: 16px;
}

/* Cart page only: hide the delivery-method line in the totals sidebar
   (e.g. "Click & Collect (Bowbells Florist – Russell Street) FREE").
   With no Ship/Collect toggle visible yet on this page (that only
   appears at checkout), showing it here read as if collection were
   the only option rather than a free default. The checkout page uses
   a differently-named block, so this doesn't affect it. */
.wp-block-woocommerce-cart-order-summary-shipping-block {
  display: none;
}
