/* WooCommerce product category pages (woocommerce/taxonomy-product_cat.php).
   The product list reuses the legacy .homepage-products / .search-results styles from style.css;
   this restates what the Divi page builder generated per-page on the legacy section pages (/wine/
   etc.), which Divi doesn't ship on non-builder pages. Selectors are "body #main-content"-scoped so
   they outrank Divi's inline ".et-db #et-boc .et-l ..." rules, which load later. */

/* Breadcrumbs */
body #main-content.gwc-category .gwc-category-breadcrumbs.container { padding: 0; }
body #main-content.gwc-category .gwc-breadcrumbs { margin: 16px 0; font-size: 14px; }
body #main-content.gwc-category .gwc-breadcrumbs p { padding: 0; }

/* Hero */
body #main-content.gwc-category .gwc-category-hero.et_pb_section { background-color: #2c2c2e; padding: 30px 0; text-align: center; }
body #main-content.gwc-category .gwc-category-hero .et_pb_row { width: 90%; max-width: 900px; margin: 0 auto; padding: 0; }
body #main-content.gwc-category .gwc-category-hero h1 { color: #fff; padding-bottom: 12px; font-size: 50px; text-transform: uppercase;  }
body #main-content.gwc-category .gwc-category-intro { max-width: 800px; margin: 0 auto; }
body #main-content.gwc-category .gwc-category-intro,
body #main-content.gwc-category .gwc-category-intro p { color: #fff; font-size: 18px; line-height: 1.6em; }
body #main-content.gwc-category .gwc-category-intro a { color: #fff; text-decoration: underline; }

body #main-content.gwc-category .gwc-category-nav { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 20px 0 0; padding: 0; }
body #main-content.gwc-category .gwc-category-nav li { list-style: none; padding: 0; }
body #main-content.gwc-category .gwc-category-nav a { display: block; padding: 8px 18px; border: 1px solid #fff; border-radius: 8px; color: #fff; font-family: RockwellStd-Bold, serif; font-size: 16px; }
body #main-content.gwc-category .gwc-category-nav a:hover,
body #main-content.gwc-category .gwc-category-nav .current a { background: #d02126; border-color: #d02126; }

/* Sidebar + product list — same geometry as the legacy /wine/ section */
body #main-content.gwc-category .homepage-products.et_pb_section { background-color: #f1f1f1; padding: 0; }
/* Divi's .et_pb_gutters2 column rules (22.75%/74.25% + 3% margin) outrank any sane selector here */
body #main-content.gwc-category .homepage-products .et_pb_column { margin-right: 0 !important; }
body #main-content.gwc-category .search-sort-page { margin: 20px 0; }
body #main-content.gwc-category .pagination-links .page-numbers.dots { border: none; }

body #main-content.gwc-category .gwc-category-hero h2 {
	color: #fff;
}

.product .headline a {
	font-size: 30px;
}

.product .title a {
	font-size: 16px;
}

.product .price-info .rrp {
    font-family: RockwellStd;
    text-align: right;
    padding-bottom: 0;
    font-size: 16px !important;
	font-weight: normal !important;
}

.product .price-info .price {
    font-family: RockwellStd-ExtraBold;
    letter-spacing: -7px;
    font-weight: 400 !important;
    font-size: 60px !important;
    color: #d02126 !important;
    text-align: right;
    padding-bottom: 5px;
	line-height: 1 !important;
}

.gwc-category .woocommerce .search-results {
	display: flex;
    flex-wrap: wrap;
}

.gwc-category .search {
	padding-bottom: 15px;
}

.gwc-category .price-group h5 {
	width: 100%;
}


@media (min-width: 981px) {
	body #main-content.gwc-category .homepage-products > .et_pb_row { display: flex; width: 83.5%; max-width: none; margin: 0 0 0 auto; padding: 0; }
	body #main-content.gwc-category .homepage-products .et_pb_column_1_4 { width: 18.75% !important; padding-top: 40px; }
	body #main-content.gwc-category .homepage-products .et_pb_column_3_4 { width: 81.25% !important; }
}

@media (max-width: 980px) {
	body #main-content.gwc-category .homepage-products > .et_pb_row { display: block; }
	body #main-content.gwc-category .homepage-products .et_pb_column_1_4,
	body #main-content.gwc-category .homepage-products .et_pb_column_3_4 { width: 100% !important; }
	body #main-content.gwc-category .gwc-category-hero.et_pb_section { padding: 20px 0; }
	body #main-content.gwc-category .gwc-category-intro,
	body #main-content.gwc-category .gwc-category-intro p { font-size: 16px; }
	body #main-content.gwc-category .gwc-category-nav a { padding: 6px 12px; font-size: 14px; }
}
