/*
Theme Name:   Weekly Flowers
Theme URI:    https://staging.weeklyflowers.com
Description:  Weekly Flowers WooCommerce theme — pixel-close port of weeklyflowers.com (Magento Sm/shoppystore). Child of Storefront.
Author:       Weekly Flowers Ottawa
Author URI:   https://weeklyflowers.com
Template:     storefront
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  weeklyflowers
Tags:         woocommerce, florist, custom
*/

/* ============================================================
   DESIGN TOKENS — extracted from live weeklyflowers.com
   ============================================================ */
:root {
  /* Brand colours */
  --wf-pink:          #F05978;   /* Primary CTA, phones, search btn, accents */
  --wf-red:           #A8102E;   /* CATEGORIES header block */
  --wf-gold:          #65490B;   /* Customer reviews header */
  --wf-orange-badge:  #E07518;   /* Sale/discount badge */

  /* Neutrals */
  --wf-body-text:     #444444;
  --wf-dark:          #333333;
  --wf-mid-gray:      #666666;
  --wf-light-gray:    #F6F6F6;   /* Utility bar, header bg */
  --wf-section-bg:    #F9F9F9;   /* Section block backgrounds */
  --wf-border:        #E0E0E0;
  --wf-white:         #FFFFFF;

  /* Typography */
  --wf-font:          'Open Sans', sans-serif;
  --wf-font-size:     14px;
  --wf-line-height:   1.6;

  /* Layout */
  --wf-sidebar-width: 220px;
  --wf-max-width:     1280px;
  --wf-header-height: 120px;

  /* Transitions */
  --wf-transition:    all 0.2s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: var(--wf-font-size);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--wf-font);
  font-size: var(--wf-font-size);
  line-height: var(--wf-line-height);
  color: var(--wf-body-text);
  background: var(--wf-white);
  margin: 0;
  padding: 0;
}

a {
  color: var(--wf-body-text);
  text-decoration: none;
  transition: var(--wf-transition);
}

a:hover {
  color: var(--wf-pink);
}

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

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--wf-font);
  color: var(--wf-dark);
  font-weight: 700;
  margin: 0 0 0.75em;
  line-height: 1.3;
}

/* ============================================================
   LAYOUT WRAPPER
   ============================================================ */
.wf-container {
  max-width: var(--wf-max-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-content {
  flex: 1;
}

/* ============================================================
   TOP ANNOUNCEMENT BAR
   ============================================================ */
.wf-topbar {
  background: var(--wf-pink);
  color: var(--wf-white);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 20px;
  line-height: 1.4;
}

.wf-topbar span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wf-topbar .wf-flower-icon {
  font-size: 14px;
  opacity: 0.9;
}

/* ============================================================
   UTILITY BAR (address / phones / login)
   ============================================================ */
.wf-utility-bar {
  background: var(--wf-light-gray);
  border-bottom: 1px solid var(--wf-border);
  font-size: 12px;
  color: var(--wf-body-text);
  padding: 6px 0;
}

.wf-utility-bar .wf-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

.wf-utility-bar__left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.wf-utility-bar__address {
  display: flex;
  align-items: center;
  gap: 5px;
}

.wf-utility-bar__address .dashicons,
.wf-utility-bar__address svg {
  color: var(--wf-pink);
  font-size: 14px;
  width: 14px;
  height: 14px;
}

.wf-utility-bar__phones {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wf-utility-bar__phones a {
  color: var(--wf-pink);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.wf-utility-bar__phones a:hover {
  color: var(--wf-red);
}

.wf-utility-bar__phones .wf-phone-icon {
  font-size: 13px;
}

.wf-utility-bar__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wf-utility-bar__right a {
  color: var(--wf-body-text);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.wf-utility-bar__right a:hover {
  color: var(--wf-pink);
}

.wf-utility-bar__right .wf-separator {
  color: var(--wf-border);
}

/* ============================================================
   MAIN HEADER (logo + banner + cart)
   ============================================================ */
.wf-header {
  background: var(--wf-white);
  padding: 0;
  position: relative;
}

.wf-header__inner {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  min-height: 120px;
  gap: 0;
}

/* Logo */
.wf-header__logo {
  padding: 12px 20px 12px 0;
  flex-shrink: 0;
}

.wf-header__logo a {
  display: block;
}

.wf-header__logo img {
  max-width: 200px;
  height: auto;
}

.wf-header__logo .site-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--wf-pink);
  line-height: 1;
}

.wf-header__logo .site-tagline {
  font-size: 11px;
  color: var(--wf-mid-gray);
  font-style: italic;
  margin-top: 2px;
}

/* Hero banner */
.wf-header__banner {
  overflow: hidden;
  height: 120px;
  position: relative;
}

.wf-header__banner img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  object-position: center 40%;
}

/* Cart */
.wf-header__cart {
  padding: 12px 0 12px 20px;
  flex-shrink: 0;
}

.wf-header__cart a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--wf-white);
  border: 2px solid var(--wf-border);
  border-radius: 4px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--wf-body-text);
  transition: var(--wf-transition);
  white-space: nowrap;
}

