/* Ptasi Bazar: compact, readable home page. Loaded after the legacy theme. */
body.home-page {
  --home-ink: #292d32;
  --home-muted: #5b626a;
  --home-accent: #ff7a5f;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--home-ink);
}
.home-page h1, .home-page h2, .home-page h3, .home-page h4,
.home-page input, .home-page button { font-family: inherit; }
.home-page a:focus-visible, .home-page button:focus-visible {
  outline: 3px solid #b13d28;
  outline-offset: 4px;
}
.home-page .header-bg { background: #f5f5f5; }
.home-page .logo-area, .home-page .header-search-cart-area { padding: 24px 0; }
.home-page .main-menu > li { padding: 22px 0; }
.home-page .header-sticky.is-sticky { box-shadow: 0 3px 16px #20242a0d; }
.home-page .header-sticky.is-sticky .logo-area,
.home-page .header-sticky.is-sticky .header-search-cart-area,
.home-page .header-sticky.is-sticky .main-menu > li { padding: 0; }
.home-hero.slider-area { padding: 0; }
.home-hero .single-slider { height: clamp(380px, 37.1vw, 650px); }
.home-hero .hero-slider-content {
  width: 40%; max-width: 590px;
  margin: 0 max(6%, calc((100vw - 1200px) / 2)) 0 0;
  text-align: left;
}
.home-hero .hero-slider-content > h1 {
  font-size: clamp(18px, 1.65vw, 27px); font-weight: 400;
  line-height: 1.45; letter-spacing: 0;
  padding: 8px 12px; margin: 0 0 12px; border-radius: 6px;
  text-shadow: none;
}
.home-hero .hero-slider-content > h2 {
  font-size: clamp(30px, 3.35vw, 58px); font-weight: 500;
  line-height: 1.12; letter-spacing: -.025em;
  padding: 10px 12px; margin: 0; border-radius: 6px;
  text-shadow: none; text-wrap: balance;
}
.home-hero .hero-slider-content .slider-btn a {
  font-size: 14px; line-height: 1.4; padding: 16px 28px;
  margin-top: 20px; border-radius: 6px;
}
.home-reviews.testimonial-area.testimonial-style-3.pt-75.pb-75 {
  padding: 24px 0; background: #fff; border-bottom: 1px solid #eceef0;
}
.home-reviews .single-testimonial-area {
  display: flex; flex-wrap: nowrap; align-items: center; gap: 24px;
  width: 100%; max-width: 1080px;
  min-height: var(--review-height, 0px); margin: 0 auto;
}
.home-reviews .single-testimonial-area .testimonial-image {
  width: 76px; height: 76px; flex: 0 0 76px; margin: 0;
  border: 2px solid #ffb8a8; padding: 3px; float: none;
}
.home-reviews .testimonial-image img { width: 100%; height: 100%; object-fit: cover; }
.home-reviews .single-testimonial-area .testimonial-content {
  flex: 1; min-width: 0; padding: 0; overflow: visible; text-align: left;
}
.home-reviews .testimonial-content::before { display: none; }
.home-reviews .testimonial-content > .author-desc,
.home-reviews .testimonial-content > .author-desc.review-long {
  font: 400 1rem/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0; color: #343a40; padding: 0; margin: 0;
}
.home-reviews.reviews-enhanced:not(.reviews-expanded) .author-desc {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
  overflow: hidden;
}
.home-reviews .testimonial-content > .testimonial-author {
  font-size: 14px; font-weight: 600; line-height: 1.4; text-transform: none;
  letter-spacing: 0; color: #555d65; margin: 10px 0 0;
}
.home-reviews .review-expand {
  display: block; margin: 2px 0 0; padding: 7px 0;
  border: 0; background: transparent; color: #a63826;
  font: 600 14px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.home-reviews .review-expand[hidden] { display: none; }
.home-page #product-area { padding: 24px 0 36px; scroll-margin-top: 90px; }
.home-page #product-area .section-title2 {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px 24px; margin: 0 0 24px;
}
.home-page #product-area .section-title2 h2 {
  flex: 0 0 auto; max-width: none; margin: 0; padding: 3px 0 3px 14px;
  border-left: 3px solid var(--home-accent); font-size: 23px; font-weight: 600;
  line-height: 1.25; letter-spacing: -.025em; text-align: left; text-transform: none;
}
.home-page #product-area .product-tab-menu { float: none; padding: 0; margin: 0; }
.home-page #product-area .product-tab-menu .nav { gap: 4px; justify-content: flex-start; }
.home-page #product-area .product-tab-menu li { margin: 0; }
.home-page #product-area .product-tab-menu .nav-link {
  padding: 9px 13px; font-size: 15px; font-weight: 500; line-height: 1.5;
  border-radius: 7px; color: #434950; text-decoration: none;
}
.home-page #product-area .product-tab-menu .nav-link:hover { background: #f6f6f6; }
.home-page #product-area .product-tab-menu .nav-link.active {
  color: #a63826; background: #fff0eb;
}
.home-page #product-area .single-product-area {
  border: 1px solid #eceef0; border-radius: 10px;
  box-shadow: 0 2px 8px #20242a05;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.home-page #product-area .single-product-area:hover {
  border-color: #e3d7d1; box-shadow: 0 5px 18px #20242a0d;
}
.home-page #product-area .vertical-product-img { border-radius: 6px; }
.home-page #product-area .product-content h4 { font-weight: 500; line-height: 1.4; }
.home-page #product-area .products-container > .mb-30 { margin-bottom: 24px; }
@media (max-width: 991px) {
  .home-page .logo-area, .home-page .header-search-cart-area { padding: 16px 0; }
  .home-hero .hero-slider-content { width: 44%; margin-right: 4%; }
  .home-reviews .single-testimonial-area { gap: 18px; }
}
@media (max-width: 767px) {
  .home-page .logo-area { padding: 14px 0 6px; }
  .home-page .header-search-cart-area { padding: 6px 0 14px; }
  .home-hero .single-slider {
    height: auto; min-height: 0; display: block;
    /* Retain the complete photograph above the copy at its original aspect ratio. */
    padding-top: 39.48%; background-size: 100% auto; background-position: center top;
    background-color: #0d1113;
  }
  .home-hero .hero-slider-content {
    width: 100%; max-width: none; margin: 0; padding: 16px 20px 20px;
    min-height: 222px; background: #0d1113; text-align: left;
  }
  .home-hero .hero-slider-content > h1 {
    font-size: 16px; line-height: 1.4; background: none; padding: 0; margin-bottom: 8px;
  }
  .home-hero .hero-slider-content > h2 {
    font-size: clamp(25px, 5.8vw, 34px); line-height: 1.15;
    background: none; padding: 0; max-width: 24ch;
  }
  .home-hero .hero-slider-content .slider-btn { margin: 0; }
  .home-hero .hero-slider-content .slider-btn a { margin-top: 16px; padding: 13px 20px; }
  .home-reviews.testimonial-area.testimonial-style-3.pt-75.pb-75 { padding: 20px 0; }
  .home-reviews > .container { width: 100%; max-width: none; padding: 0 20px; }
  .home-reviews > .container > .row { margin: 0; }
  .home-reviews .testimonial-slider, .home-reviews .testimonial-slider .col-12 { padding: 0; }
  .home-reviews .single-testimonial-area {
    display: grid; grid-template-columns: 40px minmax(0, 1fr);
    align-content: center; column-gap: 12px; row-gap: 10px;
  }
  .home-reviews .single-testimonial-area .testimonial-content { display: contents; }
  .home-reviews .testimonial-content > .author-desc { grid-row: 1; grid-column: 1 / -1; }
  .home-reviews.reviews-enhanced:not(.reviews-expanded) .author-desc { -webkit-line-clamp: 4; }
  .home-reviews .review-expand { grid-row: 2; grid-column: 1 / -1; justify-self: start; margin: -6px 0; min-height: 40px; }
  .home-reviews .single-testimonial-area .testimonial-image {
    grid-row: 3; grid-column: 1; width: 40px; height: 40px; padding: 2px;
  }
  .home-reviews .testimonial-content > .testimonial-author {
    grid-row: 3; grid-column: 2; align-self: center; margin: 0;
  }
  .home-page #product-area { padding: 20px 0 28px; }
  .home-page #product-area .section-title2 { gap: 14px; margin-bottom: 18px; }
  .home-page #product-area .section-title2 h2 { font-size: 22px; }
  .home-page #product-area .product-tab-menu { width: 100%; }
  .home-page #product-area .product-tab-menu .nav { gap: 3px; }
  .home-page #product-area .product-tab-menu .nav-link { padding: 10px 12px; font-size: 14px; }
  .home-page #product-area .products-container > .mb-30 { margin-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page *, .home-page *::before, .home-page *::after {
    animation-duration: .01ms !important; animation-delay: 0ms !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

/* September 8 revision: translucent captions and a shared centre line. */
.home-hero .hero-slider-content {
  box-sizing: border-box; padding: 24px 28px;
  background: linear-gradient(135deg, rgba(24,29,32,.14), rgba(24,29,32,.32));
  border: 1px solid transparent;
  border-radius: 14px;
  backdrop-filter: blur(1px); -webkit-backdrop-filter: blur(1px);
  text-align: center;
}
.home-hero .hero-slider-content > h1,
.home-hero .hero-slider-content > h2 {
  background: transparent; padding: 0; border-radius: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,.45);
}
.home-hero .hero-slider-content > h1 { font-size: clamp(17px,1.5vw,25px); margin: 0 0 12px; }
.home-hero .hero-slider-content > h2 { font-size: clamp(28px,3vw,52px); font-weight: 400; }
.home-hero .hero-slider-content .slider-btn a {
  background: rgba(255,122,95,.85); border: 1px solid rgba(255,255,255,.2);
}
.home-page #product-area .section-title2 { flex-direction: column; gap: 16px; }
.home-page #product-area .section-title2 h2 {
  text-align: center; border: 0; padding: 0; width: 100%;
}
.home-page #product-area .section-title2 h2::after {
  content: ''; display: block; width: 40px; height: 2px;
  margin: 12px auto 0; background: #ff9c85;
}
.home-page #product-area .product-tab-menu .nav { justify-content: center; }
.home-reviews .single-testimonial-area { max-width: 960px; gap: 20px; }
@media (max-width:767px) {
  .home-page #header-container > .container > .row > .col-12 { text-align: center; }
  .home-page .logo-area { padding: 12px 0 2px; text-align: center; }
  .home-page .header-search-cart-area { padding: 4px 0 10px; text-align: center; }
  .home-hero .single-slider {
    height: 380px; padding: 0; display: flex; justify-content: flex-end;
    align-items: center; background-size: auto 100%; background-position: 34% center;
  }
  .home-hero .hero-slider-content {
    width: calc(100% - 32px); max-width: 440px; min-height: 0;
    margin: 0 16px 16px; padding: 14px 16px;
    background: linear-gradient(135deg, rgba(24,29,32,.14), rgba(24,29,32,.32)); border-color: transparent;
    backdrop-filter: blur(1px); -webkit-backdrop-filter: blur(1px);
    border-radius: 12px; text-align: center;
  }
  .home-hero .hero-slider-content > h1 { font-size: 16px; margin: 0 0 7px; line-height: 1.35; }
  .home-hero .hero-slider-content > h2 { font-size: 25px; line-height: 1.12; max-width: none; font-weight: 400; }
  .home-hero .hero-slider-content .slider-btn a { margin-top: 12px; padding: 10px 22px; font-size: 14px; }
  .home-reviews .single-testimonial-area {
    grid-template-columns: 1fr; row-gap: 8px; text-align: center;
  }
  .home-reviews .testimonial-content > .author-desc { grid-row: 1; grid-column: 1; text-align: center; }
  .home-reviews .review-expand { grid-row: 2; grid-column: 1; justify-self: center; }
  .home-reviews .single-testimonial-area .testimonial-image {
    grid-row: 3; grid-column: 1; justify-self: center; width: 38px; height: 38px;
  }
  .home-reviews .testimonial-content > .testimonial-author { grid-row: 4; grid-column: 1; text-align: center; }
  .home-page #product-area .section-title2 { gap: 12px; }
}
@media (min-width:768px) {
  .home-hero .owl-nav > button { opacity: 1; visibility: visible; }
}
/* Subtle banner navigation; preserve touch navigation. */
.home-hero .hero-slider .owl-nav > button {
  background: rgba(255,255,255,.38) !important;
}
@media (hover: hover) and (pointer: fine) {
  .home-hero .hero-slider .owl-nav > button {
    opacity: 0; visibility: visible; pointer-events: none;
    transition: opacity .22s ease, background-color .22s ease;
  }
  .home-hero:hover .hero-slider .owl-nav > button,
  .home-hero .hero-slider .owl-nav > button:focus-visible {
    opacity: 1; pointer-events: auto;
  }
  .home-hero .hero-slider .owl-nav > button:hover,
  .home-hero .hero-slider .owl-nav > button:focus-visible {
    background: rgba(255,255,255,.58) !important;
  }
}
/* Mobile captions sit on the photograph, slightly right of centre. */
@media (max-width:767px) {
  .home-hero .single-slider {
    flex-direction: row; align-items: center; justify-content: flex-end;
    background-position: 38% center;
  }
  .home-hero .hero-slider-content {
    width: 68%; max-width: 340px; margin: 0 4% 0 0;
    padding: 16px 12px; align-self: center;
  }
}

/* Keep the chick's head clear on phones. */
@media (max-width:767px) {
  .home-hero .hero-chick .hero-slider-content {
    width: 52%; max-width: 340px; margin-right: 2%;
    padding: 14px 10px;
  }
  .home-hero .hero-chick .hero-slider-content > h1 {
    font-size: clamp(14px, 3.5vw, 16px);
  }
  .home-hero .hero-chick .hero-slider-content > h2 {
    font-size: clamp(20px, 5.2vw, 28px);
  }
  .home-hero .hero-chick .hero-slider-content .slider-btn a {
    font-size: 12px; padding: 12px 10px;
  }
}


/* Product navigation: gentle entrance, no change to layout or hit targets. */
.home-page #product-area .products-container > .pb-product-pending {
  opacity: 0;
}
.home-page #product-area .products-container > .pb-product-enter {
  animation: pb-product-reveal 320ms cubic-bezier(.22,.61,.36,1) var(--pb-reveal-delay, 0ms) both;
}
@keyframes pb-product-reveal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .home-page #product-area .products-container > .pb-product-pending,
  .home-page #product-area .products-container > .pb-product-enter {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
}

.home-page #product-area .products-container > .pb-product-pending:focus-within {
  opacity: 1;
}
