/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme — PCC brand kit
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.4
 Text Domain:  woodmart
*/

/* Pakistan Cosmetics Chemicals brand kit (locked Nov 2026) */
:root {
  --pcc-primary: #0F6B4C;
  --pcc-charcoal: #14212B;
  --pcc-accent: #1A8A62;
  --pcc-mist: #F4F7F5;
  --pcc-white: #FFFFFF;
  --pcc-wa: #25D366;
}

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--pcc-charcoal);
}

a {
  color: var(--pcc-primary);
}
a:hover,
a:focus {
  color: var(--pcc-accent);
}

/* Woodmart primary / buttons */
.btn,
.button,
button.button,
.wd-buy-now-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.single_add_to_cart_button,
.wp-block-button__link {
  background-color: var(--pcc-primary) !important;
  border-color: var(--pcc-primary) !important;
  color: var(--pcc-white) !important;
}
.btn:hover,
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.single_add_to_cart_button:hover {
  background-color: var(--pcc-accent) !important;
  border-color: var(--pcc-accent) !important;
}

/* Links & accents */
.woocommerce-Price-amount,
.price,
.woodmart-price-table .price-value,
.wd-nav-product .nav-link.active,
.product-labels .product-label {
  color: var(--pcc-primary) !important;
}

/* Header / footer soft mist */
.whb-header,
.whb-main-header {
  background-color: var(--pcc-white);
}
.footer-container,
.wd-footer {
  background-color: var(--pcc-mist);
  color: var(--pcc-charcoal);
}

/* Product page trust chips feel */
.woocommerce div.product .product_title {
  color: var(--pcc-charcoal);
}

/* Hide HOT / featured labels (B2B — no retail badges) */
.product-labels .featured,
.product-label.featured,
.product-label.onsale,
.wd-product-label.featured,
.wd-product-label.hot,
.label-featured,
.woodmart-product-labels .featured {
  display: none !important;
}

/* Hide wishlist + compare (B2B RFQ-first) */
.wd-wishlist-btn,
.wd-compare-btn,
.woodmart-wishlist-btn,
.woodmart-compare-btn,
.wd-action-btn.wd-wishlist-icon,
.wd-action-btn.wd-compare-icon,
.whb-wishlist,
.whb-compare,
.wd-header-wishlist,
.wd-header-compare,
.product-actions .wd-wishlist-btn,
.product-actions .wd-compare-btn,
.wd-buttons .wd-wishlist-btn,
.wd-buttons .wd-compare-btn,
a.add_to_wishlist,
.yith-wcwl-add-to-wishlist,
.compare.button,
.wd-compare-btn-wrapper {
  display: none !important;
}

/* Floating WhatsApp FAB */
.pcc-wa-float {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 99999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  background: var(--pcc-wa);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pcc-wa-float:hover,
.pcc-wa-float:focus {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
}
.pcc-wa-float svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .pcc-wa-float span {
    display: none;
  }
  .pcc-wa-float {
    padding: 14px;
    right: 16px;
    bottom: 18px;
  }
}

/* Product FAQ accordion (details/summary) */
.woocommerce-Tabs-panel--description details {
  border: 1px solid #e3ebe6;
  border-radius: 8px;
  background: var(--pcc-mist);
  margin: 0 0 10px;
  padding: 0 14px;
}
.woocommerce-Tabs-panel--description details summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--pcc-charcoal);
  padding: 12px 0;
}
.woocommerce-Tabs-panel--description details summary::-webkit-details-marker {
  display: none;
}
.woocommerce-Tabs-panel--description details[open] summary {
  color: var(--pcc-primary);
  border-bottom: 1px solid #d7e3dc;
  margin-bottom: 8px;
}
.woocommerce-Tabs-panel--description details p {
  margin: 0 0 12px;
  color: var(--pcc-charcoal);
}

/* Hide Woodmart top bar (placeholder text) */
.whb-top-bar { display: none !important; }

