/* Pragati storefront layout + brand styling (modern theme).
   Loaded after pragati-colors.css, which re-colours the stock theme.
   Palette from the Pragati logo: Golden #D4A017, Mocha #5C3A21, Cream #FFF9F0, Espresso #2B2118.
   Gold is used for accents and backgrounds only (it is too light for small text on white);
   text accents use Mocha. */
:root {
    --pg-gold: #D4A017;
    --pg-mocha: #5C3A21;
    --pg-cream: #FFF9F0;
    --pg-espresso: #2B2118;
    --pg-gold-soft: #F6EAD2;
    --pg-gold-light: #E9D4AD;
    --pg-text: #2B2118;
    --pg-muted: #74655A;
    --pg-border: #EADFCF;
}

/* the template injects admin colour settings on every element; point them at the palette */
html, html * {
    --primary-color: #5C3A21;
    --secondary-color: #D4A017;
    --font-color: #FFF9F0;
}

::selection { background: var(--pg-gold-light); color: var(--pg-espresso); }

/* ---------- header shell ---------- */
.pg-header, .pg-header > .content-wrapper > header.wrapper { background: var(--pg-espresso) !important; }
@media (min-width: 992px) {
    .pg-header { position: sticky; top: 0; z-index: 1030; box-shadow: 0 2px 10px rgba(43, 33, 24, .25); }
}

/* ---------- main bar ---------- */
.pg-navbar { background: var(--pg-espresso) !important; border-bottom: 2px solid var(--pg-gold); }
.pg-navbar > .container { gap: 22px; padding-top: 10px; padding-bottom: 10px; }
.pg-navbar .pg-brand { width: auto !important; height: auto !important; flex: 0 0 auto; display: flex; align-items: center; margin: 0; padding: 0; }
.pg-navbar .pg-brand a { display: flex; align-items: center; }
.pg-navbar .pg-brand a:empty { display: none; }
.pg-navbar .pg-brand img { width: auto; height: auto; max-width: 200px; max-height: 54px; }
.pg-menu-logo img { width: auto; max-width: 150px; max-height: 44px; }

/* ---------- live search ---------- */
.pg-search { position: relative; display: flex; flex: 1 1 auto; max-width: 720px; align-items: center; gap: 10px; height: 46px; margin: 0; padding: 0 12px 0 16px; background: var(--pg-cream); border: 2px solid transparent; border-radius: 8px; transition: border-color .15s; }
.pg-search:hover, .pg-search:focus-within { border-color: var(--pg-gold); }
.pg-search.is-open { border-radius: 8px 8px 0 0; }
.pg-search > i { font-size: 20px; color: var(--pg-mocha); }
.pg-search-input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 15px; color: var(--pg-text); }
.pg-search-input::placeholder { color: var(--pg-muted); }
.pg-search-input::-webkit-search-cancel-button { display: none; }
.pg-search-clear { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; color: var(--pg-muted); background: transparent; border: 0; border-radius: 50%; }
.pg-search-clear[hidden] { display: none; }
.pg-search-clear:hover { color: var(--pg-espresso); background: var(--pg-gold-soft); }
.pg-search.is-loading > i { animation: pg-pulse .8s ease-in-out infinite alternate; }
@keyframes pg-pulse { from { opacity: 1; } to { opacity: .35; } }

