/* An-Nasar Store — original stylesheet (WordPress version). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: var(--font-body-size); line-height: 1.6; color: var(--color-text); background: var(--color-background); }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.25; margin: 0 0 .5em; }
a { color: var(--color-primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], input[type="password"], select, textarea { width: 100%; padding: .65rem .8rem; border: 1px solid var(--color-border); border-radius: 10px; background: #fff; color: var(--color-text); }
label { display: block; font-weight: 600; margin: .9rem 0 .3rem; }
.page-width { max-width: var(--page-width); margin: 0 auto; padding: 0 20px; }
.page-width--narrow { max-width: 860px; }
.section { padding: var(--section-spacing) 0; }
.button { display: inline-block; padding: .8rem 1.6rem; border: 1px solid transparent; border-radius: var(--button-radius); background: var(--color-deep); color: #fff; font-weight: 700; cursor: pointer; text-align: center; }
.button:hover { text-decoration: none; opacity: .92; }
.button--accent { background: var(--color-accent); }
.button--secondary { background: #fff; color: var(--color-text); border-color: var(--color-border); }
.button--large { padding: 1rem 2rem; font-size: 1.05rem; }
.button--small { padding: .5rem 1rem; font-size: .9rem; }
.button--full { width: 100%; }
.button[disabled] { opacity: .5; cursor: not-allowed; }
.section-heading { text-align: center; margin-bottom: 1.6rem; }
.section-heading--row { display: flex; justify-content: space-between; align-items: baseline; text-align: left; gap: 1rem; }
.section-heading h2 { text-transform: uppercase; letter-spacing: .02em; font-size: clamp(1.4rem, 3vw, 2rem); }
.section-heading__link { font-weight: 700; white-space: nowrap; }
.rte p { margin: 0 0 1em; }
.rte ul, .rte ol { margin: 0 0 1em 1.2em; }
.empty-note { text-align: center; color: var(--color-text-muted); padding: 2rem 0; }
.form-success { color: #1e7e34; font-weight: 600; }
.form-error { color: #b3261e; font-weight: 600; }
.announcement-bar { font-size: .9rem; font-weight: 600; }
.announcement-bar__inner { display: flex; justify-content: center; padding: .5rem 20px; }
.announcement-bar__message { display: none; margin: 0; }
.announcement-bar__message.is-active { display: block; }
.announcement-bar__message a { color: inherit; }
.hero { position: relative; overflow: hidden; }
.hero__slide { display: none; position: relative; min-height: 420px; align-items: center; }
.hero__slide.is-active { display: flex; }
.hero__slide .hero__image, .hero__placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__placeholder { background: linear-gradient(120deg, var(--color-eggshell), var(--color-primary)); }
.hero__content { position: relative; z-index: 1; padding: 3rem 20px; max-width: 640px; }
.hero__heading { font-size: clamp(2rem, 5vw, 3.4rem); text-transform: uppercase; }
.category-grid { display: grid; gap: 1.2rem; }
.category-grid--4 { grid-template-columns: repeat(4, 1fr); }
.category-card { position: relative; display: block; overflow: hidden; border-radius: 18px; border: 1px solid var(--color-border); }
.category-card__image { width: 100%; aspect-ratio: 1; object-fit: cover; }
.category-card__placeholder { aspect-ratio: 1; background: var(--color-eggshell); }
.category-card__title { position: absolute; left: 0; right: 0; bottom: 0; padding: .8rem 1rem; background: rgba(0,50,35,.78); color: #fff; font-weight: 700; text-align: center; }
.product-grid { display: grid; gap: 1.2rem; }
.slider-track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
.slider-track .product { flex: 0 0 260px; scroll-snap-align: start; }
.slider-controls button { border: 1px solid var(--color-border); background: #fff; border-radius: 50%; width: 40px; height: 40px; cursor: pointer; }
.promo-banner__box { display: flex; align-items: center; gap: 2rem; border-radius: 18px; padding: 2rem; overflow: hidden; background: var(--color-eggshell); }
.promo-banner__image { width: 45%; border-radius: 12px; }
.image-with-text__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.image-with-text__placeholder { aspect-ratio: 4/3; background: var(--color-eggshell); border-radius: 18px; }
.quality-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; text-align: center; }
.quality-item { border: 1px solid var(--color-border); border-radius: 18px; padding: 1.4rem; }
.quality-item__image { margin: 0 auto 1rem; max-height: 72px; width: auto; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.testimonial { margin: 0; border: 1px solid var(--color-border); border-radius: 18px; padding: 1.4rem; background: var(--color-eggshell); }
.testimonial .stars { color: var(--color-accent); letter-spacing: .1em; }
.testimonials__note { text-align: center; color: var(--color-text-muted); font-size: .9rem; }
.instagram-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .6rem; }
.instagram-tile img { aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.instagram-feed__note { text-align: center; color: var(--color-text-muted); font-size: .9rem; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.article-card img { border-radius: 14px; margin-bottom: .8rem; }
.article-card__meta { color: var(--color-text-muted); font-size: .9rem; }
.text-link { font-weight: 700; }
.newsletter__box { border-radius: 18px; padding: 2.5rem 1.5rem; text-align: center; background: var(--color-deep); color: #fff; }
.newsletter__form { display: flex; gap: .6rem; max-width: 480px; margin: 1rem auto 0; }
.newsletter__form input { background: #fff; }
.video-banner__wrap video, .video-banner__wrap iframe { width: 100%; border-radius: 18px; }
.video-banner__placeholder { aspect-ratio: 16/9; background: var(--color-eggshell); border-radius: 18px; display: flex; align-items: center; justify-content: center; font-weight: 700; text-align: center; padding: 1rem; }
.breadcrumbs { font-size: .9rem; margin-bottom: 1rem; }
.breadcrumb-list { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.breadcrumb-list li + li::before { content: ">"; margin-right: .4rem; color: var(--color-text-muted); }
.accordion { border-bottom: 1px solid var(--color-border); }
.accordion summary { cursor: pointer; font-weight: 700; padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; }
.accordion summary::after { content: "+"; font-size: 1.2rem; }
.accordion[open] summary::after { content: "\2212"; }
.accordion__body { padding: 0 0 1.2rem; }
.share-row { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; margin-top: 1.2rem; }
.wishlist-button { background: none; border: 0; cursor: pointer; display: inline-flex; gap: .4rem; align-items: center; font-weight: 600; color: var(--color-text); padding: .4rem 0; }
.wishlist-button.is-active svg { fill: var(--color-sale); stroke: var(--color-sale); }
.site-footer { border-top: 1px solid var(--color-border); padding: 3rem 0 1.5rem; margin-top: 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 2rem; }
.footer__grid h3 { font-size: 1rem; text-transform: uppercase; }
.footer__grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.footer__social { display: flex; gap: .8rem; margin-top: 1rem; flex-wrap: wrap; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--color-border); margin-top: 2rem; padding-top: 1rem; font-size: .9rem; }
.footer__policies { list-style: none; display: flex; gap: 1rem; margin: 0; padding: 0; flex-wrap: wrap; }
.cart-drawer { position: fixed; inset: 0; z-index: 100; }
.cart-drawer[hidden] { display: none; }
.cart-drawer__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.cart-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); background: #fff; display: flex; flex-direction: column; padding: 1.2rem; overflow-y: auto; }
.cart-drawer__header { display: flex; justify-content: space-between; align-items: center; }
.cart-drawer__header button { font-size: 1.6rem; background: none; border: 0; cursor: pointer; }
.cart-drawer__items { flex: 1; }
.cart-drawer__footer { display: grid; gap: .6rem; border-top: 1px solid var(--color-border); padding-top: 1rem; }
.free-shipping__bar { height: 8px; background: var(--color-eggshell); border-radius: 999px; overflow: hidden; }
.free-shipping__bar span { display: block; height: 100%; background: var(--color-primary); width: 0; transition: width .3s; }
.predictive-search { position: fixed; inset: 0; z-index: 110; }
.predictive-search[hidden] { display: none; }
.predictive-search__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.predictive-search__panel { position: absolute; top: 0; left: 0; right: 0; background: #fff; padding: 1.2rem; }
.predictive-search__panel form { display: flex; gap: .6rem; max-width: 720px; margin: 0 auto; }
.predictive-search__results { max-width: 720px; margin: 1rem auto; display: grid; gap: .6rem; }
.predictive-search__results a { display: flex; gap: .8rem; align-items: center; border-bottom: 1px solid var(--color-border); padding-bottom: .6rem; }
.predictive-search__results img { width: 56px; border-radius: 8px; }
.whatsapp-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.whatsapp-float:hover { text-decoration: none; }
#toast-root { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 120; display: grid; gap: .5rem; }
.toast { background: var(--color-deep); color: #fff; padding: .7rem 1.2rem; border-radius: 999px; font-weight: 600; text-align: center; }
.pagination ul.page-numbers { list-style: none; display: flex; gap: .4rem; justify-content: center; padding: 0; flex-wrap: wrap; }
.pagination .page-numbers { border: 1px solid var(--color-border); border-radius: 8px; padding: .45rem .8rem; }
.pagination .page-numbers.current { background: var(--color-deep); color: #fff; }
.header__menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: .5rem; }
.header__menu-toggle span { display: block; width: 24px; height: 2px; background: var(--color-text); }
.header__mobile-nav { border-top: 1px solid var(--color-border); padding: 1rem 20px; }
.header__mobile-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.header__mobile-nav a { font-weight: 700; }
.header__mobile-nav ul ul { margin-left: 1rem; }
.header__mobile-nav ul ul a { font-weight: 400; }
.contact-info { margin-bottom: 1.5rem; }
.faq-section .accordion, .an-nasar-faq .accordion { border: 1px solid var(--color-border); border-radius: 12px; padding: 0 1rem; margin-bottom: .6rem; }
.track-order__form { display: grid; gap: .6rem; }
.order-status-box { border: 1px solid var(--color-border); border-radius: 14px; padding: 1.2rem; margin-top: 1rem; }
@media (max-width: 900px) {
  .article-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .quality-grid { grid-template-columns: repeat(2, 1fr); }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }
  .image-with-text__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .promo-banner__box { flex-direction: column; }
  .promo-banner__image { width: 100%; }
  .header__nav { display: none; }
  .header__menu-toggle { display: flex; }
}
@media (max-width: 560px) {
  .category-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .article-grid, .testimonial-grid, .quality-grid { grid-template-columns: 1fr; }
  .hero__slide { min-height: 340px; }
  .newsletter__form { flex-direction: column; }
  .footer__grid { grid-template-columns: 1fr; }
  .section { padding: calc(var(--section-spacing) * .7) 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* --- Header layout + dropdown / mega-menu --- */