/* PCC Home (lean B2B) */
.home .page-title, .home .wd-page-title { display: none !important; }
.pcc-home { color: var(--pcc-charcoal); }
.pcc-home section { padding: 48px 0; }
.pcc-home h2 { color: var(--pcc-charcoal); font-size: 28px; margin: 0 0 20px; }
.pcc-hero { background: linear-gradient(135deg, var(--pcc-primary), var(--pcc-accent)); color: #fff; border-radius: 16px; padding: 40px 28px !important; margin-top: 10px; }
.pcc-hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: center; }
.pcc-hero-copy { min-width: 0; }
.pcc-hero h1 { color: #fff; font-size: clamp(30px, 4.5vw, 48px); line-height: 1.15; margin: 0 0 16px; }
.pcc-hero p { color: #e8f3ee; font-size: 18px; max-width: 680px; margin: 0 0 24px; }
.pcc-hero-media { position: relative; min-height: 0; }
.pcc-hero-img { display: block; border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,0.28); background: #fff; object-fit: cover; }
.pcc-hero-img-range { width: 100%; max-width: 560px; aspect-ratio: 16 / 9; margin-left: auto; }
@media (max-width: 900px) {
  .pcc-hero-inner { grid-template-columns: 1fr; }
  .pcc-hero-media { order: -1; max-width: 560px; margin: 0 auto 8px; }
  .pcc-hero-img-range { margin: 0 auto; }
}
.pcc-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.pcc-btn { display: inline-block; padding: 14px 24px; border-radius: 999px; font-weight: 600; text-decoration: none !important; }
.pcc-btn-wa { background: #25D366; color: #fff !important; }
.pcc-btn-wa:hover { background: #1ebe5a; color: #fff !important; }
.pcc-btn-ghost { border: 2px solid #fff; color: #fff !important; }
.pcc-btn-ghost:hover { background: #fff; color: var(--pcc-primary) !important; }
.pcc-btn-green { background: var(--pcc-primary); color: #fff !important; }
.pcc-btn-green:hover { background: var(--pcc-accent); color: #fff !important; }
.pcc-chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 24px 0 !important; }
.pcc-chip { background: var(--pcc-mist); border: 1px solid #d7e3dc; color: var(--pcc-primary); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 14px; }
.pcc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.pcc-card { background: #fff; border: 1px solid #e3ebe6; border-radius: 12px; padding: 24px; }
.pcc-card h3 { font-size: 20px; margin: 0 0 8px; color: var(--pcc-charcoal); }
.pcc-card p { margin: 0 0 14px; }
.pcc-card a.pcc-link { font-weight: 600; }
.pcc-price { color: var(--pcc-primary); font-weight: 700; }
.pcc-steps .pcc-card { background: var(--pcc-mist); }
.pcc-num { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--pcc-primary); color: #fff; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 10px; }
.pcc-seo { background: var(--pcc-mist); border-radius: 16px; padding: 40px 32px !important; margin-bottom: 40px; }
.pcc-seo p { max-width: 860px; }

/* Kojic product: simple Bulk / Wholesale RFQ WhatsApp button under price */
.pcc-bulk-cta {
  margin: 10px 0 16px;
}
.pcc-bulk-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 10px;
  background: #25D366;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.35);
  transition: background 0.2s ease, box-shadow 0.2s ease;
  animation: pcc-bulk-glow 2.2s ease-in-out infinite;
}
.pcc-bulk-cta__btn:hover,
.pcc-bulk-cta__btn:focus {
  background: #1ebe57;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
  animation: none;
}
.pcc-bulk-cta__icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  animation: pcc-bulk-icon 1.4s ease-in-out infinite;
}
.pcc-bulk-cta__btn:hover .pcc-bulk-cta__icon {
  animation: none;
}
.pcc-bulk-cta__label {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
}
@keyframes pcc-bulk-glow {
  0%, 100% { box-shadow: 0 2px 10px rgba(37, 211, 102, 0.35); }
  50% { box-shadow: 0 4px 18px rgba(37, 211, 102, 0.55); }
}
@keyframes pcc-bulk-icon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.28); }
}
@media (prefers-reduced-motion: reduce) {
  .pcc-bulk-cta__btn,
  .pcc-bulk-cta__icon {
    animation: none;
  }
}
