/* Bazar Chalo — storefront styles matching the archived Dawn + PageFly design. */

:root {
  --bc-header: #242833;
  --bc-gold: #f6c567;
  --bc-orange: #f89828;
  --bc-cta-hover: #475d39;
  --bc-heading: #16221f;
  --bc-ink: #111213;
  --bc-price: #475d39;
  --bc-sale: #6f9755;
  --bc-lime: #b4ed7b;
  --bc-section: #f6f8f7;
  --bc-whatsapp: #25d366;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Assistant, sans-serif;
  color: var(--bc-ink);
  background: #fff;
}

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

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* -------------------------------------------------------------------------- */
/* Announcement + header                                                       */
/* -------------------------------------------------------------------------- */

.bc-announcement {
  background: #fff;
  color: #121212;
  border-bottom: 1px solid #e6e6e6;
  padding: 8px 16px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.bc-announcement p {
  margin: 0;
}

.bc-header {
  background: var(--bc-header);
  color: #fff;
}

.bc-header .wp-block-group,
.bc-header-inner {
  background: var(--bc-header);
}

.bc-header a,
.bc-header .wp-block-navigation-item__content,
.bc-header .wp-block-navigation-item__label,
.bc-header .wp-block-site-title a {
  color: #fff !important;
  text-decoration: none;
}

.bc-header .wp-block-navigation-item__content:hover,
.bc-header a:hover {
  color: var(--bc-gold) !important;
}

.bc-header .custom-logo,
.bc-header .wp-block-site-logo img {
  height: 56px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.bc-header .wp-block-navigation {
  font-family: Assistant, sans-serif;
  font-size: 15px;
  gap: 0.15rem 0.9rem;
}

.bc-header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.bc-header .wp-block-search__inside-wrapper,
.bc-header .wp-block-search {
  color: #fff;
}

.bc-header .wp-block-search__input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  min-width: 0;
  width: 140px;
  padding: 4px 8px;
  font-size: 13px;
}

.bc-header .wp-block-search__input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.bc-header .wp-block-search__button,
.bc-header .wc-block-product-search__button {
  background: transparent;
  color: #fff;
  padding: 4px;
  box-shadow: none;
  border-radius: 0;
}

.bc-header .wc-block-customer-account,
.bc-header .wc-block-mini-cart {
  color: #fff;
}

.bc-header .wc-block-mini-cart__button,
.bc-header .wp-block-woocommerce-customer-account a {
  color: #fff !important;
}

.bc-header .wp-block-navigation__responsive-container-open,
.bc-header .wp-block-navigation__responsive-container-close {
  color: #fff;
}

@media (max-width: 781px) {
  .bc-header .wp-block-search__input {
    width: 0;
    padding: 0;
    border: 0;
    position: absolute;
    overflow: hidden;
  }

  .bc-header .custom-logo,
  .bc-header .wp-block-site-logo img {
    height: 48px;
  }
}

/* -------------------------------------------------------------------------- */
/* Homepage banners                                                            */
/* -------------------------------------------------------------------------- */

.bc-hero,
.bc-flash {
  margin: 0;
  padding: 0;
}

.bc-hero a,
.bc-flash a {
  display: block;
  line-height: 0;
}

.bc-hero img,
.bc-flash img,
.bc-hero figure,
.bc-flash figure {
  margin: 0;
  width: 100%;
  height: auto;
  display: block;
}

.bc-hero picture img,
.bc-hero-picture img {
  width: 100%;
  height: auto;
  display: block;
}

/* -------------------------------------------------------------------------- */
/* Just For You + product cards                                                */
/* -------------------------------------------------------------------------- */

.bc-just-for-you-section,
.bc-collections-section {
  background: var(--bc-section);
}

.bc-section-title,
.bc-just-for-you-section h2,
.bc-collections-section h2,
.bc-journey-section h2,
.bc-newsletter-section h2 {
  font-family: Manrope, sans-serif;
  font-weight: 700;
  color: var(--bc-heading);
  text-align: center;
  margin: 0 0 1.5rem;
  line-height: 1.3;
  font-size: clamp(1.625rem, 3vw, 2.75rem);
}

.bc-just-for-you .wc-block-product,
.bc-just-for-you .wc-block-product-template__product,
.bc-just-for-you li.wc-block-product,
.woocommerce ul.products li.product {
  text-align: center;
}

.bc-just-for-you .wc-block-components-product-image,
.woocommerce ul.products li.product img,
.bc-just-for-you img {
  border-radius: 16px;
}

.woocommerce span.onsale,
.wc-block-components-product-sale-badge,
.wp-block-woocommerce-product-sale-badge span,
.bc-just-for-you .onsale {
  background: var(--bc-sale) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 8px !important;
  font-family: Manrope, sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 4px 16px !important;
  text-transform: uppercase;
}

.wc-block-components-product-price,
.woocommerce div.product p.price,
.woocommerce ul.products li.product .price {
  color: var(--bc-price);
  font-family: Manrope, sans-serif;
  font-weight: 700;
  font-size: 18px;
}

.woocommerce .price del,
.wc-block-components-product-price del {
  font-weight: 400;
  font-size: 14px;
  color: var(--bc-price);
  opacity: 0.8;
}

.wp-block-button.wc-block-components-product-button .wp-block-button__link,
.wp-block-woocommerce-product-button .wp-block-button__link,
.woocommerce ul.products li.product .button,
.woocommerce div.product form.cart .button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wp-element-button {
  background: var(--bc-gold) !important;
  color: var(--bc-ink) !important;
  font-family: Manrope, sans-serif !important;
  font-weight: 700 !important;
  border-radius: 32px !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 12px 32px !important;
}

.wp-block-button.wc-block-components-product-button .wp-block-button__link:hover,
.wp-block-woocommerce-product-button .wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.wp-element-button:hover {
  background: var(--bc-cta-hover) !important;
  color: #fff !important;
}

/* -------------------------------------------------------------------------- */
/* Bestseller promo                                                            */
/* -------------------------------------------------------------------------- */

.bc-bestseller {
  position: relative;
  background-color: #1a1a1a;
  background-image: url("../images/banner-bestseller.jpg");
  background-size: cover;
  background-position: center;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.bc-bestseller__card {
  background: rgba(0, 0, 0, 0.75);
  border-radius: 16px;
  padding: 32px 40px;
  max-width: 640px;
  color: #fff;
}

.bc-bestseller__card h2,
.bc-bestseller__card p,
.bc-bestseller__kicker {
  color: #fff;
  font-family: Manrope, sans-serif;
}

.bc-bestseller__kicker {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.bc-bestseller__card h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.bc-bestseller__card p {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.bc-bestseller__card .wp-element-button,
.bc-bestseller__card a.bc-btn {
  display: inline-block;
  background: var(--bc-gold);
  color: var(--bc-ink);
  font-family: Manrope, sans-serif;
  font-weight: 700;
  font-size: 18px;
  padding: 12px 32px;
  border-radius: 32px;
  text-decoration: none;
}

.bc-bestseller__card a.bc-btn:hover {
  background: var(--bc-cta-hover);
  color: #fff;
}

/* -------------------------------------------------------------------------- */
/* Collection tiles                                                            */
/* -------------------------------------------------------------------------- */

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

.bc-collections a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--bc-heading);
}

.bc-collections img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 12px;
}

.bc-collections span {
  font-family: Manrope, sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  line-height: 1.3;
  color: var(--bc-heading);
}

@media (max-width: 900px) {
  .bc-collections {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .bc-collections {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* -------------------------------------------------------------------------- */
/* Journey + newsletter                                                        */
/* -------------------------------------------------------------------------- */

.bc-journey-section {
  background: var(--bc-ink);
  color: #fff;
}

.bc-journey-section h2,
.bc-journey-section p {
  color: #fff;
}

.bc-journey-section p {
  font-size: 1.05rem;
  line-height: 1.7;
}

.bc-newsletter-section {
  position: relative;
  background-color: var(--bc-ink);
  background-image: url("../images/bg-tableware.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.bc-newsletter-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.bc-newsletter-section > * {
  position: relative;
  z-index: 1;
}

.bc-newsletter-section h2,
.bc-newsletter-section p {
  color: #fff;
  text-align: center;
  font-family: Manrope, sans-serif;
}

.bc-newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 640px;
  margin: 1.5rem auto 0;
  flex-wrap: wrap;
  justify-content: center;
}

.bc-newsletter-form input[type="email"],
.bc-contact-form input,
.bc-contact-form textarea {
  flex: 1 1 240px;
  border: 0;
  border-radius: 32px;
  background: #f0f0f0;
  padding: 12px 24px;
  font-family: Manrope, sans-serif;
  font-size: 18px;
  color: var(--bc-ink);
}

.bc-newsletter-form button,
.bc-contact-form button,
a.bc-btn {
  background: var(--bc-gold);
  color: var(--bc-ink);
  font-family: Manrope, sans-serif;
  font-weight: 700;
  font-size: 18px;
  padding: 12px 32px;
  border-radius: 32px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.bc-newsletter-form button:hover,
.bc-contact-form button:hover,
a.bc-btn:hover {
  background: var(--bc-cta-hover);
  color: #fff;
}

.bc-form-notice {
  text-align: center;
  margin-top: 1rem;
  font-weight: 700;
}

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

.bc-footer {
  background: var(--bc-header);
  color: #fff;
}

.bc-footer a {
  color: #fff;
  text-decoration: none;
}

.bc-footer a:hover {
  color: var(--bc-gold);
}

.bc-footer h2,
.bc-footer h3,
.bc-footer .wp-block-heading {
  color: #fff;
  font-family: Manrope, sans-serif;
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
}

.bc-footer p,
.bc-footer li {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.bc-footer .bc-footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.bc-social {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.bc-social a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #fff;
}

.bc-social a:hover {
  background: var(--bc-gold);
  color: var(--bc-ink);
  border-color: var(--bc-gold);
}

.bc-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* -------------------------------------------------------------------------- */
/* Floating WhatsApp                                                           */
/* -------------------------------------------------------------------------- */

.bc-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--bc-whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  text-decoration: none;
}

.bc-whatsapp:hover {
  color: #fff;
  transform: scale(1.06);
}

.bc-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}


/* -------------------------------------------------------------------------- */
/* Related products (classic WooCommerce loop via [bazarchalo_related])        */
/* -------------------------------------------------------------------------- */

.bc-related-products {
  margin-top: 48px;
}

.bc-related-products .related.products > h2,
.bc-related-products > .related > h2 {
  font-family: Manrope, sans-serif;
  font-weight: 700;
  color: var(--bc-heading);
  text-align: center;
  margin: 0 0 1.5rem;
  line-height: 1.3;
  font-size: clamp(1.625rem, 3vw, 2.75rem);
}

.bc-related-products ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

.bc-related-products ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  text-align: center;
  padding: 0;
}

.bc-related-products ul.products li.product a {
  text-decoration: none;
}

.bc-related-products ul.products li.product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 12px;
}

.bc-related-products ul.products li.product .woocommerce-loop-product__title,
.bc-related-products ul.products li.product h2,
.bc-related-products ul.products li.product h3 {
  font-family: Assistant, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--bc-heading);
  margin: 0 0 8px;
  padding: 0;
}

.bc-related-products ul.products li.product .price {
  display: block;
  margin: 0 0 12px;
}

.bc-related-products ul.products li.product .button {
  display: inline-block;
  width: auto;
  min-width: 70%;
}

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

@media (max-width: 600px) {
  .bc-related-products ul.products {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

/* -------------------------------------------------------------------------- */
/* WooCommerce pages                                                           */
/* -------------------------------------------------------------------------- */

.woocommerce-breadcrumb,
.wp-block-woocommerce-breadcrumbs {
  font-size: 0.9rem;
  color: #5d6b82;
  margin-bottom: 1.25rem;
}

.woocommerce div.product .product_title {
  font-family: Manrope, sans-serif;
  font-weight: 700;
  color: var(--bc-heading);
}

.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a {
  font-family: Manrope, sans-serif;
}

.woocommerce table.shop_table,
.wc-block-cart,
.wc-block-checkout {
  font-family: Assistant, sans-serif;
}

/* Keep content readable on policy/about pages. */
.bc-page-content,
.entry-content {
  max-width: 48rem;
}

.entry-content h1,
.bc-page-content h1 {
  text-align: left;
  margin-bottom: 1.25rem;
}

/* Search overlay / account icon sizing */
.wp-block-woocommerce-customer-account svg,
.wc-block-mini-cart__icon {
  color: #fff;
}

.bc-header .wp-block-navigation__responsive-container.has-modal-open {
  background: var(--bc-header);
  color: #fff;
}
