/*
 * Apex and Pent shed building pages: PHONES ONLY (owner, 19 Nov 2026).
 * Loaded only on those pages (body class rgr-product-mobile). Tablets and computers are not changed:
 * the buttons are hidden there, and every other rule sits inside the phone-size media query.
 */

.rgr-product-mobile .rgr-pp,
.rgr-product-mobile .rgr-ic,
.rgr-product-mobile .rgr-pc {
	display: none;
}

/* Optional Extras on computers: the panels stay open and their headings are hidden, so the page looks as before. */
.rgr-product-mobile details.rgr-acc {
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
}

.rgr-product-mobile details.rgr-acc > summary {
	display: none;
}

@media (max-width: 767px) {
	/* Product name, then the photo slider, then the buttons, then the page's own wording. */
	.rgr-product-mobile .content-row:first-child {
		display: flex;
		flex-direction: column;
	}

	.rgr-product-mobile .single-garage-text {
		display: contents;
	}

	.rgr-product-mobile .single-garage-text > * {
		order: 4;
	}

	.rgr-product-mobile .single-garage-text > h1 {
		order: 1;
		margin: 0 0 12px;
		padding: 0;
		font-size: 26px;
		line-height: 1.2;
		font-weight: 700;
		font-style: normal;
		text-align: center;
		color: #28649b;
	}

	.rgr-product-mobile .single-garage-slider {
		order: 2;
		width: 100%;
		margin: 0 0 12px;
		float: none;
	}

	.rgr-product-mobile .rgr-pp {
		order: 3;
		display: grid;
		gap: 10px;
		margin: 0 0 16px;
	}

	.rgr-product-mobile .rgr-pp__row {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}

	.rgr-product-mobile .rgr-pp__row--one {
		grid-template-columns: 1fr;
	}

	.rgr-product-mobile .rgr-pp__btn {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		min-height: 56px;
		padding: 10px 12px;
		border-radius: 10px;
		font-size: 17px;
		line-height: 1.15;
		font-weight: 800;
		text-transform: uppercase;
		text-align: center;
		text-decoration: none;
	}

	.rgr-product-mobile .rgr-pp__btn--call,
	.rgr-product-mobile .rgr-pp__btn--call:hover,
	.rgr-product-mobile .rgr-pp__btn--call:focus {
		background: #f9a31a;
		color: #14213d;
	}

	.rgr-product-mobile .rgr-pp__btn--price,
	.rgr-product-mobile .rgr-pp__btn--price:hover,
	.rgr-product-mobile .rgr-pp__btn--price:focus {
		min-height: 48px;
		font-size: 15px;
		background: #58739f;
		color: #fff;
	}

	.rgr-product-mobile .rgr-pp .rgr-icon {
		width: 26px;
		height: 26px;
		flex: 0 0 auto;
	}

	.rgr-product-mobile .rgr-pp__btn--price .rgr-icon {
		width: 22px;
		height: 22px;
	}

	.rgr-product-mobile .rgr-pp a:focus-visible {
		outline: 3px solid #ffbf47;
		outline-offset: 2px;
	}

	/* The six key points with icons (as on the Garden, Apex and Pent pages). */
	.rgr-product-mobile .rgr-pp__features {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		margin: 0;
		padding: 0;
		list-style: none;
		border: 1px solid #d5dbe6;
		border-radius: 10px;
		background: #f3f6fa;
		overflow: hidden;
	}

	.rgr-product-mobile .rgr-pp__features li {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 4px;
		margin: 0;
		padding: 10px 4px;
		font-size: 13px;
		line-height: 1.15;
		font-weight: 700;
		text-align: center;
		color: #1f2a3c;
		border-right: 1px solid #d5dbe6;
		border-bottom: 1px solid #d5dbe6;
		list-style: none;
	}

	/* The theme puts a small grey bullet picture on list items; not wanted in the icon boxes. */
	body.rgr-product-mobile main .rgr-pp__features li {
		background: none;
	}

	.rgr-product-mobile .rgr-pp__features li:nth-child(3n) {
		border-right: 0;
	}

	.rgr-product-mobile .rgr-pp__features li:nth-child(n + 4) {
		border-bottom: 0;
	}

	.rgr-product-mobile .rgr-pp__features .rgr-icon {
		width: 30px;
		height: 30px;
		stroke-width: 1.5;
		color: #28649b;
	}

	/* ----- Price list and specification pages ----- */

	.rgr-info-mobile .heading-div h1 {
		margin: 0 0 12px;
		padding: 0;
		font-size: 26px;
		line-height: 1.2;
		font-weight: 700;
		font-style: normal;
		text-align: center;
		color: #28649b;
	}

	.rgr-info-mobile .rgr-pp--info {
		display: grid;
		margin: 0 0 16px;
	}

	/* Price tables: full width, shaded alternate rows, bold prices. */
	.rgr-info-price .faq-section table.tablepress {
		width: 100%;
		margin: 8px 0 16px;
		border: 1px solid #d5dbe6;
		border-collapse: separate;
		border-spacing: 0;
		border-radius: 10px;
		overflow: hidden;
		font-size: 17px;
	}

	.rgr-info-price .faq-section table.tablepress th {
		padding: 10px 14px;
		background: #58739f;
		color: #fff;
		font-weight: 800;
		text-transform: uppercase;
		font-size: 15px;
		font-style: normal;
		border: 0;
	}

	.rgr-info-price .faq-section table.tablepress td {
		padding: 10px 14px;
		background: #fff;
		color: #1f2a3c;
		font-style: normal;
		border: 0;
		border-top: 1px solid #e3e8f0;
	}

	.rgr-info-price .faq-section table.tablepress tbody tr:nth-child(even) td {
		background: #f3f6fa;
	}

	.rgr-info-price .faq-section table.tablepress .column-2 {
		text-align: right;
		font-weight: 800;
		color: #28649b;
	}

	.rgr-info-price .faq-section table.tablepress th.column-2 {
		color: #fff;
	}

	/* Extras lists: one tidy row each, with an icon where one fits. */
	.rgr-info-mobile .faq-section ul {
		margin: 8px 0 16px;
		padding: 0;
		list-style: none;
		border: 1px solid #d5dbe6;
		border-radius: 10px;
		overflow: hidden;
	}

	.rgr-info-mobile .faq-section ul li {
		display: flex;
		align-items: center;
		gap: 10px;
		margin: 0;
		padding: 10px 12px;
		font-style: normal;
		list-style: none;
		background: #fff;
		border-top: 1px solid #e3e8f0;
	}

	.rgr-info-mobile .faq-section ul li:first-child {
		border-top: 0;
	}

	.rgr-info-mobile .faq-section ul li:nth-child(even) {
		background: #f3f6fa;
	}

	.rgr-info-mobile .faq-section ul li::before {
		content: none;
	}

	.rgr-info-mobile .rgr-ic {
		display: inline-flex;
		flex: 0 0 auto;
		align-items: center;
		justify-content: center;
		width: 34px;
		height: 34px;
		border-radius: 50%;
		background: #e6edf6;
		color: #28649b;
	}

	.rgr-info-mobile .rgr-ic .rgr-icon {
		width: 20px;
		height: 20px;
	}

	/* Specification headings: icon then heading. */
	.rgr-info-mobile .rgr-spec {
		margin-top: 18px;
	}

	.rgr-info-mobile .rgr-spec > strong:first-child {
		display: flex;
		align-items: center;
		gap: 10px;
		font-size: 18px;
		color: #28649b;
	}

	/* ----- Optional Extras: tap-to-open sections ----- */
	.rgr-info-mobile details.rgr-acc {
		margin: 0 0 10px;
		border: 1px solid #d5dbe6;
		border-radius: 10px;
		background: #fff;
		overflow: hidden;
	}

	.rgr-info-mobile details.rgr-acc--phone-hidden {
		display: none;
	}

	.rgr-info-mobile details.rgr-acc > summary {
		display: flex;
		align-items: center;
		gap: 12px;
		min-height: 52px;
		padding: 8px 12px;
		list-style: none;
		cursor: pointer;
		background: #f3f6fa;
		font-size: 17px;
		line-height: 1.2;
		font-weight: 700;
		color: #28649b;
	}

	.rgr-info-mobile details.rgr-acc > summary::-webkit-details-marker {
		display: none;
	}

	.rgr-info-mobile .rgr-acc__title {
		flex: 1 1 auto;
	}

	.rgr-info-mobile .rgr-acc__chev {
		display: inline-flex;
		transform: rotate(90deg);
		transition: transform 0.15s ease;
		color: #1f2a3c;
	}

	.rgr-info-mobile details[open] > summary .rgr-acc__chev {
		transform: rotate(-90deg);
	}

	.rgr-info-mobile .rgr-acc__chev .rgr-icon {
		width: 20px;
		height: 20px;
		stroke-width: 2.4;
	}

	.rgr-info-mobile .rgr-acc__body {
		padding: 12px;
		border-top: 1px solid #e3e8f0;
	}

	.rgr-info-mobile .rgr-acc__body .content-row,
	.rgr-info-mobile .rgr-acc__body .row,
	.rgr-info-mobile .rgr-acc__body [class*="col-"] {
		margin: 0;
		padding: 0;
		float: none;
		width: auto;
	}

	.rgr-info-mobile .rgr-acc__body h3 {
		display: none; /* the panel heading already says it */
	}

	.rgr-info-mobile .rgr-acc__body h4 {
		margin: 8px 0 6px;
		font-size: 17px;
		font-weight: 700;
		font-style: normal;
		color: #28649b;
	}

	.rgr-info-mobile .rgr-acc__body img {
		display: block;
		float: none;
		max-width: 100%;
		height: auto;
		margin: 0 auto 8px;
		border-radius: 8px;
	}

	.rgr-info-mobile .rgr-acc__body .alignleft {
		float: none;
		margin: 0 0 8px;
	}

	.rgr-info-mobile .rgr-acc__body p {
		margin: 0 0 12px;
		font-style: normal;
	}

	.rgr-info-mobile .rgr-acc__body .home-tab-area {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
		margin: 0 0 12px;
	}

	.rgr-info-mobile .rgr-acc__body .home-tab {
		width: auto;
		margin: 0;
		padding: 6px;
		float: none;
		border: 1px solid #e3e8f0;
		border-radius: 8px;
		text-align: center;
	}

	.rgr-info-mobile .rgr-acc__body .home-tab h1 {
		margin: 4px 0 0;
		font-size: 16px;
		font-weight: 800;
		font-style: normal;
		color: #fff; /* the theme gives these prices a blue bar */
	}

	/* ----- Delivery Information: one card per point ----- */
	.rgr-info-mobile .faq-section hr {
		display: none;
	}

	.rgr-info-mobile p.rgr-dcard {
		display: flex;
		align-items: flex-start;
		gap: 12px;
		margin: 0 0 10px;
		padding: 12px;
		border: 1px solid #d5dbe6;
		border-radius: 10px;
		background: #fff;
		font-style: normal;
	}

	.rgr-info-mobile p.rgr-dcard:nth-of-type(even) {
		background: #f3f6fa;
	}

	.rgr-info-mobile .rgr-dcard__text {
		flex: 1 1 auto;
		min-width: 0;
	}

	/* ----- Delivery Costs: postcode box and one easy list ----- */
	.rgr-info-mobile .faq-section h2 {
		margin: 0 0 10px;
		font-size: 18px;
		line-height: 1.3;
		text-align: center;
	}

	.rgr-info-mobile .faq-section table.tablepress-id-25 {
		display: none;
	}

	.rgr-info-mobile .rgr-pc {
		display: block;
		margin: 12px 0 16px;
	}

	.rgr-info-mobile .rgr-pc__label {
		display: flex;
		align-items: center;
		gap: 8px;
		margin: 0 0 6px;
		font-size: 17px;
		font-weight: 700;
		color: #28649b;
	}

	.rgr-info-mobile .rgr-pc__label .rgr-icon {
		width: 22px;
		height: 22px;
	}

	.rgr-info-mobile .rgr-pc__input {
		display: block;
		width: 100%;
		min-height: 50px;
		margin: 0 0 12px;
		padding: 10px 14px;
		border: 2px solid #58739f;
		border-radius: 10px;
		font-size: 18px;
		text-transform: uppercase;
		box-sizing: border-box;
	}

	.rgr-info-mobile .rgr-pc__none {
		margin: 0 0 12px;
		padding: 12px;
		border-radius: 10px;
		background: #fff4df;
	}

	.rgr-info-mobile .rgr-pc__none[hidden],
	.rgr-info-mobile .rgr-pc__list li[hidden] {
		display: none;
	}

	.rgr-info-mobile .rgr-pc__list {
		margin: 0;
		padding: 0;
		list-style: none;
		border: 1px solid #d5dbe6;
		border-radius: 10px;
		overflow: hidden;
	}

	.rgr-info-mobile .rgr-pc__list li {
		display: flex;
		justify-content: space-between;
		gap: 10px;
		margin: 0;
		padding: 10px 14px;
		background: #fff;
		border-top: 1px solid #e3e8f0;
		font-size: 17px;
		font-style: normal;
	}

	.rgr-info-mobile .rgr-pc__list li:nth-child(even) {
		background: #f3f6fa;
	}

	.rgr-info-mobile .rgr-pc__list li > span:last-child {
		font-weight: 800;
		color: #28649b;
		white-space: nowrap;
	}

	.rgr-info-mobile .rgr-pc__list li.rgr-pc__head {
		border-top: 0;
		background: #58739f;
		color: #fff;
		font-size: 15px;
		font-weight: 800;
		text-transform: uppercase;
	}

	.rgr-info-mobile .rgr-pc__list li.rgr-pc__head > span:last-child {
		color: #fff;
	}

	/* The row of blue page links under the page, and the empty button row above it (it only adds a gap). */
	.rgr-product-mobile .bottom-btns-area,
	.rgr-product-mobile .main-btns-div {
		display: none;
	}
}