.site-header { background: #fff; border-bottom: 1px solid var(--color-border); position: relative; z-index: 60; }
.site-header--sticky { position: sticky; top: 0; }
.site-header__inner { display: flex; align-items: center; gap: 1.2rem; padding: .7rem 20px; }
.header__logo img, .custom-logo-link img { width: var(--logo-width); height: auto; }
.header__logo-text { font-weight: 800; font-size: 1.4rem; text-transform: uppercase; color: var(--color-deep); }
.header__sub-brand { font-weight: 800; white-space: nowrap; }
.header__nav { margin: 0 auto; }
.header__nav-list { display: flex; gap: 1.3rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.header__nav-list li { position: relative; }
.header__nav-list a { font-weight: 700; text-transform: uppercase; font-size: .9rem; letter-spacing: .02em; color: var(--color-text); }
.header__nav-list a:hover { color: var(--color-primary-dark); text-decoration: none; }
.header__nav-list .sub-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--color-border); border-radius: 14px; padding: 1rem 1.2rem; min-width: 230px; list-style: none; z-index: 70; box-shadow: 0 14px 34px rgba(0,0,0,.13); }
.header__nav-list .sub-menu a { text-transform: none; font-weight: 600; display: block; padding: .3rem 0; }
.header__nav-list > li:hover > .sub-menu, .header__nav-list > li:focus-within > .sub-menu { display: grid; grid-template-columns: repeat(3, minmax(170px, 1fr)); gap: .2rem 1.6rem; min-width: 620px; }
.header__nav-list .sub-menu .sub-menu { display: block; position: static; border: 0; box-shadow: none; padding: .2rem 0 .6rem 1rem; min-width: 0; border-radius: 0; }
.header__nav-list .sub-menu .sub-menu a { font-weight: 400; }
.header__actions { display: flex; gap: .2rem; margin-left: auto; align-items: center; }
.header__icon { position: relative; background: none; border: 0; cursor: pointer; padding: .45rem; color: var(--color-text); display: inline-flex; }
.cart-count, .wishlist-count { position: absolute; top: -2px; right: -4px; background: var(--color-accent); color: #fff; border-radius: 50%; font-size: .68rem; font-weight: 700; min-width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
/* --- Announcement marquee (scrolling) --- */
.announcement-bar { overflow: hidden; }
.announcement-bar__slider { display: flex; gap: 3.5rem; width: max-content; animation: an-nasar-marquee 22s linear infinite; }
.announcement-bar:hover .announcement-bar__slider { animation-play-state: paused; }
.announcement-bar__message { display: block; white-space: nowrap; }
@keyframes an-nasar-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* --- Hero slider motion + controls --- */
.hero__slide.is-active { animation: an-nasar-hero-in .65s ease both; }
@keyframes an-nasar-hero-in { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: translateX(0); } }
.hero__controls { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 1rem; }
.hero__arrow { border: 0; background: rgba(255,255,255,.9); border-radius: 50%; width: 38px; height: 38px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.hero__dots { display: flex; gap: .45rem; }
.hero__dot { width: 11px; height: 11px; border-radius: 50%; border: 0; background: rgba(255,255,255,.65); cursor: pointer; padding: 0; }
.hero__dot.is-active { background: #fff; transform: scale(1.25); }
/* --- Product cards --- */
.product-card { border: 1px solid var(--color-border); border-radius: 18px; overflow: hidden; background: #fff; height: 100%; display: flex; flex-direction: column; }
.product-card__media { position: relative; display: block; overflow: hidden; }
.product-card__image { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .45s ease, opacity .3s ease; }
.product-card:hover .product-card__image { transform: scale(1.06); }
.product-card__image--hover { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .product-card__image--hover { opacity: 1; }
.product-card__placeholder { aspect-ratio: 1; background: var(--color-eggshell); }
.product-card__badge { position: absolute; top: 10px; left: 10px; background: var(--color-sale); color: #fff; font-size: .78rem; font-weight: 700; border-radius: 999px; padding: .25rem .65rem; z-index: 2; }
.product-card__badge--bestseller { background: var(--color-accent); left: auto; right: 10px; }
.product-card__badge--soldout { background: #555; }
.product-card__body { padding: 1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.product-card__title { font-size: 1rem; margin: 0; }
.product-card__title a { color: var(--color-text); }
.product-card__rating .stars { color: var(--color-accent); letter-spacing: .08em; }
.product-card__rating span { color: var(--color-text-muted); font-size: .85rem; }
.product-card__variant { color: var(--color-text-muted); font-size: .88rem; margin: 0; }
.product-card__price { font-weight: 800; font-size: 1.05rem; }
.product-card__price del { color: var(--color-text-muted); font-weight: 400; margin-right: .4rem; }
.product-card__price ins { text-decoration: none; }
.product-card__actions { display: flex; gap: .5rem; margin-top: auto; padding-top: .5rem; align-items: center; }
.product-card__actions .button { flex: 1; }
.stars { color: var(--color-accent); }
/* --- Circular category tiles (reference style) --- */
.category-card { border: 0; overflow: visible; text-align: center; }
.category-card__image { border-radius: 50%; }
.category-card__placeholder { border-radius: 50%; }
.category-card__title { position: static; background: none; color: var(--color-text); padding: .6rem 0 0; display: block; font-size: .95rem; }
/* --- Product slider slides --- */
.slider-slide { flex: 0 0 262px; scroll-snap-align: start; }
.slider-slide .product { margin: 0; }
/* --- Product page anchor nav --- */
.product-anchor-nav { display: flex; gap: .5rem; flex-wrap: wrap; margin: 0 0 1.4rem; }
.product-anchor-nav a { border: 1px solid var(--color-border); border-radius: 999px; padding: .45rem 1rem; font-weight: 700; font-size: .85rem; text-transform: uppercase; background: #fff; }
.product-anchor-nav a:hover { background: var(--color-deep); color: #fff; text-decoration: none; }
@media (max-width: 900px) {
  .header__nav-list > li:hover > .sub-menu, .header__nav-list > li:focus-within > .sub-menu { min-width: 0; grid-template-columns: 1fr; }
  .site-header__inner { flex-wrap: wrap; }
}

/* --- Empty placeholders (owner uploads their own images/products later) --- */
.product-placeholder-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.product-placeholder { border: 2px dashed var(--color-border); border-radius: 18px; background: var(--color-eggshell); aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; color: var(--color-text-muted); }
.product-placeholder__label { font-size: .85rem; font-weight: 600; text-align: center; padding: 0 .8rem; }
.placeholder-icon { display: inline-flex; opacity: .7; }
.video-banner__placeholder { flex-direction: column; gap: .8rem; }
.video-placeholder__icon { display: inline-flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 50%; background: var(--color-deep); color: #fff; font-size: 2rem; padding-left: 6px; }
.category-card__placeholder, .hero__placeholder { display: flex; align-items: center; justify-content: center; color: var(--color-text-muted); }
@media (max-width: 900px) { .product-placeholder-grid { grid-template-columns: repeat(2, 1fr); } }

.product-placeholder img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; display: block; }
.product-placeholder { padding: 0; overflow: hidden; }
.video-banner__placeholder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-banner__placeholder { position: relative; }
.video-placeholder__icon { position: relative; z-index: 1; }

/* --- Promo banner: moving products (gentle float) + overlay heading --- */
.promo-banner__box { position: relative; overflow: hidden; border-radius: 18px; }
.promo-banner__image { display: block; width: 100%; height: auto; animation: an-nasar-float 5.5s ease-in-out infinite; }
@keyframes an-nasar-float {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-10px) rotate(-0.6deg); }
}
.promo-banner__content--overlay { position: absolute; top: 6%; left: 50%; transform: translateX(-50%); text-align: center; color: #fff; padding: .8rem 1.6rem; background: rgba(20, 20, 20, .45); border-radius: 14px; max-width: 92%; }
.promo-banner__content--overlay h2 { color: #fff; margin: 0 0 .3rem; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
.promo-banner__content--overlay p { color: #fff; margin: 0 0 .8rem; text-shadow: 0 1px 6px rgba(0,0,0,.25); }
@media (prefers-reduced-motion: reduce) { .promo-banner__image { animation: none; } }

/* --- Promo banner: full-width like the reference banner --- */
.promo-banner > .page-width { max-width: 100%; padding-left: 0; padding-right: 0; }
.section.promo-banner { padding-top: 0; padding-bottom: 0; }
.promo-banner__box { border-radius: 0; padding: 0; background: transparent; }
.promo-banner__image { border-radius: 0; }
.promo-banner__content--overlay { top: 10%; }

/* --- An-Nasar Store v2: department switcher --- */
.dept-switcher { background: var(--color-deep); }
.dept-switcher__inner { display: flex; gap: .5rem; padding: .45rem 20px; }
.dept-switcher__link { color: #fff; font-weight: 700; text-transform: uppercase; font-size: .85rem; letter-spacing: .04em; padding: .45rem 1.1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); }
.dept-switcher__link:hover { color: #fff; text-decoration: none; background: rgba(255,255,255,.12); }
.dept-switcher__link.is-active { background: var(--color-accent); border-color: var(--color-accent); }

/* --- An-Nasar Store v2: Pansar landing (deep green + cream, display serif) --- */
.pansar-hero { position: relative; overflow: hidden; background-color: #0c3b2a; background-size: cover; background-position: center; border-radius: 28px; margin: 1.2rem auto 0; max-width: calc(var(--page-width) + 40px); min-height: 520px; display: flex; align-items: center; }
.pansar-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(245,235,225,.92) 0%, rgba(245,235,225,.55) 42%, rgba(12,59,42,0) 70%); }
.pansar-hero__inner { position: relative; z-index: 1; padding: 4rem 20px; max-width: 620px; }
.pansar-hero__eyebrow { font-weight: 800; letter-spacing: .22em; font-size: .8rem; text-transform: uppercase; color: #14532d; margin: 0 0 1rem; }
.pansar-hero__title { font-family: var(--font-heading); font-weight: 900; font-size: clamp(3rem, 8vw, 5.6rem); line-height: .95; letter-spacing: -0.01em; color: #0c3b2a; text-transform: uppercase; margin: 0 0 1rem; }
.pansar-hero__subtitle { font-size: 1.1rem; color: #1f2937; max-width: 480px; }
.pansar-hero__actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.4rem; }
.pansar-hero__leaf { position: absolute; z-index: 1; width: 46px; height: 46px; border-radius: 50% 0 50% 50%; background: #2e9e5b; opacity: .55; animation: an-nasar-float 6s ease-in-out infinite; }
.pansar-hero__leaf--1 { top: 12%; right: 14%; transform: rotate(24deg); }
.pansar-hero__leaf--2 { bottom: 18%; right: 30%; width: 30px; height: 30px; animation-delay: 1.4s; }
.pansar-hero__leaf--3 { top: 58%; right: 6%; width: 60px; height: 60px; opacity: .35; animation-delay: 2.6s; }
@keyframes an-nasar-float { 0%, 100% { translate: 0 0; rotate: 24deg; } 50% { translate: 0 -14px; rotate: 32deg; } }
.pansar-benefits__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.pansar-benefit { border: 1px solid var(--color-border); border-radius: 18px; padding: 1.4rem; background: #fff; text-align: center; }
.pansar-benefit__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--color-eggshell); color: var(--color-deep); font-size: 1.4rem; font-weight: 800; margin-bottom: .6rem; }
.pansar-benefit h2 { font-size: 1.15rem; margin-bottom: .3rem; }
.pansar-benefit p { color: var(--color-text-muted); margin: 0; }
.collection-banner--pansar { background: linear-gradient(120deg, var(--color-eggshell), #dcefe2); border-radius: 18px; padding: 1.5rem 1.2rem 1.2rem; }
body.is-pansar .collection-banner h1 { color: #0c3b2a; }
@media (max-width: 900px) {
  .pansar-hero { min-height: 420px; border-radius: 20px; margin: 1rem 12px 0; }
  .pansar-hero::before { background: linear-gradient(180deg, rgba(245,235,225,.92) 0%, rgba(245,235,225,.55) 55%, rgba(12,59,42,.15) 100%); }
  .pansar-benefits__grid { grid-template-columns: 1fr; }
}

/* --- An-Nasar Store v2: quick view, compare, product video --- */
.compare-toggle { display: inline-flex; align-items: center; gap: .3rem; font-size: .85rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.compare-toggle input { width: auto; }
.product-card__actions { flex-wrap: wrap; }
.an-nasar-quickview { position: fixed; inset: 0; z-index: 130; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.an-nasar-quickview[hidden] { display: none; }
.an-nasar-quickview__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.an-nasar-quickview__panel { position: relative; background: #fff; border-radius: 18px; max-width: 860px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 1.4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.an-nasar-quickview__close { position: absolute; top: .6rem; right: .8rem; background: none; border: 0; font-size: 1.6rem; cursor: pointer; }
.an-nasar-quickview__media img { border-radius: 14px; }
.an-nasar-video { margin: 1.4rem 0; }
.an-nasar-video video { width: 100%; border-radius: 14px; }
.an-nasar-video__placeholder { display: flex; flex-direction: column; align-items: center; gap: .6rem; border: 2px dashed var(--color-border); border-radius: 14px; padding: 1.6rem 1rem; text-align: center; color: var(--color-text-muted); background: var(--color-eggshell); }
.an-nasar-video__placeholder .video-placeholder__icon { position: static; }
.an-nasar-ur-name { font-size: 1.15rem; color: var(--color-text-muted); font-weight: 600; }
.an-nasar-specs { width: 100%; border-collapse: collapse; margin: 0 0 1rem; }
.an-nasar-specs th, .an-nasar-specs td { border: 1px solid var(--color-border); padding: .55rem .8rem; text-align: left; }
.an-nasar-specs th { background: var(--color-eggshell); width: 32%; }
.an-nasar-compare-table { width: 100%; border-collapse: collapse; overflow-x: auto; }
.an-nasar-compare-table th, .an-nasar-compare-table td { border: 1px solid var(--color-border); padding: .6rem .8rem; text-align: left; vertical-align: top; }
.an-nasar-compare-table img { max-width: 110px; border-radius: 10px; }
@media (max-width: 700px) { .an-nasar-quickview__panel { grid-template-columns: 1fr; } }

/* --- v2.0.1: complete responsive layout (1024 / 768 / 480) --- */
html { overflow-x: clip; }
body { overflow-x: clip; }

@media (max-width: 1024px) {
  .category-grid--4 { grid-template-columns: repeat(3, 1fr); }
  .quality-grid { grid-template-columns: repeat(3, 1fr); }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .instagram-grid { grid-template-columns: repeat(4, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__heading { font-size: clamp(1.8rem, 4.5vw, 2.8rem); }
  .pansar-hero { min-height: 460px; }
  .product-placeholder-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .page-width { padding: 0 16px; }
  .hero__slide { min-height: 360px; }
  .hero__content { max-width: 100%; padding: 2rem 16px; }
  .hero__heading { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .category-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .quality-grid, .article-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }
  .product-placeholder-grid { grid-template-columns: repeat(2, 1fr); }
  .image-with-text__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .site-header__inner { flex-wrap: wrap; gap: .6rem; padding: .6rem 16px; }
  .header__sub-brand { display: none; }
  .header__logo-text { font-size: 1.15rem; }
  .header__actions { margin-left: auto; }
  .dept-switcher__inner { overflow-x: auto; padding: .45rem 16px; }
  .dept-switcher__link { white-space: nowrap; }
  .pansar-hero { min-height: 420px; margin: .8rem 12px 0; border-radius: 20px; }
  .pansar-hero__inner { padding: 2.5rem 16px; max-width: 100%; }
  .pansar-hero__title { font-size: clamp(2.2rem, 11vw, 3.4rem); }
  .pansar-benefits__grid { grid-template-columns: 1fr; }
  .promo-banner__box { flex-direction: column; }
  .promo-banner__image { width: 100%; }
  .collection-layout { grid-template-columns: 1fr; }
  .shop-sidebar { order: -1; }
  .shop-sidebar input, .shop-sidebar select { width: 100%; box-sizing: border-box; }
  .woocommerce-cart-form, .an-nasar-compare-wrap { overflow-x: auto; }
  .woocommerce table.shop_table { max-width: 100%; }
  .an-nasar-quickview__panel { grid-template-columns: 1fr; }
  .header__mobile-nav { max-height: calc(100vh - 120px); overflow-y: auto; }
  .newsletter__form { flex-direction: column; }
  .cart-drawer__panel { width: min(420px, 94vw); }
}

@media (max-width: 480px) {
  .category-grid--4 { grid-template-columns: 1fr; }
  .product-placeholder-grid { grid-template-columns: 1fr; }
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__slide { min-height: 320px; }
  .hero__heading { font-size: clamp(1.5rem, 8vw, 1.9rem); }
  .hero__content { padding: 1.6rem 16px; }
  .pansar-hero { min-height: 380px; border-radius: 16px; }
  .pansar-hero__title { font-size: clamp(2rem, 12vw, 2.6rem); }
  .pansar-hero__actions .button { width: 100%; }
  .site-header__inner { gap: .4rem; padding: .55rem 12px; }
  .header__icon { padding: .35rem; }
  .dept-switcher__link { font-size: .78rem; padding: .4rem .9rem; }
  .button--large { padding: .85rem 1.4rem; font-size: 1rem; }
  .section { padding: calc(var(--section-spacing) * .6) 0; }
  .footer__grid { gap: 1.4rem; }
  .whatsapp-float { width: 48px; height: 48px; right: 12px; bottom: 12px; }
  .slider-slide { flex-basis: 78vw; }
  .product-card__actions { flex-wrap: wrap; }
}

/* --- v2.0.2: Pakistan map section (full-width, mobile-safe) --- */
.map-section__frame { position: relative; width: 100%; max-width: 100%; overflow: hidden; border-radius: 14px; }
.map-section__frame iframe { display: block; width: 100%; max-width: 100%; border: 0; }
@media (max-width: 560px) {
  .map-section__frame iframe { height: 320px !important; }
}

/* --- v2.0.4: homepage hero readability (guaranteed panel) --- */
/* WHY v2.0.3 FAILED: the "AN-NASAR" lettering is baked into the slide
   image itself, and the heading inherits the near-black body text colour,
   so a gradient scrim alone could not separate dark text from a darkened
   image with bright lettering showing through. Fix, guaranteed for ANY
   slide image (including the owner's future slides): the heading, text
   and buttons now sit inside .hero__panel, a semi-opaque dark block
   above the image and the scrim, with white text and an accent button,
   so contrast no longer depends on what the image contains. The scrim
   is kept for depth and for the controls/dots. Heading text unchanged. */
.hero__panel { background: rgba(4, 26, 20, .72); border-radius: 16px; padding: 1.6rem 1.8rem; max-width: 620px; }
.hero__panel .hero__heading { color: #fff; }
.hero__panel .hero__text { color: rgba(255, 255, 255, .92); }
.hero__panel .button:not(.button--secondary) { background: var(--color-accent); color: #fff; }
.hero__slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0, 35, 25, .72) 0%, rgba(0, 35, 25, .45) 45%, rgba(0, 35, 25, .08) 78%); pointer-events: none; }
.hero__content { z-index: 2; }
.hero__controls { z-index: 3; }
@media (max-width: 768px) {
  .hero__slide::before { background: linear-gradient(180deg, rgba(0, 35, 25, .15) 0%, rgba(0, 35, 25, .68) 100%); }
  .hero__panel { padding: 1.2rem 1.3rem; }
}

/* --- v2.0.8: feature hero (full-bleed artwork, writing overlaid) --- */
/* The owner's own capsule artwork fills the whole hero container as a
   background image; eyebrow, single centred headline, subline, buttons,
   info cards and trust badges all sit ON TOP of it. A gentle scrim keeps
   the white text readable over the bright top of the artwork without
   hiding it. Single headline (never wraps mid-word): the two Customizer
   title fields are joined in the template. Shown only when no hero
   slides are configured; the slider is untouched when slides exist. */
.hero-feature { padding: 0 20px; }
.hero-feature__card { position: relative; overflow: hidden; max-width: calc(var(--page-width) + 40px); margin: 1.2rem auto 0; border-radius: 28px; min-height: clamp(460px, 56vw, 580px); display: flex; flex-direction: column; justify-content: space-between; background: #0c3b2a; isolation: isolate; }
.hero-feature__bg { position: absolute; inset: 0; z-index: 0; line-height: 0; }
.hero-feature__bg-image { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.hero-feature__scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(5,30,20,.60) 0%, rgba(5,30,20,.28) 30%, rgba(5,30,20,0) 52%, rgba(5,30,20,.30) 76%, rgba(5,30,20,.62) 100%); }
.hero-feature__content { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; padding: clamp(2.2rem, 5vw, 3.6rem) 2rem 1rem; text-align: center; }
.hero-feature__eyebrow { display: inline-block; font-weight: 800; letter-spacing: .22em; font-size: .78rem; text-transform: uppercase; color: #eafff3; background: rgba(4,26,20,.45); border: 1px solid rgba(255,255,255,.35); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); border-radius: 999px; padding: .45rem 1rem; margin: 0 0 1rem; }
.hero-feature__title { font-family: var(--font-heading); font-weight: 900; font-size: clamp(2.2rem, 6vw, 4.5rem); line-height: 1.02; letter-spacing: -0.01em; text-transform: uppercase; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.35); margin: 0; white-space: nowrap; overflow-wrap: normal; word-break: normal; }
.hero-feature__subline { font-size: 1.08rem; color: rgba(255,255,255,.95); text-shadow: 0 1px 10px rgba(0,0,0,.30); max-width: 34rem; margin: 1rem auto 0; }
.hero-feature__actions { margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.hero-feature__button { background: #fff; color: #0c3b2a; border-color: #fff; }
.hero-feature__button:hover { opacity: 1; background: #f3efe3; }
.hero-feature__button--ghost { background: rgba(4,26,20,.35); color: #fff; border-color: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.hero-feature__button--ghost:hover { background: rgba(4,26,20,.55); }
.hero-feature__foot { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; padding: 1rem 3rem 2.2rem; }
.hero-feature__cards { display: flex; gap: 1rem; }
.hero-feature__info-card { background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); border-radius: 16px; padding: 1.1rem 1.3rem; max-width: 290px; text-align: left; }
.hero-feature__info-card h3 { font-size: 1.05rem; margin: 0 0 .25rem; color: #0c3b2a; }
.hero-feature__info-card p { margin: 0; font-size: .92rem; color: #374151; }
.hero-feature__badges { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 0; padding: 0; justify-content: flex-end; }
.hero-feature__badge { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 700; color: #fff; background: rgba(4,26,20,.50); border: 1px solid rgba(255,255,255,.25); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); border-radius: 999px; padding: .5rem .85rem; white-space: nowrap; }
.hero-feature__badge-dot { width: 16px; height: 16px; flex: none; border-radius: 50% 0 50% 50%; background: #7ddba8; transform: rotate(12deg); }
@media (max-width: 1024px) {
  .hero-feature__foot { padding: 1rem 2rem 1.8rem; }
}
@media (max-width: 768px) {
  .hero-feature { padding: 0 12px; }
  .hero-feature__card { border-radius: 20px; margin-top: .8rem; min-height: 520px; }
  .hero-feature__content { padding: 2rem 1.2rem 1rem; }
  .hero-feature__eyebrow { letter-spacing: .18em; font-size: .7rem; }
  .hero-feature__title { font-size: clamp(1.7rem, 8.5vw, 2.6rem); }
  .hero-feature__foot { flex-direction: column; align-items: stretch; padding: 1rem 1.4rem 1.6rem; }
  .hero-feature__cards { flex-direction: column; }
  .hero-feature__info-card { max-width: none; }
  .hero-feature__badges { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .hero-feature__card { border-radius: 16px; min-height: 500px; }
  .hero-feature__content { padding: 1.8rem 1rem 1rem; }
  .hero-feature__title { font-size: clamp(1.55rem, 9vw, 2rem); }
  .hero-feature__badge { font-size: .75rem; }
  .hero-feature__foot { padding: 1rem 1rem 1.4rem; }
}
