/*
Theme Name: Primitive Technology GP
Description: GeneratePress child theme for primitive-technology.co.uk
Author: Martin Reed
Template: generatepress
Version: 0.1.0
*/


/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

body {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 13px;
	color: #555;
	background: #fff;
}

.grid-container,
.site-grid {
	max-width: 980px;
}

a {
	color: #49351c;
}

a:hover,
a:focus {
	color: #c7b29a;
}


/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1 {
	font-size: 22px;
	font-weight: normal;
	color: #222;
}

h2 {
	font-size: 18px;
	font-weight: normal;
	color: #222;
}

h3 {
	font-size: 16px;
	font-weight: normal;
	color: #222;
}

h4 {
	font-size: 15px;
	font-weight: normal;
	color: #222;
}

h5 {
	font-size: 14px;
	font-weight: normal;
	color: #222;
}

h6 {
	font-size: 12px;
	font-weight: normal;
	color: #222;
}


/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
	max-width: 980px;
	margin-left: auto;
	margin-right: auto;
	background-color: #c7b29a;
	background-image:
		url('/wp-content/uploads/2013/03/Site-Header-173-lighter-flint-Twitter.png');
	background-repeat: no-repeat;
	background-position: top right;
	border: 1px solid #49351c;
	border-radius: 5px;
}

.site-header .inside-header {
	min-height: 149px;
	padding: 8px 20px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.site-logo img,
.site-header .header-image {
	width: 150px;
	height: auto;
}

.site-branding {
	display: none;
}


/* --------------------------------------------------------------------------
   Primary navigation
   -------------------------------------------------------------------------- */

.main-navigation {
	width: 100%;
	max-width: 980px;
	margin: 0 auto;
	background-color: #49351c;
	border: 1px solid #382916;
	border-radius: 5px;
}

.main-navigation .inside-navigation {
        min-height: 37px;
        padding: 0;
}

@media (min-width: 851px) {
        .main-navigation .inside-navigation {
                display: flex;
                align-items: stretch;
                flex-wrap: nowrap;
        }

        .main-navigation .main-nav {
                flex: 1 1 auto;
        }

        .main-navigation .main-nav > ul {
                display: flex;
                flex-wrap: nowrap;
                align-items: stretch;
        }

        .main-navigation .main-nav > ul > li {
                flex: 0 0 auto;
        }
}

.main-navigation .main-nav > ul > li > a {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 13px;
	font-weight: normal;
	line-height: 37px;
	height: 37px;
	padding: 0 12px;
	color: #ebebeb;
	border-right: 1px solid #696969;
	white-space: nowrap;
}

.main-navigation .main-nav > ul > li:hover > a,
.main-navigation .main-nav > ul > li:focus > a {
	background-color: #82592b;
	color: #fff;
}

.main-navigation .main-nav > ul > .current-menu-item > a,
.main-navigation .main-nav > ul > .current-menu-ancestor > a,
.main-navigation .main-nav > ul > .current_page_item > a,
.main-navigation .main-nav > ul > .current_page_ancestor > a {
	background-color: #c7b29a;
	color: #49351c !important;
}


/* Dropdown menus */

.main-navigation .main-nav ul ul {
	width: 235px;
	background-color: #94652e;
	box-shadow: none;
	border: 0;
}

.main-navigation .main-nav ul ul li {
	background-color: #94652e;
}

.main-navigation .main-nav ul ul li a {
	height: auto;
	min-height: 0;
	line-height: 1.25;
	padding: 11px 18px;
	background-color: #94652e;
	color: #fff;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 13px;
	font-weight: normal;
	border: 0;
	white-space: normal;
}

.main-navigation .main-nav ul ul li:hover > a,
.main-navigation .main-nav ul ul li:focus > a,
.main-navigation .main-nav ul ul .current-menu-item > a {
	background-color: #82592b;
	color: #fff;
}


/* Cart link */

.main-navigation .menu-bar-items {
	margin-left: auto;
	flex: 0 0 auto;
}

.main-navigation .primtech-cart-link > a {
	display: flex;
	align-items: center;
	height: 37px;
	padding: 0 12px;
	color: #ebebeb;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 13px;
	line-height: 37px;
	text-decoration: none;
	white-space: nowrap;
}

.main-navigation .primtech-cart-link > a:hover,
.main-navigation .primtech-cart-link > a:focus {
	background-color: #82592b;
	color: #fff;
}


/* --------------------------------------------------------------------------
   Content
   -------------------------------------------------------------------------- */

.site-content {
	padding-top: 10px !important;
}

.site-main {
	margin-top: 0 !important;
}

.site-main .inside-article {
	padding-top: 15px !important;
}

.entry-title {
	font-size: 22px;
}

.post-entries {
	margin-top: 4px;
}

#content .standout {
	text-align: center;
	background-color: #c7b29a;
	margin-right: 10px;
	padding: 2px 4px 3px;
}

