/*!
Theme Name: Ever Lasting
Theme URI: https://digitalguider.com/
Author: DigitalGuider
Author URI: https://digitalguider.com/
Description: Description
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: ever-lasting
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.

Ever Lasting is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */


/* Single Shop Page */
.elementor,.elementor-heading-title {
	font-family: 'Caviar Dreams', sans-serif !important;
}
.ekit-wid-con .ekit-heading__title-has-border::before {
    background: -webkit-gradient(linear, left top, left bottom, from(#887363), to(#b4765a)) !important;
    background: linear-gradient(to bottom, #887363, #b4765a) !important;
}
a.primary-btn.style-three {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}
.theme-dark a.primary-btn.style-three {
    color: #877261;
}
.theme-dark .ekit-wid-con .elementskit-single-faq .elementskit-faq-header {
    background-color: #877261;
    padding-top: 21px;
    padding-bottom: 21px;
}
.theme-dark .sitemap-list a {
	color:#363636 !important;
}
img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
#owl-custom-dots img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image{
	height:auto !important;
}
.slick-slide img {
	margin: auto;
}

.service-section.services .card img{
    height: 350px;
	object-fit: cover;
}

.wpgs-for .slick-slide {
	border: 1px solid #b4765a;
	border-radius: 5px;
}

.wpgs-nav .slick-current {
	border-color: #b4765a !important;
	border-radius: 2px;
}

.product-image-container {
	position: relative;
}

.flaticon-right-arrow {
	right: 10px !important;
}

.flaticon-back {
	left: 10px !important;
}

span.onsale {
	background: #b9785e;
	color: #fff;
	padding: 10px;
	border-radius: 50%;
	position: absolute;
	width: 60px;
	height: 60px;
	left: -24px;
	top: -23px;
	z-index: 9;
	text-align: center;
	padding-top: 18px;
}

.price2 ins {
	text-decoration: none;
}

.product-details-area .product-details .yith-wcwl-add-to-wishlist-button:is(button) {
	padding: 0;
	color: #887363;
}

.product-details-area .product-details .product-action .wishlist-btn {
	padding: 14px;
}


svg#yith-wcwl-icon-heart {
	color: #887363
}
.woocommerce div.product form.cart div.quantity .qty, button.single_add_to_cart_button.button.alt.disabled.wc-variation-selection-needed, .nice-select{
	border-radius:0 !important;
}
input.input-text, select, .nice-select{
	padding: 0 12px !important;
	margin-bottom: 20px;
}
/* Cart Page */

.wc-block-components-sidebar-layout .wc-block-components-main {
	padding: 5px 20px 20px;
	border: 1px solid #d4d4d4;
	overflow: auto;
}

.wp-block-woocommerce-cart-order-summary-block, .wp-block-woocommerce-checkout-order-summary-block {
	padding: 30px 25px;
	box-shadow: 0px 0px 15px 0px #d4d4d4;
}

body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link) {
	margin-right: 10px;
	background: #ffffff;
	color: #b4765a !important;
	border-color: #b4765a;
	border: 1px solid;
	margin-top: 18px;
	transition: 0.5s;
}
body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link):hover{
	background: #b4765a;
	color: #fff !important;
}
.cart-section h2{
	color: #b4765a;
    font-weight: 600 !important;
    font-size: 36px;
	font-family: sans-serif;
}
.wc-block-components-totals-coupon__form button{
	margin: 0 !important;
}
.wc-block-components-product-name{
    font-size: 20px !important;
    font-weight: 500;
}
.wpgs-nav .slick-track {
    width: 100% !important;
}
.wish-section .content {
    max-width: 100%;
}
.wish-section .image{
	height:auto;
}
.wish-section .image img{
	margin-left:0;
	width: 100%;
}
.team-section .image img{
	width: 100%;
	height: 345px;
    object-fit: contain;
	
}
.author {
    margin-top: 20px;
    color: #887363;
}
h3.name {position:relative;padding-left:10px}
h3.name:before {
    content: "";
    height: 28px;
    width: 3px;
    background: #877261;
    left: 0;
    position: absolute;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__quantity{
	border: 2px solid #b4765a !important;
	min-height: 24px !important;
    min-width: 24px !important;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__quantity span{
	color:#000 !important;
}
.theme-dark .wc-block-components-order-summary .wc-block-components-order-summary-item__image>img {
    border: 1px solid #fff;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__image>img {
    max-width: 60px !important;
    width: 60px !important;
    border: 1px solid #b4765a;
    padding: 1px;
    border-radius: 5px;
}
.team-image{
	height: 496px;
    object-fit: cover;
}

/* Order Page */
/* Base Light Mode Styles */
.checkout-section {
/*   background-color: #fff7f3; */
  padding-top: 100px;
  padding-bottom: 70px;
  font-family: 'Segoe UI', sans-serif;
  color: #333333;
}

.woocommerce-notice--success {
  background-color: #b4765a;
  color: #fff;
  padding: 15px 20px;
  border-radius: 5px;
  font-weight: 600;
  margin-bottom: 30px;
}

.woocommerce-order-overview {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.woocommerce-order-overview li {
  background: #fdf3ef;
  border: 1px solid #e2c5b9;
  border-left: 5px solid #b4765a;
  padding: 15px 20px;
  flex: 1 1 200px;
  border-radius: 4px;
}

.woocommerce-order-details__title,
.woocommerce-column__title {
  color: #b4765a;
  font-size: 22px;
  margin: 30px 0 15px;
}

.woocommerce-table--order-details {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.woocommerce-table--order-details th,
.woocommerce-table--order-details td {
  text-align: left;
  padding: 15px;
  border: 1px solid #e6e6e6;
}

.woocommerce-table--order-details thead {
  background-color: #f4e4dd;
}

.woocommerce-table--order-details tfoot tr {
  background: #fdf3ef;
  font-weight: 600;
}

.woocommerce-table__product-name a {
  color: #b4765a;
  font-weight: 600;
  text-decoration: none;
}

.woocommerce-table__product-name a:hover {
  text-decoration: underline;
}

.woocommerce-columns--addresses {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.woocommerce-column--billing-address,
.woocommerce-column--shipping-address {
  background-color: #fdf3ef;
  border: 1px solid #e2c5b9;
  padding: 20px;
  border-radius: 5px;
  flex: 1 1 45%;
}

.woocommerce-column address {
  line-height: 1.6;
  font-size: 15px;
}

.woocommerce-customer-details--email {
  margin-top: 10px;
  font-style: italic;
  color: #666;
}

/* -------------------------- */
/* 🌙 Dark Mode Overrides     */
/* -------------------------- */
.dark .checkout-section {
  background-color: #1c1c1c;
  color: #f0f0f0;
}

.theme-dark .woocommerce-notice--success {
  background-color: #b4765a;
  color: #fff;
}

.theme-dark .woocommerce-order-overview li {
  background: #2a2a2a;
  border-color: #b4765a;
  color: #eee;
}

.theme-dark .woocommerce-order-details__title,
.theme-dark .woocommerce-column__title {
  color: #f0b69c;
}

.theme-dark .woocommerce-table--order-details th,
.theme-dark .woocommerce-table--order-details td {
  background-color: #2b2b2b;
  border-color: #444;
  color: #eee;
}

.theme-dark .woocommerce-table--order-details thead {
  background-color: #3b3b3b;
}

.theme-dark .woocommerce-table--order-details tfoot tr {
  background-color: #2a2a2a;
  color: #f0f0f0;
}

.theme-dark .woocommerce-table__product-name a {
  color: #f0b69c;
}

.theme-dark .woocommerce-column--billing-address,
.theme-dark .woocommerce-column--shipping-address {
  background-color: #2a2a2a;
  border-color: #444;
  color: #eee;
}

.theme-dark .woocommerce-customer-details--email {
  color: #ccc;
}
/* My Account */
/* Light Mode Styles */
.woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  font-family: 'Segoe UI', sans-serif;
  color: #333333;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.03);
  border-radius: 6px;
  overflow: hidden;
}

.woocommerce-orders-table thead {
  background-color: #f4e4dd;
}

.woocommerce-orders-table th,
.woocommerce-orders-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid #f1d8cc;
  font-size: 15px;
}

.woocommerce-orders-table__row:last-child td {
  border-bottom: none;
}

.woocommerce-orders-table__cell-order-status {
  font-weight: 600;
  color: #b4765a;
}

.woocommerce-orders-table__cell-order-number a {
  color: #b4765a;
  font-weight: 600;
  text-decoration: none;
}

.woocommerce-orders-table__cell-order-number a:hover,
.woocommerce-button.view:hover {
  text-decoration: underline;
}

.woocommerce-button.view {
  background-color: #b4765a;
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.woocommerce-button.view:hover {
  background-color: #9e5f49;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .woocommerce-orders-table th,
  .woocommerce-orders-table td {
    padding: 12px;
    font-size: 14px;
  }
}

/* -------------------------- */
/* 🌙 Dark Mode Overrides     */
/* -------------------------- */
.theme-dark .woocommerce-orders-table {
  background-color: #1e1e1e;
  color: #f0f0f0;
  box-shadow: none;
}

.theme-dark .woocommerce-orders-table thead {
  background-color: #2a2a2a;
}

.theme-dark .woocommerce-orders-table th,
.theme-dark .woocommerce-orders-table td {
  border-bottom: 1px solid #333;
}

.theme-dark .woocommerce-orders-table__cell-order-status {
  color: #f0b69c;
}

.theme-dark .woocommerce-orders-table__cell-order-number a {
  color: #f0b69c;
}

.theme-dark .woocommerce-button.view {
  background-color: #b4765a;
  color: #fff !important;
}

.theme-dark .woocommerce-button.view:hover {
  background-color: #a25d46;
}

/* Light Mode Styles */
.woocommerce-Addresses {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  font-family: 'Segoe UI', sans-serif;
  margin-bottom: 50px;
}

.woocommerce-Address {
  background-color: #fff7f3;
  border: 1px solid #e3c8bb;
  padding: 25px;
  border-radius: 6px;
  flex: 1 1 45%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  color: #333333;
}

.woocommerce-Address-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.woocommerce-Address-title h2 {
  font-size: 20px;
  color: #b4765a;
  margin: 0;
}

.woocommerce-Address-title .edit {
  font-size: 14px;
  color: #b4765a;
  text-decoration: none;
  border: 1px solid #b4765a;
  padding: 5px 10px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.woocommerce-Address-title .edit:hover {
  background-color: #b4765a;
  color: #fff;
}

.woocommerce-Address address {
  font-size: 15px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .woocommerce-Addresses {
    flex-direction: column;
  }
}

/* -------------------------------- */
/* 🌙 Dark Mode Styles (.theme-dark) */
/* -------------------------------- */
.theme-dark .woocommerce-Address {
  background-color: #1e1e1e;
  border-color: #444;
  color: #f0f0f0;
}

.theme-dark .woocommerce-Address-title h2 {
  color: #f0b69c;
}

.theme-dark .woocommerce-Address-title .edit {
  color: #f0b69c;
  border-color: #f0b69c;
}

.theme-dark .woocommerce-Address-title .edit:hover {
  background-color: #b4765a;
  color: #fff;
}

.theme-dark .woocommerce-Address address {
  color: #e0e0e0;
}
/* ========================== */
/* 👤 Light Mode - Edit Account Form */
/* ========================== */
.woocommerce-EditAccountForm h2,
.woocommerce-EditAccountForm legend {
  font-size: 22px;
  color: #b4765a;
  margin-bottom: 16px;
}

.woocommerce-EditAccountForm .form-row {
  margin-bottom: 20px;
}

.woocommerce-EditAccountForm label {
  font-weight: 500;
  color: #333;
  margin-bottom: 6px;
  display: block;
}

.woocommerce-EditAccountForm input[type="text"],
.woocommerce-EditAccountForm input[type="email"],
.woocommerce-EditAccountForm input[type="password"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d5b2a3;
  border-radius: 5px;
  font-size: 14px;
  background-color: #fff;
  color: #333;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.woocommerce-EditAccountForm input:focus {
  border-color: #b4765a;
  box-shadow: 0 0 0 2px rgba(180, 118, 90, 0.2);
  outline: none;
}

.woocommerce-EditAccountForm .password-input {
  position: relative;
}

.woocommerce-EditAccountForm .show-password-input {
  background: none;
  border: none;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg fill='%23333' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5c-7 0-10 7-10 7s3 7 10 7 10-7 10-7-3-7-10-7zm0 12a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

.woocommerce-EditAccountForm em {
  font-size: 12px;
  color: #777;
}

.woocommerce-EditAccountForm button.woocommerce-Button {
  background-color: #b4765a;
  color: #fff;
  padding: 12px 24px;
  border-radius: 5px;
  border: none;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

.woocommerce-EditAccountForm button.woocommerce-Button:hover {
  background-color: #a3654e;
}

/* ========================== */
/* 🌙 Dark Mode - Edit Account Form */
/* ========================== */
.theme-dark .woocommerce-EditAccountForm label {
  color: #e0e0e0;
}

.theme-dark .woocommerce-EditAccountForm input[type="text"],
.theme-dark .woocommerce-EditAccountForm input[type="email"],
.theme-dark .woocommerce-EditAccountForm input[type="password"] {
  background-color: #1e1e1e;
  color: #f0f0f0;
  border-color: #555;
}

.theme-dark .woocommerce-EditAccountForm input:focus {
  border-color: #f0b69c;
  box-shadow: 0 0 0 2px rgba(240, 182, 156, 0.2);
}

.theme-dark .woocommerce-EditAccountForm em {
  color: #999;
}

.theme-dark .woocommerce-EditAccountForm button.woocommerce-Button {
  background-color: #f0b69c;
  color: #1e1e1e;
}

.theme-dark .woocommerce-EditAccountForm button.woocommerce-Button:hover {
  background-color: #d48b6b;
}

.theme-dark .woocommerce-EditAccountForm .show-password-input {
  background-image: url("data:image/svg+xml,%3Csvg fill='%23f0f0f0' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5c-7 0-10 7-10 7s3 7 10 7 10-7 10-7-3-7-10-7zm0 12a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/%3E%3C/svg%3E");
}

/* -------------------
   🌞 LIGHT MODE (default)
-------------------- */
h2 {
  color: #333;
  border-bottom: 2px solid #b4765a;
  padding-bottom: 0.5em;
  margin-bottom: 1em;
  font-size: 1.5em;
}

.woocommerce-address-fields {
  background-color: #ffffff;
  color: #000000;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.form-row {
  margin-bottom: 20px;
}

label,
.required_field {
  color: #000000;
  font-weight: 500;
}

input.input-text,
select,
.nice-select {
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  color: #000000;
  padding: 10px 12px;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

input.input-text:focus,
select:focus,
.nice-select:focus {
  border-color: #b4765a;
  outline: none;
}

.nice-select {
  background-color: #f9f9f9;
}

.nice-select .list {
  background-color: #fff;
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
}

.nice-select .option {
  color: #000;
}

.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected.focus {
  background-color: #b4765a;
  color: #fff;
}

.nice-select .current {
  color: #000;
}

.button {
  background-color: #b4765a;
  border: none;
  padding: 12px 24px;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.button:hover {
  background-color: #9a5f49;
}

.optional {
  color: #666;
  font-size: 0.9em;
}


/* -------------------
   🌙 DARK MODE (when .theme-dark is parent)
-------------------- */
.theme-dark {
  background-color: #333333;
  color: #ffffff;
}

.theme-dark h2 {
  color: #ffffff;
  border-bottom: 2px solid #b4765a;
}

.theme-dark .woocommerce-address-fields {
  background-color: #2b2b2b;
  border-color: #444;
}

.theme-dark label,
.theme-dark .required_field {
  color: #ffffff;
}

.theme-dark input.input-text,
.theme-dark select,
.theme-dark .nice-select {
  background-color: #1f1f1f;
  border-color: #555;
  color: #ffffff;
}

.theme-dark input.input-text:focus,
.theme-dark select:focus,
.theme-dark .nice-select:focus {
  border-color: #b4765a;
  outline: none;
}

.theme-dark .nice-select {
  background-color: #1f1f1f;
}

.theme-dark .nice-select .list {
  background-color: #2b2b2b;
  border: 1px solid #555;
}

.theme-dark .nice-select .option {
  color: #ffffff;
}

.theme-dark .nice-select .option:hover,
.theme-dark .nice-select .option.focus,
.theme-dark .nice-select .option.selected.focus {
  background-color: #b4765a;
  color: #ffffff;
}

.theme-dark .nice-select .current {
  color: #ffffff;
}

.theme-dark .button {
  background-color: #b4765a;
  color: #ffffff;
}

.theme-dark .button:hover {
  background-color: #9a5f49;
}

.theme-dark .optional {
  color: #aaaaaa;
}

.woocommerce-message {
    background: #b4765a;
    text-align: center;
    padding: 5px;
    color: #ffffff;
}
/*  Product page pagination*/
ul.page-numbers {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: flex-start;
}
ul.page-numbers li a{
	border: 1px solid #b4765a;
    padding: 10px;
    margin-left: -1px;
    color: #ffffff;
}
ul.page-numbers li a{
	color: #b4765a;
}
/* span.page-numbers.current {
    padding: 10px;
    border: 1px solid #b4765a;
    margin-left: -1px;
    background: #b4765a;
    color: #fff;
} */

.product-list .card .content .content-list .card-btn {
    padding: 10px;
    text-align: center;
    margin: 0 auto;
}
a.button.product_type_variable.add_to_cart_button {
    padding: 20px !important;
    border-radius: 0;
}