/*
Theme Name: KitMik Child
Theme URI: https://one.kitmik.com
Description: KitMik baby products store — child of Twenty Twenty-Five
Author: KitMik
Template: twentytwentyfive
Version: 1.0.6
License: GNU General Public License v2 or later
*/

/* -- Social icons: transparent background everywhere -- */
.wp-block-social-links .wp-social-link,
.wp-social-link {
  background-color: transparent !important;
  box-shadow: none !important;
}
.wp-social-link:hover {
  background-color: transparent !important;
  opacity: 0.7;
}

/* -- Logo lockup: no image block margins -- */
.km-logo-lockup .wp-block-image,
.km-footer-logo .wp-block-image {
  margin: 0 !important;
}

/* -- Account & Cart icon links -- */
.km-icon-account .wp-block-navigation-item__content,
.km-icon-cart .wp-block-navigation-item__content {
  font-size: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  width: 24px !important;
  height: 24px !important;
  color: #1c1108 !important;
  text-decoration: none !important;
  transition: color 0.2s;
  position: relative;
}
.km-icon-account .wp-block-navigation-item__content:hover,
.km-icon-cart .wp-block-navigation-item__content:hover {
  color: #c4956a !important;
}

/* Person icon via mask */
.km-icon-account .wp-block-navigation-item__content::before {
  content: '';
  display: block;
  width: 22px;
  height: 22px;
  background-color: #1c1108;
  transition: background-color 0.2s;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c0-4 3.6-7 8-7s8 3 8 7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c0-4 3.6-7 8-7s8 3 8 7'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}
.km-icon-account .wp-block-navigation-item__content:hover::before {
  background-color: #c4956a;
}

/* Bag icon via mask */
.km-icon-cart .wp-block-navigation-item__content::before {
  content: '';
  display: block;
  width: 22px;
  height: 22px;
  background-color: #1c1108;
  transition: background-color 0.2s;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 002 2h14a2 2 0 002-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 01-8 0'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 002 2h14a2 2 0 002-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 01-8 0'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}
.km-icon-cart .wp-block-navigation-item__content:hover::before {
  background-color: #c4956a;
}

/* Cart count badge */
.km-icon-cart .km-cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #1c1108;
  color: #fff;
  font-size: 10px !important;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* -- Footer brand column -- */
.km-footer-brand {
  min-width: 220px;
  max-width: 260px;
  flex: 0 0 240px !important;
}
.km-footer-inner {
  align-items: flex-start !important;
}

/* -- Header full width -- */
.km-site-header {
  width: 100% !important;
  box-sizing: border-box;
}

/* ============================================
   MY ACCOUNT / LOGIN PAGE — Minimal & Clean
   ============================================ */

/* Hide the "My account" page title */
.woocommerce-account .wp-block-post-title { display: none !important; }

/* Make post content a centering flex column */
.woocommerce-account .entry-content,
.woocommerce-account .wp-block-post-content {
  background: #fdf8f4 !important;
  min-height: 80vh;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 60px 20px !important;
  box-sizing: border-box;
}

/* Card — fixed width, centered */
.woocommerce-account .woocommerce {
  background: #ffffff;
  border-radius: 4px;
  padding: 52px 48px 48px !important;
  width: 100% !important;
  max-width: 460px !important;
  box-shadow: 0 2px 24px rgba(28,17,8,0.07);
  margin: 0 auto;
  box-sizing: border-box;
}

/* logo handled by km-login-brand block */

.woocommerce-account h2,
.woocommerce-account .woocommerce-MyAccount-content h2 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1.6rem !important;
  font-weight: 400 !important;
  color: #1c1108 !important;
  text-align: center;
  margin-bottom: 32px !important;
  letter-spacing: 0.5px;
}