#content .standout a:hover {
	color: #e43131;
}


/* --------------------------------------------------------------------------
   WooCommerce common
   -------------------------------------------------------------------------- */

.qty {
	width: 5em !important;
}


/* Notices */

.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
	background: #f6d3c2;
	border: 0;
	border-radius: 5px;
	color: #6b4a32;
	padding: 14px 18px 14px 48px;
}

.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce-error::before {
	color: #9a765f;
}

.woocommerce-info a,
.woocommerce-message a,
.woocommerce-error a {
	color: #49351c;
	text-decoration: underline;
}

.woocommerce-info a:hover,
.woocommerce-message a:hover,
.woocommerce-error a:hover {
	color: #82592b;
}


/* --------------------------------------------------------------------------
   Sidebar
   -------------------------------------------------------------------------- */

.widget-title {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 14px;
	font-weight: bold;
	color: #555;
	border-bottom: 1px solid #e6e6e6;
}

.primtech-social-links {
	display: flex;
	gap: 8px;
	margin-bottom: 12px;
}

.primtech-social-links a {
	display: inline-block;
	padding: 5px 8px;
	background: #49351c;
	color: #fff;
	text-decoration: none;
	border-radius: 3px;
	font-size: 12px;
}

.primtech-social-links a:hover,
.primtech-social-links a:focus {
	background: #82592b;
	color: #fff;
}


/* --------------------------------------------------------------------------
   Shop and product-category grids
   -------------------------------------------------------------------------- */

.woocommerce ul.products {
	margin-top: 18px;
}

.woocommerce ul.products li.product {
	margin-bottom: 28px;
}

.woocommerce ul.products li.product a img {
	margin-bottom: 10px;
	border-radius: 4px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 15px;
	line-height: 1.35;
	color: #49351c;
	padding: 0;
	margin: 0 0 6px;
}

.woocommerce ul.products li.product .price {
	color: #555;
	font-size: 13px;
	margin-bottom: 10px;
}

.woocommerce ul.products li.product .price ins {
	color: #49351c;
	font-weight: bold;
	text-decoration: none;
}

.woocommerce ul.products li.product .button {
	background: #49351c;
	color: #fff;
	border-radius: 4px;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 13px;
	font-weight: normal;
	padding: 8px 12px;
	margin-top: 4px;
}

.woocommerce ul.products li.product .button:hover {
	background: #82592b;
	color: #fff;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
	margin-bottom: 18px;
	font-size: 13px;
}

.woocommerce .woocommerce-ordering select {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 13px;
	padding: 5px 7px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #fff;
}

.woocommerce ul.products li.product-category h2.woocommerce-loop-category__title {
	font-size: 14px !important;
	line-height: 1.3;
	font-weight: normal;
	color: #49351c;
}

.woocommerce ul.products li.product-category .count {
	display: none;
}


/* --------------------------------------------------------------------------
   Single products
   -------------------------------------------------------------------------- */

.single-product div.product .product_title {
	font-size: 22px;
	line-height: 1.25;
	margin-bottom: 4px;
}

