/* ==========================================================
   BETHSHOP PRODUCT PAGE
   Pepperfry-inspired ecommerce layout
========================================================== */

.beth-product-page {
	width: 100%;
	background: #fff;
	color: #222;
}

.beth-product-container {
	width: min(1400px, calc(100% - 48px));
	margin: 0 auto;
}

.wcgs-lightbox.top_right .sp_wgs-lightbox {
    top: 90px !important;
    right: 3px !important;
}
.wcgs-carousel .spswiper-slide, .wcgs-carousel .wcgs-slider-image {
    width: 100% !important;
}

#wpgs-gallery .wcgs-carousel .wcgs-spswiper-arrow:before, #wpgs-gallery .wcgs-carousel .wcgs-spswiper-arrow:before {
    font-size: 16px;
    color: #000 !important;
    line-height: unset;
}
#wpgs-gallery .wcgs-carousel .wcgs-spswiper-arrow, #wpgs-gallery .wcgs-carousel .wcgs-spswiper-arrow {
    background-color: #fff !important;
    border-radius: 0px;
    border: 1px solid #000 !important;
    color: #000 !important;
}

/* ==========================================================
   BREADCRUMB
========================================================== */

.beth-product-breadcrumb {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 18px 0;
	font-size: 12px;
	color: #777;
	white-space: nowrap;
	overflow: hidden;
}

.beth-product-breadcrumb a {
	color: #555;
	text-decoration: none;
}

.beth-product-breadcrumb a:hover {
	color: #d8232a;
}

.beth-breadcrumb-current {
	overflow: hidden;
	text-overflow: ellipsis;
}


/* ==========================================================
   MAIN PRODUCT
========================================================== */

.beth-product-main {
	display: grid;
	grid-template-columns: minmax(0, 56%) minmax(420px, 44%);
	gap: 55px;
	align-items: start;
}


/* ==========================================================
   GALLERY
========================================================== */

.beth-gallery-column {
	min-width: 0;
}

.beth-gallery-card {
	position: relative;
	background: #fff;
	/*border: 1px solid #eee;*/
	/*border-radius: 4px;*/
	overflow: hidden;
}

/*.beth-gallery-inner {*/
/*	padding: 25px;*/
/*}*/

.beth-gallery-inner
.woocommerce-product-gallery {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}

.beth-gallery-inner
.woocommerce-product-gallery__wrapper {
	margin: 0 !important;
}

.beth-gallery-inner
.woocommerce-product-gallery__image {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	background: #fff !important;
}

.beth-gallery-inner
.woocommerce-product-gallery__image a {
	width: 100%;
	display: flex !important;
	justify-content: center !important;
}

.beth-gallery-inner
.woocommerce-product-gallery__image img {
	width: auto !important;
	max-width: 100% !important;
	height: auto !important;
	max-height: 620px !important;
	object-fit: contain !important;
	margin: 0 auto !important;
}


/* Remove old red styles */

.beth-gallery-inner
.woocommerce-product-gallery__image,
.beth-gallery-inner
.woocommerce-product-gallery__image a {
	border: 0 !important;
	box-shadow: none !important;
}


/* Sale */

.beth-sale-badge {
	position: absolute;
    top: 28px;
	/*left: 18px;*/
	z-index: 10;
	background: #d9232e;
	color: #fff;
	padding: 7px 12px;
	border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
}


/* Wishlist */

.beth-wishlist-button {
    position: absolute;
    top: 25px;
    right: 0px;
    z-index: 20;
    /*width: 40px;*/
    /*height: 40px;*/
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    color: #333;
    font-size: 23px;
    line-height: 1;
    cursor: pointer;
    padding: 0px;
}

/*.beth-wishlist-button:hover {*/
/*	border-color: #d9232e;*/
/*	color: #d9232e;*/
/*}*/


/* Gallery count */

.beth-gallery-count {
	position: absolute;
	right: 15px;
	bottom: 125px;
	z-index: 20;

	background: rgba(0,0,0,.65);
	color: #fff;

	padding: 5px 9px;
	border-radius: 3px;

	font-size: 11px;
}


/* ==========================================================
   THUMBNAILS
========================================================== */

.beth-gallery-inner
.flex-control-thumbs {
	display: flex !important;
	gap: 12px;

	width: 100% !important;

	margin: 18px 0 0 !important;
	padding: 0 !important;

	overflow-x: auto;

	justify-content: flex-start;
}

.beth-gallery-inner
.flex-control-thumbs li {
	width: 78px !important;
	min-width: 78px !important;

	margin: 0 !important;
	float: none !important;
}

.beth-gallery-inner
.flex-control-thumbs li img {
	width: 78px !important;
	height: 78px !important;

	object-fit: contain !important;

	padding: 5px;

	background: #fff;

	border: 1px solid #ddd;
	border-radius: 3px;

	opacity: 1 !important;

	cursor: pointer;
}

.beth-gallery-inner
.flex-control-thumbs li img.flex-active {
	border: 2px solid #222 !important;
}


/* ==========================================================
   SUMMARY
========================================================== */