.wf-header__cart a:hover {
  border-color: var(--wf-pink);
  color: var(--wf-pink);
}

.wf-header__cart .cart-icon {
  color: var(--wf-pink);
  font-size: 18px;
}

/* ============================================================
   NAV BAR (CATEGORIES button + search)
   ============================================================ */
.wf-navbar {
  background: var(--wf-white);
  border-top: 1px solid var(--wf-border);
  border-bottom: 3px solid var(--wf-pink);
  padding: 0;
}

.wf-navbar__inner {
  display: flex;
  align-items: stretch;
  height: 46px;
}

/* CATEGORIES toggle button */
.wf-navbar__categories-btn {
  background: var(--wf-red);
  color: var(--wf-white);
  border: none;
  padding: 0 20px;
  font-family: var(--wf-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: var(--wf-transition);
  min-width: var(--wf-sidebar-width);
  justify-content: center;
}

.wf-navbar__categories-btn:hover {
  background: #8a0d24;
}

.wf-navbar__categories-btn .wf-hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.wf-navbar__categories-btn .wf-hamburger span {
  display: block;
  height: 2px;
  background: var(--wf-white);
  border-radius: 2px;
}

/* Search form */
.wf-navbar__search {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0;
}

.wf-navbar__search form {
  display: flex;
  width: 100%;
  height: 100%;
}

.wf-navbar__search input[type="search"],
.wf-navbar__search input[type="text"] {
  flex: 1;
  border: none;
  border-left: 1px solid var(--wf-border);
  padding: 0 16px;
  font-family: var(--wf-font);
  font-size: 14px;
  color: var(--wf-body-text);
  outline: none;
  background: var(--wf-white);
}

.wf-navbar__search input::placeholder {
  color: #aaa;
}

.wf-navbar__search button[type="submit"] {
  background: var(--wf-pink);
  color: var(--wf-white);
  border: none;
  padding: 0 20px;
  font-size: 16px;
  cursor: pointer;
  transition: var(--wf-transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wf-navbar__search button[type="submit"]:hover {
  background: var(--wf-red);
}

/* ============================================================
   SIDEBAR CATEGORIES NAV
   ============================================================ */
.wf-sidebar-cats {
  background: var(--wf-white);
  border: 1px solid var(--wf-border);
  width: var(--wf-sidebar-width);
  flex-shrink: 0;
}

.wf-sidebar-cats__header {
  background: var(--wf-red);
  color: var(--wf-white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wf-sidebar-cats ul {
  padding: 6px 0;
}

.wf-sidebar-cats ul li a {
  display: flex;
  align-items: center;
  padding: 7px 16px;
  font-size: 13px;
  color: var(--wf-body-text);
  border-bottom: 1px solid #f5f5f5;
  transition: var(--wf-transition);
}

.wf-sidebar-cats ul li a::before {
  content: '▪';
  color: var(--wf-pink);
  margin-right: 8px;
  font-size: 10px;
}

.wf-sidebar-cats ul li a:hover {
  color: var(--wf-pink);
  background: var(--wf-section-bg);
  padding-left: 20px;
}

.wf-sidebar-cats ul li.has-children > a::after {
  content: '›';
  margin-left: auto;
  font-size: 16px;
  color: var(--wf-mid-gray);
}

/* ============================================================
   MAIN CONTENT AREA (sidebar + content)
   ============================================================ */
.wf-content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: var(--wf-max-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.wf-content-wrapper .wf-sidebar-cats {
  position: sticky;
  top: 0;
  align-self: flex-start;
}

.wf-main-content {
  flex: 1;
  min-width: 0;
  padding-left: 20px;
}

/* ============================================================
   PRODUCT CAROUSEL SECTION
   ============================================================ */
.wf-carousel-section {
  background: var(--wf-section-bg);
  border: 1px solid var(--wf-border);
  margin-bottom: 20px;
}

.wf-carousel-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--wf-border);
  flex-wrap: wrap;
  gap: 8px;
}

.wf-carousel-section__title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wf-carousel-section__icon {
  background: var(--wf-pink);
  color: var(--wf-white);
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.wf-carousel-section__title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--wf-dark);
  margin: 0;
}

.wf-carousel-section__view-all {
  font-size: 12px;
  color: var(--wf-pink);
  font-weight: 600;
  margin-left: 8px;
}

.wf-carousel-section__phones {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  margin-right: 12px;
}

.wf-carousel-section__phones a {
  font-size: 12px;
  color: var(--wf-pink);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.wf-carousel-section__arrows {
  display: flex;
  gap: 4px;
}

.wf-carousel-section__arrows button {
  background: var(--wf-pink);
  color: var(--wf-white);
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--wf-transition);
}

.wf-carousel-section__arrows button:hover {
  background: var(--wf-red);
}

/* Carousel grid */
.wf-carousel-section__body {
  padding: 16px;
  overflow: hidden;
}

.wf-product-carousel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.wf-product-card {
  text-align: center;
  background: var(--wf-white);
  border: 1px solid var(--wf-border);
  padding: 10px;
  transition: var(--wf-transition);
  position: relative;
}

.wf-product-card:hover {
  border-color: var(--wf-pink);
  box-shadow: 0 2px 12px rgba(240,89,120,0.12);
}

.wf-product-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--wf-orange-badge);
  color: var(--wf-white);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  z-index: 1;
}

.wf-product-card__image {
  margin-bottom: 10px;
  overflow: hidden;
}

.wf-product-card__image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.3s ease;
  margin: 0 auto;
}

