@font-face {
  font-family: 'Open Sans';
  src: url('fonts/opensans-400.woff2') format('woff2'),
       url('fonts/opensans-400.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('fonts/opensans-600.woff2') format('woff2'),
       url('fonts/opensans-600.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('fonts/opensans-700.woff2') format('woff2'),
       url('fonts/opensans-700.woff') format('woff');
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --dc-accent: #44c7ff;
  --dc-base: #000000;
  --dc-bg: #ffffff;
  --dc-input-bg: #f6f7fa;
  --dc-border: #e5e5e5;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--dc-base);
}

/* Announcement bar */
.dc-announcement-bar {
  background: var(--dc-accent);
  color: var(--dc-base);
  text-align: center;
  font-weight: 700;
  padding: 10px 16px;
  font-size: 14px;
}

/* Header */
.dc-header {
  background: var(--dc-bg);
  border-bottom: 1px solid var(--dc-border);
}
.dc-header__row {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 20px;
  flex-wrap: wrap;
}
.dc-header__logo img { display: block; height: 34px; width: auto; }
.dc-header__search {
  flex: 1 1 320px;
  display: flex;
  align-items: center;
  background: var(--dc-input-bg);
  border-radius: 6px;
  padding: 0 12px;
}
.dc-header__search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 8px;
  font-size: 14px;
  outline: none;
}
.dc-header__search-button { border: none; background: none; cursor: pointer; display: flex; }
.dc-header__actions { display: flex; align-items: center; gap: 20px; }
.dc-header__link { color: var(--dc-base); text-decoration: none; font-size: 14px; font-weight: 600; }
.dc-header__link:hover { text-decoration: underline; }
.dc-header__cart { position: relative; display: flex; color: var(--dc-base); }
.dc-header__cart-count {
  position: absolute; top: -8px; right: -10px;
  background: var(--dc-base); color: #fff;
  font-size: 10px; font-weight: 700;
  min-width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* Nav */
.dc-nav { border-top: 1px solid var(--dc-border); }
.dc-nav__list {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: center;
  list-style: none; padding: 12px 20px; gap: 28px;
}
.dc-nav__list li a {
  color: var(--dc-base); text-decoration: none;
  font-weight: 700; font-size: 14px;
}
.dc-nav__list li a:hover { text-decoration: underline; }

/* Mega-menu (text/link grid — the original uses a Swiper.js carousel; we use a
   horizontally-scrollable CSS grid instead of pulling in Swiper for a handful of
   link lists, see note in project report). */
.dc-nav__list li.has-dropdown { position: relative; }
.dc-mega {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--dc-border);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
  border-radius: 8px;
  padding: 18px;
  z-index: 50;
  width: min(980px, 92vw);
}
.dc-nav__list li.has-dropdown:hover .dc-mega,
.dc-nav__list li.has-dropdown.is-open .dc-mega {
  display: block;
}
.dc-mega__grid {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  grid-auto-columns: 200px;
  gap: 12px 28px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 6px;
}
.dc-mega__item {
  font-size: 13px;
  font-weight: 400;
  color: var(--dc-base);
  text-decoration: none;
  white-space: normal;
  line-height: 1.35;
  scroll-snap-align: start;
}
.dc-mega__item:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .dc-mega { position: static; transform: none; width: 100%; box-shadow: none; }
}