.pg-search-panel { position: absolute; top: calc(100% + 2px); left: -2px; right: -2px; z-index: 1050; max-height: min(72vh, 560px); padding: 6px 0 8px; overflow-y: auto; text-align: left; background: #fff; border: 2px solid var(--pg-gold); border-top: 1px solid var(--pg-border); border-radius: 0 0 12px 12px; box-shadow: 0 18px 36px rgba(43, 33, 24, .22); }
.pg-search-panel[hidden] { display: none; }
.pg-sp-section { padding: 8px 0 4px; }
.pg-sp-section + .pg-sp-section { border-top: 1px solid var(--pg-border); }
.pg-sp-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 16px 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pg-mocha); }
.pg-sp-clear-recent { padding: 0; font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--pg-muted); background: none; border: 0; }
.pg-sp-clear-recent:hover { color: var(--pg-espresso); text-decoration: underline; }
.pg-sp-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 16px 6px; }
.pg-sp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; font-size: 13px; color: var(--pg-text) !important; background: var(--pg-cream); border: 1px solid var(--pg-border); border-radius: 18px; text-decoration: none; }
.pg-sp-chip i { color: var(--pg-muted); }
.pg-sp-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 4px 16px 8px; }
.pg-sp-cat { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 4px; font-size: 12.5px; line-height: 1.25; text-align: center; color: var(--pg-text) !important; border-radius: 10px; text-decoration: none; }
.pg-sp-cat img { width: 56px; height: 56px; object-fit: contain; padding: 4px; background: var(--pg-gold-soft); border-radius: 28px 28px 8px 8px; }
.pg-sp-row, .pg-sp-product, .pg-sp-all { display: flex; align-items: center; gap: 12px; padding: 8px 16px; font-size: 14px; color: var(--pg-text) !important; text-decoration: none; }
.pg-sp-row i { width: 20px; font-size: 17px; text-align: center; color: var(--pg-muted); }
.pg-sp-row img { width: 34px; height: 34px; object-fit: contain; background: var(--pg-gold-soft); border-radius: 17px 17px 6px 6px; }
.pg-sp-product img { flex: 0 0 48px; width: 48px; height: 48px; object-fit: contain; background: var(--pg-cream); border-radius: 8px; }
.pg-sp-product-info { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
.pg-sp-product-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pg-sp-muted { font-size: 12px; color: var(--pg-muted); }
.pg-sp-price { display: flex; flex-direction: column; align-items: flex-end; white-space: nowrap; }
.pg-sp-price strong { font-size: 14px; color: var(--pg-espresso); }
.pg-sp-price s { font-size: 12px; color: var(--pg-muted); }
.pg-sp-all { justify-content: center; margin-top: 4px; font-weight: 700; color: var(--pg-mocha) !important; border-top: 1px solid var(--pg-border); }
.pg-search-panel mark { padding: 0; font-weight: 700; color: inherit; background: transparent; }
.pg-sp-row:hover, .pg-sp-product:hover, .pg-sp-cat:hover, .pg-sp-all:hover, .pg-sp-chip:hover,
.pg-search-panel .is-active { background: var(--pg-cream); outline: none; }
.pg-sp-chip.is-active, .pg-sp-chip:hover { border-color: var(--pg-gold); }
.pg-sp-empty { margin: 0; padding: 18px 16px 10px; font-size: 14px; color: var(--pg-muted); }

/* desktop: the old centre menu is replaced by search + actions (links live in the mobile menu and footer) */
@media (min-width: 992px) {
    .pg-navbar .pg-menu { display: none !important; }
    .pg-navbar .navbar-other { width: auto !important; flex: 0 0 auto; }
}

.pg-actions { gap: 4px; }
.pg-header .pg-actions .nav-link,
.pg-header .pg-actions .nav-link:hover,
.pg-header .pg-actions .nav-link:focus { color: var(--pg-cream) !important; }
.pg-header .pg-actions .nav-link:hover i,
.pg-header .pg-actions .nav-link:hover span { color: var(--pg-gold) !important; }
.pg-action-link { position: relative; font-size: 14px; font-weight: 500; line-height: 1.15; padding: 6px 12px !important; white-space: nowrap; }
.pg-inline-link { display: flex; align-items: center; gap: 6px; }
.pg-inline-link i { font-size: 18px; }
.pg-icon-link { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.pg-icon-link i { font-size: 22px; line-height: 1; }
.pg-action-sep { border-right: 1px solid rgba(255, 249, 240, .22); margin-right: 6px; padding-right: 6px; }
.pg-header .badge-cart { position: absolute; top: 0; right: 6px; min-width: 18px; height: 18px; padding: 0 5px; font-size: 11px; line-height: 18px; border-radius: 9px; background: var(--pg-gold) !important; color: var(--pg-espresso) !important; font-weight: 700; }
.pg-header .badge-cart:empty { display: none; }
.pg-header .pg-burger, .pg-header .pg-burger:hover { color: var(--pg-cream) !important; font-size: 24px !important; }

/* hover dropdowns (Download App / Profile / language) - desktop only */
.pg-has-dropdown { position: relative; }
.pg-dropdown { display: none; position: absolute; top: 100%; right: 0; z-index: 1045; min-width: 240px; padding: 16px; background: #fff; border-top: 3px solid var(--pg-gold); border-radius: 0 0 10px 10px; box-shadow: 0 12px 28px rgba(43, 33, 24, .18); text-align: left; }
@media (min-width: 992px) {
    .pg-has-dropdown:hover > .pg-dropdown,
    .pg-has-dropdown:focus-within > .pg-dropdown { display: block; }
}
.pg-dropdown-title { margin: 0 0 2px; font-size: 16px; font-weight: 700; color: var(--pg-text); }
.pg-dropdown-sub { margin: 0 0 12px; font-size: 13px; color: var(--pg-muted); }
.pg-dropdown-btn { display: block; margin-bottom: 10px; padding: 9px 12px; text-align: center; font-weight: 600; color: var(--pg-espresso) !important; background: var(--pg-gold); border-radius: 6px; text-decoration: none; }
.pg-dropdown-btn:hover { background: var(--pg-mocha); color: var(--pg-cream) !important; }
.pg-dropdown-link { display: flex; align-items: center; gap: 10px; padding: 9px 2px; font-size: 14px; color: var(--pg-text) !important; border-top: 1px solid var(--pg-border); text-decoration: none; }
.pg-dropdown-link i { font-size: 18px; color: var(--pg-mocha); }
.pg-dropdown-link:hover { color: var(--pg-mocha) !important; background: var(--pg-cream); }
.pg-inline-badge { position: static !important; margin-left: auto; }
.pg-dropdown-app { min-width: 220px; }
.pg-dropdown-app .pg-store-badges { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 10px; }

/* ---------- mobile search band ---------- */
@media (max-width: 991.98px) {
    /* the same search box drops to its own full-width row under the logo on phones */
    .pg-navbar > .container { flex-wrap: wrap !important; row-gap: 10px; padding-left: 12px !important; padding-right: 12px !important; }
    .pg-navbar .navbar-other { width: auto !important; flex: 1 1 auto; justify-content: flex-end; }
    .pg-navbar .pg-search { order: 10; flex: 1 0 100%; max-width: none; height: 42px; }
    .pg-search-panel { max-height: 70vh; }
    .pg-sp-cats { grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 4px 10px 8px; }
    .pg-sp-cat img { width: 48px; height: 48px; }
}

/* ---------- category strip + mega menu ---------- */
.pg-catnav { background: var(--pg-cream); border-bottom: 1px solid var(--pg-border); }
.pg-catnav-inner { position: relative; }
.pg-catnav-list { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; overflow-x: auto; white-space: nowrap; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.pg-catnav-list::-webkit-scrollbar { display: none; }
/* fade on the right hints that the strip scrolls sideways (an overlay, not a mask: a mask would clip the mega menu) */
.pg-catnav-list { padding-right: 40px; }
.pg-catnav-inner::after { content: ""; position: absolute; top: 0; right: 12px; width: 48px; height: 44px; background: linear-gradient(to right, rgba(255, 249, 240, 0), var(--pg-cream)); pointer-events: none; }
.pg-cat { position: static; }
.pg-cat-link { display: block; padding: 12px 12px 10px; font-size: 14.5px; font-weight: 500; color: var(--pg-text) !important; text-decoration: none; border-bottom: 3px solid transparent; }
.pg-cat:hover > .pg-cat-link, .pg-cat:focus-within > .pg-cat-link { color: var(--pg-mocha) !important; border-bottom-color: var(--pg-gold); }

/* fixed, not absolute: the strip scrolls, and overflow-x:auto forces overflow-y:auto, which
   clipped this panel to nothing. initMegaMenu() in pragati.js keeps the three variables current. */
.pg-mega { position: fixed; top: var(--pg-catnav-bottom, 100%); left: var(--pg-catnav-left, 12px); width: var(--pg-catnav-width, auto); right: auto; z-index: 1035; padding: 22px 26px; background: #fff; border-top: 3px solid var(--pg-gold); border-radius: 0 0 12px 12px; box-shadow: 0 16px 34px rgba(43, 33, 24, .18); white-space: normal; visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility 0s linear .15s; }
.pg-cat:hover > .pg-mega, .pg-cat:focus-within > .pg-mega { visibility: visible; opacity: 1; transform: none; transition-delay: .12s; }
.pg-mega-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px 28px; max-height: 64vh; overflow-y: auto; }
.pg-mega-title { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 700; color: var(--pg-mocha) !important; text-decoration: none; }
.pg-mega-link { display: block; padding: 4px 0; font-size: 14px; color: var(--pg-muted) !important; text-decoration: none; }
.pg-mega-title:hover, .pg-mega-link:hover { color: var(--pg-espresso) !important; text-decoration: underline; text-decoration-color: var(--pg-gold); text-underline-offset: 3px; }
@media (max-width: 991.98px) {
    .pg-mega { display: none; }
    .pg-cat-link { padding: 10px 10px 8px; font-size: 14px; }
}

/* ---------- trust strip ---------- */
.pg-trust { padding: 16px 0 0; }
.pg-trust-list { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 56px; margin: 0; padding: 12px 16px; list-style: none; background: #fff; border: 1px solid var(--pg-gold-light); border-radius: 10px; box-shadow: 0 0 0 4px var(--pg-cream); }
.pg-trust-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--pg-text); }
.pg-trust-list i { font-size: 22px; color: var(--pg-gold); }

/* ---------- category tiles (home) ---------- */
/* native horizontal rail: scrolls with touch, trackpad and shift+wheel; arrows for mouse users */
.pg-categories { padding: 16px 0 4px; }
.pg-rail-wrap { position: relative; }
.pg-rail { display: flex; gap: 14px; padding: 4px 2px 8px; overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.pg-rail::-webkit-scrollbar { display: none; }
.pg-rail-item { flex: 0 0 150px; scroll-snap-align: start; text-align: center; color: var(--pg-text) !important; text-decoration: none; }
.pg-rail-item img, .pg-see-all-icon { display: block; width: 150px; height: 150px; margin: 0 auto; border: 2px solid transparent; border-radius: 75px 75px 12px 12px; transition: transform .2s, border-color .2s; }
.pg-rail-item img { padding: 10px; object-fit: contain; background: var(--pg-gold-soft); }
.pg-see-all-icon { display: flex; align-items: center; justify-content: center; background: var(--pg-espresso); }
.pg-see-all-icon i { font-size: 52px; color: var(--pg-gold); }
.pg-rail-item:hover img, .pg-rail-item:hover .pg-see-all-icon { transform: translateY(-3px); border-color: var(--pg-gold); }
.pg-rail-label { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-top: 10px; overflow: hidden; font-size: 14px; font-weight: 500; line-height: 1.3; }
.pg-rail-btn { position: absolute; top: 79px; z-index: 3; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; font-size: 26px; color: var(--pg-mocha); background: #fff; border: 1px solid var(--pg-border); border-radius: 50%; box-shadow: 0 6px 16px rgba(43, 33, 24, .18); transform: translateY(-50%); transition: background .15s, color .15s; }
.pg-rail-btn:hover { color: var(--pg-espresso); background: var(--pg-gold); border-color: var(--pg-gold); }
.pg-rail-btn[hidden] { display: none; }
.pg-rail-prev { left: -18px; }
.pg-rail-next { right: -18px; }
@media (hover: none) { .pg-rail-btn { display: none; } }
@media (max-width: 991.98px) {
    .pg-rail { gap: 10px; }
    .pg-rail-item { flex-basis: 96px; }
    .pg-rail-item img, .pg-see-all-icon { width: 96px; height: 96px; border-radius: 48px 48px 10px 10px; }
    .pg-rail-item img { padding: 6px; }
    .pg-see-all-icon i { font-size: 36px; }
    .pg-rail-label { font-size: 12.5px; }
    .pg-rail-btn { top: 50px; width: 36px; height: 36px; font-size: 22px; }
    .pg-rail-prev { left: -6px; }
    .pg-rail-next { right: -6px; }
}

/* ---------- banners ---------- */
.slider .swiper-slide-container img.rounded-3, .offer-img img { border-radius: 12px !important; }

/* ---------- section titles ---------- */
.featured-section-title h3, .featured-section-title .section-title, .pg-section-title { font-size: 26px; font-weight: 700; color: var(--pg-text); }
.featured-section-title .title-sm { margin-top: 2px; color: var(--pg-muted) !important; }
.featured-section-title a.hover, .pg-view-all { color: var(--pg-mocha) !important; font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: .3px; text-decoration: none; }
.featured-section-title a.hover:hover, .pg-view-all:hover { text-decoration: underline; text-decoration-color: var(--pg-gold); text-underline-offset: 4px; }

/* ---------- product cards: stock theme sections ---------- */
.project.item figure { border-radius: 12px !important; background: var(--pg-cream); overflow: hidden; }
.project.item .post-header { text-align: left !important; padding: 0 4px; }
.project.item .post-title { font-size: 15px !important; font-weight: 400; }
.project.item .post-title a { color: var(--pg-muted) !important; }
.project.item .price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.project.item .price #price { font-size: 20px; font-weight: 700; color: var(--pg-text); }
.project.item .price sup { top: 0; position: static; }
.project.item .price .striped-price, .project.item .price .striped-price s { font-size: 14px; color: var(--pg-muted) !important; }
.sale_tag { background: var(--pg-gold) !important; color: var(--pg-espresso) !important; font-weight: 700; }

/* ---------- product cards: Pragati feed ---------- */
.pg-card { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--pg-border); border-radius: 12px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.pg-card:hover { box-shadow: 0 10px 24px rgba(43, 33, 24, .12); transform: translateY(-2px); }
.pg-card-link { display: flex; flex-direction: column; flex: 1 1 auto; color: inherit; text-decoration: none; }
.pg-card-link:hover, .pg-card-link:focus { color: inherit; }
/* wishlist heart: the stock JS swaps fa-heart-o <-> fa-heart text-danger on this element */
.pg-card-fav { position: absolute; top: 10px; right: 10px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; font-size: 16px; color: var(--pg-mocha); text-decoration: none; background: rgba(255, 255, 255, .94); border-radius: 50%; box-shadow: 0 2px 8px rgba(43, 33, 24, .16); transition: transform .15s; }
.pg-card-fav:hover, .pg-card-fav:focus { color: var(--pg-mocha); background: #fff; transform: scale(1.08); }
.pg-card-fav.fa-heart { color: #E0457B !important; }
/* A fixed height, not an aspect ratio: the same card appears in columns of different widths
   (the home sections are wider than the "Products For You" feed, which has a sidebar), and a
   ratio turned that into cards of different heights. The height is the same everywhere now and
   object-fit:contain letterboxes the photo sideways, which is what the shop asked for. */
.pg-card-img { position: relative; height: 300px; background: var(--pg-cream); }
.pg-card-img img { width: 100%; height: 100%; object-fit: contain; }
.pg-card-badge { position: absolute; top: 10px; left: 10px; padding: 3px 8px; font-size: 12px; font-weight: 700; color: var(--pg-espresso); background: var(--pg-gold); border-radius: 4px; }
.pg-card-body { padding: 10px 12px 14px; }
.pg-card-name { margin: 0 0 6px; overflow: hidden; font-size: 15px; font-weight: 400; color: var(--pg-muted); white-space: nowrap; text-overflow: ellipsis; }
.pg-card-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.pg-card-price strong { font-size: 19px; font-weight: 700; color: var(--pg-text); }
.pg-card-price s { font-size: 13px; color: var(--pg-muted); }
/* savings are green everywhere (cards, product page, cart and checkout price details); the brand
   colours stay on the rating pill and the badge */
.pg-card-off { font-size: 13px; font-weight: 700; color: #2E7D32; }
.pg-card-rating { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.pg-rate { display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px; font-size: 13px; font-weight: 700; color: var(--pg-espresso); background: var(--pg-gold); border-radius: 12px; }
.pg-rate i { font-size: 11px; }
.pg-card-rating small { font-size: 12px; color: var(--pg-muted); }

/* ---------- Products For You ---------- */
.pg-feed { padding: 10px 0 40px; }
.pg-feed-head { margin: 10px 0 18px; }
.pg-filter { position: sticky; top: 170px; border: 1px solid var(--pg-border); border-radius: 12px; background: #fff; }
.pg-filter-block { padding: 14px 16px; border-bottom: 1px solid var(--pg-border); }
.pg-filter-block:last-child { border-bottom: 0; }
.pg-filter-title { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--pg-mocha); }
.pg-filter a { display: block; padding: 5px 0; font-size: 14px; color: var(--pg-text) !important; text-decoration: none; }
.pg-filter a:hover { color: var(--pg-mocha) !important; text-decoration: underline; text-decoration-color: var(--pg-gold); }
.pg-chips { display: flex; gap: 8px; margin-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.pg-chips::-webkit-scrollbar { display: none; }
.pg-chips a { flex: 0 0 auto; padding: 6px 14px; font-size: 13px; font-weight: 500; color: var(--pg-text) !important; background: #fff; border: 1px solid var(--pg-border); border-radius: 18px; text-decoration: none; }
.pg-chips a:hover { border-color: var(--pg-gold); background: var(--pg-cream); }
.pg-feed-more { display: inline-block; margin-top: 22px; padding: 11px 26px; font-weight: 700; color: var(--pg-cream) !important; background: var(--pg-mocha); border-radius: 8px; text-decoration: none; }
.pg-feed-more:hover { background: var(--pg-espresso); }

/* ---------- brand strip ---------- */
.pg-brands { background: var(--pg-cream); padding: 6px 0 18px; }
.pg-brands .brand_image_div img { background: #fff; border: 1px solid var(--pg-border); border-radius: 12px; padding: 10px; }

/* ---------- official store badges ---------- */
.pg-store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.pg-badge { display: inline-block; line-height: 0; border-radius: 8px; transition: transform .15s, filter .15s; }
.pg-badge:hover { transform: translateY(-2px); filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .25)); }
.pg-badge img { display: block; width: auto; height: 40px; }
/* Google's badge PNG ships with 41px of clear space on every side (badge 564x168 in 646x250):
   scale it so the visible badge matches Apple's height and pull the clear space in with negative margins */
.pg-badge-google img { height: 59.5px; margin: -9.8px; }
.pg-store-badges-lg .pg-badge img { height: 52px; }
.pg-store-badges-lg .pg-badge-google img { height: 77.4px; margin: -12.7px; }

/* ---------- footer ---------- */
.pg-footer { margin-top: 48px; color: rgba(255, 249, 240, .78); background: var(--pg-espresso); }
/* kit pages paint their own cream background, so the gap would show as a white band */
.pg-page + .pg-footer, .pg-page ~ .pg-footer { margin-top: 0; }
.pg-footer-main { padding: 56px 0 40px; border-top: 3px solid var(--pg-gold); }
.pg-footer-logo { display: inline-block; }
.pg-footer-logo img { display: block; width: 100%; max-width: 230px; height: auto; }
.pg-footer-about { max-width: 360px; margin: 18px 0 20px; font-size: 14px; line-height: 1.7; color: rgba(255, 249, 240, .72); }
.pg-footer-title { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pg-gold); }
.pg-footer-apps-title { margin-top: 26px; }
.pg-footer-links { margin: 0; padding: 0; list-style: none; }
.pg-footer-links li { margin-bottom: 2px; }
.pg-footer-links a, .pg-footer-address { display: inline-flex; align-items: flex-start; gap: 10px; padding: 5px 0; font-size: 14px; line-height: 1.5; color: rgba(255, 249, 240, .82) !important; text-decoration: none; }
.pg-footer-links a:hover { color: var(--pg-gold) !important; }
.pg-footer-contact i { margin-top: 2px; font-size: 16px; color: var(--pg-gold); }
.pg-footer-contact span { overflow-wrap: anywhere; }
.pg-footer-social { display: flex; gap: 10px; }
.pg-footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; font-size: 18px; color: var(--pg-cream) !important; border: 1px solid rgba(212, 160, 23, .45); border-radius: 50%; text-decoration: none; transition: background .15s, color .15s; }
.pg-footer-social a:hover { color: var(--pg-espresso) !important; background: var(--pg-gold); border-color: var(--pg-gold); }
.pg-footer-bottom { padding: 16px 0; font-size: 13px; color: rgba(255, 249, 240, .6); border-top: 1px solid rgba(255, 249, 240, .1); }
.pg-footer-bottom p { margin: 0; text-align: center; }

/* ---------- small screens ---------- */
@media (max-width: 991.98px) {
    .pg-navbar > .container { gap: 10px; padding-top: 8px; padding-bottom: 8px; }
    .pg-navbar .pg-brand img { max-width: 140px; max-height: 42px; }
    .pg-actions { gap: 0; }
    .pg-action-link { padding: 6px 8px !important; }
    .pg-icon-link .pg-label { display: none; }
    .pg-header .badge-cart { right: 0; }
    .pg-trust-list { gap: 4px 18px; padding: 10px; }
    .pg-trust-list li { font-size: 13px; gap: 6px; }
    .pg-trust-list i { font-size: 18px; }
    .featured-section-title h3, .featured-section-title .section-title, .pg-section-title { font-size: 21px; }
    .pg-card-img { height: 250px; }
    .pg-card-name { font-size: 14px; }
    .pg-card-price strong { font-size: 17px; }
}
@media (max-width: 575.98px) {
    .pg-trust-list { justify-content: space-between; }
    .pg-trust-list li { flex: 1 1 0; flex-direction: column; text-align: center; font-size: 12px; }
    .pg-card-img { height: 210px; }
    /* room for the rating line whether or not the product has one, so two cards side by side
       are never a line apart in height */
    .pg-card-body { padding: 8px 10px 12px; min-height: 152px; }
}

/* ---------- app download CTA (home) ---------- */
.pg-app { padding: 24px 0 8px; }
.pg-app-card { position: relative; display: flex; align-items: center; gap: 40px; padding: 48px 56px; overflow: hidden; color: var(--pg-cream); background: radial-gradient(circle at 82% 50%, rgba(212, 160, 23, .30), transparent 42%), linear-gradient(115deg, var(--pg-espresso) 0%, #3a2a1d 55%, var(--pg-mocha) 100%); border: 1px solid rgba(212, 160, 23, .35); border-radius: 24px; box-shadow: 0 18px 40px rgba(43, 33, 24, .18); }
.pg-app-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(212, 160, 23, .18); border-radius: 18px; pointer-events: none; }
.pg-app-copy { position: relative; z-index: 1; flex: 1 1 auto; max-width: 640px; }
.pg-app-eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--pg-gold); }
.pg-app-title { margin: 0 0 10px; font-size: 36px; font-weight: 700; line-height: 1.2; color: var(--pg-cream); }
.pg-app-tagline { margin: 0 0 6px; font-size: 18px; font-weight: 600; color: var(--pg-gold-light); }
.pg-app-text { margin: 0 0 26px; font-size: 15px; color: rgba(255, 249, 240, .75); }
.pg-app-art { position: relative; z-index: 1; flex: 0 1 400px; text-align: center; }
.pg-app-art img { display: block; width: 100%; max-width: 400px; height: auto; margin: 0 auto; filter: drop-shadow(0 12px 26px rgba(0, 0, 0, .45)); }
@media (max-width: 991.98px) {
    .pg-app-card { flex-direction: column-reverse; gap: 18px; padding: 32px 22px; text-align: center; }
    .pg-app-art { flex-basis: auto; width: 100%; }
    .pg-app-art img { max-width: 260px; }
    .pg-app-title { font-size: 25px; }
    .pg-app-tagline { font-size: 16px; }
    .pg-app .pg-store-badges { justify-content: center; }
    .pg-store-badges-lg .pg-badge img { height: 44px; }
    .pg-store-badges-lg .pg-badge-google img { height: 65.5px; margin: -10.75px; }
    .pg-footer-main { padding: 40px 0 28px; }
}

/* ---------- global fixes for the stock theme ---------- */
/* The theme sets html,body{height:100%} and makes body a flex column. That gives the page a fixed
   height, so position:sticky elements (the header, filter sidebars, price boxes) stop sticking after
   about one screen of scrolling. */
html, body { height: auto !important; min-height: 100%; }

/* Floating chat bubble + back-to-top: stock green/blue -> palette. */
#chat-button { background-color: var(--pg-mocha) !important; color: var(--pg-cream) !important; box-shadow: 0 6px 18px rgba(43, 33, 24, .28); }
#chat-button:hover { background-color: var(--pg-espresso) !important; }
.progress-wrap::after { color: var(--pg-mocha); }
.progress-wrap svg.progress-circle path { stroke: var(--pg-gold); }

/* Stock JS writes a stale scrollbar width into .progress-wrap's margin-right whenever a modal opens,
   which stretches the floating chat bubble into a bar across the screen on phones. */
body.modal-open .fixed-icon .progress-wrap { margin-right: 0 !important; }

/* ---------- confirmation dialog (Delete Account) ---------- */
.pg-dropdown-link.pg-dropdown-danger, .pg-dropdown-link.pg-dropdown-danger i { color: var(--pg-danger, #C0392B) !important; }
.pg-dropdown-link.pg-dropdown-danger:hover { background: var(--pg-danger-soft, #FBEAE8); color: var(--pg-danger, #C0392B) !important; }
.pg-confirm .modal-content { border: 0; border-top: 4px solid var(--pg-danger, #C0392B); border-radius: 12px; box-shadow: 0 18px 44px rgba(43, 33, 24, .25); }
.pg-confirm .modal-body { position: relative; padding: 28px 26px 26px; text-align: center; }
.pg-confirm .btn-close { position: absolute; top: 14px; right: 14px; }
.pg-confirm-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 14px; background: var(--pg-danger-soft, #FBEAE8); border-radius: 50%; }
.pg-confirm-icon i { font-size: 28px; color: var(--pg-danger, #C0392B); }
.pg-confirm-title { margin: 0 0 8px; font-size: 20px; font-weight: 700; color: var(--pg-text); }
.pg-confirm-text { margin: 0 0 22px; font-size: 14px; line-height: 1.55; color: var(--pg-muted); }
.pg-confirm-actions { display: flex; gap: 12px; }
.pg-confirm-actions .pg-btn { flex: 1 1 0; min-width: 0; padding: 0 12px; }
@media (max-width: 480px) {
    .pg-confirm-actions { flex-direction: column-reverse; }
}

/* ---------- phone menu drawer (.offcanvas-nav, header.php) ----------
   The stock drawer is a cold blue-grey panel with five links; this makes it the
   Espresso panel the header sits in and gives it the real menu. Phone only:
   .pg-menu is display:none from 992px up. */
.pg-header .offcanvas-nav.pg-menu { display: flex; flex-direction: column; width: 86vw; max-width: 340px; overflow: hidden; background: var(--pg-espresso); color: var(--pg-cream); }
/* the logo and the close button stay put; only the menu below them scrolls */
.pg-header .pg-menu .offcanvas-header { flex: 0 0 auto; padding: 14px 16px; background: var(--pg-espresso); border-bottom: 2px solid var(--pg-gold); }
.pg-header .pg-menu .offcanvas-header .btn-close { opacity: .9; }
.pg-header .pg-menu .pg-menu-body { display: flex; flex-direction: column; flex: 1 1 auto; gap: 4px; padding: 0 0 24px; overflow-y: auto; -webkit-overflow-scrolling: touch; }

/* who is signed in */
.pg-menu-user { display: flex; align-items: center; gap: 12px; padding: 16px; background: rgba(212, 160, 23, .12); }
.pg-menu-avatar { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 44px; height: 44px; font-size: 18px; font-weight: 700; color: var(--pg-espresso); background: var(--pg-gold); border-radius: 50%; }
.pg-menu-avatar i { font-size: 24px; }
.pg-menu-who { display: flex; flex-direction: column; min-width: 0; }
.pg-menu-who strong { font-size: 15px; color: var(--pg-cream); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-menu-who small { font-size: 12px; color: rgba(255, 249, 240, .65); }
.pg-menu-auth { display: flex; gap: 10px; padding: 14px 16px; }
.pg-menu-auth .pg-btn { flex: 1 1 0; min-height: 44px; }
/* .pg-btn lives in pragati-shop.css, which loads after this file, so the variant needs the extra class to win */
.pg-menu-auth .pg-btn-menu-outline { color: var(--pg-cream) !important; background: transparent; border-color: rgba(255, 249, 240, .45); }
.pg-menu-auth .pg-btn-menu-outline:hover, .pg-menu-auth .pg-btn-menu-outline:focus { color: var(--pg-espresso) !important; background: var(--pg-cream); border-color: var(--pg-cream); }

/* orders / favorites / wallet / cart */
.pg-menu-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding: 12px 10px; border-bottom: 1px solid rgba(255, 249, 240, .12); }
.pg-menu-quick a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 60px; padding: 6px 2px; font-size: 11px; line-height: 1.2; text-align: center; color: var(--pg-cream) !important; text-decoration: none; border-radius: 8px; }
.pg-menu-quick a i { font-size: 21px; color: var(--pg-gold); }
.pg-menu-quick a:hover, .pg-menu-quick a:focus { background: rgba(255, 249, 240, .1); }
.pg-menu-count { position: absolute; top: 4px; right: 50%; margin-right: -22px; min-width: 18px; height: 18px; padding: 0 5px; font-size: 11px; font-style: normal; font-weight: 700; line-height: 18px; text-align: center; color: var(--pg-espresso); background: var(--pg-gold); border-radius: 9px; }

.pg-menu-heading { margin: 18px 0 2px; padding: 0 16px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pg-gold); }

/* categories */
.pg-menu-cats { display: flex; flex-direction: column; }
.pg-menu-cat > summary, .pg-menu-cat-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 12px 16px; font-size: 15px; color: var(--pg-cream) !important; text-decoration: none; cursor: pointer; list-style: none; }
.pg-menu-cat > summary::-webkit-details-marker { display: none; }
.pg-menu-cat > summary i { font-size: 20px; color: rgba(255, 249, 240, .6); transition: transform .18s; }
.pg-menu-cat[open] > summary { color: var(--pg-gold) !important; }
.pg-menu-cat[open] > summary i { transform: rotate(180deg); color: var(--pg-gold); }
.pg-menu-cat > summary:hover, .pg-menu-cat-link:hover, .pg-menu-cat > summary:focus-visible { background: rgba(255, 249, 240, .08); }
.pg-menu-sub { display: flex; flex-direction: column; padding: 2px 0 10px; background: rgba(0, 0, 0, .18); }
.pg-menu-sub a { min-height: 42px; display: flex; align-items: center; padding: 10px 16px 10px 30px; font-size: 14px; color: rgba(255, 249, 240, .82) !important; text-decoration: none; }
.pg-menu-sub a:hover, .pg-menu-sub a:focus { color: var(--pg-gold) !important; background: rgba(255, 249, 240, .06); }
.pg-menu-sub-all { font-weight: 600; color: var(--pg-gold) !important; }

/* quick links */
.pg-menu-links { display: flex; flex-direction: column; }
.pg-header .pg-menu-links .nav-link { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px 16px; font-size: 15px; color: var(--pg-cream) !important; }
.pg-header .pg-menu-links .nav-link i { font-size: 19px; color: rgba(255, 249, 240, .6); }
.pg-header .pg-menu-links .nav-link:hover, .pg-header .pg-menu-links .nav-link.active { color: var(--pg-gold) !important; background: rgba(255, 249, 240, .08); }
.pg-header .pg-menu-links .nav-link.active i, .pg-header .pg-menu-links .nav-link:hover i { color: var(--pg-gold); }

/* seller + app + language */
.pg-menu-foot { margin-top: 10px; padding-top: 6px; border-top: 1px solid rgba(255, 249, 240, .12); }
.pg-menu-seller { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; margin: 14px 16px 4px; padding: 10px 16px; font-size: 15px; font-weight: 600; color: var(--pg-espresso) !important; background: var(--pg-gold); border-radius: 8px; text-decoration: none; }
.pg-menu-seller:hover, .pg-menu-seller:focus { background: #C29214; color: var(--pg-espresso) !important; }
.pg-menu-badges { display: flex; flex-wrap: wrap; gap: 10px; padding: 4px 16px 0; }
.pg-menu-badges .pg-badge img { height: 40px; width: auto; }
.pg-menu-langs { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 16px 0; }
.pg-menu-langs a { min-width: 46px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 6px 10px; font-size: 13px; font-weight: 600; color: var(--pg-cream) !important; border: 1px solid rgba(255, 249, 240, .35); border-radius: 6px; text-decoration: none; }
.pg-menu-langs a:hover { color: var(--pg-espresso) !important; background: var(--pg-gold); border-color: var(--pg-gold); }

/* ---------- tap targets on phones ----------
   The usual minimum for a finger is 44x44 (40x40 at a push). In the shared header, footer and
   product card these were 22-38px. Where growing the box would move the page, the hit area is
   grown with vertical padding and a matching negative margin instead, which leaves the layout
   exactly where it was. */
@media (max-width: 991.98px) {
    .pg-header .pg-actions .pg-action-link { min-width: 44px; min-height: 44px; justify-content: center; padding: 6px 8px !important; }
    .pg-header .pg-burger { display: inline-flex !important; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0 !important; }
    .pg-footer-links a, .pg-footer-address { min-height: 40px; padding-top: 9px; padding-bottom: 9px; }
    .pg-footer-links li { margin-bottom: 0; }
    .pg-footer-social a { width: 44px; height: 44px; }
    .pg-footer .pg-badge img { height: 44px; }
    .pg-footer .pg-badge-google img { height: 65.5px; margin: -10.75px; }
    .pg-card-fav { width: 40px; height: 40px; }
    .offcanvas .btn-close, .pg-confirm .btn-close, .modal .btn-close { width: 40px; height: 40px; background-size: 14px; }
    .pg-chips a { display: inline-flex; align-items: center; min-height: 40px; }
    .featured-section-title a.hover, .pg-view-all { display: inline-flex; align-items: center; min-height: 40px; padding-top: 8px; padding-bottom: 8px; margin-top: -8px; margin-bottom: -8px; }
    .pg-menu-badges .pg-badge img { height: 44px; }
    .pg-menu-badges .pg-badge-google img { height: 65.5px; margin: -10.75px; }
}

/* ---------- home hero slider (.slider, pages/home.php) ----------
   Two sets of controls end up on this slider: theme.js appends its own (the arrows) inside
   .swiper-container, and the markup carries .slide-swiper-pagination in a .swiper-controls of its
   own after it. The real bullets are the second set - custom.js binds Swiper's pagination to it - so
   that block is lifted over the bottom of the image and theme.js's empty one is hidden.
   Autoplay and the arrow wiring are in js/pragati.js (initHero). */
.slider .pb-md-1 { position: relative; }
.slider .swiper-slide-container { position: relative; border-radius: 14px; }
.slider .slide-img img { border-radius: 14px; }

/* bullets, lifted onto the image */
/* pragati.js moves this block inside the slider; the theme pins it where it sits in the markup */
.slider .pg-hero-dots { position: absolute !important; left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important; z-index: 6; display: flex !important; justify-content: center; width: auto; height: auto; margin: 0; padding: 0; pointer-events: none; }
.slider .pg-hero-dots .slide-swiper-pagination { position: static !important; transform: none !important; left: auto !important; right: auto !important; width: auto; margin: 0 0 18px; padding: 7px 12px; display: inline-flex; align-items: center; gap: 8px; background: rgba(43, 33, 24, .45); border-radius: 999px; pointer-events: auto; }
/* Swiper keeps its dynamic-bullet classes (…-active-prev-prev etc.), whose CSS scales bullets down
   to 0.33-0.66, even after dynamicBullets is turned off in pragati.js. Neutralise the scaling. */
.slider .slide-swiper-pagination { width: auto !important; }
.slider .slide-swiper-pagination .swiper-pagination-bullet { width: 9px !important; height: 9px !important; margin: 0 !important; transform: none !important; background: var(--pg-cream); opacity: .55; transition: width .2s, opacity .2s, background-color .2s; }
.slider .slide-swiper-pagination .swiper-pagination-bullet:hover { opacity: .85; }
.slider .slide-swiper-pagination .swiper-pagination-bullet-active { width: 22px !important; opacity: 1; background: var(--pg-gold); border-radius: 999px; }

/* theme.js's own pagination for this slider is always empty */
.slider .swiper-slide-container > .swiper-controls > .swiper-pagination:not(.slide-swiper-pagination) { display: none; }

/* arrows (theme.js builds them inside the container; pragati.js wires them up) */
/* the theme hides the controls it builds inside a .swiper-container; the arrows live in there */
.slider .swiper-slide-container > .swiper-controls:not(.pg-hero-dots) { display: block !important; position: static; }
.slider .swiper-navigation { position: static; }
.slider .swiper-button { position: absolute; top: 50%; z-index: 3; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; color: var(--pg-espresso); background: rgba(255, 249, 240, .85); border-radius: 50%; box-shadow: 0 4px 14px rgba(43, 33, 24, .22); transform: translateY(-50%); opacity: .45; transition: opacity .2s, background-color .2s; }
.slider .swiper-button::after { font-size: 17px; font-weight: 700; }
.slider .swiper-button-prev { left: 14px; }
.slider .swiper-button-next { right: 14px; }
.slider:hover .swiper-button { opacity: 1; }
.slider .swiper-button:hover, .slider .swiper-button:focus-visible { opacity: 1; background: var(--pg-gold); }

@media (max-width: 991.98px) {
    /* on a phone the arrows sit in the way of the swipe, and the dots do the job */
    .slider .swiper-button { display: none; }
    .slider .slide-swiper-pagination { margin-bottom: 10px; padding: 6px 10px; }
    .slider .swiper-slide-container, .slider .slide-img img { border-radius: 10px; }
}

/* ---------- category strip arrows ----------
   15 departments do not fit at 1440, the strip scrolls and the scrollbar is hidden, so without
   these six of them are simply invisible. Same buttons as the category rail (initRail drives both),
   placed against the ends of the strip rather than the rail's 79px offset. */
.pg-catnav-inner { position: relative; }
.pg-catnav-inner .pg-catnav-btn { top: 50%; width: 32px; height: 32px; font-size: 20px; box-shadow: 0 2px 10px rgba(43, 33, 24, .22); }
.pg-catnav-inner .pg-rail-prev.pg-catnav-btn { left: 2px; }
.pg-catnav-inner .pg-rail-next.pg-catnav-btn { right: 2px; }
.pg-catnav-list.pg-rail { scrollbar-width: none; -ms-overflow-style: none; }
/* room so the arrows do not sit on a department name */
@media (min-width: 992px) { .pg-catnav-inner .pg-catnav-list { padding-left: 38px; padding-right: 38px; } }
.pg-catnav-list.pg-rail::-webkit-scrollbar { display: none; }
@media (max-width: 991.98px) {
    /* phones swipe the strip, and the drawer carries the full list */
    .pg-catnav-inner .pg-catnav-btn { display: none; }
}