.wf-product-card:hover .wf-product-card__image img {
  transform: scale(1.04);
}

.wf-product-card__stars {
  color: #f5a623;
  font-size: 13px;
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.wf-product-card__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--wf-dark);
  margin-bottom: 6px;
  line-height: 1.4;
}

.wf-product-card__name a {
  color: var(--wf-dark);
}

.wf-product-card__name a:hover {
  color: var(--wf-pink);
}

.wf-product-card__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--wf-pink);
  margin-bottom: 8px;
}

.wf-product-card__price del {
  color: var(--wf-mid-gray);
  font-weight: 400;
  font-size: 12px;
  margin-right: 4px;
}

.wf-product-card__btn {
  display: inline-block;
  background: var(--wf-white);
  color: var(--wf-dark);
  border: 1px solid var(--wf-border);
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--wf-transition);
  font-family: var(--wf-font);
  width: 100%;
}

.wf-product-card__btn:hover,
.wf-product-card__btn:focus {
  background: var(--wf-pink);
  border-color: var(--wf-pink);
  color: var(--wf-white);
}

/* ============================================================
   HERO SECTION (homepage)
   ============================================================ */
.wf-hero-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  margin-bottom: 20px;
  align-items: start;
}

.wf-hero-section__main {
  background: var(--wf-section-bg);
  border: 1px solid var(--wf-border);
  padding: 24px;
}

.wf-hero-section__headline {
  font-size: 22px;
  font-weight: 800;
  color: var(--wf-dark);
  margin-bottom: 16px;
}

.wf-hero-section__inner {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.wf-hero-section__photo {
  width: 260px;
  flex-shrink: 0;
  position: relative;
}

.wf-hero-section__photo img {
  width: 100%;
  border-radius: 4px;
}

.wf-hero-section__badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 80px;
  height: 80px;
}

.wf-hero-section__bullets {
  flex: 1;
}

