/* ganga.one site-wide UI fixes */

/* Product photos have white backgrounds: blend them into the cream tiles */
.woocommerce ul.products li.product img,
.ganga-product .woocommerce-product-gallery img,
.g-fbt img, .g-pcard img, .g-slide img, #g-drawer img,
.woocommerce-cart-form img, .g-cart img, .g-trio img, .g-gift__img img,
.woocommerce-checkout-review-order-table img { mix-blend-mode: multiply; }
.ganga-product .woocommerce-product-gallery__image,
.ganga-product .woocommerce-product-gallery__wrapper,
.ganga-product .flex-viewport { background: #F3E8D2; }

/* Pagination in brand colours */
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 8px; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #CDBBA0; background: transparent; color: #2B1409; font-family: 'Jost', sans-serif; }
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover { background: #2B1409; border-color: #2B1409; color: #FBF6EC; }

/* Stock line, notices, links: no leftover green */
.woocommerce .stock, .woocommerce div.product p.stock, .woocommerce div.product .stock { color: #1F4A28; }
.woocommerce-info, .woocommerce-message, .woocommerce-notice { border-top-color: #A3461A !important; }
.woocommerce-info::before, .woocommerce-message::before { color: #A3461A !important; }

/* Shop toolbar: origin + sort */
.g-filter__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.g-filter__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.g-origin { display: flex; align-items: center; gap: 10px; margin: 0; }
.g-origin label, .woocommerce-ordering label { font-size: 13px; color: #5A4536; }
.g-origin select, .woocommerce-ordering select { height: 44px; padding: 0 36px 0 12px; border: 1px solid #CDBBA0; background-color: #FBF6EC; color: #2B1409; font-family: 'Jost', sans-serif; font-size: 14px; border-radius: 0; }
.woocommerce .woocommerce-ordering { margin: 0; }
.g-shown { font-size: 14px; color: #5A4536; margin: 0 0 28px; }
.g-shown a { color: #2B1409; text-decoration: underline; }
@media (max-width: 767px) {
  .g-filter__tools { width: 100%; }
  .g-origin, .woocommerce .woocommerce-ordering { flex: 1 1 100%; }
  .g-origin select, .woocommerce-ordering select { flex: 1 1 auto; width: 100%; }
}
/* Contact page */
.g-contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.g-contact__ways { display: flex; flex-direction: column; }
.g-way { display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 16px; padding: 22px 0; border-top: 1px solid #E6D9BF; color: #2B1409; text-decoration: none; }
.g-way:last-child { border-bottom: 1px solid #E6D9BF; }
.g-way__ic { grid-row: 1 / span 2; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: #F3E8D2; color: #2B1409; }
.g-way__ic svg { width: 22px; height: 22px; display: block; }
.g-way__t { font-family: 'Bodoni Moda', serif; font-size: 22px; font-weight: 500; line-height: 1.2; }
.g-way__d { font-size: 15px; color: #4E3B2F; }
a.g-way:hover .g-way__t { color: #A3461A; }
.g-contact__form { background: #FFFDF8; border: 1px solid #E6D9BF; padding: 40px; display: flex; flex-direction: column; gap: 18px; }
.g-form { display: flex; flex-direction: column; gap: 16px; }
.g-field { display: flex; flex-direction: column; gap: 6px; }
.g-field label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #2B1409; }
.g-field input, .g-field select, .g-field textarea { width: 100%; box-sizing: border-box; min-height: 48px; padding: 12px 14px; border: 1px solid #CDBBA0; border-radius: 0; background: #FBF6EC; color: #2B1409; font-family: 'Jost', sans-serif; font-size: 16px; }
.g-field input:focus, .g-field select:focus, .g-field textarea:focus { outline: 2px solid #2B1409; outline-offset: 1px; border-color: #2B1409; }
.g-check-line { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #4E3B2F; }
.g-check-line input { width: 18px; height: 18px; margin-top: 2px; accent-color: #2B1409; }
.g-form .g-btn { align-self: flex-start; border: 0; cursor: pointer; }
.g-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.g-note { padding: 14px 16px; font-size: 15px; }
.g-note--ok { background: #E9F0E4; color: #1F4A28; }
.g-note--err { background: #F7E1D6; color: #7A2E10; }
@media (max-width: 900px) { .g-contact { grid-template-columns: 1fr; gap: 40px; } .g-contact__form { padding: 24px; } }

/* About page */
.g-about__img img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 300px 300px 0 0; display: block; }
.g-pillars--light .g-pillar__big { color: #A3461A; }
.g-pillars--light .g-pillar__t { color: #2B1409; }
.g-pillars--light .g-pillar__d { color: #4E3B2F; }
.g-pillars--light .g-pillar { border-top-color: #CDBBA0; }

/* Plain content pages (policies) and blog posts: readable typography */
.g-plain .entry-content, .single-post .entry-content { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.7; color: #2B1409; }
.g-plain .entry-content h1, .g-plain .entry-title, .single-post .entry-title { font-family: 'Bodoni Moda', serif; font-weight: 500; font-size: clamp(36px, 4vw, 52px); line-height: 1.1; margin: 0 0 24px; }
.g-plain .entry-content h2, .single-post .entry-content h2 { font-family: 'Bodoni Moda', serif; font-weight: 500; font-size: 28px; line-height: 1.2; margin: 40px 0 12px; }
.g-plain .entry-content h3, .single-post .entry-content h3 { font-family: 'Bodoni Moda', serif; font-weight: 500; font-size: 22px; margin: 28px 0 8px; }
.g-plain .entry-content p, .single-post .entry-content p { margin: 0 0 14px; }
.g-plain .entry-content ul, .g-plain .entry-content ol, .single-post .entry-content ul, .single-post .entry-content ol { margin: 0 0 16px 1.2em; padding: 0; }
.g-plain .entry-content li, .single-post .entry-content li { margin-bottom: 6px; }
.g-plain .entry-content a, .single-post .entry-content a { color: #A3461A; text-decoration: underline; }
.g-plain .ast-article-single, .g-plain .ast-article-post { background: transparent; padding: 0; }
.single-post .site-content .ast-container { max-width: 1120px; padding-top: 56px; padding-bottom: 96px; }
.single-post .entry-meta { font-size: 14px; color: #5A4536; margin-bottom: 32px; }
.single-post .entry-content .elementor-widget-container { max-width: none; }

/* Coming-soon product: hide empty specification block */
.g-split:has(> div:first-child > .g-eyebrow + h2:last-child):not(:has(.g-spec)) { display: none; }
/* About image and plain pages: ivory, title clear of header */
.g-about__img{background:#F3E8D2;border-radius:300px 300px 0 0;overflow:hidden}
.g-about__img img{mix-blend-mode:multiply}
.g-plain #primary,.g-plain .site-main,.g-plain .ast-article-single,.g-plain .ast-article-post,.g-plain article.page{background:transparent!important;box-shadow:none!important}
.g-plain .ast-article-single,.g-plain article.page{padding:56px 0 0!important}
.g-plain .entry-header{margin-bottom:8px}
.g-plain .entry-title{max-width:760px;margin:0 auto 24px!important}
