/*!
Theme Name: Shiva Shakti Dingla
Theme URI: http://underscores.me/
Author: Mahesh Bohara
Author URI: http://underscores.me/
Description: Custom theme: Shiva Shakti Dingla, developed by Me
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: shivashaktirudraksha
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
*/

/* Header */
.main-menu li a {
	padding: 2rem;
	font-weight: 600;
}

.woocommerce-product-gallery__image.flex-active-slide {
	background: #F5ECE2;
}

/* Best Sellers */
.section-best-sellers .woocommerce-Price-amount.amount {
	font-weight: 700;
}

.section-best-sellers .added_to_cart {
	margin-left: 8px;
	text-decoration: underline;
}

/* WooCommerce Product Archive */
.woocommerce ul.products li.product .price {
	display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.woocommerce ul.products li.product .price .woocommerce-Price-amount {
	margin: 0;
	padding: 0;
}

/* WooCommerce Single Product Gallery Customizations */

/* WooCommerce Single Product Gallery — 1:1 main image + thumbnails */
.single-product div.product div.images .woocommerce-product-gallery .flex-viewport {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f8f8f8;
}

.single-product div.product div.images .woocommerce-product-gallery .flex-viewport .slides {
	height: 100%;
}

.single-product div.product div.images .woocommerce-product-gallery .flex-viewport .slides > li {
	height: 100% !important;
	margin: 0;
}

.single-product div.product div.images .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image,
.single-product div.product div.images .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image > a {
	display: block;
	height: 100%;
}

.single-product div.product div.images .woocommerce-product-gallery .flex-viewport img,
.single-product div.product div.images .woocommerce-product-gallery .flex-viewport img.wp-post-image {
	width: 100% !important;
	height: 100% !important;
	max-height: none !important;
	object-fit: cover;
	object-position: center;
}

/* Gallery without Flexslider (slider disabled): square first-stage wrapper */
.single-product div.product div.images .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f8f8f8;
}

.single-product div.product div.images .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__image {
	height: 100%;
}

.single-product div.product div.images .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1rem !important;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs li {
	float: none !important;
	width: 4.5rem !important;
	aspect-ratio: 1 / 1;
	height: auto !important;
	overflow: hidden;
	flex-shrink: 0;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs li img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	object-position: center;
	background: #f8f8f8;
	border: 2px solid #e5e7eb;
	border-radius: 8px;
	opacity: 0.5;
	transition: border-color 0.2s, opacity 0.2s;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
.single-product .woocommerce-product-gallery .flex-control-thumbs li:hover img {
	opacity: 1;
	border-color: #6366f1;
}

.woocommerce div.product div.summary .price {
	display: flex;
    gap: 10px;
    align-items: center;
	margin: 20px 0 30px 0;
}

.woocommerce div.product div.summary .price .woocommerce-Price-amount {
	margin: 0;
	padding: 0;
}

/* Blog Post Content Styles */
.single-post .post-content-body {
    font-family: "Inter Tight", sans-serif;
	color: #374151;
	line-height: 1.8;
}

/* Headings */
.single-post .post-content-body h1 {
	font-size: 2.5rem;
	line-height: 1.2;
	font-weight: 700;
	margin: 2.5rem 0 1.5rem;
	color: #1F2937;
}

.single-post .post-content-body h2 {
	font-size: 2rem;
	line-height: 1.3;
	font-weight: 600;
	margin: 2.25rem 0 1.25rem;
	color: #1F2937;
}

.single-post .post-content-body h3 {
	font-size: 1.75rem;
	line-height: 1.4;
	font-weight: 600;
	margin: 2rem 0 1.25rem;
	color: #1F2937;
}

.single-post .post-content-body h4 {
	font-size: 1.5rem;
	line-height: 1.4;
	font-weight: 600;
	margin: 1.75rem 0 1rem;
	color: #1F2937;
}

.single-post .post-content-body h5 {
	font-size: 1.25rem;
	line-height: 1.4;
	font-weight: 600;
	margin: 1.5rem 0 1rem;
	color: #1F2937;
}

.single-post .post-content-body h6 {
	font-size: 1.125rem;
	line-height: 1.4;
	font-weight: 600;
	margin: 1.5rem 0 1rem;
	color: #1F2937;
}

/* Paragraphs */
.single-post .post-content-body p {
	margin-bottom: 1.5rem;
	font-size: 1.125rem;
	line-height: 1.8;
}

.single-post .post-content-body p:last-child {
	margin-bottom: 0;
}

/* Lists */
.single-post .post-content-body ul,
.single-post .post-content-body ol {
	margin: 1.5rem 0;
	padding-left: 1.5rem;
}

.single-post .post-content-body ul {
	list-style-type: disc;
}

.single-post .post-content-body ol {
	list-style-type: decimal;
}

.single-post .post-content-body li {
	margin-bottom: 0.75rem;
	font-size: 1.125rem;
	line-height: 1.7;
}

.single-post .post-content-body li:last-child {
	margin-bottom: 0;
}

/* Nested Lists */
.single-post .post-content-body ul ul,
.single-post .post-content-body ul ol,
.single-post .post-content-body ol ul,
.single-post .post-content-body ol ol {
	margin: 0.75rem 0 0.75rem 1.5rem;
}

/* Blockquotes */
.single-post .post-content-body blockquote {
	margin: 2rem 0;
	padding: 1.5rem 2rem;
	border-left: 4px solid #C4A484;
	background-color: #F5ECE2;
	font-style: italic;
	color: #4B5563;
}

.single-post .post-content-body blockquote p {
	margin-bottom: 0;
}

/* Links */
.single-post .post-content-body a {
	color: #C4A484;
	text-decoration: underline;
	transition: color 0.2s;
}

.single-post .post-content-body a:hover {
	color: #9A7B5F;
}

/* Images */
.single-post .post-content-body img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 2rem 0;
}

