/* GorillaGear Rentals: front end styles. Brand purple #4834e1, banana yellow #FFD93D. */

.ggr-per-day {
	font-size: 0.8em;
	opacity: 0.75;
}

.ggr-picker {
	margin: 0 0 1.25em;
	max-width: 340px;
}

.ggr-picker__label {
	font-weight: 700;
	margin: 0 0 0.4em;
}

/* The calendar is shown inline, so the text box it is attached to is hidden. */
.ggr-picker__input {
	display: none !important;
}

.ggr-picker .flatpickr-calendar {
	box-shadow: none;
	border: 1px solid #d9d9e3;
	border-radius: 8px;
	max-width: 100%;
}

.ggr-picker .flatpickr-day.selected,
.ggr-picker .flatpickr-day.startRange,
.ggr-picker .flatpickr-day.endRange,
.ggr-picker .flatpickr-day.selected:hover,
.ggr-picker .flatpickr-day.startRange:hover,
.ggr-picker .flatpickr-day.endRange:hover {
	background: #4834e1;
	border-color: #4834e1;
	color: #fff;
}

.ggr-picker .flatpickr-day.inRange {
	background: #e9e6fc;
	border-color: #e9e6fc;
	box-shadow: -5px 0 0 #e9e6fc, 5px 0 0 #e9e6fc;
}

.ggr-picker .flatpickr-day.flatpickr-disabled,
.ggr-picker .flatpickr-day.flatpickr-disabled:hover {
	color: #b9b9c6;
	text-decoration: line-through;
}

.ggr-picker__summary {
	margin: 0.75em 0 0;
	padding: 0.75em 0.9em;
	background: #f5f4fe;
	border-left: 4px solid #4834e1;
	border-radius: 4px;
	line-height: 1.6;
	font-size: 0.95em;
}

.ggr-picker__summary--error {
	background: #fff6d6;
	border-left-color: #FFD93D;
}

.ggr-picker__price strong {
	font-size: 1.2em;
}

.ggr-picker__saving {
	margin-left: 0.4em;
	color: #2d7a3e;
	font-size: 0.9em;
}

.ggr-picker__sooner {
	margin: 0.6em 0 0;
	font-size: 0.85em;
}

.ggr-closed-banner {
	background: #FFD93D;
	color: #111;
	text-align: center;
	padding: 0.6em 1em;
	font-weight: 600;
	font-size: 0.95em;
}

/* Hire details under the item name in the basket, checkout and order pages.
   One tidy line each: a bold label, then the value. */
.woocommerce dl.variation,
.wc-block-components-product-details {
	margin: 0.45em 0 0;
	padding: 0;
	font-size: 0.9em;
	line-height: 1.5;
}

.woocommerce dl.variation dt,
.woocommerce dl.variation dd {
	display: inline;
	float: none;
	margin: 0;
	padding: 0;
}

.woocommerce dl.variation dt {
	font-weight: 600;
}

.woocommerce dl.variation dd p {
	display: inline;
	margin: 0;
}

/* Each value ends its line, so the next label starts a new one. */
.woocommerce dl.variation dd::after {
	content: "";
	display: block;
}

/* Give the item column most of the width in the checkout summary, so details do not wrap word by word. */
.woocommerce table.woocommerce-checkout-review-order-table {
	table-layout: auto;
	width: 100%;
}

.woocommerce table.woocommerce-checkout-review-order-table .product-name {
	width: 72%;
}

.woocommerce table.woocommerce-checkout-review-order-table .product-total {
	width: 28%;
	text-align: right;
	white-space: nowrap;
	vertical-align: top;
}

/* Same details on the order confirmation page and in My account. */
.woocommerce ul.wc-item-meta {
	list-style: none;
	margin: 0.45em 0 0;
	padding: 0;
	font-size: 0.9em;
	line-height: 1.5;
}

.woocommerce ul.wc-item-meta li p {
	display: inline;
	margin: 0;
}

