/*
 Theme Name:   Storefront Child
 Theme URI:    https://daabology.com/
 Description:  Child theme for Storefront
 Author:       Daabology
 Author URI:   https://daabology.com/
 Template:     storefront
 Version:      1.0.0
 Text Domain:  storefront-child
*/

/* =Add your custom styles below this line
-------------------------------------------------------------- */

:root {
  --background: #fffaf3;
  --foreground: #103156;
  --card: #ffffff;
  --card-foreground: #103156;
  --primary: #fd7815;
  --primary-foreground: #ffffff;
  --brand-blue: #004aad;
  --brand-sky: #00c2e3;
  --secondary: #d8f5fb;
  --secondary-foreground: #004aad;
  --accent: #e3f8fd;
  --accent-foreground: #004aad;
  --muted: #fbf1e3;
  --muted-foreground: #5d6f8a;
  --border-yellow: #f0e3d0;
  --border: #e7e7e7;
  --ring: #00c2e3;
  --destructive: #df2225;
  --bg-grayscale: #f1f1f1;
  --border-grayscale: #e7e7e7;
}

body {
  font-family:
    "Poppins",
    "Inter Variable",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}

/* =Header
-------------------------------------------------------------- */

.daab-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 30;
  padding-top: 0;
  margin-bottom: 0 !important;
}

.daab-header__utility {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.daab-header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.daab-header__logo img {
  height: 44px;
  width: auto;
  display: block;
}

.daab-header__search {
  position: relative;
  flex: 1 1 auto;
  max-width: 520px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 15px;
  color: var(--muted-foreground);
  margin-bottom: 0;
}

.daab-header__search svg {
  flex: 0 0 auto;
  color: var(--muted-foreground);
}

.daab-header__search input[type="search"] {
  border: 0;
  outline: none;
  background: transparent;
  flex: 1;
  font-size: 14.5px;
  color: var(--foreground);
  font-family: inherit;
  box-shadow: none;
}

.daab-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 26px rgba(16, 49, 86, 0.1);
  max-height: 360px;
  overflow-y: auto;
  z-index: 40;
}

.daab-search-results[hidden] {
  display: none;
}

.daab-search-results__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.daab-search-results__option:hover,
.daab-search-results__option.is-active {
  background: var(--accent);
}

.daab-search-results__thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 auto;
  background: var(--muted);
}

.daab-search-results__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.daab-search-results__name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.daab-search-results__price {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
}

.daab-search-results__empty,
.daab-search-results__loading {
  padding: 14px 10px;
  font-size: 13px;
  color: var(--muted-foreground);
  text-align: center;
}

.daab-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.daab-header__cart {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  border: 1px solid var(--secondary);
  border-radius: 999px;
  padding: 10px 18px 10px 14px;
  color: var(--brand-blue);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}

.daab-header__cart:hover {
  background: var(--secondary);
  color: var(--brand-blue);
}

.daab-header__cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--card);
}

.daab-header__nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
  cursor: pointer;
}

.daab-header__nav {
  background: var(--brand-blue);
}

.daab-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.daab-menu li {
  margin: 0;
}

.daab-menu a {
  display: block;
  padding: 15px 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.daab-menu a:hover {
  color: #fff;
  border-bottom-color: var(--brand-sky);
}

.daab-menu li.current-menu-item > a,
.daab-menu li.current_page_item > a {
  color: #fff;
  border-bottom-color: var(--primary);
}

@media (max-width: 900px) {
  .daab-header__utility {
    flex-wrap: wrap;
  }

  .daab-header__search {
    order: 3;
    width: 100%;
    max-width: none;
  }

  .daab-header__nav-toggle {
    display: flex;
  }

  .daab-header__nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .daab-header__nav.is-open {
    max-height: 400px;
  }

  .daab-menu {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 24px 18px;
    gap: 2px;
  }

  .daab-menu a {
    padding: 12px 6px;
    color: #fff;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .daab-menu li:last-child a {
    border-bottom: 0;
  }
}

/* =Cart drawer
-------------------------------------------------------------- */

/* WooCommerce's default inline link after AJAX add-to-cart — the drawer
   (opened automatically via the "added_to_cart" event) replaces it. */
.added_to_cart.wc-forward {
  display: none;
}

.daab-cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}

.daab-cart-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 49, 86, 0.38);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.daab-cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(380px, 88vw);
  background: var(--card);
  box-shadow: -20px 0 50px rgba(16, 49, 86, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  overflow-y: hidden;
}