.single-product div.product p.price,
.single-product div.product span.price {
	color: #8a7a00;
	font-size: 18px;
	margin-bottom: 18px;
}

.single-product div.product form.cart .variations {
	margin-bottom: 12px;
}

.single-product div.product form.cart .variations th,
.single-product div.product form.cart .variations td {
	padding: 6px 8px;
	vertical-align: middle;
}

.single-product div.product form.cart .variations label {
	font-size: 13px;
}

.single-product div.product form.cart select {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 13px;
	padding: 7px 9px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: #fff;
}

.single-product div.product form.cart .quantity .qty {
	width: 5em !important;
	padding: 8px 6px;
	font-size: 13px;
}

.single-product div.product form.cart .single_add_to_cart_button {
	background: #49351c;
	color: #fff;
	border-radius: 4px;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 13px;
	font-weight: normal;
	padding: 9px 14px;
}

.single-product div.product form.cart .single_add_to_cart_button:hover {
	background: #82592b;
	color: #fff;
}

.single-product .product_meta {
	margin-top: 14px;
	margin-bottom: 8px;
	font-size: 12px;
	line-height: 1.5;
	color: #666;
}


/* Product tabs */

.single-product .woocommerce-tabs ul.tabs li {
	background: #f7f3ef !important;
	border-color: #ddd !important;
}

.single-product .woocommerce-tabs ul.tabs li.active {
	background: #fff !important;
}

.single-product .woocommerce-tabs ul.tabs li a {
	font-size: 13px;
	font-weight: normal !important;
	color: #49351c;
}

.single-product .woocommerce-tabs ul.tabs li.active a {
	font-weight: bold !important;
}

.single-product .woocommerce-tabs .panel {
	font-size: 13px;
	line-height: 1.45;
}

.single-product .woocommerce-tabs .panel h2 {
	font-size: 18px;
}


/* Quantity discount table */

.single-product .wccs-bulk-pricing-table-container {
	--asnp-wccs-theme-color: #49351c !important;
	--asnp-wccs-theme-bg: #f5f0ea !important;
	--asnp-wccs-theme-text: #49351c !important;
	--asnp-wccs-theme-border: #c7b29a !important;
	--asnp-wccs-header-bg: #49351c !important;
	--asnp-wccs-header-text: #fff !important;
	--asnp-wccs-body-bg: #fff !important;
	--asnp-wccs-stripe-bg: #f5f0ea !important;
	--asnp-wccs-body-text: #555 !important;
	--asnp-wccs-hover-bg: #eee3d7 !important;

	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	border: 1px solid #c7b29a !important;
	border-radius: 5px;
	box-shadow: none !important;
	overflow: hidden;
}

.single-product .wccs-bulk-pricing-table-title {
	margin-bottom: 8px;
	font-size: 13px;
	color: #555;
}

.single-product .asnp-wccs-table-head th,
.single-product .asnp-wccs-table-body td {
	padding-left: 6px !important;
	padding-right: 6px !important;
	font-size: 12px;
	white-space: nowrap;
}

.single-product .asnp-wccs-table-head th {
	font-weight: normal;
}

.single-product .asnp-wccs-table-wrapper-outer {
	max-width: 360px;
}


/* Jetpack product sharing */

.single-product .sharedaddy {
	margin-top: 4px;
}

.single-product .sd-sharing .sd-title {
	font-size: 11px !important;
	font-weight: normal !important;
	color: #777;
	margin: 0 0 3px !important;
}

.single-product .sd-sharing .sd-content ul {
	margin: 0 !important;
}

.single-product .sd-sharing .sd-content ul li {
	margin: 0 8px 0 0 !important;
}

.single-product .sd-sharing .sd-button {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 2px 4px !important;
	color: #49351c !important;
	font-size: 12px !important;
}

.single-product .sd-sharing .sd-button:hover {
	background: #f5f0ea !important;
	color: #82592b !important;
}