@media (max-width: 359px) {
	.rgr-product-mobile .rgr-pp__btn {
		font-size: 15px;
		gap: 6px;
	}
}

/* =====================================================================
 * Large Sheds page (owner, 19 Nov 2026).
 * ALL SCREENS: the photo captions and the "Large Sheds from Regency..." heading are no longer main
 * headings (one main heading per page), so they copy the theme's own heading styles exactly and look
 * the same as before.
 * ===================================================================== */

/* = theme ".one-seventh-tab h1" (css/style.css) */
.one-seventh-tab .rgr-cap {
	margin: 0;
	padding: 0;
	font-family: 'Lato-Bold';
	font-size: 10px;
	font-weight: normal;
	text-transform: uppercase;
	color: #333333;
	line-height: normal;
	margin-bottom: 0px;
}

.one-seventh-tab .rgr-cap a {
	display: block;
	min-height: 28px;
	background: #6b7d9c;
	color: #fff;
	text-align: center;
	border: 1px solid #607caa;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-moz-osx-font-smoothing: grayscale;
	position: relative;
	-webkit-transition-property: color;
	transition-property: color;
	-webkit-transition-duration: 0.5s;
	transition-duration: 0.5s;
	padding: 3px 0px 0px 3px;
}

.one-seventh-tab .rgr-cap a:hover,
.one-seventh-tab .rgr-cap a:focus {
	text-decoration: none;
	background: #6b7d9c;
	color: #333333;
}

