/* About page (the "About us (Insaf)" pattern): a plain, compact page. One heading, then short sub-headed paragraphs in a single column, and one small card for bulk buyers. The coconut oil paragraph takes a photo beside it when there is one. Headings use the system serif (no font to download). Loaded only on a page that uses the pattern. */
.insaf-about { --about-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", "Noto Sans Bengali", serif; --about-line: #d9dccf; display: block; width: min(100% - 40px, 760px); margin: 0 auto; padding: clamp(28px, 4vw, 48px) 0 clamp(40px, 6vw, 72px); color: var(--insaf-ink); }
/* WordPress adds a 24px gap between the children of a group; this page sets its own spacing */
.insaf-about :where(.wp-block-group) > *, .insaf-about > * { margin-top: 0; margin-bottom: 0; }
.insaf-about figure { margin: 0; }
.insaf-about p { max-width: none; margin: 0; color: #3d4741; font-size: 16.5px; line-height: 1.8; }
.insaf-about p + p { margin-top: .7em; }
.insaf-about h2, .insaf-about h3 { margin: 0; color: #15251d; font-family: var(--about-serif); font-weight: 500; letter-spacing: -.005em; }

/* The one heading */
.insaf-about__head { padding-bottom: 18px; border-bottom: 1px solid var(--about-line); }
.insaf-about h2.insaf-about__display { font-size: clamp(25px, 3.4vw, 34px); line-height: 1.3; }
.insaf-about p.insaf-about__herosub { margin-top: 8px; color: #5a665f; font-size: 16.5px; }

/* Sections: a small heading, then the paragraph */
.insaf-about__section { padding-top: 22px; }
.insaf-about h3.insaf-about__rowh { margin-bottom: 5px; font-size: 19px; line-height: 1.4; }
.insaf-about__text { min-width: 0; }
.insaf-about__section.is-photo { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; gap: 12px clamp(20px, 4vw, 40px); }
.insaf-about__photo img { display: block; width: 100%; height: auto; max-height: 300px; border-radius: 6px; object-fit: cover; }

/* The card for bulk buyers */
.insaf-about__bulk { margin-top: 24px; padding: 18px 22px; border: 1px solid #cfd5c2; border-radius: 10px; background: #eceee6; }
.insaf-about__bulk h3.insaf-about__rowh { margin-bottom: 4px; }
.insaf-about .insaf-about__bulk p.insaf-about__bulk-tel { margin-top: 8px; color: var(--insaf-green-dark); font-size: 18px; font-weight: 600; letter-spacing: .01em; }
.insaf-about__bulk-tel a { color: inherit; text-decoration: none; white-space: nowrap; }
.insaf-about__bulk-tel a:hover, .insaf-about__bulk-tel a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

.insaf-about p.insaf-about__note { margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--about-line); font-size: 15px; }
.insaf-about p.insaf-about__note a { color: var(--insaf-green-dark); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 767px) {
	.insaf-about__section.is-photo { grid-template-columns: minmax(0, 1fr); }
	.insaf-about__photo img { max-height: 260px; }
}

/* Contact page (the "Contact us (Insaf)" pattern): bordered panels like the shop's own contact page -- the company and its numbers, a street view of the main branch, and one card per shop with a Google Map button. */
.insaf-contact { display: grid; width: min(100% - 40px, 1180px); margin: 0 auto; padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 7vw, 88px); gap: 20px; color: var(--insaf-ink); }
.insaf-contact__top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.insaf-contact__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.insaf-contact__panel, .insaf-contact__card { display: flex; min-width: 0; flex-direction: column; gap: 12px; border: 1px solid #cfd5c2; border-radius: 12px; background: #eceee6; }
.insaf-contact__panel { padding: clamp(22px, 3vw, 34px); }
.insaf-contact__card { gap: 8px; padding: 24px 26px; }
/* WordPress adds a 24px gap between the children of a group; these boxes set their own spacing */
.insaf-contact .insaf-contact__panel > *, .insaf-contact .insaf-contact__card > *, .insaf-contact .insaf-contact__col > *, .insaf-contact .insaf-contact__cols > *, .insaf-contact .insaf-contact__cards > *, .insaf-contact .insaf-contact__top > *, .insaf-contact > * { margin-top: 0; margin-bottom: 0; }
.insaf-contact__company { color: #1f2a24; font-size: clamp(19px, 2.3vw, 25px); font-weight: 500; letter-spacing: .01em; line-height: 1.3; text-transform: uppercase; }
.insaf-contact p { margin: 0; color: #55615a; font-size: 14.5px; line-height: 1.75; }
.insaf-contact__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px 24px; margin-top: 10px; }
.insaf-contact p.insaf-contact__group { margin-bottom: 8px; color: #1f2a24; font-size: 16px; font-weight: 500; }
.insaf-contact__col p:not(.insaf-contact__group) { line-height: 2; }
.insaf-contact p.insaf-contact__name { color: #1f2a24; font-size: 15px; font-weight: 600; }
.insaf-contact a { color: var(--insaf-green-dark); text-decoration: none; }
.insaf-contact a:hover, .insaf-contact a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

/* the street view panel: the picture fills the panel, a short caption sits under it */
.insaf-contact__panel--map { gap: 0; padding: 0; overflow: hidden; }
.insaf-contact__panel--map .wp-block-html { display: flex; flex: 1 1 auto; min-height: 260px; }
.insaf-contact__frame { display: block; width: 100%; height: 100%; min-height: 260px; border: 0; background: #dfe2d8; }
.insaf-contact .insaf-contact__caption { padding: 16px 22px 18px; border-top: 1px solid #cfd5c2; font-size: 14px; line-height: 1.65; }
.insaf-contact .insaf-contact__caption a { font-weight: 600; }

/* every shop card has the same parts in the same places: name, address, phone lines, then the button at the bottom */
.insaf-contact .insaf-contact__card > .insaf-contact__lines { margin-top: auto; padding-top: 6px; }
.insaf-contact .insaf-contact__card > .insaf-contact__map { margin-top: 14px; }
.insaf-contact .insaf-contact__card > .insaf-contact__address + .insaf-contact__map { margin-top: auto; padding-top: 14px; }
.insaf-contact .insaf-contact__map a { display: block; padding: 10px 14px; border: 1px solid var(--insaf-green-dark); border-radius: 10px; color: var(--insaf-green-dark); background: #fff; font-size: 14px; font-weight: 600; line-height: 1.3; text-align: center; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.insaf-contact .insaf-contact__map a:hover, .insaf-contact .insaf-contact__map a:focus-visible { color: #fff; background: var(--insaf-green-dark); text-decoration: none; }

@media (max-width: 767px) {
	.insaf-contact__top { grid-template-columns: minmax(0, 1fr); }
	.insaf-contact__cards { grid-template-columns: minmax(0, 1fr); }
	.insaf-contact .insaf-contact__col a, .insaf-contact .insaf-contact__lines a { display: inline-block; padding: 4px 0; }
	.insaf-contact__col p:not(.insaf-contact__group) { line-height: 1.5; }
	.insaf-contact__frame { min-height: 240px; }
}

/* Policy pages (Terms, Refund and returns, Privacy): one calm reading column, a hairline above each section, bullets in the shop green. */
.insaf-policy { width: min(100% - 40px, 780px); margin: 0 auto; padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 8vw, 96px); color: var(--insaf-ink); }
body .insaf-policy > * { margin-top: 0; margin-bottom: 0; }
body .insaf-policy > * + * { margin-top: 1em; }
.insaf-policy p, .insaf-policy li { color: #3d4741; font-size: 16.5px; line-height: 1.8; }
.insaf-policy p.insaf-policy__lead { color: #26332b; font-size: clamp(18px, 2.2vw, 21px); line-height: 1.65; }
.insaf-policy p.insaf-policy__meta { color: #66736b; font-size: 14px; line-height: 1.5; }
.insaf-policy h2, .insaf-policy h3 { margin: 0; color: #1b2b23; font-weight: 600; }
.insaf-policy h2 { font-size: clamp(20px, 2.4vw, 24px); letter-spacing: -.01em; line-height: 1.35; }
.insaf-policy h3 { font-size: 17.5px; line-height: 1.4; }
body .insaf-policy > h2 { margin-top: 2.4em; padding-top: 1.3em; border-top: 1px solid #d6d9cf; }
body .insaf-policy > h3 { margin-top: 1.7em; }
body .insaf-policy > h2 + *, body .insaf-policy > h3 + * { margin-top: .8em; }
.insaf-policy ul { margin: 0; padding-left: 1.3em; }
.insaf-policy li { margin: 0; padding-left: .2em; }
.insaf-policy li + li { margin-top: .5em; }
.insaf-policy li::marker { color: var(--insaf-green); }
.insaf-policy a { color: var(--insaf-green-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.insaf-policy a:hover, .insaf-policy a:focus-visible { color: var(--insaf-green-deepest); text-decoration-thickness: 2px; }