/* --------------------------------------------------------------------------
   Cart
   -------------------------------------------------------------------------- */

.woocommerce-cart table.shop_table {
	border: 1px solid #ddd;
	border-radius: 5px;
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
}

.woocommerce-cart table.shop_table th {
	font-size: 13px;
	font-weight: bold;
	color: #555;
	background: #f7f3ef;
}

.woocommerce-cart table.shop_table td,
.woocommerce-cart table.shop_table th {
	padding: 10px 12px;
}

.woocommerce-cart .product-name a {
	color: #49351c;
	text-decoration: none;
}

.woocommerce-cart .product-name a:hover {
	color: #82592b;
}

.woocommerce-cart .quantity .qty {
	width: 4.5em !important;
	padding: 5px;
}

.woocommerce-cart .button,
.woocommerce-cart button.button,
.woocommerce-cart input.button,
.woocommerce-cart a.button,
.woocommerce-cart .checkout-button {
	background: #49351c;
	color: #fff;
	border-radius: 4px;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 13px;
	font-weight: normal;
	padding: 9px 14px;
}

.woocommerce-cart .button:hover,
.woocommerce-cart button.button:hover,
.woocommerce-cart input.button:hover,
.woocommerce-cart a.button:hover,
.woocommerce-cart .checkout-button:hover {
	background: #82592b;
	color: #fff;
}

.woocommerce-cart .cart_totals h2 {
	font-size: 18px;
}

.woocommerce-cart .cart_totals table {
	border-radius: 5px;
}

.woocommerce-cart .wc-proceed-to-checkout {
	padding-top: 12px;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	background: #49351c !important;
	color: #fff !important;
	border-radius: 4px;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 14px;
	font-weight: normal;
	padding: 11px 16px;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
	background: #82592b !important;
	color: #fff !important;
}


/* Coupon and update controls */

.woocommerce-cart table.cart td.actions .coupon {
	display: flex;
	align-items: stretch;
	gap: 6px;
}

.woocommerce-cart table.cart td.actions .coupon .input-text {
	width: 150px !important;
	min-width: 150px;
	height: 40px;
	padding: 0 10px;
	box-sizing: border-box;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 13px;
}

.woocommerce-cart table.cart td.actions .coupon .button {
	height: 40px;
	padding: 0 14px;
}

.woocommerce-cart button.button[name="update_cart"] {
	height: 40px;
	padding: 0 14px;
	box-sizing: border-box;
}

.woocommerce-cart button.button[name="update_cart"]:disabled,
.woocommerce-cart button.button[name="update_cart"].disabled {
	background: #d4ccc2 !important;
	color: #7a7066 !important;
	opacity: 1 !important;
	cursor: not-allowed;
}


/* --------------------------------------------------------------------------
   Checkout
   -------------------------------------------------------------------------- */

.woocommerce-checkout h3 {
	font-size: 16px;
	line-height: 1.3;
	margin-bottom: 14px;
}

.woocommerce-checkout #ship-to-different-address {
	white-space: nowrap;
}

.woocommerce-checkout .form-row {
	margin-bottom: 12px;
}

.woocommerce-checkout .form-row label {
	font-size: 12px;
	margin-bottom: 4px;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 13px;
	border: 1px solid #b9aaa0;
	border-radius: 4px;
	padding: 8px 9px;
	box-sizing: border-box;
}

.woocommerce-checkout textarea {
	min-height: 90px;
}

.woocommerce-checkout table.shop_table {
	border: 1px solid #ddd;
	border-radius: 5px;
	border-collapse: separate;
	border-spacing: 0;
}

.woocommerce-checkout table.shop_table th {
	background: #f7f3ef;
}

.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td {
	padding: 10px 12px;
}

.woocommerce-checkout #payment {
	background: #f7f3ef;
	border-radius: 5px;
}

.woocommerce-checkout #payment .payment_box {
	background: #eee3d7;
	color: #555;
}

.woocommerce-checkout #payment .payment_box::before {
	border-bottom-color: #eee3d7;
}