.wf-hero-section__bullets li {
  font-size: 15px;
  font-weight: 600;
  color: var(--wf-dark);
  padding: 8px 0;
  border-bottom: 1px solid var(--wf-border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.wf-hero-section__bullets li:last-child {
  border-bottom: none;
}

.wf-hero-section__bullets li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--wf-pink);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Customer reviews panel */
.wf-reviews-panel {
  width: 220px;
  flex-shrink: 0;
  border: 1px solid var(--wf-border);
  overflow: hidden;
}

.wf-reviews-panel__header {
  background: var(--wf-gold);
  color: var(--wf-white);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wf-reviews-panel__rating {
  background: var(--wf-section-bg);
  padding: 8px 14px;
  border-bottom: 1px solid var(--wf-border);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wf-reviews-panel__rating .stars {
  color: #f5a623;
  font-size: 13px;
}

.wf-reviews-panel__body {
  max-height: 380px;
  overflow-y: auto;
  padding: 0;
}

.wf-review-item {
  padding: 10px 14px;
  border-bottom: 1px solid var(--wf-border);
  font-size: 11px;
}

.wf-review-item__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.wf-review-item__name {
  font-weight: 700;
  color: var(--wf-dark);
}

.wf-review-item__date {
  color: var(--wf-mid-gray);
  font-size: 10px;
}

.wf-review-item__stars {
  color: #f5a623;
  font-size: 12px;
  margin-bottom: 4px;
}

.wf-review-item__text {
  color: var(--wf-body-text);
  font-size: 11px;
  line-height: 1.5;
}

/* ============================================================
   CATEGORY BANNER BLOCKS
   ============================================================ */
.wf-category-banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.wf-category-banner {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
}

.wf-category-banner img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.wf-category-banner:hover img {
  transform: scale(1.04);
}

.wf-category-banner__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
  color: var(--wf-white);
  font-size: 20px;
  font-weight: 700;
  padding: 40px 20px 16px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* ============================================================
   VIRTUAL TOUR BUTTON (sticky left sidebar)
   ============================================================ */
.wf-virtual-tour-btn {
  display: block;
  background: var(--wf-pink);
  color: var(--wf-white);
  text-align: center;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 0 0 4px 4px;
  transition: var(--wf-transition);
  margin-top: 2px;
}

.wf-virtual-tour-btn:hover {
  background: var(--wf-red);
  color: var(--wf-white);
}

/* ============================================================
   FOOTER
   ============================================================ */
.wf-footer {
  background: #f2f2f2;
  border-top: 3px solid var(--wf-pink);
  margin-top: 30px;
}

.wf-footer__main {
  padding: 30px 0 20px;
}

.wf-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.wf-footer__col-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--wf-dark);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--wf-pink);
}

.wf-footer__col ul li {
  margin-bottom: 6px;
}

.wf-footer__col ul li a {
  font-size: 13px;
  color: var(--wf-body-text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.wf-footer__col ul li a::before {
  content: '›';
  color: var(--wf-pink);
  font-size: 16px;
  line-height: 1;
}

.wf-footer__col ul li a:hover {
  color: var(--wf-pink);
  padding-left: 4px;
}

/* Contact Us column */
.wf-footer__contact p {
  font-size: 12px;
  color: var(--wf-mid-gray);
  line-height: 1.6;
  margin-bottom: 10px;
}

.wf-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--wf-body-text);
}

.wf-footer__contact-item .icon {
  color: var(--wf-pink);
  flex-shrink: 0;
  margin-top: 1px;
}

.wf-footer__contact-item a {
  color: var(--wf-pink);
  font-weight: 600;
}

/* Footer bottom bar */
.wf-footer__bottom {
  background: #e8e8e8;
  border-top: 1px solid var(--wf-border);
  padding: 12px 0;
}

.wf-footer__bottom .wf-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.wf-footer__copyright {
  font-size: 12px;
  color: var(--wf-mid-gray);
}

.wf-footer__badges {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wf-footer__badges img {
  height: 36px;
  width: auto;
  opacity: 0.85;
  transition: var(--wf-transition);
}

.wf-footer__badges img:hover {
  opacity: 1;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.wf-breadcrumb {
  font-size: 12px;
  color: var(--wf-mid-gray);
  padding: 8px 0;
  margin-bottom: 16px;
}

.wf-breadcrumb a {
  color: var(--wf-mid-gray);
}

.wf-breadcrumb a:hover {
  color: var(--wf-pink);
}

.wf-breadcrumb .separator {
  margin: 0 6px;
  color: var(--wf-border);
}

.wf-breadcrumb .current {
  color: var(--wf-pink);
  font-weight: 600;
}

/* ============================================================
   CATEGORY / SHOP ARCHIVE PAGE
   ============================================================ */
.wf-archive-page {
  padding: 20px 0;
}

.wf-archive-page--no-sidebar .wf-main-content {
  padding-left: 0;
}

/* Category description block */
.wf-cat-description {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--wf-section-bg);
  border: 1px solid var(--wf-border);
}

.wf-cat-description__image {
  width: 80px;
  flex-shrink: 0;
}

.wf-cat-description__image img {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.wf-cat-description__text {
  font-size: 13px;
  color: var(--wf-body-text);
  line-height: 1.6;
}

/* Toolbar (sort / grid-list / per-page) */
.wf-archive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--wf-section-bg);
  border: 1px solid var(--wf-border);
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.wf-archive-toolbar__view {
  display: flex;
  gap: 4px;
}

.wf-view-btn {
  background: var(--wf-white);
  border: 1px solid var(--wf-border);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--wf-transition);
  color: var(--wf-mid-gray);
  font-size: 14px;
}