/* Code Blocks */
.single-post .post-content-body pre {
	background: #F3F4F6;
	padding: 1.5rem;
	border-radius: 8px;
	overflow-x: auto;
	margin: 1.5rem 0;
}

.single-post .post-content-body code {
	font-family: monospace;
	font-size: 0.9em;
	background: #F3F4F6;
	padding: 0.2em 0.4em;
	border-radius: 4px;
}

/* Tables */
.single-post .post-content-body table {
	width: 100%;
	border-collapse: collapse;
	margin: 2rem 0;
}

.single-post .post-content-body th,
.single-post .post-content-body td {
	padding: 0.75rem;
	border: 1px solid #E5E7EB;
	text-align: left;
}

.single-post .post-content-body th {
	background-color: #F9FAFB;
	font-weight: 600;
}

/* Definition Lists */
.single-post .post-content-body dl {
	margin: 1.5rem 0;
}

.single-post .post-content-body dt {
	font-weight: 600;
	margin-top: 1rem;
}

.single-post .post-content-body dd {
	margin-left: 1.5rem;
	margin-top: 0.5rem;
}

/* Horizontal Rule */
.single-post .post-content-body hr {
	margin: 2rem 0;
	border: 0;
	border-top: 1px solid #E5E7EB;
}

/* Small Text */
.single-post .post-content-body small {
	font-size: 0.875rem;
	color: #6B7280;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
	.single-post .post-content-body {
		font-size: 1rem;
	}

	.single-post .post-content-body h1 {
		font-size: 2rem;
	}

	.single-post .post-content-body h2 {
		font-size: 1.75rem;
	}

	.single-post .post-content-body h3 {
		font-size: 1.5rem;
	}

	.single-post .post-content-body h4 {
		font-size: 1.25rem;
	}

	.single-post .post-content-body h5,
	.single-post .post-content-body h6 {
		font-size: 1.125rem;
	}

	.single-post .post-content-body blockquote {
		padding: 1rem 1.5rem;
	}
}

/* Comments Section Styles */
.comments-section {
	margin-top: 4rem;
}

/* Comment Title */
.comments-title,
.comment-reply-title {
	font-size: 1.75rem;
	font-weight: 600;
	color: #1F2937;
	margin-bottom: 2rem;
	font-family: "Inter Tight", sans-serif;
}

/* Single Comment */
.comment {
	margin-bottom: 2rem;
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}

.comment-author .avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
}

.comment-author .fn {
    font-family: "Inter Tight", sans-serif;
	font-weight: 600;
	color: #C4A484;
	font-style: normal;
}

.comment-metadata {
	margin-bottom: 1rem;
}

.comment-metadata a {
	color: #6B7280;
	font-size: 0.875rem;
	text-decoration: none;
}

.comment-metadata a:hover {
	color: #C4A484;
}

.comment-content {
	margin-bottom: 1rem;
	font-size: 1rem;
	line-height: 1.6;
	color: #4B5563;
}

.reply {
	margin-top: 1rem;
}