/* Fills the remaining panel height below the header, so the item list can
   grow/scroll on its own while Subtotal + Checkout stay pinned to the bottom
   regardless of how few items are in the cart. */
.daab-cart-drawer .widget_shopping_cart_content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.daab-cart-drawer.is-open {
  pointer-events: auto;
}

.daab-cart-drawer.is-open .daab-cart-drawer__overlay {
  opacity: 1;
}

.daab-cart-drawer.is-open .daab-cart-drawer__panel {
  transform: translateX(0);
}

.daab-cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
}

.daab-cart-drawer__header h3 {
  font-size: 19px;
  font-weight: 700;
}

.daab-cart-drawer__close {
  width: 36px;
  height: 36px;
  border-radius: 0;
  border: 1px solid var(--border-grayscale);
  background: var(--bg-grayscale);
  color: var(--muted-foreground);
  font-size: 22px;
  cursor: pointer;
  padding: 0;
}

.daab-cart-drawer__close:hover {
  background: #d5d5d5;
  color: #333;
}

.daab-cart-drawer .woocommerce-mini-cart {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.daab-cart-drawer .woocommerce-mini-cart-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 15px 0;
  border-radius: 0;
}

.daab-cart-drawer__item-art {
  flex: 0 0 auto;
}

.daab-cart-drawer__item-art img {
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 0;
  object-fit: cover;
  max-width: none !important;
  float: none !important;
}

.daab-cart-drawer__item-details {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 0;
  padding-left: 10px;
}

.woocommerce-mini-cart-item__name {
  display: block;
  color: var(--foreground);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  padding-right: 20px;
  padding-left: 3px;
}

.daab-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.daab-qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-grayscale);
  border-radius: 999px;
  padding: 3px;
}

.daab-qty-stepper__btn {
  position: relative;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--bg-grayscale);
  color: var(--foreground);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.daab-qty-stepper__btn:hover {
  background: var(--accent);
  color: var(--brand-blue);
}

.daab-qty-stepper__btn.is-loading {
  color: transparent;
  cursor: default;
}

.daab-qty-stepper__btn.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border: 2px solid var(--border-grayscale);
  border-top-color: var(--brand-blue);
  border-radius: 50%;
  animation: daab-qty-spin 0.6s linear infinite;
}

@keyframes daab-qty-spin {
  to {
    transform: rotate(360deg);
  }
}

/* While a quantity request is in flight, dim the whole mini-cart and block
   further clicks so rapid +/- taps can't fire overlapping requests. */
.daab-cart-drawer.is-updating-qty .widget_shopping_cart_content {
  opacity: 0.6;
  pointer-events: none;
}

.daab-qty-stepper__value {
  min-width: 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--foreground);
}

.daab-qty-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

.daab-cart-drawer .remove_from_cart_button {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--background);
  color: var(--muted-foreground);
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
}

.daab-cart-drawer .remove_from_cart_button:hover {
  background: var(--accent);
  color: var(--brand-blue);
}

.daab-cart-drawer .woocommerce-mini-cart__empty-message {
  font-size: 14px;
  color: var(--muted-foreground);
  text-align: center;
  padding: 24px 0;
}

.daab-cart-drawer .woocommerce-mini-cart__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--muted-foreground);
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--border-grayscale);
  flex: 0 0 auto;
  margin-top: 20px;
  padding-bottom: 14px;
  margin-bottom: 14px;
}
.daab-cart-drawer .woocommerce-mini-cart__total .woocommerce-Price-amount {
  font-weight: 600;
  color: #333;
}

.daab-cart-drawer .woocommerce-mini-cart__total strong {
  color: var(--foreground);
  font-weight: 600;
}

.daab-cart-drawer .woocommerce-mini-cart__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  flex: 0 0 auto;
}

.daab-cart-drawer .woocommerce-mini-cart__buttons .button {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--brand-blue);
  background: var(--card);
  color: var(--brand-blue);
}

.daab-cart-drawer .woocommerce-mini-cart__buttons .button:hover {
  background: var(--accent);
  color: var(--brand-blue);
}

.daab-cart-drawer .woocommerce-mini-cart__buttons .checkout {
  border: 0;
  background: var(--primary);
  color: #fff;
}

.daab-cart-drawer .woocommerce-mini-cart__buttons .checkout:hover {
  background: #e96a09;
  color: #fff;
}

/* =Footer
-------------------------------------------------------------- */

.daab-footer {
  background: var(--foreground);
  color: #fff;
  padding: 0;
}