.wf-view-btn.active,
.wf-view-btn:hover {
  background: var(--wf-pink);
  border-color: var(--wf-pink);
  color: var(--wf-white);
}

.wf-archive-toolbar__sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.wf-archive-toolbar__sort select {
  border: 1px solid var(--wf-border);
  padding: 4px 8px;
  font-family: var(--wf-font);
  font-size: 13px;
  color: var(--wf-body-text);
  background: var(--wf-white);
}

.wf-archive-toolbar__sort .wf-sort-dir {
  background: var(--wf-white);
  border: 1px solid var(--wf-border);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--wf-body-text);
  font-size: 12px;
}

/* Product grid — archive */
.wf-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ============================================================
   SINGLE PRODUCT PAGE
   ============================================================ */
.wf-single-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 20px 0;
  align-items: start;
}

/* Gallery */
.wf-product-gallery {
  position: relative;
}

.wf-product-gallery__main {
  border: 1px solid var(--wf-border);
  overflow: hidden;
  margin-bottom: 10px;
  position: relative;
}

.wf-product-gallery__main img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.wf-product-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--wf-border);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  color: var(--wf-mid-gray);
  transition: var(--wf-transition);
}

.wf-product-gallery__nav:hover {
  background: var(--wf-pink);
  color: var(--wf-white);
  border-color: var(--wf-pink);
}

.wf-product-gallery__nav--prev { left: 8px; }
.wf-product-gallery__nav--next { right: 8px; }

.wf-product-gallery__thumbs {
  display: flex;
  gap: 8px;
  align-items: center;
}

.wf-product-gallery__thumb-nav {
  background: var(--wf-white);
  border: 1px solid var(--wf-border);
  width: 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  color: var(--wf-mid-gray);
  flex-shrink: 0;
  transition: var(--wf-transition);
}

.wf-product-gallery__thumb-nav:hover {
  background: var(--wf-pink);
  color: var(--wf-white);
  border-color: var(--wf-pink);
}

.wf-product-gallery__thumb-list {
  display: flex;
  gap: 6px;
  overflow: hidden;
  flex: 1;
}

.wf-product-gallery__thumb {
  width: 60px;
  height: 60px;
  border: 2px solid var(--wf-border);
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
  transition: var(--wf-transition);
}

.wf-product-gallery__thumb img {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.wf-product-gallery__thumb.active,
.wf-product-gallery__thumb:hover {
  border-color: var(--wf-pink);
}

/* Product details (right column) */
.wf-product-details h1.product_title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.wf-product-details .price {
  font-size: 22px;
  font-weight: 700;
  color: var(--wf-pink);
  margin-bottom: 10px;
  display: block;
}

.wf-product-details .stock {
  font-size: 13px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wf-product-details .in-stock {
  color: #2e8b57;
}

.wf-product-details .in-stock::before {
  content: '✓';
  font-weight: 700;
}

.wf-product-details .sku_wrapper {
  font-size: 12px;
  color: var(--wf-mid-gray);
  margin-bottom: 12px;
}

.wf-product-details .woocommerce-product-details__short-description {
  font-size: 13px;
  color: var(--wf-body-text);
  line-height: 1.6;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--wf-border);
}

/* Size / variation radio buttons */
.wf-product-details .variations .label label {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.wf-product-details .wf-size-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.wf-product-details .wf-size-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
  padding: 5px 0;
}

.wf-product-details .wf-size-options input[type="radio"] {
  accent-color: var(--wf-pink);
}

/* Quantity + ATC */
.wf-product-details .quantity-atc {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.wf-qty-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wf-qty-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--wf-border);
}

