/*
Theme Name: Hello Codentricks
Description: simple hello elementor child theme
Author: Sanjay Prasad
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-codentricks
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: custom-background, custom-logo, custom-menu, featured-images
*/

@import url("../hello-elementor/style.css");

elementor-kit-6 button, .elementor-kit-6 input[type="button"], .elementor-kit-6 input[type="submit"], .elementor-kit-6 .elementor-button {
  background-color: #2C9B66 !important;
}


.elementor-kit-6 h1 {
  color: var( --e-global-color-primary );
  font-family: "Poppins", Sans-serif;
  font-size: 40px !important;
  font-weight: 700;
  text-align: center;
}

/* ================================
   WooCommerce My Account Page Styling
   ================================ */

/* General container */
.woocommerce-account .woocommerce {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem auto;
  max-width: 1200px;
  padding: 0 1rem;
}

/* Sidebar Navigation */
.woocommerce-MyAccount-navigation {
  flex: 0 0 250px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-MyAccount-navigation ul li {
  margin-bottom: 12px;
}

.woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a {
  background: linear-gradient(135deg, #4f46e5, #3b82f6);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Content Area */
.woocommerce-MyAccount-content {
  flex: 1;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  min-height: 400px;
}

/* Headings */
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
  font-weight: 600;
  margin-bottom: 1rem;
  border-bottom: 2px solid #f3f4f6;
  padding-bottom: 0.5rem;
  color: #111827;
}

/* Forms */
.woocommerce-MyAccount-content form {
  display: grid;
  gap: 1.2rem;
}

.woocommerce-MyAccount-content label {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  display: block;
  color: #374151;
}

.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="email"],
.woocommerce-MyAccount-content input[type="password"],
.woocommerce-MyAccount-content select {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.woocommerce-MyAccount-content input:focus,
.woocommerce-MyAccount-content select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  outline: none;
}

/* Buttons */
.woocommerce-MyAccount-content button,
.woocommerce-MyAccount-content .button {
  background: linear-gradient(135deg, #4f46e5, #3b82f6);
  color: #fff !important;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.woocommerce-MyAccount-content button:hover,
.woocommerce-MyAccount-content .button:hover {
  background: linear-gradient(135deg, #4338ca, #2563eb);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Messages & Notices */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
  border: none !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.woocommerce-message {
  background: #ecfdf5;
  color: #065f46;
}

.woocommerce-error {
  background: #fef2f2;
  color: #991b1b;
}

.woocommerce-info {
  background: #eff6ff;
  color: #1e40af;
}

.custom-login-wrapper {
  max-width: 400px;
  margin: 60px auto;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.custom-login-wrapper .login-title {
  text-align: center;
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: bold;
}
.custom-login-wrapper label {
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
}
.custom-login-wrapper input[type="text"],
.custom-login-wrapper input[type="password"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
}
.custom-login-wrapper .login-btn {
  width: 100%;
  background: #2f8bfd;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}
.custom-login-wrapper .login-btn:hover {
  background: #1d6ed6;
}
.custom-login-wrapper .lost_password {
  text-align: center;
  margin-top: 15px;
}

[type="button"], [type="submit"], button {
  border: 0px solid #c36 !important;
}

.codentricks-button {
  background-color: #69727d;
  border-radius: 3px;
  color: #fff;
  display: inline-block;
  font-size: 15px;
  line-height: 1;
  padding: 12px 24px;
  fill: #fff;
  text-align: center;
  transition: all .3s;
  padding: 15px 34px 15px 34px;
}

.register {
  background: #9b2c36 !important;
  color: #fff !important;
}

/* ===== Custom Registration Form Styling ===== */
.custom-registration-form {
  max-width: 500px;
  margin: 40px auto;
  padding: 25px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.custom-registration-form p {
  margin-bottom: 18px;
}

.custom-registration-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.custom-registration-form input,
.custom-registration-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  background: #fafafa;
  transition: all 0.3s ease;
}

.custom-registration-form input:focus,
.custom-registration-form select:focus {
  border-color: #4a90e2;
  background: #fff;
  outline: none;
  box-shadow: 0 0 6px rgba(74,144,226,0.3);
}

.custom-registration-form input[type="submit"] {
  background: #4a90e2;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: 0.3s;
}

.custom-registration-form input[type="submit"]:hover {
  background: #357ab7;
}

.custom-registration-form input[type="submit"]:active {
  background: #2d6396;
}

.custom-registration-form .error {
  color: #e74c3c;
  font-size: 13px;
  margin-bottom: 10px;
}

.custom-registration-form .success {
  color: #27ae60;
  font-size: 14px;
  margin-bottom: 12px;
}

.woocommerce-error::before, .woocommerce-info::before, .woocommerce-message::before {
  left: -0.2em;
}

.woocommerce-info {
  background: #eff6ff;
  color: #1e40af;
  padding-left: 30px;
}

.woocommerce-message::before {
  margin-left: -24px;
}
.woocommerce-error::before, .woocommerce-info::before, .woocommerce-message::before {
  margin-left: -23px;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button {
  background-color: #18751d;
}

/*product in one line*/
/* Grid wrapper */
.woocommerce-MyAccount-content .myaccount-products-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Product card */
.woocommerce-MyAccount-content .myaccount-products-grid .product-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-align: center;
    padding: 15px;
    transition: all 0.3s ease;
}

.woocommerce-MyAccount-content .myaccount-products-grid .product-box:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

/* Images */
.woocommerce-MyAccount-content .myaccount-products-grid img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

/* Titles */
.woocommerce-MyAccount-content .myaccount-products-grid h4 {
    font-size: 16px;
    margin: 10px 0;
}

/* Price */
.woocommerce-MyAccount-content .myaccount-products-grid .price {
    font-weight: bold;
    color: #2d7d46;
}

/* ✅ Responsive */
@media (max-width: 991px) {
  .woocommerce-MyAccount-content .myaccount-products-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .woocommerce-MyAccount-content .myaccount-products-grid {
      grid-template-columns: 1fr;
  }
}


.elementor-kit-6 h2 {
  font-size: 28px !important;
}