.reply a {
	color: #C4A484;
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 500;
}

.reply a:hover {
	text-decoration: underline;
}

/* Comment Form */
.comment-respond {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid #E5E7EB;
}

.comment-form {
	margin-top: 1.5rem;
}

.comment-notes {
	margin-bottom: 1.5rem;
	font-size: 0.875rem;
	color: #6B7280;
}

.comment-form-comment {
	margin-bottom: 1.5rem;
}

.comment-form label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
	color: #374151;
}

.comment-form-comment label {
	font-size: 1.125rem;
	color: #1F2937;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid #D1D5DB;
	border-radius: 0.375rem;
	background-color: #fff;
	font-size: 1rem;
	color: #1F2937;
	transition: all 0.2s;
}

.comment-form textarea {
	min-height: 120px;
	resize: vertical;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: #C4A484;
	box-shadow: 0 0 0 3px rgba(196, 164, 132, 0.1);
}

.comment-form .required {
	color: #EF4444;
}

/* Submit Button */
.form-submit {
	margin-top: 1.5rem;
}

.form-submit .submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 2rem;
	background-color: #C4A484;
	color: #fff;
	font-weight: 500;
	font-size: 1rem;
	border: none;
	border-radius: 0.375rem;
	cursor: pointer;
	transition: all 0.2s;
}

.form-submit .submit:hover {
	background-color: #9A7B5F;
}

/* Comment Title Styling */
.comments-title {
	font-size: 1.5rem;
	margin-bottom: 2rem;
	color: #1F2937;
	font-family: "Inter Tight", sans-serif;
}

/* One Thought Styling */
.comments-title {
	font-size: 1.5rem;
	color: #1F2937;
	margin-bottom: 1.5rem;
}

/* Logged in as */
.logged-in-as {
	margin-bottom: 1.5rem;
	font-size: 0.875rem;
	color: #6B7280;
}

.logged-in-as a {
	color: #C4A484;
	text-decoration: none;
}

.logged-in-as a:hover {
	text-decoration: underline;
}

/* Required Fields Text */
.required-field-message {
	margin-bottom: 1.5rem;
	font-size: 0.875rem;
	color: #6B7280;
}

/* Comment Navigation */
.comment-navigation {
	margin: 2rem 0;
	padding: 1rem 0;
	border-top: 1px solid #E5E7EB;
	border-bottom: 1px solid #E5E7EB;
}

.nav-links {
	display: flex;
	justify-content: space-between;
}

.nav-previous a,
.nav-next a {
	color: #C4A484;
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 500;
}

.nav-previous a:hover,
.nav-next a:hover {
	text-decoration: underline;
}

/* Reply Title */
.comment-reply-title {
	font-size: 1.25rem;
	color: #1F2937;
	margin-bottom: 1rem;
}

.comment-reply-title small {
	margin-left: 1rem;
	font-size: 0.875rem;
}

.comment-reply-title small a {
	color: #C4A484;
	text-decoration: none;
}

.comment-reply-title small a:hover {
	text-decoration: underline;
}

/* Comment Form Layout */
.comment-form-author,
.comment-form-email,
.comment-form-url {
	margin-bottom: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {

	.comment-form input[type="text"],
	.comment-form input[type="email"],
	.comment-form input[type="url"],
	.comment-form textarea {
		font-size: 16px;
		/* Prevents zoom on mobile */
	}

	.comment-author {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}
}

/* FAQ */
.wp-faqs .accordion-body p {
	color: #e2e2e2;
}

.cf7-input {
	width: 100%;
	border: 1px solid #d1d5db;
	border-radius: 0.25rem;
	padding: 0.5rem 1rem;
	outline: none;
}

.cf7-input:focus {
	border-color: #bb977b;
}

.cf7-button {
	background-color: #bb977b;
	color: white;
	padding: 0.5rem 1.5rem;
	border-radius: 0.25rem;
	transition: background-color 0.3s ease;
	cursor: pointer;
	border: none;
}

.cf7-button:hover {
	background-color: #a67c52;
}

/* Disable sticky cart/add-to-cart bars on single product pages. */
.single-product .sticky_add_to_cart,
.single-product .sticky-add-to-cart,
.single-product .storefront-sticky-add-to-cart,
.single-product .astra-sticky-add-to-cart,
.single-product .ct-sticky-add-to-cart,
.single-product .xoo-wsc-sticky-atc,
.single-product [class*="sticky"][class*="cart"] {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}
