/* Dropshi child theme styles. Colours come from the Customizer as CSS variables. */

:root {
	--dropshi-brand: #2f6f5e;
	--dropshi-accent: #f2a541;
	--dropshi-ink: #1d2a26;
	--dropshi-soft: #f6f4ef;
	--dropshi-radius: 14px;
	--dropshi-heading: inherit;
	--dropshi-on-accent: #ffffff;
}

body { color: var(--dropshi-ink); }
h1, h2, h3, .site-title { color: var(--dropshi-ink); font-family: var(--dropshi-heading); letter-spacing: -0.01em; }
a { color: var(--dropshi-brand); }

/* Announcement bar */
.dropshi-announce {
	background: var(--dropshi-brand);
	color: #fff;
	text-align: center;
	font-size: 0.875rem;
	padding: 0.5rem 1rem;
}

/* Buttons: Storefront + ours share the accent colour */
.dropshi-btn,
button.button, .button, .single_add_to_cart_button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
#place_order {
	background: var(--dropshi-accent) !important;
	border-color: var(--dropshi-accent) !important;
	color: var(--dropshi-on-accent) !important;
	border-radius: 999px;
	font-weight: 700;
	padding: 0.85em 1.8em;
	text-decoration: none;
	display: inline-block;
	transition: transform .15s ease, box-shadow .15s ease;
}
.dropshi-btn:hover, .single_add_to_cart_button:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
.single_add_to_cart_button { width: 100%; font-size: 1.1rem; }

/* Landing page: full width inside Storefront's content area */
.page-template-landing .site-content .col-full,
.page-template-page-templateslanding-php .site-content .col-full { max-width: 1200px; }
.page-template-page-templateslanding-php .entry-header,
.page-template-page-templateslanding-php .storefront-breadcrumb { display: none; }

.dropshi-hero {
	display: grid;
	gap: 2rem;
	align-items: center;
	background: var(--dropshi-soft);
	border-radius: var(--dropshi-radius);
	padding: clamp(2rem, 6vw, 4.5rem);
	margin: 1.5rem 0;
}
.dropshi-hero.has-image { grid-template-columns: 1.1fr 1fr; }
.dropshi-hero h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.1; margin: 0 0 1rem; }
.dropshi-hero p { font-size: 1.15rem; max-width: 34ch; margin-bottom: 1.5rem; }
.dropshi-hero__media img { width: 100%; border-radius: var(--dropshi-radius); object-fit: cover; aspect-ratio: 4/3; }

.dropshi-section { margin: 3.5rem 0; }
.dropshi-section > h2 { font-size: 1.75rem; margin-bottom: 1.5rem; }

/* Trust badges */
.dropshi-badges {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: .75rem;
}
.dropshi-badges li {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-weight: 600;
	font-size: .9rem;
	color: var(--dropshi-brand);
}
.dropshi-badges--strip {
	border-top: 1px solid rgba(0,0,0,.08);
	border-bottom: 1px solid rgba(0,0,0,.08);
	padding: 1rem 0;
	justify-items: center;
}
.dropshi-badges--compact { grid-template-columns: 1fr 1fr; margin: 1rem 0; font-size: .85rem; }

/* Product cards */
ul.products li.product {
	background: #fff;
	border-radius: var(--dropshi-radius);
	padding-bottom: 1rem;
	box-shadow: 0 1px 3px rgba(0,0,0,.06);
	transition: box-shadow .2s ease;
}
ul.products li.product:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); }
ul.products li.product img { border-radius: var(--dropshi-radius) var(--dropshi-radius) 0 0; }
ul.products li.product .price { color: var(--dropshi-ink); font-weight: 700; }
.onsale {
	background: var(--dropshi-accent);
	color: var(--dropshi-on-accent);
	border: 0;
	border-radius: 999px;
	font-weight: 700;
}

/* Bundle spotlight */
.dropshi-bundle {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: center;
	background: var(--dropshi-brand);
	color: #fff;
	border-radius: var(--dropshi-radius);
	padding: clamp(1.5rem, 4vw, 3rem);
	margin: 3.5rem 0;
}
.dropshi-bundle h2, .dropshi-bundle .price, .dropshi-bundle .amount { color: #fff; }
.dropshi-bundle img { border-radius: var(--dropshi-radius); }
.dropshi-eyebrow { text-transform: uppercase; font-size: .8rem; letter-spacing: .1em; opacity: .85; }
.dropshi-bundle__price { font-size: 1.4rem; font-weight: 700; }

/* Product page info */
.dropshi-pdp-info { margin: 1.25rem 0; }
.dropshi-delivery {
	background: var(--dropshi-soft);
	border-radius: 10px;
	padding: .75rem 1rem;
	margin: 0;
}
.dropshi-duties { font-size: .85rem; opacity: .8; margin: .5rem 0 0; }
.dropshi-safety dt { font-weight: 700; margin-top: 1rem; }
.dropshi-safety dd { margin: .25rem 0 0; }

/* Free shipping bar */
.dropshi-freeship { margin: 0 0 1.5rem; }
.dropshi-freeship p { margin: 0 0 .4rem; font-weight: 600; }
.dropshi-freeship__track { height: 8px; background: rgba(0,0,0,.08); border-radius: 999px; overflow: hidden; }
.dropshi-freeship__track span { display: block; height: 100%; background: var(--dropshi-brand); border-radius: 999px; transition: width .3s ease; }

/* Checkout */
.dropshi-checkout-trust { margin: 1rem 0; padding: 1rem; background: var(--dropshi-soft); border-radius: 10px; }

/* FAQ */
.dropshi-faq details { border-bottom: 1px solid rgba(0,0,0,.1); padding: 1rem 0; }
.dropshi-faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; }
.dropshi-faq summary::-webkit-details-marker { display: none; }
.dropshi-faq summary::after { content: "+"; float: right; font-weight: 400; }
.dropshi-faq details[open] summary::after { content: "–"; }
.dropshi-faq details p { margin: .75rem 0 0; }

/* Final CTA */
.dropshi-final-cta {
	text-align: center;
	background: var(--dropshi-soft);
	border-radius: var(--dropshi-radius);
	padding: 3rem 1rem;
	margin: 3.5rem 0;
}

/* Footer */
.dropshi-footer-legal { text-align: center; font-size: .85rem; padding: 1rem 0; }
.dropshi-legal-menu { list-style: none; margin: 0 0 .5rem; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

@media (max-width: 767px) {
	.dropshi-hero.has-image, .dropshi-bundle { grid-template-columns: 1fr; }
	.dropshi-hero__media { order: -1; }
	.dropshi-badges--strip { grid-template-columns: 1fr 1fr; }
}
