/*
Theme Name: B&D Shop
Author: B&D Shop
Description: A lightweight, accessible WooCommerce storefront with editable homepage blocks and brand settings.
Version: 0.1.0
Requires at least: 6.9
Requires PHP: 8.3
Text Domain: bandd-shop
*/
:root {
  --ink:#163c46;
  --paper:#faf6ed;
  --pink:#ff84b5;
  --teal:#58d5c8;
  --muted:#53666a;
  --line:#d9ded7;
  --white:#fffefa;
  --radius:12px
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:Arial,Helvetica,sans-serif;
  line-height:1.6
}
a {
  color:inherit;
  text-underline-offset:4px
}
img {
  max-width:100%;
  height:auto
}
button,input,select,textarea {
  font:inherit
}
button,a,input,select,textarea {
  touch-action:manipulation
}
:focus-visible {
  outline:3px solid #a02f64;
  outline-offset:4px
}
h1,h2,h3,p {
  margin-top:0
}
h1,h2,h3 {
  line-height:1.12;
  letter-spacing:-.045em
}
h1 {
  font-size:clamp(34px,5vw,62px)
}
h2 {
  font-size:clamp(28px,3vw,40px)
}
h3 {
  font-size:22px
}
p {
  margin-bottom:1.3em
}
.screen-reader-text {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
.skip-link:focus {
  clip:auto;
  width:auto;
  height:auto;
  padding:12px;
  background:var(--ink);
  color:white;
  z-index:10000;
  top:0;
  left:0
}
.container {
  width:min(1280px,calc(100% - 80px));
  margin-inline:auto
}
.demo-banner {
  background:var(--ink);
  color:var(--paper);
  text-align:center;
  font-size:12px;
  letter-spacing:.025em;
  padding:8px 20px
}
.demo-banner strong {
  color:var(--teal)
}
.site-header {
  background:var(--paper);
  border-bottom:1px solid var(--line)
}
.header-main {
  display:flex;
  align-items:center;
  gap:50px;
  padding-block:22px
}
.brand {
  display:flex;
  align-items:center;
  text-decoration:none;
  flex-shrink:0
}
.brand img {
  width:115px;
  height:auto;
  display:block
}
.brand-text {
  font-size:27px;
  font-weight:900;
  letter-spacing:-1.4px
}
.brand-text span {
  color:#a02f64
}
.product-search {
  display:flex;
  align-items:center;
  flex:1;
  max-width:650px;
  background:var(--white);
  border:1px solid #b5c2bd;
  border-radius:8px;
  overflow:hidden
}
.product-search input {
  border:0;
  background:transparent;
  min-width:0;
  width:100%;
  padding:12px 17px;
  outline-offset:-4px;
  font-size:14px
}
.product-search button {
  background:var(--teal);
  border:0;
  padding:11px 18px;
  color:var(--ink);
  cursor:pointer;
  font-weight:700;
  font-size:14px
}
.header-actions {
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:24px;
  font-size:14px;
  font-weight:700
}
.cart-link {
  display:flex;
  gap:8px;
  align-items:center;
  text-decoration:none
}
.cart-count {
  display:inline-grid;
  place-items:center;
  background:var(--ink);
  color:var(--white);
  border-radius:50%;
  min-width:24px;
  height:24px;
  font-size:12px
}
.navigation-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 0 15px;
  gap:20px
}
.main-menu {
  display:flex;
  list-style:none;
  padding:0;
  margin:0;
  gap:31px;
  font-size:14px;
  font-weight:700
}
.main-menu a {
  text-decoration:none;
  padding:6px 0;
  display:inline-block
}
.main-menu .current-menu-item a,.main-menu a:hover {
  box-shadow:0 2px var(--ink)
}
.nav-note {
  font-size:12px;
  color:var(--muted)
}
.site-main {
  min-height:55vh
}
.site-main:not(.home-main) {
  padding-block:42px 70px
}
.hero {
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:40px;
  padding:58px 0 44px
}
.eyebrow {
  font-size:11px;
  font-weight:800;
  letter-spacing:2.1px;
  text-transform:uppercase;
  margin-bottom:22px
}
.eyebrow:before {
  content:'✳';
  font-size:19px;
  color:#a02f64;
  margin-right:10px
}
.hero h1 {
  font-size:clamp(48px,5.9vw,78px);
  letter-spacing:-.06em;
  margin-bottom:22px;
  max-width:580px;
  line-height:1.02
}
.hero h1 em {
  font-style:normal;
  background:linear-gradient(transparent 72%,var(--pink) 72%);
  white-space:nowrap
}
.hero-copy {
  font-size:17px;
  color:var(--muted);
  max-width:440px;
  line-height:1.75
}
.hero-actions {
  display:flex;
  align-items:center;
  gap:25px;
  margin:27px 0 14px
}
.button,.wp-element-button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  border:1px solid var(--ink);
  border-radius:6px;
  background:var(--ink);
  color:var(--paper);
  padding:13px 22px;
  text-decoration:none;
  font-size:14px;
  font-weight:700;
  line-height:1.4;
  cursor:pointer
}
.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover {
  background:#245965;
  color:white
}
.text-link {
  font-weight:700;
  font-size:14px
}
.hero-fine {
  font-size:11px;
  color:var(--muted)
}
.hero-art {
  position:relative;
  border-radius:20px;
  background:#e2ede5;
  overflow:hidden
}
.hero-art img {
  display:block;
  width:100%;
  aspect-ratio:1.08;
  object-fit:cover
}
.hero-caption {
  position:absolute;
  bottom:18px;
  left:22px;
  font-size:11px;
  letter-spacing:1.4px;
  font-weight:700
}
.store-strip {
  display:flex;
  justify-content:space-around;
  align-items:center;
  border-block:1px solid var(--line);
  padding:18px 0;
  font-size:12px;
  gap:16px
}
.store-strip span {
  display:flex;
  gap:10px;
  align-items:center
}
.store-strip b {
  font-size:17px;
  font-weight:normal
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:20px;
  margin:48px 0 24px
}
.section-heading h2 {
  margin:0
}
.section-heading p {
  font-size:14px;
  color:var(--muted);
  margin:8px 0 0
}
.category-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px
}
.category-card {
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:12px;
  align-items:center;
  text-decoration:none;
  background:#e2ede5;
  border-radius:var(--radius);
  overflow:hidden;
  min-height:170px;
  padding:24px
}
.category-card:nth-child(2) {
  background:#f6dce6
}
.category-card:nth-child(3) {
  background:#e8e6dc
}
.category-card h3 {
  margin:0 0 7px;
  font-size:28px
}
.category-card p {
  font-size:12px;
  margin:0;
  color:var(--muted)
}
.category-card .category-arrow {
  display:inline-block;
  font-size:24px;
  margin-top:14px
}
.category-card img {
  width:100%;
  max-width:170px;
  justify-self:end;
  mix-blend-mode:multiply;
  transition:transform .2s
}
.category-card:hover img {
  transform:rotate(-5deg) scale(1.06)
}
.home-products {
  margin-top:50px
}
.home-products .woocommerce {
  margin-top:24px
}
.woocommerce ul.products {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:23px
}
.woocommerce ul.products:before,.woocommerce ul.products:after {
  display:none
}
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product {
  width:100%;
  float:none;
  margin:0 0 22px
}
.woocommerce ul.products li.product a img {
  border:1px solid var(--line);
  border-radius:var(--radius);
  aspect-ratio:1;
  object-fit:cover;
  margin:0 0 16px;
  background:#efeee8
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size:17px;
  font-weight:700;
  letter-spacing:-.02em;
  padding:0 0 8px
}
.woocommerce ul.products li.product .price {
  color:var(--ink);
  font-size:15px;
  font-weight:700;
  margin-bottom:10px
}
.woocommerce ul.products li.product .button {
  margin-top:5px;
  background:transparent;
  color:var(--ink);
  font-size:12px;
  padding:8px 13px;
  border-color:#b0bcb5
}
.woocommerce ul.products li.product .button:hover {
  background:var(--ink);
  color:var(--white)
}
.woocommerce a.added_to_cart {
  display:inline-block;
  font-size:12px;
  padding-left:10px
}
.product-category-label {
  font-size:10px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:1.4px;
  color:var(--muted);
  margin-bottom:8px
}
.home-story {
  background:var(--ink);
  color:var(--paper);
  border-radius:14px;
  margin:30px 0 60px;
  padding:38px 45px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px
}
.home-story h2 {
  font-size:34px;
  margin:0 0 12px
}
.home-story p {
  font-size:14px;
  max-width:650px;
  margin:0;
  color:#d8e6df
}
.home-story .button {
  background:var(--teal);
  color:var(--ink);
  flex-shrink:0
}
.site-footer {
  background:#f0eee5;
  border-top:1px solid var(--line);
  padding:40px 0 25px
}
.footer-grid {
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:40px
}
.footer-brand {
  font-size:22px;
  font-weight:900;
  letter-spacing:-1px
}
.footer-copy {
  font-size:13px;
  color:var(--muted);
  max-width:300px;
  margin-top:12px
}
.footer-grid h2 {
  font-size:12px;
  letter-spacing:1px;
  text-transform:uppercase;
  margin-bottom:15px
}
.footer-grid ul {
  list-style:none;
  margin:0;
  padding:0;
  font-size:13px
}
.footer-grid li {
  margin:7px 0
}
.footer-grid a {
  text-decoration:none
}
.footer-grid a:hover {
  text-decoration:underline
}
.footer-bottom {
  border-top:1px solid #cdd4cb;
  margin-top:30px;
  padding-top:19px;
  display:flex;
  justify-content:space-between;
  font-size:11px;
  color:var(--muted)
}
.woocommerce .woocommerce-breadcrumb {
  font-size:12px;
  margin-bottom:24px;
  color:var(--muted)
}
.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering {
  font-size:13px
}
.woocommerce select,.woocommerce input.input-text,.woocommerce textarea,.woocommerce form .form-row select {
  border:1px solid #aebdb6;
  border-radius:5px;
  padding:10px;
  background:var(--white);
  color:var(--ink)
}
.woocommerce .woocommerce-ordering select {
  max-width:100%
}
.woocommerce div.product div.images img {
  border-radius:16px;
  background:#eeeee7
}
.woocommerce div.product .product_title {
  font-size:40px
}
.woocommerce div.product p.price {
  color:var(--ink);
  font-size:24px;
  font-weight:700
}
.woocommerce div.product .woocommerce-product-details__short-description {
  color:var(--muted)
}
.woocommerce .quantity .qty {
  min-height:46px;
  width:75px
}
.woocommerce div.product form.cart .button,.woocommerce button.button.alt,.woocommerce a.button.alt {
  background:var(--ink);
  color:white
}
.woocommerce div.product form.cart .variations label {
  font-size:13px
}
.woocommerce div.product form.cart .variations select {
  min-width:200px
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding-left:0
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background:transparent;
  border:0;
  border-radius:0;
  padding:0 20px 0 0;
  margin:0
}
.woocommerce div.product .woocommerce-tabs ul.tabs li:before,.woocommerce div.product .woocommerce-tabs ul.tabs li:after {
  display:none
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background:transparent;
  border-bottom:3px solid var(--ink)
}
.woocommerce table.shop_table {
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--white)
}
.woocommerce table.shop_table th {
  font-size:13px
}
.woocommerce .cart-collaterals .cart_totals {
  padding:24px;
  background:#e2ede5;
  border-radius:12px
}
.woocommerce table.cart td.actions .input-text {
  width:140px
}
.woocommerce .woocommerce-message,.woocommerce .woocommerce-info,.woocommerce .woocommerce-error {
  background:#e3eee6;
  border-top-color:var(--ink);
  color:var(--ink)
}
.woocommerce .woocommerce-message:before,.woocommerce .woocommerce-info:before {
  color:var(--ink)
}
.woocommerce .woocommerce-error {
  background:#f8e3e9
}
.woocommerce-checkout #payment {
  background:#e3eee6;
  border-radius:10px
}
.woocommerce-checkout #payment div.payment_box {
  background:var(--white);
  color:var(--ink)
}
.woocommerce-checkout #payment div.payment_box:before {
  border-bottom-color:var(--white)
}
.woocommerce form .form-row label {
  font-size:13px;
  font-weight:700
}
.woocommerce form .form-row {
  padding:3px 0;
  margin-bottom:12px
}
.woocommerce form.checkout h3 {
  margin-top:25px
}
.entry-content>p,.entry-content>ul {
  max-width:800px
}
.entry-content .woocommerce {
  max-width:none
}
.page-title {
  margin-bottom:30px
}
.demo-checkout-note {
  border:1px solid #b7c9be;
  background:#e3eee6;
  border-radius:8px;
  padding:15px 20px;
  margin-bottom:22px;
  font-size:14px
}
.empty-search {
  padding:30px 0
}
.woocommerce nav.woocommerce-pagination ul {
  border:0
}
.woocommerce nav.woocommerce-pagination ul li {
  border:0;
  margin:4px
}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span {
  border:1px solid var(--line);
  border-radius:5px;
  padding:12px
}
.woocommerce nav.woocommerce-pagination ul li span.current {
  background:var(--ink);
  color:white
}
.related.products {
  clear:both
}
.woocommerce-store-notice {
  display:none!important
}
@media(min-width:900px) {
  .woocommerce div.product div.images {
    width:47%
  }
  .woocommerce div.product div.summary {
    width:46%
  }
  .woocommerce-checkout .col2-set {
    width:54%;
    float:left
  }
  .woocommerce-checkout #order_review_heading,.woocommerce-checkout #order_review {
    width:41%;
    float:right
  }
  .woocommerce-checkout form.checkout:after {
    content:'';
    display:block;
    clear:both
  }
  .woocommerce-checkout .col2-set .col-1,.woocommerce-checkout .col2-set .col-2 {
    width:100%;
    float:none
  }
}
@media(max-width:900px) {
  .container {
    width:calc(100% - 40px)
  }
  .header-main {
    gap:25px
  }
  .hero {
    gap:25px
  }
  .hero h1 {
    font-size:52px
  }
  .category-card {
    padding:16px;
    min-height:140px
  }
  .category-card h3 {
    font-size:24px
  }
  .category-card img {
    width:135px
  }
  .woocommerce ul.products {
    grid-template-columns:repeat(3,minmax(0,1fr))
  }
  .nav-note {
    display:none
  }
  .header-actions .help-link {
    display:none
  }
  .home-story {
    padding:30px
  }
  .hero-actions {
    gap:16px
  }
  .hero-copy {
    font-size:15px
  }
}
@media(max-width:620px) {
  .container {
    width:calc(100% - 32px)
  }
  .header-main {
    display:grid;
    grid-template-columns:1fr auto;
    gap:15px;
    padding-block:16px
  }
  .brand img {
    width:90px
  }
  .header-actions {
    grid-column:2;
    grid-row:1
  }
  .product-search {
    grid-row:2;
    grid-column:1/-1;
    width:100%;
    max-width:none
  }
  .main-menu {
    gap:25px;
    white-space:nowrap;
    font-size:13px
  }
  .navigation-row {
    overflow-x:auto;
    padding-bottom:11px
  }
  .hero {
    grid-template-columns:1fr;
    padding:35px 0 30px;
    gap:25px
  }
  .hero h1 {
    font-size:clamp(39px,13.6vw,53px);
    max-width:400px
  }
  .hero-copy {
    max-width:360px;
    font-size:15px
  }
  .eyebrow {
    margin-bottom:15px;
    font-size:10px
  }
  .hero-actions {
    margin-top:20px
  }
  .hero-art img {
    aspect-ratio:1.25
  }
  .store-strip {
    font-size:10px;
    justify-content:space-between;
    gap:10px
  }
  .store-strip span {
    gap:5px
  }
  .store-strip span:last-child {
    display:none
  }
  .section-heading {
    margin-top:35px;
    align-items:center
  }
  .section-heading h2 {
    font-size:28px
  }
  .section-heading .text-link {
    font-size:12px
  }
  .category-grid {
    grid-template-columns:1fr;
    gap:12px
  }
  .category-card {
    min-height:124px;
    padding:18px 25px;
    grid-template-columns:1fr 130px
  }
  .category-card h3 {
    font-size:27px
  }
  .category-card .category-arrow {
    margin:0;
    position:absolute;
    right:15px;
    bottom:8px;
    font-size:17px
  }
  .category-card img {
    width:120px;
    max-height:115px;
    object-fit:contain
  }
  .woocommerce ul.products {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:15px
  }
  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size:15px
  }
  .woocommerce ul.products li.product .price {
    font-size:14px
  }
  .woocommerce ul.products li.product .button {
    font-size:11px;
    padding:8px 10px
  }
  .home-story {
    display:block;
    padding:25px;
    margin-bottom:38px
  }
  .home-story h2 {
    font-size:29px
  }
  .home-story .button {
    margin-top:22px
  }
  .footer-grid {
    grid-template-columns:1fr 1fr;
    gap:25px
  }
  .footer-grid>div:first-child {
    grid-column:1/-1
  }
  .footer-bottom {
    display:block
  }
  .footer-bottom span {
    display:block;
    margin-bottom:7px
  }
  .site-main:not(.home-main) {
    padding-top:28px
  }
  .woocommerce div.product .product_title {
    font-size:33px
  }
  .woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering {
    float:none;
    margin-bottom:12px
  }
  .woocommerce .woocommerce-ordering select {
    width:100%
  }
  .woocommerce table.shop_table_responsive tr td::before {
    font-size:13px
  }
  .woocommerce table.cart td.actions .coupon .input-text {
    width:49%
  }
  .woocommerce table.cart td.actions .coupon .button {
    width:49%
  }
  .woocommerce .cart-collaterals .cart_totals {
    padding:16px
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  * {
    transition:none!important;
    animation:none!important
  }
}
/* Override WooCommerce float widths because the product list uses CSS grid. */
body .woocommerce ul.products[class*="columns-"] li.product, body.woocommerce-page ul.products[class*="columns-"] li.product  {
  width:100%;
  float:none;
  margin:0 0 22px;
}