/* Footer */
.dc-footer { background: #000; color: #fff; padding: 48px 20px 20px; margin-top: 40px; }
.dc-footer__grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px;
}
.dc-footer__col h5 { color: var(--dc-accent); margin: 0 0 14px; font-size: 15px; }
.dc-footer__col p { font-size: 13px; line-height: 1.5; color: #ccc; }
.dc-footer__col ul { list-style: none; margin: 0; padding: 0; }
.dc-footer__col ul li { margin-bottom: 10px; }
.dc-footer__col ul li a { color: #fff; text-decoration: none; font-size: 13px; }
.dc-footer__col ul li a:hover { text-decoration: underline; }
.dc-footer__col--legal p { font-size: 11px; color: #999; }
.dc-footer__bottom {
  max-width: 1200px; margin: 32px auto 0; padding-top: 20px;
  border-top: 1px solid #333; font-size: 12px; color: #999;
}

@media (max-width: 900px) {
  .dc-footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .dc-header__row { flex-direction: column; align-items: stretch; }
  .dc-nav__list { gap: 16px; overflow-x: auto; justify-content: flex-start; }
  .dc-footer__grid { grid-template-columns: 1fr; }
}

/* Home hero */
.dc-hero {
  background-size: cover;
  background-position: center;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.dc-hero__overlay {
  text-align: left;
  max-width: 520px;
  padding: 0 8% 0 0;
}
.dc-hero__heading { font-size: 64px; line-height: 1; font-weight: 800; color: #000; margin: 0 0 16px; }
.dc-hero__sub { font-size: 16px; margin: 0 0 8px; color: #000; }
.dc-hero__stars { font-size: 15px; margin: 0 0 20px; color: #000; }
.dc-hero__cta {
  display: inline-block; background: #000; color: #fff;
  padding: 18px 48px; font-weight: 700; font-size: 17.6px; text-decoration: none; border-radius: 8px;
  text-transform: uppercase;
}
.dc-hero__cta:hover { background: #222; color: #fff; }

.dc-featured { max-width: 1200px; margin: 48px auto; padding: 0 20px; }
.dc-featured__heading { font-size: 26px; font-weight: 800; margin-bottom: 20px; }
.dc-featured__head { display: flex; align-items: center; justify-content: space-between; }
.dc-featured__head .dc-featured__heading { margin-bottom: 20px; }

button.dc-carousel-next {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; min-width: 36px; max-width: 36px; padding: 0;
  border-radius: 50%; border: 1px solid #ddd;
  background: #fff; color: #000; font-size: 22px; font-weight: 700; line-height: 1;
  cursor: pointer; flex: 0 0 36px; margin-top: -12px; box-shadow: none;
}
button.dc-carousel-next:hover { background: #f2f2f2; color: #000; }

ul.products.dc-carousel {
  display: flex !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 24px;
  -webkit-overflow-scrolling: touch;
}
ul.products.dc-carousel li.product {
  flex: 0 0 260px;
  scroll-snap-align: start;
}
ul.products.dc-carousel::-webkit-scrollbar { height: 6px; }
ul.products.dc-carousel::-webkit-scrollbar-thumb { background: #ddd; border-radius: 3px; }

.dc-explore-brands { max-width: 1200px; margin: 40px auto; padding: 0 20px; }
.dc-explore-brands__row {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.dc-explore-brands__item {
  flex: 0 0 96px;
  text-align: center;
  text-decoration: none;
  color: inherit;
}
.dc-explore-brands__thumb {
  display: block;
  width: 96px; height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: #eaf6ff;
  margin: 0 auto 10px;
}
.dc-explore-brands__thumb img { width: 100%; height: 100%; object-fit: cover; }
.dc-explore-brands__label { font-size: 13px; font-weight: 600; line-height: 1.3; display: block; }

@media (max-width: 600px) {
  .dc-hero { min-height: 360px; }
  .dc-hero__overlay { padding: 24px; }
  .dc-hero__heading { font-size: 32px; }
}

/* Fix Astra's flex container (designed for content+sidebar) breaking full-width sections */
#page #content .ast-container { display: block !important; max-width: 100%; }
.ast-container > * { max-width: 100%; }
.dc-featured, .dc-product, .dc-archive { width: 100%; }

/* ============================================================
   Product cards (used on home featured grid + archive/collection)
   ============================================================ */
.dc-product-card,
ul.products li.product {
  position: relative;
}
ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0 0 32px !important;
  padding: 0;
}
ul.products li.product {
  margin: 0 !important;
  text-align: left;
}
ul.products li.product a.woocommerce-LoopProduct-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
ul.products li.product img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}
ul.products li.product .woocommerce-loop-product__title {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--dc-base) !important;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
ul.products li.product .price {
  font-size: 17.6px !important;
  color: var(--dc-base) !important;
  margin-bottom: 10px;
  display: block;
}
ul.products li.product .price del {
  color: #999 !important;
  opacity: 1;
  font-weight: 400 !important;
  font-size: 0.85em;
  margin-right: 8px;
}
ul.products li.product .price ins {
  text-decoration: none;
  font-weight: 700 !important;
  color: var(--dc-base) !important;
}
ul.products li.product .onsale {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--dc-accent);
  color: var(--dc-base);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  min-height: 0;
  min-width: 0;
  line-height: 1.4;
}
ul.products li.product a.button,
ul.products li.product .added_to_cart {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--dc-base);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
}
ul.products li.product a.button:hover { background: #222; color: #fff; }

@media (max-width: 900px) {
  ul.products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  ul.products { grid-template-columns: 1fr 1fr; gap: 14px; }
}

/* ============================================================
   Single product page
   ============================================================ */
.dc-product { max-width: 1200px; margin: 0 auto; padding: 24px 20px 60px; }
.dc-breadcrumb { font-size: 13px; color: #666; margin-bottom: 20px; }
.dc-breadcrumb a { color: #666; text-decoration: none; }
.dc-breadcrumb a:hover { text-decoration: underline; }
.dc-breadcrumb__sep { margin: 0 6px; color: #aaa; }

.dc-product__badge {
  display: inline-block;
  background: var(--dc-accent);
  color: var(--dc-base);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.dc-rating { display: flex; align-items: center; gap: 8px; margin: 10px 0; }
.dc-rating__stars { display: inline-flex; gap: 2px; color: #d8d8d8; font-size: 16px; line-height: 1; }
.dc-rating__stars .is-filled { color: #0e8ae1; }
.dc-rating__count { font-size: 13px; color: #666; }

/* Quantity stepper (+/- injected by deltacloudz.js around WooCommerce's .qty input) */
.quantity.dc-qty-ready {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--dc-border);
  border-radius: 4px;
  overflow: hidden;
  vertical-align: middle;
  margin-right: 12px;
}
.quantity.dc-qty-ready .qty {
  width: 48px;
  border: none;
  text-align: center;
  padding: 0;
  -moz-appearance: textfield;
}
.quantity.dc-qty-ready .qty::-webkit-inner-spin-button,
.quantity.dc-qty-ready .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.dc-qty__btn {
  width: 34px;
  border: none;
  background: #f6f7fa;
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
}
.dc-qty__btn:hover { background: #eceef2; }

.dc-product__cta-row { display: flex; align-items: stretch; gap: 0; margin: 20px 0; flex-wrap: wrap; }

.dc-trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 22px 0;
  padding: 18px 0;
  border-top: 1px solid var(--dc-border);
  border-bottom: 1px solid var(--dc-border);
  text-align: center;
}
.dc-trust-bar__item { font-size: 12px; color: #333; }
.dc-trust-bar__icon { font-size: 20px; display: block; margin-bottom: 6px; }
.dc-trust-bar__item a { color: var(--dc-base); text-decoration: underline; }

.dc-delivery {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--dc-border);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 13px;
  color: #333;
  margin: 16px 0;
}
.dc-delivery__icon { font-size: 18px; }

.dc-cross-sells { margin: 40px 0 0; }
.dc-cross-sells h2 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.dc-cross-sells__subtitle { font-size: 13px; color: #666; margin: 0 0 16px; }
.dc-cross-sells__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.dc-cross-sells__list li { border: 1px solid var(--dc-border); border-radius: 8px; padding: 12px; text-align: center; }
.dc-cross-sells__list img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 6px; margin-bottom: 8px; }
.dc-cross-sells__list .price { font-size: 13px; display: block; margin: 4px 0 10px; }
.dc-cross-sells__list a.button {
  display: inline-block; background: var(--dc-base); color: #fff; text-decoration: none;
  padding: 8px 18px; border-radius: 4px; font-size: 12px; font-weight: 700;
}

.dc-product__layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}
.dc-product__gallery img {
  width: 100%;
  border-radius: 12px;
  display: block;
}
.dc-product__gallery .flex-control-thumbs {
  display: flex;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.dc-product__gallery .flex-control-thumbs li { width: 72px; }
.dc-product__gallery .flex-control-thumbs img {
  border-radius: 8px;
  border: 1px solid var(--dc-border);
  cursor: pointer;
}

.dc-product__title { font-size: 28px; font-weight: 800; margin: 0 0 12px; }
.dc-product__price .price { font-size: 22px; font-weight: 700; }
.dc-product__price .price del { color: #999; font-weight: 400; font-size: 16px; margin-right: 10px; }
.dc-product__price .price ins { text-decoration: none; color: var(--dc-base); }

.dc-product__stock { display: flex; align-items: center; gap: 8px; margin: 14px 0; font-size: 14px; }
.dc-stock-dot { width: 8px; height: 8px; border-radius: 50%; background: #2eb872; display: inline-block; }

.dc-product__cart { margin: 20px 0; }
.dc-product__cart .quantity { display: inline-block; margin-right: 12px; vertical-align: middle; }
.dc-product__cart .quantity .qty {
  width: 64px;
  padding: 12px 10px;
  border: 1px solid var(--dc-border);
  border-radius: 4px;
  font-size: 14px;
}
.dc-product__cart .single_add_to_cart_button,
.dc-product__cart button[type="submit"] {
  background: var(--dc-base);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 14px 40px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  vertical-align: middle;
}
.dc-product__cart .single_add_to_cart_button:hover { background: #222; }
.dc-product__cart table.variations { width: 100%; margin-bottom: 16px; }
.dc-product__cart table.variations td { padding: 6px 0; }
.dc-product__cart table.variations select {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--dc-border);
  border-radius: 4px;
}

.dc-product__excerpt { font-size: 14px; color: #444; line-height: 1.6; margin: 16px 0; }
.dc-product__excerpt p:last-child { margin-bottom: 0; }

.dc-product__description { max-width: 900px; margin: 48px auto 0; border-top: 1px solid var(--dc-border); padding-top: 32px; }
.dc-product__description h2 { font-size: 20px; font-weight: 800; margin-bottom: 16px; }
.dc-product__description { font-size: 14px; line-height: 1.7; color: #333; }

.dc-product__related { max-width: 1200px; margin: 56px auto 0; }
.dc-product__related h2 { font-size: 22px; font-weight: 800; margin-bottom: 20px; }

@media (max-width: 900px) {
  .dc-product__layout { grid-template-columns: 1fr; gap: 24px; }
  .dc-product { padding: 16px 16px 40px; }
}

/* ============================================================
   Archive / collection page
   ============================================================ */
.dc-archive { max-width: 1200px; margin: 0 auto; padding: 24px 20px 60px; }
.dc-archive__header { text-align: center; margin-bottom: 28px; }
.dc-archive__title { font-size: 30px; font-weight: 800; margin: 0 0 8px; }
.dc-archive__header .term-description { font-size: 14px; color: #555; max-width: 700px; margin: 0 auto; }

.dc-archive__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--dc-border);
  font-size: 13px;
  color: #666;
}
.dc-archive__sort select {
  padding: 8px 10px;
  border: 1px solid var(--dc-border);
  border-radius: 4px;
  font-size: 13px;
}

.dc-archive__pagination { margin-top: 24px; text-align: center; }
.dc-archive__pagination .page-numbers {
  display: inline-flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.dc-archive__pagination .page-numbers li { display: inline-block; }
.dc-archive__pagination a.page-numbers,
.dc-archive__pagination span.page-numbers {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--dc-border);
  border-radius: 4px;
  text-decoration: none;
  color: var(--dc-base);
  font-size: 13px;
}
.dc-archive__pagination span.page-numbers.current {
  background: var(--dc-base);
  color: #fff;
  border-color: var(--dc-base);
}

@media (max-width: 600px) {
  .dc-archive__toolbar { flex-direction: column; align-items: flex-start; gap: 10px; }
}

.dc-archive__promo {
  background: var(--dc-base);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 28px;
  text-align: center;
}
.dc-archive__promo-heading { color: var(--dc-accent); font-weight: 800; font-size: 18px; margin: 0 0 14px; }
.dc-archive__promo-tiers {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  color: #fff;
  font-size: 13px;
}
.dc-archive__promo-tiers strong { display: block; font-size: 15px; margin-top: 4px; }

.dc-archive__body { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: flex-start; }
.dc-archive__filters { border: 1px solid var(--dc-border); border-radius: 8px; padding: 16px; }
.dc-archive__filters h3 { font-size: 14px; font-weight: 800; margin: 0 0 12px; }
.dc-archive__filters label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; margin-bottom: 8px; cursor: pointer;
}
.dc-archive__filters-reset { display: inline-block; margin-top: 8px; font-size: 12px; color: #666; }

.dc-archive__body ul.products { grid-template-columns: repeat(5, 1fr) !important; }

@media (max-width: 1100px) {
  .dc-archive__body ul.products { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 900px) {
  .dc-archive__body { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .dc-archive__body ul.products { grid-template-columns: 1fr 1fr !important; }
}

/* ============================================================
   Home — promo banner grids (category + brand)
   ============================================================ */
.dc-promo-grid { max-width: 1200px; margin: 40px auto; padding: 0 20px; }
.dc-promo-grid__heading { font-size: 22px; font-weight: 800; margin-bottom: 18px; }
.dc-promo-grid__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.dc-promo-grid__row a { display: block; border-radius: 10px; overflow: hidden; }
.dc-promo-grid__row img { display: block; width: 100%; height: auto; }

/* ============================================================
   Age verification (21+) — ported from live Shopify popup,
   same cookie name/behavior so returning visitors aren't re-prompted.
   ============================================================ */
#dc-age-verification {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(40, 40, 40, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#dc-age-verification.dc-age-hidden { display: none; }
.dc-age-box {
  background: #fff;
  border-radius: 8px;
  padding: 45px;
  max-width: 420px;
  width: 100%;
  text-align: center;
}
.dc-age-title { display: block; font-size: 28px; font-weight: 800; margin-bottom: 10px; }
.dc-age-text { display: block; font-size: 15px; margin-bottom: 24px; color: #333; }
.dc-age-actions { display: flex; gap: 12px; justify-content: center; }
.dc-age-actions button {
  flex: 1;
  padding: 12px 0;
  border: none;
  border-radius: 4px;
  background: var(--dc-base);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.dc-age-actions button.dc-age-no { background: #eee; color: var(--dc-base); }
body.dc-age-locked { overflow: hidden; }

@media (min-width: 768px) {
  .dc-age-title { font-size: 34px; }
}
@media (max-width: 480px) {
  .dc-age-box { padding: 25px; }
}

/* Accessibility: visible keyboard focus (A11Y.md requirement) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.dc-hero__cta:focus-visible,
.add_to_cart_button:focus-visible,
input[type="submit"]:focus-visible {
  outline: 2px solid #0e8ae1 !important;
  outline-offset: 2px !important;
}
.dc-header__search-input:focus-visible {
  outline: 2px solid #0e8ae1 !important;
  outline-offset: -2px !important;
}

/* ==========================================================================
   Blog (dc-post, dc-blog, dc-author)
   ========================================================================== */

.dc-post,
.dc-blog,
.dc-author {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 20px 64px;
}

.dc-blog { max-width: 1200px; }

.dc-post__breadcrumb,
.dc-blog__breadcrumb { margin-bottom: 16px; }

.dc-post__header { text-align: center; margin-bottom: 32px; }

.dc-post__title,
.dc-blog__title,
.dc-author__name {
  font-family: 'Open Sans', sans-serif;
  font-weight: 800;
  color: #000;
  margin: 0 0 16px;
}

.dc-post__title { font-size: 40px; line-height: 1.15; }
.dc-blog__title { font-size: 40px; text-align: center; }

.dc-post__meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 24px;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: #444;
}

.dc-post__meta a { color: #0e8ae1; text-decoration: none; }
.dc-post__meta-label { font-weight: 600; color: #000; margin-right: 4px; }

.dc-post__meta-divider {
  margin: 20px 0 24px;
  border: none;
  border-top: 1px solid #e2e2e2;
}

.dc-post__layout {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 32px 0;
}

.dc-post__sidebar {
  flex: 0 0 280px;
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 110px;
}

.dc-post__main {
  flex: 1;
  min-width: 0;
}

.dc-post__hero {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
}

.dc-post__hero img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

@media (max-width: 900px) {
  .dc-post__layout {
    flex-direction: column;
  }

  .dc-post__sidebar {
    position: static;
    flex-direction: row;
    width: 100%;
    flex: 1 1 auto;
  }

  .dc-post__sidebar .dc-post__promo-card {
    flex: 1;
  }
}

@media (max-width: 700px) {
  .dc-post__sidebar {
    flex-direction: column;
  }
}

.dc-post__promo-card {
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
  flex: 1;
}

.dc-post__promo-card--dark {
  background: #000;
  color: #fff;
  align-items: center;
  text-align: center;
}

.dc-post__promo-title {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.02em;
}

.dc-post__promo-card--light {
  background: #eaf7ff;
}

.dc-post__promo-card--light h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.dc-post__promo-card--light p {
  margin: 0;
  font-size: 14px;
  color: #333;
}

.dc-post__content {
  font-size: 16px;
  line-height: 1.7;
  color: #222;
}

.dc-post__content h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 40px 0 16px;
  color: #000;
}

.dc-post__content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 28px 0 12px;
  color: #000;
}

.dc-post__content p { margin: 0 0 16px; }

.dc-post__author {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin: 48px 0;
  padding: 24px;
  background: #f7f7f7;
  border-radius: 8px;
}

.dc-post__author-avatar {
  flex-shrink: 0;
}

.dc-post__author-avatar img {
  border-radius: 50% !important;
  object-fit: cover !important;
  width: 96px !important;
  height: 96px !important;
  max-width: 96px !important;
  display: block;
}

.dc-post__author-info p {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  margin: 8px 0;
}

.dc-post__author-link {
  color: #0e8ae1;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}

.dc-post__related-title,
.dc-author__posts-title {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 20px;
  color: #000;
}

.dc-post__related-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0;
  margin: 0 0 40px;
}

@media (max-width: 900px) {
  .dc-post__related-list { grid-template-columns: repeat(2, 1fr); }
}

.dc-post__related-list li a {
  text-decoration: none;
  color: #000;
  display: block;
}

.dc-post__related-list img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 8px;
}

.dc-post__related-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.dc-post__back {
  display: inline-block;
  color: #0e8ae1;
  font-weight: 700;
  text-decoration: none;
}

.dc-blog__grid,
.dc-author__posts .dc-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}

@media (max-width: 900px) {
  .dc-blog__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .dc-blog__grid { grid-template-columns: 1fr; }
}

.dc-blog__card-image {
  display: block;
  aspect-ratio: 1 / 1;
  background: #f2f2f2;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}

.dc-blog__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dc-blog__card-meta {
  list-style: none;
  display: flex;
  gap: 12px;
  padding: 0;
  margin: 0 0 8px;
  font-size: 13px;
  color: #666;
}

.dc-blog__card-meta a { color: #0e8ae1; text-decoration: none; }

.dc-blog__card-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  color: #000;
}

.dc-blog__card-title a { color: inherit; text-decoration: none; }

.dc-blog__pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.dc-author__header {
  text-align: center;
  margin-bottom: 48px;
}

.dc-author__avatar img {
  border-radius: 50% !important;
  object-fit: cover !important;
  width: 140px !important;
  height: 140px !important;
  max-width: 140px !important;
  margin: 0 auto 16px;
  display: block;
}

.dc-author__bio {
  max-width: 640px;
  margin: 0 auto;
  color: #444;
  line-height: 1.6;
}

/* [dc_promo_banner] inline blog banner */
.dc-blog-promo-banner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  grid-template-rows: 1fr auto;
  align-items: center;
  background: #eaf7ff;
  border: 1px solid #d5edfa;
  border-radius: 8px;
  overflow: hidden;
  margin: 32px 0;
}

.dc-blog-promo-banner__media {
  grid-row: 1 / 2;
  grid-column: 1 / 2;
}

.dc-blog-promo-banner__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dc-blog-promo-banner__body {
  grid-row: 1 / 2;
  grid-column: 2 / 3;
  padding: 24px 32px;
}

.dc-blog-promo-banner__heading {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 800;
  color: #000;
  line-height: 1.15;
}

.dc-blog-promo-banner__subheading {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #333;
}

.dc-blog-promo-banner__cta {
  grid-row: 2 / 3;
  grid-column: 1 / -1;
  display: block;
  background: #000;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 14px;
}

@media (max-width: 700px) {
  .dc-blog-promo-banner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .dc-blog-promo-banner__media { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 16/9; }
  .dc-blog-promo-banner__body { grid-column: 1 / -1; grid-row: 2; }
  .dc-blog-promo-banner__cta { grid-row: 3; }
}

/* Compact 2-up WooCommerce product cards embedded inline in blog content */
.dc-post__content ul.products {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  list-style: none;
  margin: 28px 0 !important;
  padding: 0 !important;
}

.dc-post__content ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  padding: 16px !important;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  text-align: center;
  float: none !important;
}

.dc-post__content ul.products li.product img {
  border-radius: 4px;
  margin-bottom: 12px !important;
}

.dc-post__content ul.products li.product .woocommerce-loop-product__title {
  font-size: 15px !important;
  font-weight: 600;
  margin-bottom: 6px !important;
}

.dc-post__content ul.products li.product .price {
  display: block;
  margin-bottom: 10px !important;
}

.dc-post__content ul.products li.product .button {
  background: #000 !important;
  color: #fff !important;
  border-radius: 4px !important;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 13px !important;
  padding: 10px 14px !important;
}

@media (max-width: 600px) {
  .dc-post__content ul.products { grid-template-columns: 1fr; }
}

/* === COLLECTION FIXES: category description + read more === */
.dc-archive__description {
  max-width: 900px;
  color: #444;
  font-size: 15px;
  line-height: 1.6;
  margin: 4px 0 20px;
  position: relative;
  max-height: 3.2em;
  overflow: hidden;
}
.dc-archive__description.dc-archive__description--expanded {
  max-height: none;
}
.dc-archive__description-toggle {
  display: inline-block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dc-accent, #0e8ae1);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

/* === BLOG FIXES (2026-09-27) === */

/* Sidebar promo hero: image + absolute-positioned overlay text, replacing the flat black CTA */
.dc-post__promo-hero {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: #000;
  min-height: 200px;
}

.dc-post__promo-hero img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  display: block;
  opacity: 0.55;
}

.dc-post__promo-hero-text {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dc-post__promo-hero-text strong {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
}

.dc-post__promo-hero-text em {
  font-style: normal;
  font-size: 12px;
  opacity: 0.9;
}

.dc-post__promo-hero-cta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
  color: #fff;
  text-align: center;
  padding: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 15px;
}

/* Embedded product cards inline in blog content: edge-to-edge image, full-width CTA bar, no category label */
.dc-post__content ul.products li.product {
  padding: 0 !important;
  overflow: hidden;
}

.dc-post__content ul.products li.product .astra-shop-thumbnail-wrap {
  position: relative;
  display: block;
}

.dc-post__content ul.products li.product .astra-shop-thumbnail-wrap .ast-on-card-button {
  display: none !important;
}

.dc-post__content ul.products li.product img {
  border-radius: 0;
  margin-bottom: 0 !important;
  width: 100%;
  display: block;
}

.dc-post__content ul.products li.product .ast-woo-product-category {
  display: none !important;
}

.dc-post__content ul.products li.product .astra-shop-summary-wrap {
  padding: 14px 16px 16px;
  display: block;
}

.dc-post__content ul.products li.product .woocommerce-loop-product__title,
.dc-post__content ul.products li.product .price {
  padding: 0 2px;
}

.dc-post__content ul.products li.product .button {
  display: block !important;
  width: 100% !important;
  border-radius: 0 !important;
  margin-top: 12px !important;
  padding: 14px !important;
}
/* === STATIC PAGES (About/Contact/Terms/Privacy) FIXES === */
.dc-page { max-width: 1200px; margin: 0 auto; padding: 24px 20px 60px; }
.dc-page__breadcrumb { margin-bottom: 16px; }
.dc-page__title { font-size: 32px; font-weight: 800; margin: 0 0 24px; }
.dc-page__content { max-width: 800px; margin: 0 auto; font-size: 16px; line-height: 1.7; color: #333; }
.dc-page__content h2 { font-size: 22px; font-weight: 700; margin: 32px 0 12px; }
.dc-page__content p { margin: 0 0 16px; }

.dc-contact-form { max-width: 560px; margin: 40px auto 0; padding: 32px; border: 1px solid var(--dc-border, #e2e2e2); border-radius: 8px; }
.dc-contact-form__notice { padding: 12px 16px; border-radius: 6px; margin-bottom: 20px; font-size: 14px; }
.dc-contact-form__notice--success { background: #e6f6ea; color: #1a7a34; border: 1px solid #b7e4c2; }
.dc-contact-form__notice--error { background: #fdecea; color: #b3261e; border: 1px solid #f5c2be; }
.dc-contact-form__field { margin-bottom: 18px; }
.dc-contact-form__label { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: #222; }
.dc-contact-form__label svg { flex-shrink: 0; color: #0e8ae1; }
.dc-contact-form__field input,
.dc-contact-form__field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--dc-border, #d8d8d8);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  box-sizing: border-box;
}
.dc-contact-form__field textarea { min-height: 120px; resize: vertical; }
.dc-contact-form__submit {
  width: 100%;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
}
.dc-contact-form__submit:hover { background: #222; }
.dc-contact-form__submit:focus-visible { outline: 2px solid #0e8ae1; outline-offset: 2px; }

@media (max-width: 600px) {
  .dc-page__title { font-size: 26px; }
  .dc-contact-form { padding: 20px; }
}