.daab-footer__columns {
  max-width: 1240px;
  margin: 0 auto;
  padding: 52px 24px 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
}

.daab-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.daab-footer__brand img {
  height: 40px;
  width: auto;
  background: #fff;
  border-radius: 10px;
  padding: 6px 10px;
  align-self: flex-start;
}

.daab-footer__tagline {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-sky);
}

.daab-footer__brand p {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  max-width: 38ch;
  margin: 0;
}

.daab-footer__heading {
  font-size: 15px;
  font-weight: 700;
}

.daab-footer__explore,
.daab-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.daab-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.daab-footer__links a,
.daab-footer__contact a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.daab-footer__links a:hover,
.daab-footer__contact a:hover {
  color: var(--brand-sky);
}

.daab-footer__contact p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.daab-footer__social {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.daab-footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--brand-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.daab-footer__social a:hover {
  background: var(--primary);
  color: #fff;
}

.daab-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.daab-footer__bottom-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}
.site-content > .col-full > .woocommerce > .woocommerce-message:first-child,
.site-content > .col-full > .woocommerce > .woocommerce-info:first-child,
.site-content > .col-full > .woocommerce > .woocommerce-error:first-child {
  margin: 0 !important;
  margin-bottom: 20px !important;
}

@media (max-width: 560px) {
  .daab-footer__columns {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .col-full {
    max-width: 1240px;
  }
  .theme-storefront .storefront-breadcrumb {
    margin: 0 0 20px;
  }
}

/* =Homepage hero
-------------------------------------------------------------- */

.daab-hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 24px 8px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .daab-hero {
    padding: 20px 0 8px;
  }
}

.daab-hero__card {
  background: radial-gradient(
    120% 120% at 0% 0%,
    var(--accent) 0%,
    var(--muted) 62%,
    var(--background) 100%
  );
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}

.daab-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.daab-badge {
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.daab-badge--accent {
  background: var(--accent);
  color: var(--accent-foreground);
}

.daab-badge--orange {
  background: #fff0e2;
  color: #c25a06;
}

.daab-badge--secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.daab-hero__title {
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 800;
  line-height: 1.06;
}

.daab-hero__desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted-foreground);
  max-width: 46ch;
}

.daab-hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.daab-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.daab-btn--primary {
  background: var(--primary);
  color: #fff;
}

.daab-btn--primary:hover {
  background: #e96a09;
  color: #fff;
}

.daab-hero__note {
  font-size: 13px;
  color: var(--muted-foreground);
}

.daab-hero__art {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 420px;
  background: var(--accent);
}

.daab-hero__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .daab-hero {
    grid-template-columns: 1fr;
  }

  .daab-hero__art {
    order: -1;
    min-height: 280px;
  }
}

@media (max-width: 560px) {
  .daab-hero__cta {
    flex-direction: column;
    align-items: stretch;
  }
}

/* =Homepage shop-by-category
-------------------------------------------------------------- */

.daab-categories {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 24px 8px;
}

@media (max-width: 900px) {
  .daab-categories {
    padding: 20px 0 8px;
  }
}

.daab-categories__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.daab-categories__head h2 {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
}

.daab-scroll-nav {
  display: flex;
  gap: 8px;
}

.daab-scroll-nav__btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  font-size: 15px;
  cursor: pointer;
  padding: 0;
}

.daab-scroll-nav__btn:hover {
  background: var(--accent);
}

.daab-scroll-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 4px 0 8px;
  scrollbar-width: none;
}

.daab-scroll-track::-webkit-scrollbar {
  display: none;
}

.daab-cat-card {
  flex: 0 0 250px;
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 10px rgba(16, 49, 86, 0.05);
  text-decoration: none;
  color: inherit;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.daab-cat-card:hover {
  border-color: var(--brand-sky);
  box-shadow: 0 12px 26px rgba(16, 49, 86, 0.1);
  color: inherit;
}

.daab-cat-card__image {
  height: 140px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}

.daab-cat-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.daab-cat-card__image--accent {
  background: var(--accent);
}

.daab-cat-card__image--secondary {
  background: var(--secondary);
}

.daab-cat-card__image--muted {
  background: var(--muted);
}

.daab-cat-card__image--orange {
  background: #fff0e2;
}

.daab-cat-card__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--foreground);
}

.daab-cat-card__desc {
  font-size: 13px;
  color: var(--muted-foreground);
  display: none;
}

.woocommerce #primary,
.woocommerce-page #primary,
.woocommerce-account #primary {
  float: none;
  width: 100%;
  margin: 0;
}

