/* Extras for the database-driven pages (pagination, category chips, enquiry page, rich product text). */

/* Product listing: category chips are links now (server-side filter) */
.pnh-filter__btn { text-decoration: none; display: inline-block; }
.pnh-filter__btn.is-active { pointer-events: none; }

/* Product images come from the admin panel in different shapes */
.pnh-product-col .single-products-style1__img-inner img,
.pnh-similar .single-products-style1__img-inner img,
.pnh-dyn-img { aspect-ratio: 1 / 1; object-fit: contain; width: 100%; background: #fff; }
.pnh-pd__media img { object-fit: contain; }
.pnh-empty { text-align: center; padding: 30px 0 10px; }
.pnh-empty img { max-width: 320px; width: 70%; margin: 0 auto 10px; display: block; }

/* Pagination */
.pnh-pagination { margin-top: 40px; display: flex; justify-content: center; }
.pnh-pagination .pagination { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }
.pnh-pagination .page-link { display: block; padding: 8px 15px; border: 1px solid var(--thm-black-bg, #4e342e); border-radius: 6px; color: var(--thm-black-bg, #4e342e) !important; background: #fff; text-decoration: none; }
.pnh-pagination .page-item.active .page-link { background: var(--thm-black-bg, #4e342e) !important; color: #fff !important; }

/* Product details: admin-entered rich text, benefits / how-to lists, video */
.pnh-pd__rich { line-height: 1.8; }
.pnh-pd__rich p { margin-bottom: 14px; }
.pnh-pd__rich img { max-width: 100%; height: auto; }
.pnh-pd__list { margin: 0; padding: 0; list-style: none; }
.pnh-pd__list li { position: relative; padding-left: 26px; margin-bottom: 8px; line-height: 1.7; }
.pnh-pd__list li::before { content: "\f00c"; font-family: "Font Awesome 5 Free", "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 1px; color: var(--thm-black-bg, #4e342e); font-size: 13px; }
.pnh-pd__video { margin-top: 30px; }
.pnh-pd__video iframe { width: 100%; height: 340px; border: 0; border-radius: 10px; box-shadow: 0 7px 29px rgba(100, 100, 111, .2); }
.pnh-pd__sidebar-video { margin-top: 30px; }
.pnh-pd__sidebar-video iframe { width: 100%; height: 240px; border: 0; border-radius: 10px; box-shadow: 0 7px 29px rgba(100, 100, 111, .2); }

/* Product enquiry page */
.pnh-enquiry { padding: 90px 0; }
.pnh-enquiry__img img { width: 100%; border-radius: 12px; }
.pnh-enquiry__card { background: #fff; border-radius: 14px; box-shadow: 0 10px 40px rgba(0, 0, 0, .08); padding: 34px; }
.pnh-enquiry__card .pnh-quote__field--readonly input { background: var(--thm-gray-bg, #f5f1e0); cursor: not-allowed; }
.pnh-enquiry__card .pnh-quote__grid { margin-bottom: 20px; }
@media (max-width: 767px) { .pnh-enquiry { padding: 50px 0; } .pnh-enquiry__card { padding: 22px; } .pnh-pd__video iframe { height: 220px; } }

/* Floating call / WhatsApp: round buttons stacked at bottom-left on desktop,
   a full-width two-tab bar at the bottom on mobile */
.pnh-float { position: fixed; left: 20px; bottom: 24px; z-index: 999; display: flex; flex-direction: column; gap: 12px; }
.pnh-float__btn { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; color: #fff; text-decoration: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); font-size: 24px; transition: transform .2s; }
.pnh-float__btn:hover { transform: scale(1.08); color: #fff; }
.pnh-float__btn span { display: none; }
.pnh-float__btn--call { background: var(--thm-black-bg, #4e342e); font-size: 22px; }
.pnh-float__btn--wa { background: #25d366; }
@media (max-width: 767px) {
    .pnh-float { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0; box-shadow: 0 -4px 14px rgba(0, 0, 0, .18); }
    .pnh-float__btn { flex: 1 1 50%; width: auto; height: 52px; border-radius: 0; box-shadow: none; gap: 8px; font-size: 20px; }
    .pnh-float__btn:hover { transform: none; }
    .pnh-float__btn span { display: inline; font-size: 15px; font-weight: 600; }
    body { padding-bottom: 52px; }
    .scroll-to-top { bottom: 66px !important; }
}

/* ---------- Full-width hero slider (images come from the admin panel) ---------- */
.pnh-hero { position: relative; width: 100%; overflow: hidden; background: #140b06; }
.pnh-hero__slider { position: relative; width: 100%; overflow: hidden; }
.pnh-hero .swiper-slide { overflow: hidden; }
/* every slide has the same fixed ratio, so the hero height never jumps between banners.
   The banner is shown whole (contain); a blurred copy fills any leftover space. */
.pnh-hero__frame { position: relative; width: 100%; aspect-ratio: 1920 / 700; overflow: hidden; background: #140b06; }
.pnh-hero__frame img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.1); transform-origin: 50% 50%; will-change: transform; }
.pnh-hero .swiper-slide-active .pnh-hero__frame img { animation: pnhKenBurns 7s ease-out forwards; }
@keyframes pnhKenBurns { from { transform: scale(1.1); } to { transform: scale(1); } }
.pnh-hero__frame::after { z-index: 2; content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28%; background: linear-gradient(to top, rgba(0, 0, 0, .28), transparent); pointer-events: none; }

.pnh-hero__pagination { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 5; display: flex; justify-content: center; gap: 8px; }
.pnh-hero__pagination .swiper-pagination-bullet { width: 11px; height: 11px; border-radius: 10px; background: rgba(255, 255, 255, .6); opacity: 1; cursor: pointer; transition: width .35s, background .35s; }
.pnh-hero__pagination .swiper-pagination-bullet-active { width: 34px; background: #fff; }

.pnh-hero__nav { position: absolute; top: 50%; z-index: 5; width: 50px; height: 50px; margin-top: -25px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .85); color: var(--thm-black-bg, #4e342e); font-size: 17px; cursor: pointer; opacity: 0; transition: opacity .3s, background .3s, color .3s, transform .3s; }
.pnh-hero__nav--prev { left: 22px; }
.pnh-hero__nav--next { right: 22px; }
.pnh-hero:hover .pnh-hero__nav { opacity: 1; }
.pnh-hero__nav:hover { background: var(--thm-black-bg, #4e342e); color: #fff; transform: scale(1.08); }

.pnh-hero__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 5; background: rgba(255, 255, 255, .25); }
.pnh-hero__progress span { display: block; height: 100%; width: 0; background: var(--thm-primary-color, #f4ca4e); }

@media (max-width: 991px) {
    .pnh-hero__nav { width: 42px; height: 42px; margin-top: -21px; font-size: 14px; opacity: 1; }
    .pnh-hero__nav--prev { left: 12px; }
    .pnh-hero__nav--next { right: 12px; }
}
@media (max-width: 767px) {
    .pnh-hero__frame { aspect-ratio: 16 / 9; }
}
@media (max-width: 575px) {
    .pnh-hero__nav { display: none; }
    .pnh-hero__pagination { bottom: 10px; gap: 6px; }
    .pnh-hero__pagination .swiper-pagination-bullet { width: 8px; height: 8px; }
    .pnh-hero__pagination .swiper-pagination-bullet-active { width: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .pnh-hero__frame img, .pnh-hero .swiper-slide-active .pnh-hero__frame img { animation: none; transform: none; }
    .pnh-hero__progress { display: none; }
}

/* ---------- Homepage "processing" strip under the hero ---------- */
/* the hero is a full banner now, so only a light overlap instead of the old 130px */
.processing-style1 { margin-top: -40px; }

@media (max-width: 767px) {
    .processing-style1 { margin-top: 0; padding: 18px 0 4px; }
    .processing-style1 .container { padding-left: 12px; padding-right: 12px; }
    .processing-style1__inner { padding: 8px 6px; }
    /* 2 x 2 compact tiles instead of four tall stacked cards */
    .processing-style1__inner ul.row { margin: 0; }
    .processing-style1__inner ul li,
    .processing-style1__inner ul li:nth-child(2),
    .processing-style1__inner ul li:nth-child(3) {
        flex: 0 0 50%; max-width: 50%; padding: 0 6px; width: 50%;
    }
    .processing-style1__inner ul li::before { display: none !important; }
    .single-processing-style1,
    .processing-style1__inner ul li:nth-child(2) .single-processing-style1,
    .processing-style1__inner ul li:nth-child(4) .single-processing-style1 { padding: 18px 4px 16px; }
    .single-processing-style1__icon { width: 46px; height: 46px; }
    .single-processing-style1__icon i { font-size: 22px; line-height: 22px; }
    .single-processing-style1__icon-bg { background-size: contain; }
    .single-processing-style1__content { padding-top: 10px; }
    .single-processing-style1__content h3 { font-size: 15px; line-height: 20px; margin-bottom: 6px; }
    .single-processing-style1__content p { font-size: 12px; line-height: 17px; margin: 0; }
    .single-processing-style1__content p br { display: none; }
}

/* ---------- Homepage: category circles slider (theme palette: cream + brown + gold) ---------- */
.pnh-cats {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 60px 0 40px;
    background-color: var(--thm-gray-bg, #f5f1e0);
}
/* same texture the footer / quote / crop sections use */
.pnh-cats::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .5;
    pointer-events: none;
    background: url("../images/pattern/thm-pattern1.png") repeat top left / 380px;
}
.pnh-cats::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(55% 60% at 50% 0%, rgba(var(--thm-primary-color-rgb, 244, 202, 78), .22), transparent 70%);
}
.pnh-cats__blob { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(var(--thm-primary-color-rgb, 244, 202, 78), .35), rgba(var(--thm-primary-color-rgb, 244, 202, 78), 0) 70%); animation: pnhBlob 9s ease-in-out infinite alternate; }
.pnh-cats__blob--1 { width: 420px; height: 420px; left: -140px; top: -120px; }
.pnh-cats__blob--2 { width: 360px; height: 360px; right: -120px; bottom: -120px; animation-delay: -4s; }
@keyframes pnhBlob { from { transform: translate(0, 0) scale(1); } to { transform: translate(30px, 20px) scale(1.15); } }

.pnh-cats .sec-title { margin-bottom: 20px; }
.pnh-cats .sec-title .text { display: none; }
.pnh-cats__carousel { padding: 8px 0 0; }
.pnh-cat { display: block; text-align: center; text-decoration: none; color: inherit; padding: 22px 6px 6px; animation: pnhCatIn .7s ease both; animation-delay: calc(var(--i) * 90ms); }
@keyframes pnhCatIn { from { opacity: 0; transform: translateY(26px) scale(.92); } to { opacity: 1; transform: none; } }

.pnh-cat__circle { position: relative; display: block; width: 100%; max-width: 190px; aspect-ratio: 1 / 1; margin: 0 auto; }
.pnh-cat__ring { position: absolute; inset: -9px; border-radius: 50%; border: 2px dashed var(--thm-black-bg, #4e342e); opacity: .45; animation: pnhSpin 18s linear infinite; transition: opacity .3s, border-color .3s; }
@keyframes pnhSpin { to { transform: rotate(360deg); } }
.pnh-cat__photo { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: var(--thm-white, #fff); border: 5px solid var(--thm-white, #fff); box-shadow: 0 12px 28px rgba(var(--thm-black-bg-rgb, 78, 52, 46), .25); transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s; }
.pnh-cat__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pnh-cat__count { position: absolute; right: 0; bottom: 6px; z-index: 2; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 17px; background: var(--thm-primary-color, #f4ca4e); color: var(--thm-black, #1a0e05); font-family: var(--thm-font-2, sans-serif); font-size: 13px; font-weight: 700; line-height: 30px; text-align: center; box-shadow: 0 4px 10px rgba(var(--thm-black-bg-rgb, 78, 52, 46), .3); border: 2px solid var(--thm-white, #fff); transition: transform .3s, background .3s, color .3s; }
.pnh-cat__title { display: block; margin-top: 16px; font-family: var(--thm-font-2, sans-serif); font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--thm-heading-font-color, #1a0e05); transition: color .3s; }
.pnh-cat__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--thm-black-bg, #4e342e); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }

.pnh-cat:hover .pnh-cat__photo { transform: translateY(-8px) scale(1.05); box-shadow: 0 20px 38px rgba(var(--thm-black-bg-rgb, 78, 52, 46), .38); }
.pnh-cat:hover .pnh-cat__photo img { transform: scale(1.12); }
.pnh-cat:hover .pnh-cat__ring { opacity: 1; border-color: var(--thm-primary-color, #f4ca4e); animation-duration: 5s; }
.pnh-cat:hover .pnh-cat__count { transform: scale(1.12); background: var(--thm-black-bg, #4e342e); color: var(--thm-primary-color, #f4ca4e); }
.pnh-cat:hover .pnh-cat__title { color: var(--thm-black-bg, #4e342e); }
.pnh-cat:hover .pnh-cat__more { opacity: 1; transform: none; }

.pnh-cats .owl-dots { margin-top: 10px; text-align: center; }
.pnh-cats .owl-dots .owl-dot span { width: 9px; height: 9px; margin: 0 4px; border-radius: 9px; background: var(--thm-border-color-1, #ede9d8); border: 1px solid rgba(var(--thm-black-bg-rgb, 78, 52, 46), .35); display: block; transition: width .3s, background .3s; }
.pnh-cats .owl-dots .owl-dot.active span { width: 26px; background: var(--thm-primary-color, #f4ca4e); border-color: var(--thm-black-bg, #4e342e); }

@media (max-width: 767px) {
    .pnh-cats { padding: 40px 0 28px; }
    .pnh-cat__circle { max-width: 135px; }
    .pnh-cat__title { font-size: 15px; margin-top: 14px; }
    .pnh-cat__more { display: none; }
    .pnh-cat__count { min-width: 28px; height: 28px; line-height: 24px; font-size: 12px; }
}
@media (hover: none) { .pnh-cat__more { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .pnh-cat, .pnh-cat__ring, .pnh-cats__blob { animation: none; }
}

/* ---------- Product details: pack sizes (units) as tabs ---------- */
.pnh-units { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 26px; padding: 12px 14px; background: var(--thm-gray-bg, #f5f1e0); border: 1px solid var(--thm-border-color-1, #ede9d8); border-radius: 14px; }
.pnh-units__label { display: inline-flex; align-items: center; gap: 8px; margin-right: 6px; font-family: var(--thm-font-2, sans-serif); font-weight: 600; color: var(--thm-heading-font-color, #1a0e05); }
.pnh-units__tab { padding: 9px 22px; border: 1.5px solid var(--thm-border-color-1, #ede9d8); border-radius: 50px; background: var(--thm-white, #fff); color: var(--thm-black-bg, #4e342e); font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s; }
.pnh-units__tab:hover { transform: translateY(-2px); border-color: var(--thm-primary-color, #f4ca4e); }
.pnh-units__tab.is-active { background: var(--thm-primary-color, #f4ca4e); border-color: var(--thm-primary-color, #f4ca4e); color: var(--thm-black, #1a0e05); box-shadow: 0 6px 16px rgba(var(--thm-primary-color-rgb, 244, 202, 78), .45); }
.pnh-unit-panel { display: none; }
.pnh-unit-panel.is-active { display: block; animation: pnhUnitIn .45s ease both; }
@keyframes pnhUnitIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 575px) { .pnh-units { gap: 8px; padding: 10px; } .pnh-units__label { width: 100%; } .pnh-units__tab { padding: 8px 16px; font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .pnh-unit-panel.is-active { animation: none; } }

.pnh-pd__info .pnh-units { margin: 14px 0 6px; }
.pnh-pd__specs strong.pnh-flash { animation: pnhFlash .5s ease; }
@keyframes pnhFlash { 0% { color: var(--thm-primary-color, #f4ca4e); transform: scale(1.12); } 100% { transform: none; } }
.pnh-quote__field select { width: 100%; height: 100%; padding: 0 16px 0 46px; border: 0; background: transparent; font: inherit; color: inherit; outline: 0; }

/* ---------- Product cards: pack sizes as little tabs ---------- */
.pnh-card-units { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.pnh-card-units__label { display: inline-flex; align-items: center; gap: 5px; margin-right: 2px; font-size: 13px; font-weight: 600; color: var(--thm-heading-font-color, #1a0e05); }
.pnh-card-units__tab { padding: 4px 12px; border: 1.5px solid var(--thm-border-color-1, #ede9d8); border-radius: 50px; background: var(--thm-gray-bg, #f5f1e0); color: var(--thm-black-bg, #4e342e); font-size: 13px; font-weight: 600; line-height: 1.4; text-decoration: none; transition: background .25s, border-color .25s, color .25s, transform .25s; }
.pnh-card-units__tab:hover { background: var(--thm-primary-color, #f4ca4e); border-color: var(--thm-primary-color, #f4ca4e); color: var(--thm-black, #1a0e05); transform: translateY(-2px); }
.pnh-card-units__more { background: transparent; border-style: dashed; }
.single-products-style1__content-text .pnh-card-units + p, .single-products-style1__content-text p { margin-bottom: 0; }

/* pack tabs on product cards: stronger selectors so the card/theme link styles cannot flatten them */
.single-products-style1 .pnh-card-units { display: flex !important; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.single-products-style1 .pnh-card-units .pnh-card-units__tab {
    display: inline-block !important;
    padding: 5px 14px !important;
    border: 1.5px solid var(--thm-black-bg, #4e342e) !important;
    border-radius: 50px !important;
    background: rgba(var(--thm-primary-color-rgb, 244, 202, 78), .22) !important;
    color: var(--thm-black-bg, #4e342e) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}
.single-products-style1 .pnh-card-units .pnh-card-units__tab:hover {
    background: var(--thm-primary-color, #f4ca4e) !important;
    border-color: var(--thm-primary-color, #f4ca4e) !important;
    color: var(--thm-black, #1a0e05) !important;
    transform: translateY(-2px);
}
.single-products-style1 .pnh-card-units .pnh-card-units__more { background: transparent !important; border-style: dashed !important; }
.single-products-style1 .pnh-card-units .pnh-card-units__label { font-size: 13px; font-weight: 700; color: var(--thm-heading-font-color, #1a0e05); }

/* ---------- Page banners (breadcrumb): taller, each page has its own photo ---------- */
.breadcrumb-style1 .inner-content { padding: 130px 0 120px; }
.breadcrumb-style1-bg { background-position: center center; background-size: cover; }
.breadcrumb-style1-bg__overlay { background: linear-gradient(180deg, rgba(20, 11, 6, .55) 0%, rgba(20, 11, 6, .45) 100%) !important; }
.breadcrumb-style1 .title h2 { text-shadow: 0 2px 14px rgba(0, 0, 0, .45); }
@media (max-width: 991px) { .breadcrumb-style1 .inner-content { padding: 95px 0 85px; } }
@media (max-width: 575px) { .breadcrumb-style1 .inner-content { padding: 70px 0 62px; } }

/* ---------- Pack-size dropdown on the enquiry form (theme's nice-select, styled like the other fields) ---------- */
.pnh-quote__field .nice-select {
    float: none; display: block; width: 100%; height: 56px; line-height: 53px;
    padding: 0 46px 0 50px;
    border: 1.5px solid var(--thm-border-color-1, #ede9d8);
    border-radius: 16px;
    background: var(--thm-gray-bg-2, #f7f3e5);
    color: var(--thm-heading-font-color, #1a0e05);
    font-family: var(--thm-font); font-size: 16px; font-weight: 500;
    transition: border-color .3s, box-shadow .3s, background .3s;
}
.pnh-quote__field .nice-select .current { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pnh-quote__field .nice-select:after {
    right: 22px; width: 9px; height: 9px; margin-top: -6px;
    border-color: var(--thm-black-bg, #4e342e);
    border-width: 0 2.5px 2.5px 0;
}
.pnh-quote__field .nice-select:hover { border-color: var(--thm-primary-color, #f4ca4e); }
.pnh-quote__field .nice-select.open, .pnh-quote__field .nice-select:focus {
    background: #fff; border-color: var(--thm-primary-color, #f4ca4e);
    box-shadow: 0 0 0 4px rgba(var(--thm-primary-color-rgb, 244, 202, 78), .25);
}
.pnh-quote__field .nice-select .list {
    width: 100%; margin-top: 8px; padding: 6px;
    border: 1.5px solid var(--thm-border-color-1, #ede9d8); border-radius: 16px;
    background: #fff; box-shadow: 0 16px 36px rgba(var(--thm-black-bg-rgb, 78, 52, 46), .18);
}
.pnh-quote__field .nice-select .option {
    min-height: 44px; line-height: 44px; padding: 0 16px; border-radius: 10px;
    font-size: 15px; font-weight: 500; color: var(--thm-black-bg, #4e342e);
    transition: background .2s;
}
.pnh-quote__field .nice-select .option:hover,
.pnh-quote__field .nice-select .option.focus,
.pnh-quote__field .nice-select .option.selected.focus { background: rgba(var(--thm-primary-color-rgb, 244, 202, 78), .28); }
.pnh-quote__field .nice-select .option.selected { font-weight: 700; color: var(--thm-heading-font-color, #1a0e05); }
.pnh-quote__field .nice-select ~ i, .pnh-quote__field i { z-index: 3; }
/* if the plugin is not applied, the plain select gets the same look */
.pnh-quote__field select { height: 56px; padding: 0 46px 0 50px; border: 1.5px solid var(--thm-border-color-1, #ede9d8); border-radius: 16px; background: var(--thm-gray-bg-2, #f7f3e5); color: var(--thm-heading-font-color, #1a0e05); font-size: 16px; font-weight: 500; }

/* ==========================================================================
   Shop-style UI (no cart: buttons lead to the enquiry form / WhatsApp)
   ========================================================================== */
/* product card */
.pnh-shop-card .pnh-pcard-actions { display: none !important; }
.pnh-shop-card .single-products-style1__img-inner { position: relative; }
.pnh-shop-card__imglink { display: block; }
.pnh-shop-card__cat { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--thm-body-font-color, #69594c); }
.pnh-shop-card__cat i { color: var(--thm-black-bg, #4e342e); margin-right: 4px; }

.pnh-badges { position: absolute; top: 12px; left: 12px; z-index: 6; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.pnh-badge { display: inline-block; padding: 4px 11px; border-radius: 50px; font-size: 12px; font-weight: 700; line-height: 1.3; letter-spacing: .2px; color: #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, .18); }
.pnh-badge--off   { background: #d9381e; }
.pnh-badge--offer { background: #e08a00; }
.pnh-badge--new   { background: #2e9e4f; }
.pnh-badge--hot   { background: var(--thm-black-bg, #4e342e); color: var(--thm-primary-color, #f4ca4e); }

.pnh-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 2px 0 6px; }
.pnh-price__now { font-family: var(--thm-font-2, sans-serif); font-size: 22px; font-weight: 700; color: var(--thm-heading-font-color, #1a0e05); line-height: 1.2; }
.pnh-price__mrp { font-size: 14px; color: #9a8d85; }
.pnh-price__off { font-size: 13px; font-weight: 700; color: #2e9e4f; }
.pnh-price--lg { margin: 6px 0 14px; }
.pnh-price--lg .pnh-price__now { font-size: 32px; }
.pnh-price--lg .pnh-price__mrp { font-size: 17px; }
.pnh-price__tax { width: 100%; color: #9a8d85; font-size: 12px; }

.pnh-shop-actions { display: flex; gap: 8px; margin-top: 14px; }
.pnh-shop-btn { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 8px; border-radius: 12px; font-size: 14px; font-weight: 700; line-height: 1.2; text-decoration: none !important; transition: transform .25s, box-shadow .25s, background .25s, color .25s; white-space: nowrap; }
.pnh-shop-btn--enq { background: var(--thm-primary-color, #f4ca4e); color: var(--thm-black, #1a0e05) !important; border: 2px solid var(--thm-primary-color, #f4ca4e); }
.pnh-shop-btn--enq:hover { background: var(--thm-black-bg, #4e342e); border-color: var(--thm-black-bg, #4e342e); color: #fff !important; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(78, 52, 46, .3); }
.pnh-shop-btn--wa { background: #25d366; color: #fff !important; border: 2px solid #25d366; }
.pnh-shop-btn--wa:hover { background: #1ebe5b; border-color: #1ebe5b; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(37, 211, 102, .4); }
.pnh-shop-card .single-products-style1__content-btn { margin-top: 12px; }

/* listing toolbar */
.pnh-shop-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 22px; padding: 14px 18px; background: var(--thm-white, #fff); border: 1.5px solid var(--thm-border-color-1, #ede9d8); border-radius: 18px; box-shadow: 0 8px 24px rgba(78, 52, 46, .06); }
.pnh-shop-bar__count { flex: 1 1 240px; font-size: 15px; color: var(--thm-body-font-color, #69594c); }
.pnh-shop-bar__count strong { color: var(--thm-heading-font-color, #1a0e05); }
.pnh-shop-bar__clear { margin-left: 8px; font-weight: 700; color: #d9381e; text-decoration: underline; }
.pnh-shop-bar__search, .pnh-shop-bar__sort { position: relative; margin: 0; }
.pnh-shop-bar__search { flex: 2 1 280px; }
.pnh-shop-bar__sort { flex: 1 1 200px; }
.pnh-shop-bar i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--thm-body-font-color-3, #ab948e); pointer-events: none; }
.pnh-shop-bar input, .pnh-shop-bar select { width: 100%; height: 48px; padding: 0 16px 0 44px; border: 1.5px solid var(--thm-border-color-1, #ede9d8); border-radius: 14px; background: var(--thm-gray-bg-2, #f7f3e5); color: var(--thm-heading-font-color, #1a0e05); font-family: var(--thm-font); font-size: 15px; font-weight: 500; outline: 0; transition: border-color .25s, box-shadow .25s, background .25s; }
.pnh-shop-bar input:focus, .pnh-shop-bar select:focus { background: #fff; border-color: var(--thm-primary-color, #f4ca4e); box-shadow: 0 0 0 4px rgba(var(--thm-primary-color-rgb, 244, 202, 78), .25); }
.pnh-shop-bar__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border: 0; border-radius: 14px; background: var(--thm-black-bg, #4e342e); color: #fff; font-weight: 700; transition: background .25s, transform .25s; }
.pnh-shop-bar__btn i { position: static; transform: none; color: var(--thm-primary-color, #f4ca4e); }
.pnh-shop-bar__btn:hover { background: #3a2722; transform: translateY(-2px); }

/* trust strip (home) + trust row (product page) */
.pnh-trust { padding: 0 0 20px; background: var(--thm-gray-bg, #f5f1e0); }
.pnh-trust__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; transform: translateY(-8px); }
.pnh-trust__list li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--thm-white, #fff); border: 1.5px solid var(--thm-border-color-1, #ede9d8); border-radius: 16px; box-shadow: 0 8px 22px rgba(78, 52, 46, .07); transition: transform .3s, box-shadow .3s; }
.pnh-trust__list li:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(78, 52, 46, .14); }
.pnh-trust__ico { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(var(--thm-primary-color-rgb, 244, 202, 78), .3); color: var(--thm-black-bg, #4e342e); font-size: 19px; }
.pnh-trust__list strong { display: block; font-family: var(--thm-font-2, sans-serif); font-size: 15px; color: var(--thm-heading-font-color, #1a0e05); line-height: 1.3; }
.pnh-trust__list small { display: block; font-size: 12.5px; color: var(--thm-body-font-color, #69594c); line-height: 1.4; }
.pnh-trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 6px; padding: 0; list-style: none; }
.pnh-trust-row li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1.5px solid var(--thm-border-color-1, #ede9d8); border-radius: 50px; background: var(--thm-gray-bg, #f5f1e0); font-size: 13.5px; font-weight: 600; color: var(--thm-black-bg, #4e342e); }
.pnh-trust-row i { color: #2e9e4f; }

@media (max-width: 991px) { .pnh-trust__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) {
    .pnh-trust__list { grid-template-columns: 1fr; gap: 10px; }
    .pnh-shop-bar { padding: 12px; }
    .pnh-shop-bar__btn { width: 100%; }
    .pnh-shop-actions { flex-direction: column; }
    .pnh-price--lg .pnh-price__now { font-size: 28px; }
}

/* product page sidebar: the current product was pale gold on cream - make it readable */
.sidebar-style1__services-list li.active > a, .sidebar-style1__services-list li.active > a small { color: var(--thm-black-bg, #4e342e) !important; font-weight: 700; }
.sidebar-style1__services-list li.active > a i, .sidebar-style1__services-list li.active > a span { color: var(--thm-black-bg, #4e342e) !important; }

/* ---------- Homepage: Shop by Problem ---------- */
.pnh-problems { position: relative; padding: 90px 0 50px; background: var(--thm-white, #fff); overflow: hidden; }
.pnh-problems::before { content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none; background: url("../images/pattern/thm-pattern1.png") repeat top left / 380px; }
.pnh-problems .container { position: relative; z-index: 1; }
.pnh-problems .sec-title { margin-bottom: 40px; }
.pnh-problems__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.pnh-problem {
    position: relative; display: block; aspect-ratio: 3 / 4.1; overflow: hidden;
    border-radius: 22px; text-decoration: none !important; color: #fff !important;
    box-shadow: 0 14px 34px rgba(var(--thm-black-bg-rgb, 78, 52, 46), .22);
    opacity: 0; transform: translateY(40px) scale(.96);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease;
    transition-delay: calc(var(--i) * 110ms);
    isolation: isolate;
}
.pnh-problem.is-in { opacity: 1; transform: none; }
.pnh-problem.is-in:hover { transform: translateY(-10px); transition-delay: 0s; box-shadow: 0 26px 50px rgba(var(--thm-black-bg-rgb, 78, 52, 46), .38); }

.pnh-problem__photo { position: absolute; inset: 0; z-index: -3; background-size: cover; background-position: center; transform: scale(1.02); transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.pnh-problem:hover .pnh-problem__photo { transform: scale(1.14); }
.pnh-problem__shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(20, 11, 6, .62) 0%, rgba(20, 11, 6, 0) 38%, rgba(20, 11, 6, 0) 52%, rgba(20, 11, 6, .82) 100%); transition: opacity .4s; }
.pnh-problem:hover .pnh-problem__shade { background: linear-gradient(180deg, rgba(20, 11, 6, .7) 0%, rgba(20, 11, 6, .12) 38%, rgba(20, 11, 6, .25) 55%, rgba(20, 11, 6, .9) 100%); }
/* light sweep on hover */
.pnh-problem__shine { position: absolute; top: 0; bottom: 0; left: -80%; width: 45%; z-index: -1; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent); }
.pnh-problem:hover .pnh-problem__shine { left: 130%; transition: left .9s ease; }

.pnh-problem__title { position: absolute; left: 14px; right: 14px; top: 20px; text-align: center; font-family: var(--thm-font-2, sans-serif); font-size: 21px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; line-height: 1.25; text-shadow: 0 2px 12px rgba(0, 0, 0, .55); }
.pnh-problem__title::after { content: ""; display: block; width: 38px; height: 3px; margin: 10px auto 0; border-radius: 3px; background: var(--thm-primary-color, #f4ca4e); transition: width .4s ease; }
.pnh-problem:hover .pnh-problem__title::after { width: 78px; }

.pnh-problem__bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 18px 20px; text-align: center; }
.pnh-problem__text { display: block; margin-bottom: 12px; font-size: 14px; line-height: 1.4; opacity: .92; transform: translateY(14px); opacity: 0; transition: transform .4s ease, opacity .4s ease; }
.pnh-problem:hover .pnh-problem__text, .pnh-problem:focus-visible .pnh-problem__text { transform: none; opacity: .95; }
.pnh-problem__cta { display: inline-flex; align-items: center; gap: 9px; padding: 9px 20px; border-radius: 50px; background: var(--thm-primary-color, #f4ca4e); color: var(--thm-black, #1a0e05); font-size: 14px; font-weight: 700; box-shadow: 0 8px 18px rgba(0, 0, 0, .3); transition: background .3s, color .3s, gap .3s; }
.pnh-problem:hover .pnh-problem__cta { background: #fff; gap: 14px; }

@media (max-width: 991px) {
    .pnh-problems { padding: 70px 0 30px; }
    .pnh-problems__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 575px) {
    .pnh-problems { padding: 50px 0 20px; }
    .pnh-problems__grid { gap: 12px; }
    .pnh-problem { border-radius: 16px; aspect-ratio: 3 / 4.4; }
    .pnh-problem__title { font-size: 15px; letter-spacing: .6px; top: 14px; }
    .pnh-problem__bottom { padding: 12px 10px 14px; }
    .pnh-problem__cta { padding: 7px 14px; font-size: 12.5px; }
}
/* touch screens have no hover: keep the description visible */
@media (hover: none) { .pnh-problem__text { transform: none; opacity: .95; } .pnh-problem__photo { transform: scale(1.08); } }
@media (max-width: 575px) { .pnh-problem__text { display: none; } }
@media (prefers-reduced-motion: reduce) { .pnh-problem { opacity: 1; transform: none; transition: none; } }
