/* ============================================================
   Shop page (archive-product.php — the main "All Products" grid).
   Enqueued only on is_shop() — see functions.php. Self-contained,
   same convention as the other page-specific stylesheets (cart_style.css,
   couples.css, etc.) — doesn't depend on any of them being loaded too.
   ============================================================ */

.breadcrumb {
	font-size: 13px;
	color: #8b7c84;
	padding: 18px 0;
}
.breadcrumb span { color: #b16d88; }

.page-hero {
	background: linear-gradient(135deg, #2b1024, #5d2949);
	color: #fff;
	padding: 62px 0;
}
.page-hero h1 {
	font-family: Georgia, serif;
	font-size: clamp(42px, 6vw, 68px);
	font-weight: 400;
	margin: 0 0 10px;
}
.page-hero p {
	max-width: 680px;
	color: #eadce3;
	margin: 0;
}

.muted { color: var(--muted); }

.section {
	padding: 62px 0;
}

.section-title {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 20px;
	margin-bottom: 22px;
	flex-wrap: wrap;
}
.section-title h2 {
	font-family: Georgia, serif;
	font-size: clamp(28px, 4vw, 42px);
	margin: 0;
	color: var(--ink);
}
.section-title p {
	margin: 0;
	color: var(--muted);
	max-width: 620px;
}

/* Sort / filter toolbar (available if you add filters to archive-product.php later) */
.toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}
.filters { display: flex; gap: 9px; flex-wrap: wrap; }
.filter {
	border: 1px solid var(--line);
	background: #fff;
	padding: 9px 13px;
	border-radius: 999px;
	cursor: pointer;
}
.filter.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.sort {
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 10px 12px;
	background: #fff;
}

/* Product grid */
.grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.product {
	border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 24px rgba(43, 16, 36, .05);
    transition: .25s;
    padding-bottom: 30px;
}
.product:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}
.media {
	aspect-ratio: 1/1;
	background: linear-gradient(145deg, #fff, #f7f1f4);
	display: grid;
	place-items: center;
	position: relative;
}
.media .featured_products { width: 170px; }
.media .featured_products img { width: 100%; }
.heart {
	position: absolute;
	right: 13px;
	top: 11px;
	font-size: 20px;
	color: #a16e83;
	cursor: pointer;
	z-index: 2;
}
.heart.active { color: var(--accent); }
.sale {
	/*position: absolute;
	left: 12px;
	top: 12px;
	background: var(--accent);
	color: #fff;
	border-radius: 999px;
	padding: 5px 8px;
	font-size: 11px;*/
    position: relative;
    left: 0;
    top: 0;
    /* background: var(--accent); */
    color: #fff;
    border-radius: 18px;
    padding: 5px 8px;
    font-size: 11px;
}
.sale .onsale {
    background: #ef86a2;
    padding: 2px 5px;
    border-radius: 5px;
    position: relative;
    top: 10px;
}
.body { padding: 15px; }
.body h3 { font-size: 15px; margin: 0 0 4px; }
.body h3 a { color: var(--ink); }
.rating { font-size: 12px; color: #e28a31; }
.rating small { color: var(--muted); }
.price { font-weight: 800; color: var(--ink); margin: 8px 0; }
.add {
	width: 100%;
	display: block;
	text-align: center;
	border: 0;
	background: #2b1024;
	color: white;
	border-radius: 10px;
	padding: 10px 12px;
	cursor: pointer;
	text-decoration: none;
	font-size: 14px;
}
.add:hover { background: var(--ink-2); }

/* Pagination */
.pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 34px;
	flex-wrap: wrap;
}
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 10px;
	color: var(--ink);
	background: #fff;
	font-size: 14px;
}
.pagination .page-numbers.current {
	background: var(--ink);
	color: #fff;
	border-color: var(--ink);
}
.pagination .page-numbers.dots {
	border: 0;
	background: transparent;
}
.pagination a.page-numbers:hover {
	background: var(--blush);
}

@media (max-width: 980px) {
	.grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
	.grid { grid-template-columns: repeat(2, 1fr); }
	.section { padding: 46px 0; }
	.section-title { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 480px) {
	.grid { grid-template-columns: 1fr; }
	.toolbar { align-items: stretch; }
	.sort { width: 100%; }
}