/* =Homepage featured products
-------------------------------------------------------------- */

.daab-products {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 24px 8px;
}

@media (max-width: 900px) {
  .daab-products {
    padding: 20px 0 8px;
  }
}

.daab-products__head {
  margin-bottom: 22px;
}

.daab-products__head h2 {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
}

.daab-products__head p {
  font-size: 15px;
  color: var(--muted-foreground);
  margin-top: 8px;
}

.daab-products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.daab-product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(16, 49, 86, 0.05);
}

.daab-product-card:hover {
  box-shadow: 0 14px 30px rgba(16, 49, 86, 0.11);
}

.daab-product-card__image {
  display: block;
  aspect-ratio: 3.5 / 4;
  overflow: hidden;
  background: var(--accent);
}

.daab-product-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.daab-product-card__body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
  flex: 1;
}

.daab-product-card__title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  margin: 0;
}

.daab-product-card__title a {
  color: inherit;
  text-decoration: none;
}

.daab-product-card__price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.daab-product-card__price del {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted-foreground);
  margin-right: 4px;
}

.daab-product-card__cta {
  margin-top: auto;
  width: 100%;
}

.daab-product-card__cta .button {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  border: 0;
  background: var(--primary);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.daab-product-card__cta .button:hover {
  background: #e96a09;
  color: #fff;
}

.daab-products__footer {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.daab-btn-outline {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 8px;
  border: 1px solid var(--brand-blue);
  background: var(--card);
  color: var(--brand-blue);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.daab-btn-outline:hover {
  background: var(--accent);
  color: var(--brand-blue);
}

@media (max-width: 640px) {
  .daab-products__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.woocommerce .daab-products__grid,
.woocommerce-page .daab-products__grid {
  margin-top: 24px;
}

/* =Homepage why-daabology
-------------------------------------------------------------- */

.daab-why {
  margin-top: 60px;
  border-top: 1px solid var(--border);
}

.daab-why__grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 44px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
}

@media (max-width: 900px) {
  .daab-why__grid {
    padding: 20px 0 8px;
  }
}

.daab-why__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.daab-why__icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.daab-why__title {
  font-size: 16px;
  font-weight: 700;
}

.daab-why__desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* =My Account
-------------------------------------------------------------- */

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  border-bottom: 1px solid var(--border);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px 10px 0 0;
  color: var(--muted-foreground);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
  color: var(--primary);
}

.woocommerce-account table.woocommerce-orders-table,
.woocommerce-account .woocommerce-Address {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(16, 49, 86, 0.05);
}

.woocommerce-account table.woocommerce-orders-table {
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.woocommerce-account table.woocommerce-orders-table th,
.woocommerce-account table.woocommerce-orders-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.woocommerce-account table.woocommerce-orders-table tr:last-child td {
  border-bottom: 0;
}

.woocommerce-account .woocommerce-Address {
  padding: 20px;
}

.woocommerce-account .woocommerce-Address-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.woocommerce-account .woocommerce-form-row input.input-text,
.woocommerce-account .woocommerce-form-row textarea,
.woocommerce-account .woocommerce-form-row select {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  width: 100%;
}

.woocommerce-account button.woocommerce-Button,
.woocommerce-account button.button,
.woocommerce-account a.button {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  border: 0;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.woocommerce-account button.woocommerce-Button:hover,
.woocommerce-account button.button:hover,
.woocommerce-account a.button:hover {
  background: #e96a09;
  color: #fff;
}

.daab-auth {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 24px;
}

.daab-auth__panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(16, 49, 86, 0.05);
  padding: 32px;
  height: 100%;
}

.daab-auth__panel h2 {
  margin-top: 0;
  margin-bottom: 20px;
}

.woocommerce-account #customer_login.u-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  float: none;
  width: 100%;
}

.woocommerce-account #customer_login.u-columns .u-column1,
.woocommerce-account #customer_login.u-columns .u-column2 {
  float: none;
  width: 100%;
}

@media (max-width: 640px) {
  .woocommerce-account #customer_login.u-columns {
    grid-template-columns: 1fr;
  }
}

/* =Single product
-------------------------------------------------------------- */

.single-product div.product .price {
  color: var(--primary);
  font-size: 26px;
  font-weight: 700;
}

.single-product div.product .price del {
  font-size: 16px;
  font-weight: 400;
  color: var(--muted-foreground);
  opacity: 1;
  margin-right: 6px;
}