/* ---------- "In the kit", "Works with" and "Good for" ---------- */

.ggr-kit {
	clear: both;
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	gap: 1.5em 2.5em;
	margin: 2em 0;
	padding: 1.5em;
	border: 1px solid #e3e5ea;
	border-radius: 10px;
	background: #fafbfc;
}

.ggr-kit__block--kit:only-child {
	grid-column: 1 / -1;
}

.ggr-kit__side {
	display: grid;
	gap: 1.5em;
	align-content: start;
}

.ggr-kit .ggr-kit__title,
.ggr-modal__sub {
	margin: 0 0 0.6em;
	padding: 0;
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #5b6170;
}

.ggr-modal__sub {
	margin-top: 1.2em;
}

.ggr-kit__list,
.ggr-kit__plain,
.ggr-kit__tags {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.ggr-kit__list li,
.ggr-kit__plain li,
.ggr-kit__tags li {
	margin: 0;
	list-style: none;
}

.ggr-kit__list li::before,
.ggr-kit__plain li::before,
.ggr-kit__tags li::before {
	content: none !important;
}

.ggr-kit__list li {
	display: flex;
	align-items: baseline;
	gap: 0.75em;
	padding: 0.45em 0;
	border-bottom: 1px solid #e9ebef;
	line-height: 1.4;
}

.ggr-kit__list li:last-child {
	border-bottom: 0;
}

.ggr-kit__qty {
	flex: 0 0 2.6em;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	text-align: right;
	white-space: nowrap;
	color: #1c1f26;
}

.ggr-kit__name {
	flex: 1 1 auto;
	min-width: 0;
}

.ggr-kit__plain li {
	padding: 0.2em 0;
	line-height: 1.45;
}

.ggr-kit__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4em;
}

.ggr-kit__tags li {
	padding: 0.25em 0.75em;
	border: 1px solid #d9dce3;
	border-radius: 999px;
	background: #fff;
	font-size: 0.9em;
	line-height: 1.4;
}

@media (max-width: 700px) {
	.ggr-kit {
		grid-template-columns: minmax(0, 1fr);
		padding: 1.1em;
	}
}

/* ---------- used kit for sale, on its own page ---------- */

.ggr-used {
	margin: 0.4em 0 1em;
}

.ggr-used__tag {
	display: inline-block;
	padding: 0.15em 0.7em;
	border-radius: 999px;
	background: #fff1d6;
	color: #7a4b00;
	font-size: 0.85em;
	font-weight: 600;
}


.ggr-used__head {
	margin: 0 0 0.3em;
}

.ggr-used__price {
	margin-left: 0.4em;
	font-size: 1.1em;
}

.ggr-used__condition,
.ggr-used__ready {
	margin: 0 0 0.4em;
}

.ggr-used__ready {
	color: #555;
	font-size: 0.92em;
}

.ggr-used--also {
	padding: 0.8em 1em;
	border: 1px solid #f0dcb0;
	border-radius: 8px;
	background: #fffaf0;
}

.ggr-used__buy {
	margin: 0.5em 0 0;
}

/* ---------- points along the hiring journey (0.40.0) ---------- */