.wf-qty-wrap input[type="number"] {
  width: 50px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--wf-border);
  border-right: 1px solid var(--wf-border);
  padding: 6px 4px;
  font-family: var(--wf-font);
  font-size: 14px;
  -moz-appearance: textfield;
}

.wf-qty-wrap input[type="number"]::-webkit-inner-spin-button,
.wf-qty-wrap input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.wf-qty-btn {
  background: var(--wf-section-bg);
  border: none;
  width: 30px;
  height: 34px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wf-mid-gray);
  transition: var(--wf-transition);
}

.wf-qty-btn:hover {
  background: var(--wf-pink);
  color: var(--wf-white);
}

.single_add_to_cart_button,
.wf-atc-btn {
  background: var(--wf-dark);
  color: var(--wf-white) !important;
  border: none;
  padding: 10px 24px;
  font-family: var(--wf-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--wf-transition);
  border-radius: 2px;
}

.single_add_to_cart_button:hover,
.wf-atc-btn:hover {
  background: var(--wf-pink);
}

/* Product tabs */
.wf-product-tabs {
  margin-top: 30px;
  border-top: 2px solid var(--wf-border);
}

.wf-product-tabs__nav {
  display: flex;
  gap: 0;
  margin-bottom: 0;
}

.wf-product-tabs__tab {
  background: var(--wf-section-bg);
  border: 1px solid var(--wf-border);
  border-bottom: none;
  padding: 8px 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--wf-mid-gray);
  transition: var(--wf-transition);
  margin-right: 4px;
}

.wf-product-tabs__tab.active,
.wf-product-tabs__tab:hover {
  background: var(--wf-white);
  color: var(--wf-dark);
  border-color: var(--wf-border);
}

.wf-product-tabs__content {
  border: 1px solid var(--wf-border);
  padding: 20px;
  font-size: 13px;
  line-height: 1.7;
}

/* ============================================================
   WooCommerce OVERRIDES — global
   ============================================================ */

/* Storefront parent overrides */
.storefront-primary-navigation,
.site-header-cart,
.storefront-handheld-footer-bar {
  display: none !important;
}

/* WC notices */
.woocommerce-message,
.woocommerce-info {
  border-top-color: var(--wf-pink) !important;
}

.woocommerce-message::before,
.woocommerce-info::before {
  color: var(--wf-pink) !important;
}

/* WC buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--wf-pink);
  color: var(--wf-white);
  font-family: var(--wf-font);
  font-weight: 700;
  border-radius: 2px;
  transition: var(--wf-transition);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background: var(--wf-red);
  color: var(--wf-white);
}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  border-color: var(--wf-border);
  color: var(--wf-body-text);
}

.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--wf-pink);
  color: var(--wf-white);
  border-color: var(--wf-pink);
}

/* ============================================================
   CHECKOUT — 3-COLUMN LAYOUT
   ============================================================ */
.wf-checkout-page {
  padding: 20px 0 40px;
}

.wf-checkout-page h1 {
  font-size: 20px;
  margin-bottom: 20px;
}

.wf-checkout-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--wf-border);
}

.wf-checkout-col {
  border-right: 1px solid var(--wf-border);
  display: flex;
  flex-direction: column;
}

.wf-checkout-col:last-child {
  border-right: none;
}

/* Column header */
.wf-checkout-col__header {
  background: #1a2340;
  color: var(--wf-white);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wf-checkout-col__step {
  background: var(--wf-pink);
  color: var(--wf-white);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.wf-checkout-col__icon {
  font-size: 18px;
  opacity: 0.85;
}

.wf-checkout-col__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.wf-checkout-col__subtitle {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.75;
}

/* Column body */
.wf-checkout-col__body {
  padding: 16px;
  flex: 1;
  background: var(--wf-white);
}

/* Checkout fields */
.wf-checkout-col__body .form-row {
  margin-bottom: 12px;
}

.wf-checkout-col__body label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--wf-mid-gray);
  margin-bottom: 4px;
}

.wf-checkout-col__body label .required {
  color: var(--wf-pink);
  margin-left: 2px;
}