.one-seventh-tab:hover .rgr-cap a {
	color: #333333;
	background: #6b7d9c;
}

@media only screen and (max-width: 1024px) {
	.one-seventh-tab .rgr-cap {
		display: table;
		width: 100%;
		min-height: 38px;
	}

	.one-seventh-tab .rgr-cap a {
		display: table-cell;
		vertical-align: middle;
	}
}

@media (max-width: 320px) {
	.one-seventh-tab .rgr-cap {
		font-size: 12px;
	}
}

/* = theme "h1" (css/style.css), used for the heading above the Large Sheds wording */
.rgr-info-large h2.rgr-h1look {
	margin: 0 0 20px;
	padding: 0;
	border: 0;
	font-family: 'Lato-HeavyItalic';
	font-size: 43px;
	font-weight: normal;
	font-style: normal;
	line-height: normal;
	letter-spacing: normal;
	text-transform: none;
	text-align: left;
	color: #58739f;
}

@media only screen and (max-width: 1024px) {
	.rgr-info-large h2.rgr-h1look {
		font-size: 36px;
	}
}

@media (max-width: 767px) {
	.rgr-info-large h2.rgr-h1look {
		font-size: 32px;
	}
}

@media (max-width: 320px) {
	.rgr-info-large h2.rgr-h1look {
		font-size: 30px;
	}
}