.beth-product-summary {
	min-width: 0;
	padding: 5px 0 30px;
}

.beth-product-brand {
	font-size: 13px;
	font-weight: 700;
	color: #555;
	text-transform: uppercase;
	letter-spacing: .4px;
	margin-bottom: 8px;
}

.beth-product-title {
	margin: 0 0 12px !important;

	font-size: 30px !important;
	line-height: 1.25 !important;

	font-weight: 600 !important;

	color: #222 !important;
}


/* Rating */

.beth-rating-row {
	display: flex;
	align-items: center;
	gap: 12px;

	margin-bottom: 18px;
}

.beth-stars {
	display: flex;
	gap: 2px;
}

.beth-star {
	font-size: 17px;
	color: #ccc;
}

.beth-star.filled {
	color: #f5a623;
}

.beth-review-link {
	color: #555;
	font-size: 13px;
	text-decoration: none;
}


/* ==========================================================
   PRICE
========================================================== */

.beth-price-box {
	padding: 17px 0;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
}

.beth-current-price {
	font-size: 30px;
	line-height: 1;
	font-weight: 700;
	color: #222;
}

.beth-current-price .woocommerce-Price-currencySymbol {
	margin-right: 2px;
}

.beth-price-meta {
	display: flex;
	align-items: center;
	gap: 8px;

	margin-top: 10px;

	font-size: 13px;
}

.beth-mrp-label {
	color: #777;
}

.beth-mrp {
	color: #888;
	text-decoration: line-through;
}

.beth-discount {
	color: #188038;
	font-weight: 700;
}

.beth-tax-note {
	margin-top: 8px;
	font-size: 11px;
	color: #777;
}


/* ==========================================================
   PAYMENT
========================================================== */

.beth-payment-box {
	display: flex;
	align-items: center;
	gap: 12px;

	padding: 16px 0;

	border-bottom: 1px solid #eee;
}

.beth-payment-icon {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 35px;
	height: 35px;

	border-radius: 50%;

	background: #f5f5f5;

	font-weight: 700;
}

.beth-payment-box strong {
	display: block;
	font-size: 14px;
}

.beth-payment-box p {
	margin: 3px 0 0;
	font-size: 12px;
	color: #777;
}


/* ==========================================================
   OFFERS
========================================================== */

.beth-offers-box {
	margin-top: 20px;

	border: 1px solid #e5e5e5;
	border-radius: 5px;

	overflow: hidden;
}

.beth-section-heading {
	display: flex;
	align-items: center;
	gap: 8px;

	padding: 14px 16px;

	font-size: 15px;
	font-weight: 700;

	border-bottom: 1px solid #eee;
}

.beth-offer-item {
	display: flex;
	gap: 12px;

	padding: 14px 16px;

	border-bottom: 1px solid #eee;
}

.beth-offer-item:last-child {
	border-bottom: 0;
}

.beth-offer-icon {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 30px;
	height: 30px;

	flex: 0 0 30px;

	border: 1px solid #ddd;
	border-radius: 50%;

	font-weight: 700;
}

.beth-offer-content strong {
	display: block;
	font-size: 13px;
}

.beth-offer-content p {
	margin: 4px 0 0;

	font-size: 12px;
	line-height: 1.5;

	color: #777;
}


/* ==========================================================
   DELIVERY
========================================================== */

.beth-delivery-box {
	margin-top: 20px;
	padding: 17px;

	border: 1px solid #e5e5e5;
	border-radius: 5px;
}

.beth-delivery-subtitle {
	margin: 10px 0;

	font-size: 12px;
	color: #777;
}

.beth-pincode-row {
	display: flex;
	max-width: 400px;
}

.beth-pincode-input {
	flex: 1;

	height: 43px;

	padding: 0 12px;

	border: 1px solid #ccc !important;
	border-right: 0 !important;

	border-radius: 4px 0 0 4px !important;

	box-shadow: none !important;
}

.beth-pincode-button {
	width: 90px;

	border: 1px solid #222;
	border-radius: 0 4px 4px 0;

	background: #222;
	color: #fff;

	font-size: 12px;
	font-weight: 700;

	cursor: pointer;
}

.beth-pincode-button:hover {
	background: #000;
}

.beth-pincode-message {
	margin-top: 8px;
	font-size: 12px;
}


/* ==========================================================
   PURCHASE AREA
========================================================== */

.beth-purchase-area {
	margin-top: 25px;
}

.beth-purchase-area .cart {
	margin: 0 !important;
}

.beth-purchase-area .quantity {
	display: inline-flex !important;
	margin-right: 10px !important;
}

.beth-purchase-area
.quantity input.qty {
	height: 50px !important;
	width: 55px !important;

	border: 1px solid #ddd !important;

	text-align: center;
}

.beth-purchase-area
.single_add_to_cart_button {
	min-height: 50px !important;

	padding: 0 35px !important;

	border: 1px solid #d9232e !important;
	border-radius: 4px !important;

	background: #d9232e !important;
	color: #fff !important;

	font-size: 15px !important;
	font-weight: 700 !important;

	transition: .2s ease;
}