/* Stack login + register columns vertically */
.woocommerce-account .u-columns.col2-set {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.woocommerce-account .u-columns.col2-set .col-1,
.woocommerce-account .u-columns.col2-set .col-2 {
  width: 100% !important;
  float: none !important;
}
.woocommerce-account .u-columns.col2-set .col-2 {
  border-top: 1px solid #f0e8df;
  margin-top: 32px;
  padding-top: 32px;
}

/* Labels */
.woocommerce-account .woocommerce-form label,
.woocommerce-account form.login label,
.woocommerce-account form.register label {
  font-family: Montserrat, sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: #9a8a7a !important;
  display: block;
  margin-bottom: 6px;
}

/* Inputs — bottom border only */
.woocommerce-account .woocommerce-form input[type="text"],
.woocommerce-account .woocommerce-form input[type="email"],
.woocommerce-account .woocommerce-form input[type="password"],
.woocommerce-account form.login input[type="text"],
.woocommerce-account form.login input[type="email"],
.woocommerce-account form.login input[type="password"],
.woocommerce-account form.register input[type="text"],
.woocommerce-account form.register input[type="email"],
.woocommerce-account form.register input[type="password"] {
  width: 100% !important;
  border: none !important;
  border-bottom: 1.5px solid #e0d4c8 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 10px 0 !important;
  font-family: Montserrat, sans-serif !important;
  font-size: 0.9rem !important;
  color: #1c1108 !important;
  box-shadow: none !important;
  outline: none !important;
  transition: border-color 0.2s;
}
.woocommerce-account .woocommerce-form input:focus,
.woocommerce-account form.login input:focus,
.woocommerce-account form.register input:focus {
  border-bottom-color: #c4956a !important;
  box-shadow: none !important;
}

.woocommerce-account .woocommerce-form-row,
.woocommerce-account .form-row {
  margin-bottom: 24px !important;
  padding: 0 !important;
}

/* Remember me */
.woocommerce-account .woocommerce-form__label-for-checkbox {
  font-size: 0.75rem !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: #7a6a5a !important;
  display: flex !important;
  align-items: center;
  gap: 8px;
}

/* Submit buttons */
.woocommerce-account .woocommerce-form button[type="submit"],
.woocommerce-account .woocommerce-Button,
.woocommerce-account button.button {
  width: 100% !important;
  background: #1c1108 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 0 !important;
  font-family: Montserrat, sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase !important;
  padding: 16px 32px !important;
  cursor: pointer !important;
  transition: background 0.3s !important;
  margin-top: 8px !important;
}
.woocommerce-account .woocommerce-form button[type="submit"]:hover,
.woocommerce-account .woocommerce-Button:hover,
.woocommerce-account button.button:hover {
  background: #c4956a !important;
}

/* Lost password */
.woocommerce-account .woocommerce-LostPassword a,
.woocommerce-account .woocommerce-form .lost_password a {
  font-family: Montserrat, sans-serif !important;
  font-size: 0.72rem !important;
  color: #9a8a7a !important;
  text-decoration: none !important;
  letter-spacing: 0.5px;
}
.woocommerce-account .woocommerce-LostPassword a:hover,
.woocommerce-account .woocommerce-form .lost_password a:hover {
  color: #c4956a !important;
}

/* Notices */
.woocommerce-account .woocommerce-error,
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info {
  font-family: Montserrat, sans-serif !important;
  font-size: 0.8rem !important;
  border-top: none !important;
  border-radius: 4px !important;
  padding: 12px 16px !important;
  margin-bottom: 24px !important;
  list-style: none !important;
}

/* Logged-in: dashboard nav as pill tabs */
.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 100% !important;
  float: none !important;
  margin-bottom: 24px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0 0 16px;
  list-style: none;
  border-bottom: 1px solid #f0e8df;
  margin-bottom: 32px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  font-family: Montserrat, sans-serif !important;
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: #7a6a5a !important;
  text-decoration: none !important;
  padding: 8px 16px;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
  display: block;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
  background: #f0e8df;
  color: #1c1108 !important;
}
.woocommerce-account .woocommerce-MyAccount-content {
  width: 100% !important;
  float: none !important;
}

@media (max-width: 600px) {
  .woocommerce-account .woocommerce {
    padding: 36px 24px 32px;
  }
}

/* ============================================
   DIGITS OTP LOGIN — Minimal & Clean
   ============================================ */

/* "Or" divider */
.xoo-ml-or {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 24px 0;
  font-family: Montserrat, sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: #c8b8a8 !important;
}
.xoo-ml-or::before,
.xoo-ml-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #f0e8df;
  margin: 0 12px;
}

/* "Login with OTP" button — outline style */
.xoo-ml-open-lwo-btn {
  width: 100% !important;
  background: transparent !important;
  color: #1c1108 !important;
  border: 1.5px solid #1c1108 !important;
  border-radius: 0 !important;
  font-family: Montserrat, sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase !important;
  padding: 14px 32px !important;
  cursor: pointer !important;
  transition: background 0.3s, color 0.3s !important;
  display: block !important;
}
.xoo-ml-open-lwo-btn:hover {
  background: #1c1108 !important;
  color: #fff !important;
}

/* OTP form container */
.xoo-ml-lwo-form-placeholder {
  margin-top: 8px;
}

/* Phone label */
.xoo-ml-phinput-cont label {
  font-family: Montserrat, sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: #9a8a7a !important;
  display: block;
  margin-bottom: 6px;
}