.single-product div.product .price ins {
  text-decoration: none;
}

.single-product div.product .quantity .qty {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 9px 14px;
  font-family: inherit;
}

.single-product div.product .single_add_to_cart_button,
.single-product div.product .wc-proceed-to-checkout a.button {
  background: var(--primary);
  border-radius: 8px;
  border: 0;
  color: #fff;
  padding: 12px 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.single-product div.product .single_add_to_cart_button:hover {
  background: #e96a09;
  color: #fff;
}

.single-product div.product .woocommerce-product-gallery__image {
  border-radius: 10px;
  overflow: hidden;
}

.single-product .woocommerce-tabs ul.tabs {
  border-bottom: 1px solid var(--border);
  padding-left: 0;
}

.single-product .woocommerce-tabs ul.tabs li {
  border: 0;
  background: transparent;
  margin: 0 20px 0 0;
  padding: 0;
}

.single-product .woocommerce-tabs ul.tabs li a {
  color: var(--muted-foreground);
  font-weight: 600;
  padding: 10px 0;
}

.single-product .woocommerce-tabs ul.tabs li.active a {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

.single-product .related.products h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
}

/* =Cart & Checkout (WooCommerce Blocks)
-------------------------------------------------------------- */

.wc-block-components-button.wp-element-button.contained {
  background: var(--primary);
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.wc-block-components-button.wp-element-button.contained:hover {
  background: #e96a09;
  color: #fff;
}

.wc-block-components-product-name {
  color: var(--foreground);
  font-weight: 500;
}

.wc-block-components-product-price,
.wc-block-components-product-price .price {
  color: var(--primary);
  font-weight: 700;
}

.wc-block-components-quantity-selector {
  border-color: var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.wc-block-components-quantity-selector__input {
  font-family: inherit;
}

.wc-block-components-sidebar .wc-block-components-panel,
.wc-block-cart__sidebar .wc-block-components-totals-wrapper:last-of-type,
.wc-block-checkout__sidebar .wc-block-components-totals-wrapper:last-of-type {
  background: var(--card);
}

.wc-block-cart__sidebar,
.wc-block-checkout__sidebar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(16, 49, 86, 0.05);
  padding: 20px;
}

.wc-block-cart__totals-title {
  font-size: 18px;
  font-weight: 700;
}

.wc-block-components-totals-item__label {
  font-weight: 500;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item
  .wc-block-components-totals-item__value {
  color: var(--primary);
  font-weight: 700;
}

.wc-block-components-text-input input,
.wc-blocks-components-select__select {
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  font-family: inherit;
}

.wc-block-components-text-input input:focus,
.wc-blocks-components-select__select:focus {
  border-color: var(--ring) !important;
  box-shadow: none !important;
}

.wc-block-components-radio-control__option {
  border-radius: 8px;
}

.wc-block-components-radio-control__option.wc-block-components-radio-control__option-checked {
  border-color: var(--primary);
}

.wc-block-components-radio-control__input:checked {
  border-color: var(--primary);
  background: var(--primary);
}

.wc-block-components-checkbox__input:checked
  + .wc-block-components-checkbox__mark {
  color: var(--primary);
}

.wc-block-components-totals-coupon.wc-block-components-panel {
  border-radius: 10px;
}

/* =Order received
-------------------------------------------------------------- */

.woocommerce-order-received .woocommerce-notice--success {
  background: var(--accent);
  color: var(--brand-blue);
  border: 0;
  border-radius: 10px;
  padding: 16px 20px;
}

.woocommerce-order-received .woocommerce-order-overview {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.woocommerce-order-received .woocommerce-order-overview__order strong,
.woocommerce-order-received .woocommerce-order-overview__date strong,
.woocommerce-order-received .woocommerce-order-overview__total strong,
.woocommerce-order-received .woocommerce-order-overview__payment-method strong {
  color: var(--foreground);
}

.woocommerce-order-received table.woocommerce-table--order-details {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
}

.woocommerce-order-received table.woocommerce-table--order-details th,
.woocommerce-order-received table.woocommerce-table--order-details td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.woocommerce-order-received
  table.woocommerce-table--order-details
  tfoot
  tr:last-child
  th,
.woocommerce-order-received
  table.woocommerce-table--order-details
  tfoot
  tr:last-child
  td {
  border-bottom: 0;
}

.woocommerce-order-received .daab-order-total {
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
}

.woocommerce-order-received .woocommerce-order-details__title,
.woocommerce-order-received .woocommerce-column__title {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
}