.beth-purchase-area
.single_add_to_cart_button:hover {
	background: #b91c25 !important;
	border-color: #b91c25 !important;
}


/* Buy now */

.beth-buy-now-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;

	min-height: 50px;

	margin-left: 8px;

	padding: 0 32px;

	border: 1px solid #222;
	border-radius: 4px;

	background: #fff;
	color: #222;

	font-size: 15px;
	font-weight: 700;

	cursor: pointer;

	vertical-align: middle;
}

.beth-buy-now-button:hover {
	background: #222;
	color: #fff;
}


/* Variable products */

.beth-purchase-area
.variations {
	margin-bottom: 15px !important;
}

.beth-purchase-area
.variations select {
	min-height: 44px;
	padding: 8px 35px 8px 10px;

	border: 1px solid #ccc;
	border-radius: 4px;
}


/* ==========================================================
   TRUST
========================================================== */

.beth-trust-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);

	gap: 8px;

	margin-top: 20px;

	padding-top: 18px;

	border-top: 1px solid #eee;
}

.beth-trust-row div {
	font-size: 11px;
	color: #666;
}

.beth-trust-row span {
	margin-right: 4px;
	color: #198754;
	font-weight: 700;
}

.beth-product-sku {
	margin-top: 15px;

	font-size: 11px;
	color: #888;
}


/* ==========================================================
   PRODUCT DETAILS
========================================================== */

.beth-details-section {
	margin-top: 70px;

	border-top: 1px solid #ddd;
}

.beth-details-header {
	padding: 22px 0 15px;
}

.beth-details-header h2,
.beth-content-heading h2 {
	margin: 0;

	font-size: 24px;
	font-weight: 700;
	color: #222;
}

.beth-details-grid {
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	overflow: hidden;
}

.beth-detail-row {
	display: grid;
	grid-template-columns: 35% 65%;
}

.beth-detail-row:nth-child(even) {
	background: #fafafa;
}

.beth-detail-label,
.beth-detail-value {
	padding: 13px 16px;

	font-size: 13px;
}

.beth-detail-label {
	color: #666;
}

.beth-detail-value {
	color: #222;
	font-weight: 500;
}


/* ==========================================================
   DESCRIPTION
========================================================== */

.beth-description-section {
	margin-top: 55px;
}

.beth-content-heading {
	padding-bottom: 15px;
	border-bottom: 1px solid #ddd;
}

.beth-description-content {
	padding-top: 20px;

	font-size: 14px;
	line-height: 1.8;

	color: #555;
}

.beth-description-content img {
	max-width: 100%;
	height: auto;
}


/* ==========================================================
   REVIEWS
========================================================== */

.beth-reviews-section {
	margin-top: 55px;
}

.beth-content-heading {
	display: flex;
	align-items: center;
	gap: 10px;
}

.beth-content-heading > span {
	display: inline-flex;

	align-items: center;
	justify-content: center;

	min-width: 28px;
	height: 25px;

	padding: 0 7px;

	background: #eee;

	border-radius: 3px;

	font-size: 12px;
}


/* ==========================================================
   RELATED
========================================================== */

.beth-related-section {
	margin-top: 70px;
	padding-bottom: 70px;
}

.beth-related-section > h2 {
	font-size: 24px;
	margin-bottom: 25px;
}


/* ==========================================================
   HIDE OLD PRODUCT SUMMARY
========================================================== */

.beth-product-page
.woocommerce-product-details__short-description {
	display: none;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 991px) {

	.beth-product-container {
		width: min(100% - 30px, 720px);
	}

	.beth-product-main {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.beth-product-title {
		font-size: 26px !important;
	}

	.beth-current-price {
		font-size: 27px;
	}

	.beth-gallery-inner
	.woocommerce-product-gallery__image img {
		max-height: 520px !important;
	}

}


@media (max-width: 575px) {

	.beth-product-container {
		width: calc(100% - 24px);
	}

	.beth-product-breadcrumb {
		padding: 12px 0;
	}

	.beth-gallery-inner {
		padding: 12px;
	}

	.beth-gallery-inner
	.woocommerce-product-gallery__image img {
		max-height: 400px !important;
	}

	.beth-product-title {
		font-size: 22px !important;
	}

	.beth-current-price {
		font-size: 25px;
	}

	.beth-purchase-area .cart {
		display: flex !important;
		flex-wrap: wrap;
		gap: 10px;
	}

	.beth-purchase-area .quantity {
		margin: 0 !important;
		width: 100%;
	}

	.beth-purchase-area
	.single_add_to_cart_button {
		flex: 1;
		padding: 0 15px !important;
	}

	.beth-buy-now-button {
		flex: 1;
		margin-left: 0;
		padding: 0 15px;
	}

	.beth-trust-row {
		grid-template-columns: 1fr;
		gap: 7px;
	}

	.beth-detail-row {
		grid-template-columns: 1fr;
	}

	.beth-detail-label {
		padding-bottom: 4px;
		font-weight: 700;
	}

	.beth-detail-value {
		padding-top: 4px;
	}

}