/* The signed-in customer's points, beside the Hire / Buy switch in the site header. */
.ggr-ptspill {
	display: inline-flex;
	align-items: center;
	padding: 0.3em 0.75em;
	border: 1px solid var(--gg-yellow, #ffd93d);
	border-radius: 999px;
	font-size: 0.82em;
	font-weight: 700;
	line-height: 1.3;
	white-space: nowrap;
	text-decoration: none;
	color: inherit;
}

.ggr-ptspill[hidden] {
	display: none;
}

.ggr-ptspill.has-points {
	background: var(--gg-yellow, #ffd93d);
	color: #111;
}

.ggr-ptspill:hover,
.ggr-ptspill:focus-visible {
	text-decoration: underline;
}

/* There is no room for it in a phone header. The line above the kit list says the same. */
@media (max-width: 782px) {
	.ggr-ptspill {
		display: none;
	}
}

/* "Points you earn" under the total, in the basket and at checkout. */
.ggr-earnrow th,
.ggr-earnrow td {
	border-top: 1px dashed var(--gg-line, #d9d9e3);
}

.ggr-earnrow th,
.ggr-earnrow td {
	vertical-align: middle;
	white-space: nowrap;
}

.ggr-earnrow td {
	text-align: right;
}

/* The explanation: its own line under the row, across the whole width (0.40.2).
   WooCommerce's phone basket table right-aligns every cell with !important, so this
   names the table too, to win (0.40.3). */
.ggr-earnrow__more td,
.woocommerce table.shop_table tr.ggr-earnrow__more td,
.woocommerce-page table.shop_table tr.ggr-earnrow__more td {
	padding-top: 0 !important;
	text-align: left !important;
	white-space: normal;
	border-top: 0 !important;
}

/* WooCommerce's phone basket table labels each cell with its title. Not this one. */
.ggr-earnrow__more td::before {
	display: none !important;
}

.ggr-earnrow__note {
	margin: 0;
	text-align: left;
	font-size: 0.85em;
	font-weight: 400;
	line-height: 1.45;
	opacity: 0.8;
}

/* The Points page. */
.ggr-ptspage__lead {
	font-size: 1.25em;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 1.2em;
	padding: 0.9em 1.1em;
	border-left: 4px solid var(--gg-yellow, #ffd93d);
	background: var(--gg-surface-2, rgba(127, 127, 127, 0.08));
	border-radius: 0 10px 10px 0;
}

.ggr-ptspage__steps {
	list-style: none;
	counter-reset: ggrpts;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 1em;
	margin: 0 0 1.6em;
	padding: 0;
}

.ggr-ptspage__steps li {
	counter-increment: ggrpts;
	margin: 0;
	padding: 1em 1.1em;
	border: 1px solid var(--gg-line, #d9d9e3);
	border-radius: 10px;
	background: var(--gg-surface, transparent);
}

.ggr-ptspage__steps li::before {
	content: counter(ggrpts);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.9em;
	height: 1.9em;
	margin-bottom: 0.5em;
	border-radius: 50%;
	background: var(--gg-purple, #4834e1);
	color: #fff;
	font-weight: 700;
}

.ggr-ptspage__steps strong,
.ggr-ptspage__steps span {
	display: block;
}

.ggr-ptspage__steps strong {
	margin-bottom: 0.25em;
	font-size: 1.05em;
}

.ggr-ptspage__eg {
	margin: 0 0 1.6em;
	padding: 1em 1.2em;
	border: 1px solid var(--gg-yellow, #ffd93d);
	border-radius: 10px;
}

.ggr-ptspage__eg h2 {
	margin: 0 0 0.4em;
	font-size: 1.1em;
}

.ggr-ptspage__eg p {
	margin: 0;
}

.ggr-ptspage__notes {
	margin: 0 0 1.6em 1.2em;
	padding: 0;
}

.ggr-ptspage__notes li {
	margin: 0 0 0.4em;
}

.ggr-ptspage__go {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.7em 1em;
	margin: 0 0 0.8em;
}

.ggr-ptspage__small {
	font-size: 0.9em;
	opacity: 0.8;
}

.ggr-ptspage__btn {
	display: inline-block;
	padding: 0.6em 1.2em;
	border-radius: 8px;
	background: var(--gg-purple, #4834e1);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.ggr-ptspage__btn--buy {
	background: var(--gg-yellow, #ffd93d);
	color: #111;
}

.ggr-ptspage__btn:hover,
.ggr-ptspage__btn:focus-visible {
	filter: brightness(1.08);
	color: #fff;
}

.ggr-ptspage__btn--buy:hover,
.ggr-ptspage__btn--buy:focus-visible {
	color: #111;
}