.woocommerce-checkout #payment ul.payment_methods {
	padding: 14px 18px;
}

.woocommerce-checkout #payment .form-row.place-order {
	padding: 14px 18px;
}

.woocommerce-checkout #place_order {
	background: #49351c !important;
	color: #fff !important;
	border-radius: 4px;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 13px;
	font-weight: normal;
	padding: 10px 16px;
}

.woocommerce-checkout #place_order:hover {
	background: #82592b !important;
	color: #fff !important;
}


/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
	font-size: 13px;
	color: #999;
}

.site-info {
	border-top: 1px solid #dbdbdb;
	background: transparent;
	color: #999;
}

.site-info .inside-site-info {
	max-width: 980px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	padding: 22px 15px;
	font-size: 12px;
	color: #999;
}

.site-info .copyright-bar {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}

.primtech-footer-right {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 6px;
}

.primtech-footer-right a {
	color: #49351c;
	text-decoration: none;
}

.primtech-footer-right a:hover {
	color: #82592b;
	text-decoration: underline;
}


/* --------------------------------------------------------------------------
   Responsive navigation/header
   -------------------------------------------------------------------------- */

@media (max-width: 850px) {
	.site-header {
		background-image: none;
		border-radius: 0;
	}

	.site-header .inside-header {
		min-height: auto;
		padding: 10px;
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		text-align: left;
	}

	.site-header .site-logo {
		margin: 0;
	}

	.site-logo img,
	.site-header .header-image {
		width: 150px;
	}

	.main-navigation {
		border-radius: 0;
	}

	.main-navigation .menu-toggle {
		display: flex;
		align-items: center;
		min-height: 54px;
		padding: 0 18px;
		background: transparent;
		color: #fff;
		font-family: Verdana, Geneva, sans-serif;
		font-size: 15px;
		font-weight: normal;
	}

	.main-navigation .menu-toggle:hover,
	.main-navigation .menu-toggle:focus {
		background: #82592b;
		color: #fff;
	}

	.main-navigation .menu-toggle .gp-icon svg {
		fill: currentColor;
		color: #fff;
	}

	.main-navigation.toggled .main-nav {
		background: #49351c;
	}

	.main-navigation.toggled .main-nav > ul {
		display: block;
	}

	.main-navigation.toggled .main-nav ul li a {
		height: auto;
		min-height: 44px;
		line-height: 1.3;
		padding: 12px 18px;
		background: #49351c;
		color: #fff;
		border: 0;
		border-top: 1px solid #696969;
	}

	.main-navigation.toggled .main-nav ul li:hover > a,
	.main-navigation.toggled .main-nav ul li:focus > a {
		background: #82592b;
		color: #fff;
	}

	.main-navigation.toggled .main-nav ul ul {
		position: static;
		width: auto;
		background: #94652e;
	}

	.main-navigation.toggled .main-nav ul ul li a {
		padding-left: 32px;
		background: #94652e;
		color: #fff;
	}

	.main-navigation .primtech-cart-link > a {
		height: 54px;
		line-height: 54px;
	}
}


/* --------------------------------------------------------------------------
   Responsive content
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
	.woocommerce-cart .cross-sells {
		display: none;
	}

	.woocommerce ul.products li.product {
		margin-bottom: 22px;
	}

	.woocommerce ul.products li.product .button {
		padding: 9px 12px;
	}

	.site-info .inside-site-info,
	.site-info .copyright-bar {
		display: block;
		text-align: center;
	}

	.primtech-footer-right {
		justify-content: center;
		margin-top: 8px;
	}
}

/* Match payment method description to site palette. */
.woocommerce-checkout #payment div.payment_box {
	background: #eee3d7 !important;
	color: #555 !important;
}

.woocommerce-checkout #payment div.payment_box::before {
	border-bottom-color: #eee3d7 !important;
}

/* Product metadata: show SKU only. */
.single-product .product_meta .posted_in,
.single-product .product_meta .tagged_as {
	display: none;
}
