/* =====================================================================
   PROF-COSMETICS — акції, стара ціна, перелінковка, 404, футер (11.2026)
   Підключається в admin/core/header.php після main.css
   ===================================================================== */

/* ---------- смуга-оголошення зверху ---------- */
.pcPromoBar { background: linear-gradient(90deg, #2a2418 0%, #4a3814 50%, #2a2418 100%); position: relative; z-index: 50; }
.pcPromoBar a { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 14px; color: #fff !important; text-decoration: none !important; font-size: 14px; line-height: 1.35; flex-wrap: wrap; text-align: center; }
.pcPromoBar__pct { background: #ddc98e; color: #1e1e1e; font-weight: 900; border-radius: 6px; padding: 2px 8px; letter-spacing: .3px; }
.pcPromoBar__txt b { color: #f3e4b4; font-weight: 700; }
.pcPromoBar__cta { color: #ddc98e; font-weight: 700; white-space: nowrap; border-bottom: 1px solid rgba(221, 201, 142, .5); }
.pcPromoBar a:hover .pcPromoBar__cta { color: #fff; border-color: #fff; }
.pcPromoBar__m { display: none; }
@media (max-width: 767px) {
    .pcPromoBar a { font-size: 13px; gap: 8px; padding: 7px 10px; flex-wrap: nowrap; }
    .pcPromoBar__d, .pcPromoBar__more { display: none; }
    .pcPromoBar__m { display: inline; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* ---------- блок акції на головній ---------- */
.pcPromo { margin: 26px 0 8px; }
.pcPromo + .pcPromo { margin-top: 18px; }
.pcPromo__hero {
    position: relative; overflow: hidden; border-radius: 22px; color: #fff;
    display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; padding: 28px 32px;
    background:
        radial-gradient(circle at 12% 18%, rgba(221, 201, 142, .38), transparent 42%),
        radial-gradient(circle at 92% 110%, rgba(176, 42, 103, .35), transparent 45%),
        linear-gradient(120deg, #1f1c16 0%, #3a2d12 58%, #5c4416 100%);
    box-shadow: 0 16px 44px rgba(58, 45, 18, .28);
}
.pcPromo__hero::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(221, 201, 142, .28); border-radius: 16px; pointer-events: none; }
.pcPromo__pct { font-size: 78px; font-weight: 900; line-height: .9; color: #ddc98e; letter-spacing: -3px; text-shadow: 0 6px 24px rgba(0, 0, 0, .35); white-space: nowrap; }
.pcPromo__pct small { font-size: 40px; letter-spacing: 0; margin-left: 2px; }
.pcPromo__kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #1e1e1e; background: #ddc98e; border-radius: 20px; padding: 4px 12px; margin-bottom: 10px; }
.pcPromo__title { color: #fff !important; font-size: 30px !important; line-height: 1.2 !important; font-weight: 800 !important; margin: 0 0 8px !important; letter-spacing: .2px; }
.pcPromo__desc { color: #e9e0c7; font-size: 15px; line-height: 1.55; margin: 0 0 14px; max-width: 640px; }
.pcPromo__timer { display: flex; gap: 8px; flex-wrap: wrap; }
.pcPromo__timer > div { min-width: 62px; text-align: center; padding: 7px 8px 6px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(221, 201, 142, .35); }
.pcPromo__timer b { display: block; font-size: 24px; line-height: 1.05; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.pcPromo__timer span { display: block; font-size: 10.5px; letter-spacing: .8px; text-transform: uppercase; color: #cdbf95; margin-top: 2px; }
.pcPromo__btn { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; background: #ddc98e; color: #1e1e1e !important; font-weight: 800; font-size: 16px; border-radius: 40px; padding: 15px 28px; text-decoration: none !important; white-space: nowrap; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); transition: transform .15s, background .15s; }
.pcPromo__btn:hover { background: #f1e2b5; transform: translateY(-2px); }
.pcPromo__btn svg { width: 18px; height: 18px; }
.pcPromo__grid { margin-top: 22px; }
.pcPromo__more { text-align: center; margin: -10px 0 20px; }
.pcPromo__more a { color: #8a6a1f; font-weight: 700; text-decoration: underline; }
@media (max-width: 991px) {
    .pcPromo__hero { grid-template-columns: auto 1fr; padding: 24px; }
    .pcPromo__btn { grid-column: 1 / -1; justify-content: center; }
    .pcPromo__title { font-size: 25px !important; }
}
@media (max-width: 575px) {
    .pcPromo__hero { grid-template-columns: 1fr; text-align: center; gap: 14px; padding: 22px 16px; border-radius: 18px; }
    .pcPromo__pct { font-size: 64px; }
    .pcPromo__title { font-size: 21px !important; }
    .pcPromo__desc { font-size: 13.5px; margin-left: auto; margin-right: auto; }
    .pcPromo__timer { justify-content: center; }
    .pcPromo__timer > div { min-width: 54px; }
}

/* ---------- банер акції на сторінці бренду ---------- */
.pcBrandPromo { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 0 24px; padding: 14px 18px; border-radius: 16px; color: #fff;
    background: radial-gradient(circle at 8% 20%, rgba(221, 201, 142, .35), transparent 45%), linear-gradient(120deg, #1f1c16 0%, #4a3814 100%); }
.pcBrandPromo__pct { font-size: 38px; font-weight: 900; color: #ddc98e; line-height: 1; letter-spacing: -1px; }
.pcBrandPromo__txt { flex: 1 1 260px; font-size: 14.5px; line-height: 1.45; color: #efe6cc; }
.pcBrandPromo__txt b { color: #fff; }
.pcBrandPromo .pcPromo__timer > div { min-width: 52px; padding: 5px 6px; }
.pcBrandPromo .pcPromo__timer b { font-size: 18px; }

/* ---------- стара ціна / бейдж у картках ---------- */
.pc-old { margin-left: 6px; color: #a5a5a5 !important; font-weight: 500 !important; font-size: 13px !important; text-decoration: line-through; white-space: nowrap; }
.product__price .pc-old { display: inline-block; }
.new-sale .red { font-weight: 800; }
.payne-product .new-sale { background: #b02a67; color: #fff; border-radius: 6px; padding: 2px 7px; top: 8px; left: 8px; }
.payne-product .new-sale span { color: #fff !important; }

/* ---------- сторінка товару: акція біля ціни ---------- */
.pcPdPromo { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 14px 0 6px; padding: 10px 12px; border-radius: 12px; background: #fbf6e8; border: 1px solid #ecdcae; font-size: 13.5px; line-height: 1.45; color: #4a3c17; }
.pcPdPromo__pct { background: #b02a67; color: #fff; font-weight: 900; border-radius: 8px; padding: 3px 9px; font-size: 15px; }
.pcPdPromo a { color: #8a6a1f; font-weight: 700; text-decoration: underline; }
.pcPdSave { font-size: 13px; color: #2e7d32; font-weight: 700; margin-top: 4px; }

/* ---------- перелінковка на сторінці товару ---------- */
.pcPdLinks { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 4px; }
.pcPdLinks a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid #e6dab6; border-radius: 20px; background: #fff; color: #333 !important; font-size: 13px; text-decoration: none !important; }
.pcPdLinks a:hover { border-color: #b28a2e; color: #8a6a1f !important; }
.pcPdGuide { margin: 26px 0 0; padding: 18px 20px; border-radius: 16px; background: #fbf8ef; border: 1px solid #eee2c2; }
.pcPdGuide h2 { font-size: 19px !important; margin: 0 0 10px !important; }
.pcPdGuide ul { margin: 0; padding-left: 18px; }
.pcPdGuide li { margin: 6px 0; line-height: 1.5; }
.pcPdGuide a { color: #8a6a1f; font-weight: 600; text-decoration: underline; }

/* ---------- 404 / 410 ---------- */
.pc404 { max-width: 860px; margin: 0 auto; text-align: center; }
.pc404 form { display: flex; gap: 8px; max-width: 520px; margin: 18px auto 22px; }
.pc404 input { flex: 1; border: 1px solid #ddd; border-radius: 30px; padding: 12px 18px; font-size: 15px; }
.pc404 button { border: 0; border-radius: 30px; padding: 12px 22px; background: #1e1e1e; color: #fff; font-weight: 700; }
.pc404__chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 10px 0 26px; }
.pc404__chips a { padding: 7px 14px; border: 1px solid #e6dab6; border-radius: 20px; background: #fff; color: #222 !important; font-size: 13.5px; }
.pc404__chips a:hover { border-color: #b28a2e; }

/* ---------- футер: корисні статті ---------- */
.footer-menu.pcFootArts li a span { white-space: normal; line-height: 1.4; }

/* ---------- головна: бейдж акції на картці бренду ---------- */
.pcHB__item { position: relative; }
.pcHB__item--sale { border-color: #c9a24a !important; background: linear-gradient(180deg, #fffaf0, #fff) !important; }
.pcHB__sale { position: absolute; top: -9px; right: 10px; background: #b02a67; color: #fff; font-size: 11px; font-weight: 800; line-height: 1; padding: 4px 8px; border-radius: 10px; box-shadow: 0 3px 8px rgba(176, 42, 103, .3); white-space: nowrap; }

/* ---------- головна: статті блогу ---------- */
.pcHomeBlog { padding: 6px 0 46px; }
.pcHomeBlog__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 18px; }
@media (max-width: 1199px) { .pcHomeBlog__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .pcHomeBlog__grid { grid-template-columns: 1fr; } }
.pcHomeBlog__card { display: flex; flex-direction: column; background: #fff; border: 1px solid #eee2c2; border-radius: 16px; overflow: hidden; text-decoration: none !important; transition: box-shadow .15s, transform .15s; }
.pcHomeBlog__card:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, .08); transform: translateY(-2px); }
.pcHomeBlog__img { aspect-ratio: 1200 / 630; background: #f4efe2; overflow: hidden; }
.pcHomeBlog__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcHomeBlog__body { padding: 14px 16px 16px; }
.pcHomeBlog__t { font-size: 15.5px; font-weight: 700; line-height: 1.35; color: #222; margin: 0 0 6px; }
.pcHomeBlog__d { font-size: 13px; line-height: 1.5; color: #6b6b6b; margin: 0; }
.pcHomeBlog__all { text-align: center; margin-top: 18px; }
.pcHomeBlog__all a { color: #8a6a1f; font-weight: 700; text-decoration: underline; }

/* Блог: активна категорія в сайдбарі була білою на світлому тлі (невидима) */
.blogMy .sidebar-area .widget-tags ul li a.blogMyAActive { color: #9a7b2f !important; font-weight: 700; }
.blogMy .sidebar-area .widget-blog-post ul li .thumb img { border-radius: 8px !important; }

/* Тема на мобільних ставить .homeCats h2 { letter-spacing: 22px } — для нових заголовків у цьому блоці вимикаємо */
.homeCats h2.pcPromo__title, .homeCats h2.pcNewH { letter-spacing: .2px !important; }
@media (max-width: 767px) { .homeCats h2.pcNewH { font-size: 22px; text-align: left; margin-top: 10px !important; } }