.rgr-product-mobile .rgr-lq {
	display: none;
}

/* PHONES ONLY: Large Sheds layout, workshop price list and base requirements. */
@media (max-width: 767px) {
	/* Order: heading, contact and price buttons with key points, wording, photos, video, links. */
	.rgr-info-large main .container {
		display: flex;
		flex-direction: column;
	}

	.rgr-info-large main .container > .heading-div {
		order: 1;
	}

	.rgr-info-large main .container > .rgr-pp {
		order: 2;
	}

	.rgr-info-large main .container > .garden-sheds-section {
		order: 3;
	}

	.rgr-info-large main .container > .content-row:not(.garden-sheds-section) {
		order: 4;
	}

	.rgr-info-large main .container > .rgr-lq {
		order: 5;
	}

	.rgr-info-large .banner-testimonial {
		display: none;
	}

	.rgr-info-large .heading-div h1 {
		margin: 0 0 12px;
		font-size: 26px;
		line-height: 1.2;
		font-style: normal;
		text-align: center;
		color: #28649b;
	}

	.rgr-info-large .rgr-pp--large {
		display: grid;
		gap: 10px;
		margin: 0 0 16px;
	}

	.rgr-pp__rating {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 2px;
		margin: 0;
		font-size: 15px;
		font-style: normal;
	}

	.rgr-pp__stars {
		display: inline-flex;
		color: #f9a31a;
	}

	.rgr-pp__stars .rgr-icon {
		width: 20px;
		height: 20px;
	}

	.rgr-info-large h2.rgr-h1look {
		margin: 0 0 10px;
		font-size: 22px;
		line-height: 1.25;
		color: #28649b;
	}

	.rgr-info-large .garden-sheds-section p {
		font-style: normal;
	}

	.rgr-info-large .garden-sheds-section img {
		max-width: 100%;
		height: auto;
		border-radius: 10px;
	}

	/* Photos, then the video. */
	.rgr-info-large main .container > .content-row > .row {
		display: flex;
		flex-direction: column;
		margin: 0;
	}

	.rgr-info-large .col-md-7.col-md-pull-5 {
		order: 1;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
		right: auto;
		left: auto;
		width: auto;
		padding: 0;
	}

	.rgr-info-large .col-md-5.col-md-push-7 {
		order: 2;
		left: auto;
		right: auto;
		width: auto;
		padding: 0;
		margin: 16px 0 0;
	}

	.rgr-info-large .one-seventh-tab,
	.rgr-info-large .one-seventh-tab .img-div {
		width: auto;
		height: auto;
		min-height: 0;
		margin: 0;
		padding: 0;
		float: none;
	}

	.rgr-info-large .one-seventh-tab .img-div img {
		display: block;
		width: 100%;
		height: auto;
		aspect-ratio: 4 / 3;
		object-fit: cover;
		border-radius: 8px 8px 0 0;
	}

	.rgr-info-large .one-seventh-tab .rgr-cap {
		font-size: 13px;
	}

	.rgr-info-large .one-seventh-tab .rgr-cap a {
		min-height: 36px;
		border-radius: 0 0 8px 8px;
	}

	/* The links that were in the blue buttons. */
	.rgr-info-large .rgr-lq {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
		margin: 16px 0;
	}

	.rgr-info-large .rgr-lq a {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 6px;
		min-height: 72px;
		padding: 10px 6px;
		border-radius: 8px;
		background: #58739f;
		color: #fff;
		font-size: 14px;
		line-height: 1.15;
		font-weight: 800;
		text-transform: uppercase;
		text-align: center;
		text-decoration: none;
	}

	.rgr-info-large .rgr-lq .rgr-icon {
		width: 26px;
		height: 26px;
	}

	/* ----- Workshop price list: the wide table scrolls sideways with the sizes column fixed ----- */
	.rgr-info-wprice .heading-div h1,
	.rgr-info-base .heading-div h1 {
		margin: 0 0 12px;
		font-size: 24px;
		line-height: 1.25;
		font-style: normal;
		text-align: center;
		color: #28649b;
	}

	.rgr-info-wprice .faq-section h1,
	.rgr-info-wprice .faq-section h2 {
		margin: 0 0 10px;
		font-size: 18px;
		line-height: 1.3;
		font-style: normal;
		text-align: center;
	}

	.rgr-info-wprice .faq-section p,
	.rgr-info-base .faq-section p {
		font-style: normal;
	}

	.rgr-info-wprice .table-responsive {
		position: relative;
		margin: 8px 0 16px;
		border: 1px solid #d5dbe6;
		border-radius: 10px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.rgr-info-wprice .table-responsive::before {
		content: "Swipe the table sideways to see every option \2192";
		display: block;
		padding: 8px 12px;
		background: #fff4df;
		font-size: 14px;
		font-weight: 700;
		color: #1f2a3c;
	}

	.rgr-info-wprice .faq-section table.tablepress {
		margin: 0;
		font-size: 14px;
		border-collapse: separate;
		border-spacing: 0;
	}

	.rgr-info-wprice .faq-section table.tablepress td,
	.rgr-info-wprice .faq-section table.tablepress th {
		padding: 8px 10px;
		white-space: nowrap;
		font-style: normal;
		background: #fff;
		border-top: 1px solid #e3e8f0;
	}

	.rgr-info-wprice .faq-section table.tablepress tr:nth-child(even) td {
		background: #f3f6fa;
	}

	.rgr-info-wprice .faq-section table.tablepress td.column-1,
	.rgr-info-wprice .faq-section table.tablepress th.column-1 {
		position: sticky;
		left: 0;
		z-index: 1;
		font-weight: 800;
		color: #28649b;
		box-shadow: 2px 0 0 #d5dbe6;
	}

	/* ----- Base requirements: the advice in one tidy card ----- */
	.rgr-info-base .faq-section {
		padding: 14px;
		border: 1px solid #d5dbe6;
		border-radius: 10px;
		background: #f3f6fa;
	}
}

/* = theme ".banner-testimonial h1" (css/style.css): the "Testimonials" heading above the Large Sheds page */
.banner-testimonial .rgr-tst-h {
	margin: 0 0 10px 34px;
	padding: 0 0 0 29px;
	border: 0;
	background: url(/wp-content/themes/regency/images/testimonials-icon.png) no-repeat 0px 9px;
	font-family: 'MyriadPro-Regular';
	font-size: 24px;
	font-weight: normal;
	color: #58739f;
	line-height: normal;
}