/* Phone input row: compact flag+code select + number input side by side */
.xoo-ml-has-cc {
  display: flex !important;
  align-items: flex-end !important;
  gap: 10px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Country code select — compact */
.xoo-ml-phone-cc {
  flex: 0 0 90px !important;
  width: 90px !important;
  min-width: 0 !important;
  border: none !important;
  border-bottom: 1.5px solid #e0d4c8 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 10px 4px 10px 0 !important;
  font-family: Montserrat, sans-serif !important;
  font-size: 0.82rem !important;
  color: #1c1108 !important;
  box-shadow: none !important;
  outline: none !important;
  cursor: pointer;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239a8a7a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 4px center !important;
  padding-right: 20px !important;
  transition: border-color 0.2s;
}
.xoo-ml-phone-cc:focus {
  border-bottom-color: #c4956a !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Phone number input — takes remaining space */
.xoo-ml-has-cc .xoo-ml-phinput,
.xoo-ml-has-cc input[type="tel"],
.xoo-ml-has-cc input[type="text"],
.xoo-ml-has-cc input[type="number"] {
  flex: 1 1 auto !important;
  width: auto !important;
  border: none !important;
  border-bottom: 1.5px solid #e0d4c8 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 10px 0 !important;
  font-family: Montserrat, sans-serif !important;
  font-size: 0.9rem !important;
  color: #1c1108 !important;
  box-shadow: none !important;
  outline: none !important;
  transition: border-color 0.2s;
}
.xoo-ml-has-cc .xoo-ml-phinput:focus,
.xoo-ml-has-cc input:focus {
  border-bottom-color: #c4956a !important;
  box-shadow: none !important;
}

/* OTP submit button */
.xoo-ml-lwo-form-placeholder button[type="submit"],
.xoo-ml-lwo-form-placeholder .xoo-ml-btn {
  width: 100% !important;
  background: #1c1108 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  font-family: Montserrat, sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase !important;
  padding: 16px 32px !important;
  margin-top: 16px !important;
  cursor: pointer !important;
  transition: background 0.3s !important;
}
.xoo-ml-lwo-form-placeholder button[type="submit"]:hover,
.xoo-ml-lwo-form-placeholder .xoo-ml-btn:hover {
  background: #c4956a !important;
}

/* Any other Digits inputs (OTP code field) */
.xoo-ml-lwo-form-placeholder input[type="text"],
.xoo-ml-lwo-form-placeholder input[type="number"] {
  width: 100% !important;
  border: none !important;
  border-bottom: 1.5px solid #e0d4c8 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 10px 0 !important;
  font-family: Montserrat, sans-serif !important;
  font-size: 0.9rem !important;
  color: #1c1108 !important;
  box-shadow: none !important;
  outline: none !important;
  transition: border-color 0.2s;
  box-sizing: border-box !important;
}

/* ============================================
   DIGITS — +91 prefix, clean phone input
   ============================================ */

/* Wrap input + prefix together */
.xoo-ml-regphin {
  display: flex !important;
  align-items: flex-end !important;
  border-bottom: 1.5px solid #e0d4c8;
  transition: border-color 0.2s;
}
.xoo-ml-regphin:focus-within {
  border-bottom-color: #c4956a;
}

/* +91 static prefix */
.xoo-ml-regphin::before {
  content: "+91";
  font-family: Montserrat, sans-serif;
  font-size: 0.9rem;
  color: #7a6a5a;
  padding: 10px 8px 10px 0;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
  border-right: 1px solid #e0d4c8;
  margin-right: 10px;
}

/* Phone input itself */
.xoo-ml-phone-input {
  flex: 1 1 auto !important;
  border: none !important;
  background: transparent !important;
  padding: 10px 0 !important;
  font-family: Montserrat, sans-serif !important;
  font-size: 0.9rem !important;
  color: #1c1108 !important;
  box-shadow: none !important;
  outline: none !important;
  width: 100% !important;
  min-width: 0;
}
.xoo-ml-phone-input:focus {
  box-shadow: none !important;
  outline: none !important;
}

/* Validation error */
.km-phone-error {
  font-family: Montserrat, sans-serif;
  font-size: 0.7rem;
  color: #c0392b;
  margin-top: 6px;
  letter-spacing: 0.3px;
  display: none;
}
.km-phone-error.visible { display: block; }
.km-phone-ok .xoo-ml-regphin { border-bottom-color: #27ae60; }
.km-phone-err .xoo-ml-regphin { border-bottom-color: #c0392b; }