.wf-checkout-col__body input[type="text"],
.wf-checkout-col__body input[type="email"],
.wf-checkout-col__body input[type="tel"],
.wf-checkout-col__body input[type="number"],
.wf-checkout-col__body select,
.wf-checkout-col__body textarea {
  width: 100%;
  border: 1px solid var(--wf-border);
  padding: 8px 10px;
  font-family: var(--wf-font);
  font-size: 13px;
  color: var(--wf-body-text);
  background: var(--wf-white);
  transition: var(--wf-transition);
  border-radius: 2px;
}

.wf-checkout-col__body input:focus,
.wf-checkout-col__body select:focus,
.wf-checkout-col__body textarea:focus {
  border-color: var(--wf-pink);
  outline: none;
  box-shadow: 0 0 0 2px rgba(240,89,120,0.12);
}

.wf-checkout-col__body textarea {
  min-height: 80px;
  resize: vertical;
}

/* Shipping method radios */
.wf-shipping-methods {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.wf-shipping-method {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--wf-border);
  cursor: pointer;
  transition: var(--wf-transition);
  background: var(--wf-white);
}

.wf-shipping-method:hover,
.wf-shipping-method.selected {
  border-color: var(--wf-pink);
  background: #fff5f7;
}

.wf-shipping-method input[type="radio"] {
  accent-color: var(--wf-pink);
  flex-shrink: 0;
}

.wf-shipping-method__icon {
  font-size: 18px;
  color: var(--wf-pink);
}

.wf-shipping-method__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--wf-dark);
}

/* Checkout order summary + submit */
.wf-checkout-bottom {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
}

.wf-order-summary {
  border: 1px solid var(--wf-border);
  padding: 16px;
}

.wf-order-summary h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--wf-pink);
}

.wf-checkout-submit {
  text-align: right;
}

#place_order,
.wf-place-order-btn {
  background: var(--wf-red) !important;
  color: var(--wf-white) !important;
  border: none;
  padding: 14px 32px;
  font-family: var(--wf-font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--wf-transition);
  border-radius: 2px;
  width: 100%;
}

#place_order:hover,
.wf-place-order-btn:hover {
  background: #8a0d24 !important;
}

/* Create account checkbox */
.wf-create-account {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--wf-border);
  font-size: 12px;
  color: var(--wf-body-text);
}

.wf-create-account input[type="checkbox"] {
  accent-color: var(--wf-pink);
  margin-top: 1px;
  flex-shrink: 0;
}

/* ============================================================
   SCROLL TO TOP BUTTON
   ============================================================ */
.wf-scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--wf-pink);
  color: var(--wf-white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--wf-transition);
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 999;
}

.wf-scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.wf-scroll-top:hover {
  background: var(--wf-red);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .wf-product-grid,
  .wf-product-carousel {
    grid-template-columns: repeat(3, 1fr);
  }

  .wf-checkout-columns {
    grid-template-columns: 1fr;
  }

  .wf-checkout-col {
    border-right: none;
    border-bottom: 1px solid var(--wf-border);
  }

  .wf-checkout-col:last-child {
    border-bottom: none;
  }

  .wf-single-product {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .wf-header__inner {
    grid-template-columns: 1fr auto;
  }

  .wf-header__banner {
    display: none;
  }

  .wf-content-wrapper {
    flex-direction: column;
    padding: 0 12px;
  }

  .wf-sidebar-cats {
    width: 100%;
    display: none; /* toggled by JS */
  }

  .wf-sidebar-cats.open {
    display: block;
  }

  .wf-main-content {
    padding-left: 0;
  }

  .wf-product-grid,
  .wf-product-carousel {
    grid-template-columns: repeat(2, 1fr);
  }

  .wf-hero-section {
    grid-template-columns: 1fr;
  }

  .wf-reviews-panel {
    width: 100%;
  }

  .wf-hero-section__inner {
    flex-direction: column;
  }

  .wf-hero-section__photo {
    width: 100%;
  }

  .wf-category-banners {
    grid-template-columns: 1fr;
  }

  .wf-footer__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .wf-utility-bar {
    display: none;
  }

  .wf-navbar__categories-btn {
    min-width: auto;
    padding: 0 14px;
  }
}

@media (max-width: 480px) {
  .wf-product-grid,
  .wf-product-carousel {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .wf-product-card {
    padding: 8px;
  }

  .wf-checkout-bottom {
    grid-template-columns: 1fr;
  }
}

/* Fix Storefront min-height dead space */
#page.site {
  min-height: 0 !important;
  display: block !important;
}
#content .col-full {
  padding: 0 !important;
  max-width: none !important;
}

/* ── Hero photo fix: show people side only, hide baked-in badge overlay ── */
.wf-hero-section__photo {
  width: 280px !important;
  height: 290px !important;
  overflow: hidden !important;
  border-radius: 4px !important;
}
.wf-hero-section__photo > img:not(.wf-hero-section__badge) {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: left center !important;
  display: block !important;
}
.wf-hero-section__badge { display: none !important; }


/* ============================================================
   WooCommerce ARCHIVE / SHOP / CATEGORY PAGES
   ============================================================ */

/* Kill Storefront sidebar widget area on WC pages */
.woocommerce .widget-area,
.woocommerce-page .widget-area,
.woocommerce #secondary,
.woocommerce-page #secondary { display: none !important; }

/* Hide Storefront breadcrumb wrapper */
.storefront-breadcrumb { display: none !important; }

/* Product loop grid */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 24px !important;
  float: none !important;
  clear: both !important;
}
.woocommerce ul.products li.wf-product-list-item {
  padding: 0 !important; margin: 0 !important;
  width: auto !important; float: none !important; clear: none !important;
}

/* Archive breadcrumb */
.wf-breadcrumb { font-size: 13px; color: var(--wf-mid-gray); margin-bottom: 16px; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.wf-breadcrumb a { color: var(--wf-pink); text-decoration: none; }
.wf-breadcrumb a:hover { text-decoration: underline; }
.wf-breadcrumb .separator { color: var(--wf-mid-gray); font-size: 11px; }

/* Archive heading */
.woocommerce-products-header__title, .wf-archive-heading {
  font-size: 20px; font-weight: 700; text-transform: uppercase; color: var(--wf-dark);
  letter-spacing: 0.5px; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--wf-pink);
}

/* Toolbar */
.woocommerce-result-count { font-size: 13px; color: var(--wf-mid-gray); margin: 0 0 16px; float: left; line-height: 2.4; }
.woocommerce .woocommerce-ordering { margin: 0 0 16px; float: right; }
.woocommerce-ordering select { font-size: 13px; padding: 6px 10px; border: 1px solid var(--wf-border); border-radius: 2px; background: var(--wf-white); }

/* ============================================================
   WooCommerce SINGLE PRODUCT
   ============================================================ */
.woocommerce div.product .woocommerce-product-gallery,
.woocommerce div.product div.images { width: 45% !important; float: left !important; padding-right: 24px !important; }
.woocommerce div.product div.summary { width: 52% !important; float: right !important; }
.woocommerce div.product::after { content: ''; display: table; clear: both; }
.woocommerce div.product .product_title { font-size: 24px; font-weight: 700; color: var(--wf-dark); margin-bottom: 10px; }
.woocommerce div.product p.price,
.woocommerce div.product span.price { font-size: 22px; font-weight: 700; color: var(--wf-pink) !important; margin-bottom: 14px; }
.woocommerce div.product .single_add_to_cart_button {
  background: var(--wf-pink) !important; color: var(--wf-white) !important;
  font-weight: 700 !important; font-size: 14px !important; text-transform: uppercase !important;
  padding: 12px 28px !important; border-radius: 2px !important; border: none !important;
}
.woocommerce div.product .single_add_to_cart_button:hover { background: var(--wf-red) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs { border-bottom: 2px solid var(--wf-pink); padding: 0; margin: 0; list-style: none; display: flex; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 1px solid var(--wf-border); border-bottom: none; background: var(--wf-section-bg); margin-right: 4px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--wf-white); }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { font-size: 13px; font-weight: 600; padding: 8px 16px; display: block; text-transform: uppercase; color: var(--wf-body-text); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--wf-pink); }
.woocommerce div.product .woocommerce-tabs .panel { border: 1px solid var(--wf-border); border-top: none; padding: 20px; font-size: 14px; }
.related.products ul.products, .upsells.products ul.products { grid-template-columns: repeat(4, 1fr) !important; }

/* Responsive */
@media (max-width: 900px) { .woocommerce ul.products { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 600px) {
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }
  .woocommerce div.product .woocommerce-product-gallery,
  .woocommerce div.product div.images { width: 100% !important; float: none !important; padding-right: 0 !important; margin-bottom: 20px !important; }
  .woocommerce div.product div.summary { width: 100% !important; float: none !important; }
}
