/* 
Theme Name: Divi Child  
Theme URI: https://www.divi.com
Author: Elegant Themes
Author URI: https://www.elegantthemes.com
Description: A child theme of Divi.
Template: Divi
Version: 1.0.0
*/

.product-layout-wrapper {
  display: flex;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #fff;
  margin-top: 0px !important;
  font-family: merriwather sans;
}

/* Thank you / order received */
.woocommerce-order.bharathon-thankyou-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 24px 72px;
  color: #111;
}

.bharathon-thankyou-message,
.bharathon-thankyou-hero {
  text-align: center;
  margin-bottom: 28px;
}

.bharathon-thankyou-message .bharathon-thankyou-badge {
  margin-top: 18px;
}

.bharathon-thankyou-page .woocommerce-order-overview,
.bharathon-thankyou-page .woocommerce-order-details,
.bharathon-thankyou-page .woocommerce-customer-details,
.bharathon-thankyou-page .woocommerce-thankyou-order-details,
.bharathon-thankyou-page .woocommerce-thankyou-order-received:not(.bharathon-thankyou-subtitle) {
  display: none !important;
}

.bharathon-payment-instructions {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #f7fbfd;
  border: 1px solid #dbe8ef;
  color: #4e5562;
  line-height: 1.7;
}

.bharathon-order-actions-plugin {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bharathon-order-actions-plugin form,
.bharathon-order-actions-plugin p {
  margin: 0;
}

.bharathon-order-actions-plugin .button,
.bharathon-order-actions-plugin input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  background: #fff !important;
  color: #111 !important;
  border: 1px solid #d7dee6 !important;
}

.bharathon-order-actions-plugin .button:hover,
.bharathon-order-actions-plugin input[type="submit"]:hover {
  border-color: #00beea !important;
  color: #00beea !important;
}

.bharathon-thankyou-eyebrow,
.bharathon-card-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #00beea;
}

.bharathon-thankyou-title {
  margin: 0 0 10px;
  font-size: 42px;
  line-height: 1.05;
  font-weight: 800;
  color: #111;
}

.bharathon-thankyou-subtitle {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: #5e6470;
}

.bharathon-thankyou-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 190, 234, 0.08);
  color: #00beea;
  font-size: 13px;
  font-weight: 700;
}

.bharathon-thankyou-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.bharathon-thankyou-sidebar {
  display: grid;
  gap: 20px;
}

.bharathon-card {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(17, 17, 17, 0.06);
  padding: 28px;
}

.bharathon-card--main {
  padding: 32px;
}

.bharathon-card-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.bharathon-card-header h2,
.bharathon-card h3 {
  margin: 0;
  color: #111;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800;
}

.bharathon-card h3 {
  font-size: 22px;
  margin-bottom: 16px;
}

.bharathon-order-meta-pill {
  min-width: 110px;
  padding: 12px 16px;
  border-radius: 18px;
  background: #f4f8fb;
  text-align: left;
}

.bharathon-order-meta-pill span {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a8594;
}

.bharathon-order-meta-pill strong {
  font-size: 16px;
  color: #111;
}

.bharathon-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.bharathon-overview-item {
  padding: 16px 18px;
  border-radius: 18px;
  background: #f7f9fb;
}

.bharathon-overview-item span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a8594;
}

.bharathon-overview-item strong,
.bharathon-overview-item strong * {
  color: #111;
  font-size: 15px;
  font-weight: 700;
}

.bharathon-order-table-wrap {
  overflow-x: auto;
}

.bharathon-order-table {
  width: 100%;
  border-collapse: collapse;
}

.bharathon-order-table th,
.bharathon-order-table td {
  padding: 18px 0;
  border-bottom: 1px solid #edf1f5;
  text-align: left;
  vertical-align: top;
  font-size: 15px;
}

.bharathon-order-table thead th {
  padding-top: 0;
  color: #7a8594;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bharathon-order-table td:last-child,
.bharathon-order-table th:last-child {
  text-align: right;
}

.bharathon-order-product__name,
.bharathon-order-product__name a {
  color: #111;
  font-weight: 700;
  text-decoration: none;
}

.bharathon-order-product__meta,
.bharathon-order-product__meta p,
.bharathon-order-product__meta dd,
.bharathon-order-product__meta dt {
  margin: 6px 0 0;
  color: #6c7481;
  font-size: 13px;
}

.bharathon-thankyou-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.bharathon-primary-button,
.bharathon-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.bharathon-primary-button {
  background: #00beea !important;
  color: #fff !important;
  border: 1px solid #00beea !important;
}

.bharathon-primary-button:hover,
.bharathon-primary-button:focus {
  background: #0aa6cb !important;
  border-color: #0aa6cb !important;
  color: #fff !important;
}

.bharathon-secondary-button {
  background: #fff !important;
  color: #111 !important;
  border: 1px solid #d7dee6 !important;
}

.bharathon-secondary-button:hover,
.bharathon-secondary-button:focus {
  border-color: #00beea !important;
  color: #00beea !important;
}

.bharathon-address {
  color: #4e5562;
  font-style: normal;
  line-height: 1.8;
}

.bharathon-address p {
  margin: 10px 0 0;
}

.bharathon-card--support p:last-of-type {
  margin-bottom: 18px;
  color: #5e6470;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .woocommerce-order.bharathon-thankyou-page {
    padding: 36px 16px 56px;
  }

  .bharathon-thankyou-title {
    font-size: 32px;
  }

  .bharathon-thankyou-grid {
    grid-template-columns: 1fr;
  }

  .bharathon-card-header {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .bharathon-card,
  .bharathon-card--main {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .bharathon-overview {
    grid-template-columns: 1fr;
  }

  .bharathon-order-table th,
  .bharathon-order-table td {
    padding: 14px 0;
    font-size: 14px;
  }

  .bharathon-thankyou-actions {
    flex-direction: column;
  }

  .bharathon-primary-button,
  .bharathon-secondary-button {
    width: 100%;
  }
}

/* My Account — full-width shell (login + dashboard)
   IMPORTANT: never apply the logged-in sidebar grid on the login page.
   Also: do NOT strip width/padding from Elementor Theme Builder header/footer
   (that misaligns the sticky header on mobile login). */
body.woocommerce-account {
  --container-max-width: 100%;
  --content-width: 100%;
  --bh-account-gutter: clamp(24px, 5vw, 72px);
}

body.woocommerce-account #page-container,
body.woocommerce-account #et-boc,
body.woocommerce-account #main-content,
body.woocommerce-account .et-l,
body.woocommerce-account .et_pb_section,
body.woocommerce-account .et_pb_row,
body.woocommerce-account .et_pb_column,
body.woocommerce-account .site-content,
body.woocommerce-account .content-area,
body.woocommerce-account .elementor:not(.elementor-location-header):not(.elementor-location-footer):not([data-elementor-type="header"]):not([data-elementor-type="footer"]),
body.woocommerce-account .elementor-1498,
body.woocommerce-account .elementor:not(.elementor-location-header):not(.elementor-location-footer):not([data-elementor-type="header"]):not([data-elementor-type="footer"]) .elementor-section,
body.woocommerce-account .elementor:not(.elementor-location-header):not(.elementor-location-footer):not([data-elementor-type="header"]):not([data-elementor-type="footer"]) .elementor-section.elementor-section-boxed > .elementor-container,
body.woocommerce-account .elementor:not(.elementor-location-header):not(.elementor-location-footer):not([data-elementor-type="header"]):not([data-elementor-type="footer"]) .elementor-container,
body.woocommerce-account .elementor:not(.elementor-location-header):not(.elementor-location-footer):not([data-elementor-type="header"]):not([data-elementor-type="footer"]) .elementor-column,
body.woocommerce-account .elementor:not(.elementor-location-header):not(.elementor-location-footer):not([data-elementor-type="header"]):not([data-elementor-type="footer"]) .elementor-widget-wrap,
body.woocommerce-account .elementor-widget-woocommerce-my-account,
body.woocommerce-account .elementor-widget-woocommerce-my-account > .elementor-widget-container,
body.woocommerce-account .e-my-account-tab,
body.woocommerce-account .elementor:not(.elementor-location-header):not(.elementor-location-footer):not([data-elementor-type="header"]):not([data-elementor-type="footer"]) .e-con,
body.woocommerce-account .elementor:not(.elementor-location-header):not(.elementor-location-footer):not([data-elementor-type="header"]):not([data-elementor-type="footer"]) .e-con-inner {
  max-width: none !important;
  width: 100% !important;
}

body.woocommerce-account .et_pb_row,
body.woocommerce-account .elementor:not(.elementor-location-header):not(.elementor-location-footer):not([data-elementor-type="header"]):not([data-elementor-type="footer"]) .elementor-section.elementor-section-boxed > .elementor-container,
body.woocommerce-account .elementor:not(.elementor-location-header):not(.elementor-location-footer):not([data-elementor-type="header"]):not([data-elementor-type="footer"]) .e-con-inner {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Login page mobile: keep LOGIN heading + method tabs readable */
@media (max-width: 980px) {
  body.woocommerce-account:not(.logged-in) .bharathon-login-heading,
  body.woocommerce-account #customer_login h2 {
    font-size: clamp(22px, 6vw, 28px) !important;
    line-height: 1.2 !important;
  }

  .bharathon-login-method-tabs {
    gap: 6px;
    margin-bottom: 16px;
  }

  .bharathon-login-method-tab {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 12px;
  }
}

/* Side margins live on the Elementor widget + classic wrappers */
body.woocommerce-account .elementor-widget-woocommerce-my-account > .elementor-widget-container,
.woocommerce-account .woocommerce,
.elementor-widget-woocommerce-my-account .woocommerce,
.bharathon-account-page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 40px var(--bh-account-gutter) 80px !important;
  color: #111;
  box-sizing: border-box;
}

/* Avoid double padding when Elementor wraps classic .woocommerce */
body.woocommerce-account .elementor-widget-woocommerce-my-account > .elementor-widget-container > .e-my-account-tab > .woocommerce,
.elementor-widget-woocommerce-my-account .e-my-account-tab > .woocommerce,
.bharathon-account-page .woocommerce,
.elementor-widget-woocommerce-my-account .bharathon-account-page,
.woocommerce > .bharathon-account-page {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce-account .woocommerce:has(.bharathon-account-page),
.elementor-widget-woocommerce-my-account .woocommerce:has(.bharathon-account-page) {
  max-width: none !important;
  padding: 40px var(--bh-account-gutter) 80px !important;
}

.bharathon-account-eyebrow,
.bharathon-account-nav-kicker,
.bharathon-account-page .bharathon-card-kicker,
.woocommerce-account .bharathon-card-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #00beea;
}

.bharathon-account-title,
.bharathon-dashboard-title,
.bharathon-orders-title {
  margin: 0 0 10px;
  font-size: 36px;
  line-height: 1.1;
  font-weight: 800;
  color: #111;
  text-transform: none;
}

.bharathon-account-subtitle,
.bharathon-dashboard-text {
  margin: 0;
  max-width: 640px;
  color: #5e6470;
  font-size: 16px;
  line-height: 1.7;
}

/* Login / Register (logged-out) — do NOT use account sidebar grid */
.woocommerce-account .u-columns,
.woocommerce-account .woocommerce-form-login,
.elementor-widget-woocommerce-my-account .u-columns {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
}

.woocommerce-account .u-columns.col2-set,
.elementor-widget-woocommerce-my-account .u-columns.col2-set,
.woocommerce-account .woocommerce .col2-set,
.elementor-widget-woocommerce-my-account .col2-set {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  align-items: stretch;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  clear: both !important;
}

.woocommerce-account .u-column,
.woocommerce-account .col-1,
.woocommerce-account .col-2,
.elementor-widget-woocommerce-my-account .u-column {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce-account .u-column > h2,
.woocommerce-account .woocommerce-form-login ~ h2,
.elementor-widget-woocommerce-my-account .u-column > h2 {
  margin: 0 0 14px !important;
  padding: 0 !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #111 !important;
  text-align: left !important;
}

.woocommerce-account form.woocommerce-form-login,
.woocommerce-account form.woocommerce-form-register,
.elementor-widget-woocommerce-my-account form.woocommerce-form-login,
.elementor-widget-woocommerce-my-account form.woocommerce-form-register {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 28px !important;
  background: #fff !important;
  border: 1px solid #e8edf2 !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  box-sizing: border-box;
}

.woocommerce-account form.woocommerce-form-login .form-row,
.woocommerce-account form.woocommerce-form-register .form-row {
  margin: 0 0 16px !important;
  padding: 0 !important;
  float: none !important;
  width: 100% !important;
}

.woocommerce-account form.woocommerce-form-login label,
.woocommerce-account form.woocommerce-form-register label {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

.woocommerce-account form.woocommerce-form-login .input-text,
.woocommerce-account form.woocommerce-form-register .input-text {
  width: 100% !important;
  border-radius: 12px !important;
  border: 1px solid #d7dee6 !important;
  background: #f7f9fb !important;
  padding: 14px 16px !important;
  box-shadow: none !important;
}

.woocommerce-account form.woocommerce-form-login .woocommerce-form-login__submit,
.woocommerce-account form.woocommerce-form-register .woocommerce-form-register__submit,
.woocommerce-account form.woocommerce-form-login .button,
.woocommerce-account form.woocommerce-form-register .button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 46px !important;
  padding: 0 28px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #00beea !important;
  color: #fff !important;
  font-weight: 700 !important;
  float: none !important;
}

.woocommerce-account form.woocommerce-form-login .woocommerce-form-login__rememberme {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 0 0 14px !important;
  float: none !important;
}

.woocommerce-account form.woocommerce-form-login .lost_password {
  margin: 14px 0 0 !important;
  clear: both;
}

.woocommerce-account form.woocommerce-form-login .lost_password a {
  color: #00beea !important;
}

/* Logged-in dashboard shell */
.bharathon-account-hero {
  margin-bottom: 28px;
}

.bharathon-account-layout {
  display: grid;
  grid-template-columns: minmax(280px, 300px) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  width: 100%;
  max-width: none;
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(17, 17, 17, 0.04);
}

/* Fallback only when nav exists and custom shell is absent — never on login */
.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation):not(:has(.bharathon-account-layout)),
.elementor-widget-woocommerce-my-account .woocommerce:has(> .woocommerce-MyAccount-navigation):not(:has(.bharathon-account-layout)) {
  display: grid;
  grid-template-columns: minmax(280px, 300px) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(17, 17, 17, 0.04);
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
}

.bharathon-account-nav,
.bharathon-account-layout .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) > .woocommerce-MyAccount-navigation {
  background: #f7f9fb;
  border: 0;
  border-right: 1px solid #e8edf2;
  border-radius: 0;
  box-shadow: none;
  padding: 28px 18px;
  height: auto;
  min-height: 100%;
  min-width: 280px;
  box-sizing: border-box;
}

.bharathon-account-nav-kicker {
  padding: 0 14px 16px;
  font-size: 12px;
}

.bharathon-account-nav ul,
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.bharathon-account-nav li,
.woocommerce-MyAccount-navigation li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none !important;
}

/* Hide Downloads tab (backup if filter not yet deployed) */
.woocommerce-MyAccount-navigation-link--downloads {
  display: none !important;
}

.bharathon-account-nav a,
.woocommerce-MyAccount-navigation a {
  display: flex !important;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 0 16px !important;
  border-radius: 12px !important;
  color: #111 !important;
  text-decoration: none !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  letter-spacing: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transition: background 0.2s ease, color 0.2s ease;
}

.bharathon-account-nav a span,
.woocommerce-MyAccount-navigation a span {
  white-space: nowrap !important;
  display: inline-block;
}

.bharathon-account-nav a:hover,
.woocommerce-MyAccount-navigation a:hover,
.bharathon-account-nav .is-active a,
.woocommerce-MyAccount-navigation .is-active a,
.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link.is-active a {
  background: rgba(0, 190, 234, 0.12) !important;
  color: #00beea !important;
}

.bharathon-account-content,
.bharathon-account-layout .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) > .woocommerce-MyAccount-content,
.elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce-MyAccount-content {
  float: none !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 32px 36px !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  box-sizing: border-box;
  padding-inline-start: 36px !important;
}

/* Override Elementor Pro vertical tabs 25%/75% — ONLY when account nav exists */
.elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce:has(> .woocommerce-MyAccount-navigation),
.elementor-widget-woocommerce-my-account.e-my-account-tabs-vertical .e-my-account-tab .woocommerce:has(> .woocommerce-MyAccount-navigation) {
  display: grid !important;
  grid-template-columns: minmax(280px, 300px) minmax(0, 1fr) !important;
  gap: 0 !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  clear: both !important;
  background: #fff !important;
  border: 1px solid #e8edf2 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce:has(> .woocommerce-MyAccount-navigation)::after,
.elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce:has(> .woocommerce-MyAccount-navigation)::before {
  display: none !important;
  content: none !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce > .woocommerce-MyAccount-navigation,
.elementor-widget-woocommerce-my-account.e-my-account-tabs-vertical .woocommerce > .woocommerce-MyAccount-navigation {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  background: #f7f9fb !important;
  border: 0 !important;
  border-right: 1px solid #e8edf2 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 24px 16px !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce > .woocommerce-MyAccount-content,
.elementor-widget-woocommerce-my-account.e-my-account-tabs-vertical .woocommerce > .woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  padding: 32px 36px !important;
  padding-inline-start: 36px !important;
  background: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Kill nested double-card wrappers only — do not strip .woocommerce padding */
.bharathon-account-content-card,
.bharathon-account-content .bharathon-account-content-card,
.woocommerce-MyAccount-content > .bharathon-account-content-card,
.elementor-widget-woocommerce-my-account .woocommerce-MyAccount-content-wrapper {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* Login / Register — force normal block flow (never sidebar grid) */
.elementor-widget-woocommerce-my-account .e-my-account-tab:has(#customer_login) > .woocommerce,
.elementor-widget-woocommerce-my-account .e-my-account-tab__dashboard:has(#customer_login) > .woocommerce,
body.woocommerce-account .e-my-account-tab:has(#customer_login) > .woocommerce,
.elementor-widget-woocommerce-my-account.e-my-account-tabs-vertical .e-my-account-tab:has(#customer_login) > .woocommerce,
.elementor-widget-woocommerce-my-account .e-my-account-tab:has(.bharathon-login-page) > .woocommerce,
.elementor-widget-woocommerce-my-account.e-my-account-tabs-vertical .e-my-account-tab:has(.bharathon-login-page) > .woocommerce {
  display: block !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.bharathon-login-page,
.elementor-widget-woocommerce-my-account #customer_login,
.woocommerce-account #customer_login,
#customer_login.u-columns.col2-set,
#customer_login.col2-set {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(24px, 3vw, 48px) !important;
  align-items: start !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  float: none !important;
  clear: both !important;
}

#customer_login::before,
#customer_login::after,
.bharathon-login-page::before,
.bharathon-login-page::after,
.woocommerce-account .col2-set::before,
.woocommerce-account .col2-set::after {
  display: none !important;
  content: none !important;
}

.bharathon-login-col,
#customer_login .u-column1,
#customer_login .u-column2,
#customer_login .col-1,
#customer_login .col-2 {
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 70px 0 50px 0 !important;
  padding: 0 !important;
  position: relative !important;
}



@media (max-width: 768px) {
    .bharathon-login-col,
#customer_login .u-column2,
#customer_login .col-2 {
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 70px 0 50px 0 !important;
  padding: 0 !important;
  position: relative !important;
}
}

.bharathon-login-heading,
#customer_login h2 {
  margin: 0 0 16px !important;
  padding: 0 !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #111 !important;
  text-align: left !important;
  width: 100% !important;
}

.bharathon-otp-login__hint {
  margin: 0 0 16px !important;
  padding: 0 !important;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.45;
  float: none !important;
  width: 100% !important;
  clear: both !important;
}

/* Login column: Email & password | Phone OTP switcher */
.bharathon-login-methods {
  width: 100%;
}

.bharathon-login-method-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 18px;
  padding: 4px;
  border: 1px solid #e5eaf0;
  border-radius: 999px;
  background: #f7f9fb;
}

.bharathon-login-method-tab {
  flex: 1 1 0;
  min-height: 40px;
  margin: 0;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #555;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.bharathon-login-method-tab.is-active {
  background: #111;
  color: #fff;
}

.bharathon-login-method-panel[hidden] {
  display: none !important;
}

.woocommerce-account form.woocommerce-form-login .bharathon-otp-login__btn.button,
.woocommerce-account form.woocommerce-form-register .bharathon-otp-login__btn.button,
.elementor-widget-woocommerce-my-account form .bharathon-otp-login__btn.button {
  width: 100% !important;
  display: block !important;
  float: none !important;
  margin: 0 !important;
}

.bharathon-otp-login__status {
  margin: 0 0 12px !important;
  padding: 0 !important;
  font-size: 0.9rem;
  color: #0f766e;
  float: none !important;
  width: 100% !important;
  clear: both !important;
}

.bharathon-otp-login__status.is-error {
  color: #b42318;
}

.woocommerce-account form.woocommerce-form-login .woocommerce-form-row,
.woocommerce-account form.woocommerce-form-register .woocommerce-form-row,
.woocommerce-account form.woocommerce-form-login .form-row,
.woocommerce-account form.woocommerce-form-register .form-row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  float: none !important;
  width: 100% !important;
  clear: both !important;
  box-sizing: border-box !important;
}

/* Hide classic password-register / password-login submits if still present. */
.bharathon-otp-register .woocommerce-form-register__submit,
.bharathon-otp-login-form .woocommerce-form-login__submit,
.woocommerce-form-register:has([data-bharathon-otp-start]) .woocommerce-form-register__submit,
.woocommerce-form-login:has([data-bharathon-otp-start]) .woocommerce-form-login__submit {
  display: none !important;
}

.bharathon-login-actions {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.bharathon-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.bharathon-dashboard-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border-radius: 14px;
  background: #f7f9fb;
  text-decoration: none !important;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.bharathon-dashboard-tile:hover {
  border-color: #00beea;
  transform: translateY(-2px);
}

.bharathon-dashboard-tile-label {
  color: #111;
  font-size: 17px;
  font-weight: 800;
}

.bharathon-dashboard-tile-copy {
  color: #6c7481;
  font-size: 14px;
  line-height: 1.5;
}

.bharathon-orders-header {
  margin-bottom: 18px;
}

.bharathon-orders-table-wrap {
  overflow-x: auto;
}

.bharathon-orders-table,
.woocommerce-orders-table.bharathon-orders-table,
.woocommerce-MyAccount-orders.shop_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0 !important;
}

.bharathon-orders-table th,
.woocommerce-MyAccount-orders.shop_table th {
  padding: 12px 14px;
  color: #7a8594;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid #edf1f5;
  text-align: left;
  background: transparent;
}

.bharathon-orders-table td,
.bharathon-orders-table th.woocommerce-orders-table__cell,
.woocommerce-MyAccount-orders.shop_table td {
  padding: 18px 14px;
  border-bottom: 1px solid #edf1f5;
  vertical-align: middle;
  color: #111;
  font-size: 15px;
}

.bharathon-order-number {
  color: #00beea !important;
  font-weight: 800;
  text-decoration: none !important;
}

/* Order product thumbs — shown on mobile cards; compact on desktop */
.bharathon-order-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bharathon-order-thumbs {
  display: flex;
  align-items: center;
}

.bharathon-order-thumb {
  display: inline-flex;
  width: 40px;
  height: 40px;
  margin-left: -8px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #fff;
  background: #f0f2f5;
  box-shadow: 0 0 0 1px #e8edf2;
}

.bharathon-order-thumb:first-child {
  margin-left: 0;
}

.bharathon-order-thumb img,
.bharathon-order-thumb .bharathon-order-thumb-img,
.bharathon-order-thumb .attachment-woocommerce_gallery_thumbnail {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.bharathon-order-thumb-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: -8px;
  border-radius: 8px;
  border: 2px solid #fff;
  background: #f4f8fb;
  color: #5e6470;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 0 0 1px #e8edf2;
}

.bharathon-order-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f4f8fb;
  color: #4e5562;
  font-size: 13px;
  font-weight: 700;
}

.bharathon-order-status--processing {
  background: rgba(0, 190, 234, 0.12);
  color: #0aa6cb;
}

.bharathon-order-status--completed {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.bharathon-order-status--cancelled,
.bharathon-order-status--failed {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.bharathon-order-status--refund-processed {
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
}

.bharathon-order-status--exchange {
  background: rgba(15, 118, 110, 0.12);
  color: #0f766e;
}

.bharathon-order-status--refunded {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.bharathon-order-actions,
.woocommerce-orders-table__cell-order-actions {
  min-width: 180px;
}

/* Hide Messages action on Orders table (RMA plugin) */
.woocommerce-orders-table__cell-order-actions a.view_msg,
.woocommerce-orders-table__cell-order-actions a[href*="view-order-msg"],
.woocommerce-orders-table__cell-order-actions a[href*="order_msg"],
.bharathon-order-actions a.view_msg,
.bharathon-order-actions a[href*="view-order-msg"],
.bharathon-order-actions a[href*="order_msg"] {
  display: none !important;
}

.bharathon-order-actions a.invoice ~ a.invoice,
.bharathon-order-actions a.wpo_wcpdf ~ a.invoice,
.bharathon-order-actions a.invoice ~ a.wpo_wcpdf,
.bharathon-order-actions a[class*="invoice"] ~ a[class*="invoice"],
.woocommerce-orders-table__cell-order-actions a.invoice ~ a.invoice,
.woocommerce-orders-table__cell-order-actions a.wpo_wcpdf ~ a.invoice,
.woocommerce-orders-table__cell-order-actions a.invoice ~ a.wpo_wcpdf {
  display: none !important;
}

.bharathon-order-actions {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
}

.bharathon-order-action,
.woocommerce-orders-table__cell-order-actions .button,
.woocommerce-orders-table__cell-order-actions a.button,
.woocommerce-orders-table__cell-order-actions a.invoice,
.woocommerce-orders-table__cell-order-actions a.wpo_wcpdf,
.woocommerce-MyAccount-orders td.woocommerce-orders-table__cell-order-actions a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative !important;
  min-height: 36px !important;
  padding: 0 14px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  border: 1px solid #d7dee6 !important;
  background: #fff !important;
  color: #111 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: none !important;
  overflow: visible !important;
}

/* Kill Divi ETmodules hover arrow on account order action buttons (was overlapping text).
   Replace with a simple flex-safe arrow after the label. */
.bharathon-order-action::before,
.bharathon-order-action::after,
.woocommerce-orders-table__cell-order-actions .button::before,
.woocommerce-orders-table__cell-order-actions .button::after,
.woocommerce-orders-table__cell-order-actions a::before,
.woocommerce-orders-table__cell-order-actions a::after,
.woocommerce-orders-table__cell-order-actions a.button::before,
.woocommerce-orders-table__cell-order-actions a.button::after,
.woocommerce-orders-table__cell-order-actions a.invoice::before,
.woocommerce-orders-table__cell-order-actions a.invoice::after,
.woocommerce-orders-table__cell-order-actions a.wpo_wcpdf::before,
.woocommerce-orders-table__cell-order-actions a.wpo_wcpdf::after,
.woocommerce-MyAccount-orders td.woocommerce-orders-table__cell-order-actions a::before,
.woocommerce-MyAccount-orders td.woocommerce-orders-table__cell-order-actions a::after,
.woocommerce-account table.order_details a.button::before,
.woocommerce-account table.order_details a.button::after,
.woocommerce-account table.order_details a.invoice::before,
.woocommerce-account table.order_details a.invoice::after,
.woocommerce-account table.order_details .order-actions-button::before,
.woocommerce-account table.order_details .order-actions-button::after,
.woocommerce-view-order .order-actions-button::before,
.woocommerce-view-order .order-actions-button::after {
  content: none !important;
  display: none !important;
  opacity: 0 !important;
  font-family: inherit !important;
  position: static !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
  speak: normal !important;
}

.bharathon-order-action:hover::after,
.woocommerce-orders-table__cell-order-actions a:hover::after,
.woocommerce-orders-table__cell-order-actions a.button:hover::after,
.woocommerce-orders-table__cell-order-actions a.invoice:hover::after,
.woocommerce-orders-table__cell-order-actions a.wpo_wcpdf:hover::after,
.woocommerce-MyAccount-orders td.woocommerce-orders-table__cell-order-actions a:hover::after,
.woocommerce-account table.order_details a.button:hover::after,
.woocommerce-account table.order_details a.invoice:hover::after,
.woocommerce-account table.order_details .order-actions-button:hover::after,
.woocommerce-view-order .order-actions-button:hover::after {
  content: "→" !important;
  display: inline-block !important;
  opacity: 1 !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  width: auto !important;
  height: auto !important;
  margin: 0 0 0 6px !important;
  padding: 0 !important;
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
  speak: normal !important;
}

.bharathon-order-action:hover,
.woocommerce-orders-table__cell-order-actions .button:hover,
.woocommerce-orders-table__cell-order-actions a.button:hover,
.woocommerce-MyAccount-orders td.woocommerce-orders-table__cell-order-actions a:hover {
  border-color: #00beea !important;
  color: #00beea !important;
  background: #fff !important;
  padding: 0 14px !important;
}

.bharathon-order-action.view,
.woocommerce-orders-table__cell-order-actions a.view {
  background: #00beea !important;
  border-color: #00beea !important;
  color: #fff !important;
}

.bharathon-order-action.view:hover,
.woocommerce-orders-table__cell-order-actions a.view:hover {
  background: #0aa6cb !important;
  border-color: #0aa6cb !important;
  color: #fff !important;
}

/* My Account / Wishlist page — TI Wishlist buttons match account CTAs */
.woocommerce-account .tinv-wishlist,
.woocommerce-MyAccount-content .tinv-wishlist,
.bharathon-wishlist-page .tinv-wishlist {
  width: 100%;
}

.woocommerce-account .tinv-wishlist .tinvwl-table-manage-list,
.woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list,
.bharathon-wishlist-page .tinv-wishlist .tinvwl-table-manage-list {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: 1px solid #e8edf2 !important;
  border-radius: 16px !important;
  overflow: hidden;
  background: #fff !important;
}

.woocommerce-account .tinv-wishlist .tinvwl-table-manage-list th,
.woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list th,
.bharathon-wishlist-page .tinv-wishlist .tinvwl-table-manage-list th {
  background: #f7f9fb !important;
  color: #5e6470 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  padding: 14px 12px !important;
  border-bottom: 1px solid #e8edf2 !important;
}

.woocommerce-account .tinv-wishlist .tinvwl-table-manage-list td,
.woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list td,
.bharathon-wishlist-page .tinv-wishlist .tinvwl-table-manage-list td {
  padding: 16px 12px !important;
  border-bottom: 1px solid #eef2f6 !important;
  vertical-align: middle !important;
  background: #fff !important;
}

.woocommerce-account .tinv-wishlist .tinvwl-table-manage-list tbody tr:last-child td,
.woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list tbody tr:last-child td,
.bharathon-wishlist-page .tinv-wishlist .tinvwl-table-manage-list tbody tr:last-child td {
  border-bottom: 0 !important;
}

.woocommerce-account .tinv-wishlist .product-name a,
.woocommerce-MyAccount-content .tinv-wishlist .product-name a,
.bharathon-wishlist-page .tinv-wishlist .product-name a {
  color: #111 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.woocommerce-account .tinv-wishlist .product-name a:hover,
.woocommerce-MyAccount-content .tinv-wishlist .product-name a:hover,
.bharathon-wishlist-page .tinv-wishlist .product-name a:hover {
  color: #00beea !important;
}

.woocommerce-account .tinv-wishlist .product-thumbnail img,
.woocommerce-MyAccount-content .tinv-wishlist .product-thumbnail img,
.bharathon-wishlist-page .tinv-wishlist .product-thumbnail img {
  width: 64px !important;
  height: 64px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  border: 1px solid #e8edf2 !important;
}

/* Hide date + bulk select/Actions (also forced off in functions.php) */
.woocommerce-account .tinv-wishlist .product-date,
.woocommerce-account .tinv-wishlist th.product-date,
.woocommerce-MyAccount-content .tinv-wishlist .product-date,
.woocommerce-MyAccount-content .tinv-wishlist th.product-date,
.bharathon-wishlist-page .tinv-wishlist .product-date,
.bharathon-wishlist-page .tinv-wishlist th.product-date,
.woocommerce-account .tinv-wishlist .product-cb,
.woocommerce-account .tinv-wishlist th.product-cb,
.woocommerce-MyAccount-content .tinv-wishlist .product-cb,
.woocommerce-MyAccount-content .tinv-wishlist th.product-cb,
.bharathon-wishlist-page .tinv-wishlist .product-cb,
.bharathon-wishlist-page .tinv-wishlist th.product-cb {
  display: none !important;
}

/* Avoid duplicate Remove: keep row × only, hide action-column remove */
.woocommerce-account .tinv-wishlist .product-action button[name="tinvwl-remove"],
.woocommerce-MyAccount-content .tinv-wishlist .product-action button[name="tinvwl-remove"],
.bharathon-wishlist-page .tinv-wishlist .product-action button[name="tinvwl-remove"] {
  display: none !important;
}

.woocommerce-account .tinv-wishlist .tinvwl-table-manage-list td.product-remove,
.woocommerce-account .tinv-wishlist .tinvwl-table-manage-list th.product-remove,
.woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list td.product-remove,
.woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list th.product-remove,
.bharathon-wishlist-page .tinv-wishlist .tinvwl-table-manage-list td.product-remove,
.bharathon-wishlist-page .tinv-wishlist .tinvwl-table-manage-list th.product-remove {
  display: table-cell !important;
}

.woocommerce-account .tinv-wishlist .product-remove button,
.woocommerce-MyAccount-content .tinv-wishlist .product-remove button,
.bharathon-wishlist-page .tinv-wishlist .product-remove button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #d7dee6 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #111 !important;
  box-shadow: none !important;
  line-height: 1 !important;
}

.woocommerce-account .tinv-wishlist .product-remove button:hover,
.woocommerce-MyAccount-content .tinv-wishlist .product-remove button:hover,
.bharathon-wishlist-page .tinv-wishlist .product-remove button:hover {
  border-color: #00beea !important;
  color: #00beea !important;
}

/* Shared wishlist button base (match order action pills) */
.woocommerce-account .tinv-wishlist .button,
.woocommerce-account .tinv-wishlist button.button,
.woocommerce-account .tinv-wishlist input.button,
.woocommerce-MyAccount-content .tinv-wishlist .button,
.woocommerce-MyAccount-content .tinv-wishlist button.button,
.bharathon-wishlist-page .tinv-wishlist .button,
.bharathon-wishlist-page .tinv-wishlist button.button,
.woocommerce-account .tinv-wishlist .tinvwl-to-cart,
.woocommerce-account .tinv-wishlist .product-action .button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  position: relative !important;
  min-height: 40px !important;
  height: auto !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 18px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  border: 1px solid #d7dee6 !important;
  background: #fff !important;
  color: #111 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  float: none !important;
  overflow: visible !important;
  vertical-align: middle !important;
}

.woocommerce-account .tinv-wishlist .button:hover,
.woocommerce-account .tinv-wishlist button.button:hover,
.woocommerce-MyAccount-content .tinv-wishlist .button:hover,
.bharathon-wishlist-page .tinv-wishlist .button:hover,
.woocommerce-account .tinv-wishlist .product-action .button:hover {
  border-color: #00beea !important;
  color: #00beea !important;
  background: #fff !important;
}

/* Primary CTAs: row Add to Cart + Add All / Add Selected */
.woocommerce-account .tinv-wishlist .product-action .button,
.woocommerce-account .tinv-wishlist .product-action button.button.alt,
.woocommerce-MyAccount-content .tinv-wishlist .product-action .button,
.bharathon-wishlist-page .tinv-wishlist .product-action .button,
.woocommerce-account .tinv-wishlist button[name="tinvwl-action-product_all"],
.woocommerce-account .tinv-wishlist button[name="tinvwl-action-product_selected"],
.woocommerce-account .tinv-wishlist button.tinvwl-button[value="product_all"],
.woocommerce-account .tinv-wishlist button.tinvwl-button[value="product_selected"],
.woocommerce-account .tinv-wishlist .tinvwl-input-group button.button.alt,
.woocommerce-account .tinv-wishlist tfoot .button.alt,
.bharathon-wishlist-page .tinv-wishlist .product-action .button,
.bharathon-wishlist-page .tinv-wishlist button[name="tinvwl-action-product_all"],
.bharathon-wishlist-page .tinv-wishlist button[name="tinvwl-action-product_selected"] {
  background: #00beea !important;
  border-color: #00beea !important;
  color: #fff !important;
}

.woocommerce-account .tinv-wishlist .product-action .button:hover,
.woocommerce-account .tinv-wishlist .product-action button.button.alt:hover,
.woocommerce-MyAccount-content .tinv-wishlist .product-action .button:hover,
.bharathon-wishlist-page .tinv-wishlist .product-action .button:hover,
.woocommerce-account .tinv-wishlist button[name="tinvwl-action-product_all"]:hover,
.woocommerce-account .tinv-wishlist button[name="tinvwl-action-product_selected"]:hover,
.bharathon-wishlist-page .tinv-wishlist button[name="tinvwl-action-product_all"]:hover,
.bharathon-wishlist-page .tinv-wishlist button[name="tinvwl-action-product_selected"]:hover {
  background: #0aa6cb !important;
  border-color: #0aa6cb !important;
  color: #fff !important;
}

/* Kill Divi arrow / TI icon sizing issues inside wishlist buttons */
.woocommerce-account .tinv-wishlist .button::before,
.woocommerce-account .tinv-wishlist .button::after,
.woocommerce-account .tinv-wishlist button.button::before,
.woocommerce-account .tinv-wishlist button.button::after,
.woocommerce-MyAccount-content .tinv-wishlist .button::before,
.woocommerce-MyAccount-content .tinv-wishlist .button::after,
.bharathon-wishlist-page .tinv-wishlist .button::before,
.bharathon-wishlist-page .tinv-wishlist .button::after {
  content: none !important;
  display: none !important;
}

.woocommerce-account .tinv-wishlist .button .ftinvwl,
.woocommerce-account .tinv-wishlist button.button .ftinvwl,
.woocommerce-MyAccount-content .tinv-wishlist .button .ftinvwl,
.bharathon-wishlist-page .tinv-wishlist .button .ftinvwl {
  display: none !important;
}

.woocommerce-account .tinv-wishlist .button .tinvwl-txt,
.woocommerce-account .tinv-wishlist button.button .tinvwl-txt,
.woocommerce-MyAccount-content .tinv-wishlist .button .tinvwl-txt,
.bharathon-wishlist-page .tinv-wishlist .button .tinvwl-txt {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  color: inherit !important;
}

/* Footer bulk actions row */
.woocommerce-account .tinv-wishlist tfoot td,
.woocommerce-MyAccount-content .tinv-wishlist tfoot td,
.bharathon-wishlist-page .tinv-wishlist tfoot td {
  padding: 18px 12px !important;
  background: #f7f9fb !important;
  border-bottom: 0 !important;
  text-align: right !important;
}

.woocommerce-account .tinv-wishlist .tinvwl-to-cart-look,
.woocommerce-account .tinv-wishlist .tinvwl-input-group,
.woocommerce-MyAccount-content .tinv-wishlist .tinvwl-input-group,
.bharathon-wishlist-page .tinv-wishlist .tinvwl-input-group,
.woocommerce-account .tinv-wishlist tfoot .tinvwl-to-cart,
.woocommerce-account .tinv-wishlist tfoot .tinvwl-to-left,
.woocommerce-account .tinv-wishlist tfoot .tinvwl-to-right,
.woocommerce-MyAccount-content .tinv-wishlist tfoot .tinvwl-to-right,
.bharathon-wishlist-page .tinv-wishlist tfoot .tinvwl-to-right,
.woocommerce-account .tinv-wishlist .social-buttons {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  text-align: right !important;
}

.woocommerce-account .tinv-wishlist tfoot .tinvwl-to-left:empty,
.woocommerce-MyAccount-content .tinv-wishlist tfoot .tinvwl-to-left:empty,
.bharathon-wishlist-page .tinv-wishlist tfoot .tinvwl-to-left:empty {
  display: none !important;
}

.woocommerce-account .tinv-wishlist tfoot button[name="tinvwl-action-product_all"],
.woocommerce-account .tinv-wishlist tfoot button.tinvwl-button[value="product_all"],
.woocommerce-MyAccount-content .tinv-wishlist tfoot button[name="tinvwl-action-product_all"],
.bharathon-wishlist-page .tinv-wishlist tfoot button[name="tinvwl-action-product_all"],
.woocommerce-account .tinv-wishlist tfoot .button.alt,
.bharathon-wishlist-page .tinv-wishlist tfoot .button.alt {
  background: #00beea !important;
  border-color: #00beea !important;
  color: #fff !important;
  margin: 0 !important;
  float: none !important;
}

.woocommerce-account .tinv-wishlist select,
.woocommerce-MyAccount-content .tinv-wishlist select,
.bharathon-wishlist-page .tinv-wishlist select {
  min-height: 40px !important;
  padding: 0 14px !important;
  border: 1px solid #d7dee6 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #111 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

/* Wishlist mobile: product cards instead of stacked table cells */
@media (max-width: 980px) {
  .woocommerce-account .tinv-wishlist .tinvwl-table-manage-list,
  .woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list,
  .bharathon-wishlist-page .tinv-wishlist .tinvwl-table-manage-list {
    display: block !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    overflow: visible !important;
  }

  .woocommerce-account .tinv-wishlist .tinvwl-table-manage-list thead,
  .woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list thead,
  .bharathon-wishlist-page .tinv-wishlist .tinvwl-table-manage-list thead {
    display: none !important;
  }

  .woocommerce-account .tinv-wishlist .tinvwl-table-manage-list tbody,
  .woocommerce-account .tinv-wishlist .tinvwl-table-manage-list tfoot,
  .woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list tbody,
  .woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list tfoot,
  .bharathon-wishlist-page .tinv-wishlist .tinvwl-table-manage-list tbody,
  .bharathon-wishlist-page .tinv-wishlist .tinvwl-table-manage-list tfoot {
    display: block !important;
    width: 100% !important;
  }

  .woocommerce-account .tinv-wishlist .tinvwl-table-manage-list tbody tr.wishlist_item,
  .woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list tbody tr.wishlist_item,
  .bharathon-wishlist-page .tinv-wishlist .tinvwl-table-manage-list tbody tr.wishlist_item {
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) 36px !important;
    grid-template-areas:
      "thumb name remove"
      "thumb price remove"
      "thumb stock remove"
      "action action action" !important;
    column-gap: 12px !important;
    row-gap: 4px !important;
    align-items: start !important;
    width: 100% !important;
    margin: 0 0 12px !important;
    padding: 14px !important;
    border: 1px solid #e8edf2 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-sizing: border-box !important;
    position: relative !important;
  }

  .woocommerce-account .tinv-wishlist .tinvwl-table-manage-list tbody tr.wishlist_item td,
  .woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list tbody tr.wishlist_item td,
  .bharathon-wishlist-page .tinv-wishlist .tinvwl-table-manage-list tbody tr.wishlist_item td {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: left !important;
    vertical-align: top !important;
  }

  .woocommerce-account .tinv-wishlist .tinvwl-table-manage-list td.product-thumbnail,
  .woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list td.product-thumbnail,
  .bharathon-wishlist-page .tinv-wishlist .tinvwl-table-manage-list td.product-thumbnail {
    grid-area: thumb !important;
  }

  .woocommerce-account .tinv-wishlist .tinvwl-table-manage-list td.product-thumbnail img,
  .woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list td.product-thumbnail img,
  .bharathon-wishlist-page .tinv-wishlist .tinvwl-table-manage-list td.product-thumbnail img {
    display: block !important;
    width: 72px !important;
    height: 72px !important;
    margin: 0 !important;
    max-width: 72px !important;
  }

  .woocommerce-account .tinv-wishlist .tinvwl-table-manage-list td.product-name,
  .woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list td.product-name,
  .bharathon-wishlist-page .tinv-wishlist .tinvwl-table-manage-list td.product-name {
    grid-area: name !important;
    min-width: 0 !important;
    padding-right: 4px !important;
  }

  .woocommerce-account .tinv-wishlist .tinvwl-table-manage-list td.product-name a,
  .woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list td.product-name a,
  .bharathon-wishlist-page .tinv-wishlist .tinvwl-table-manage-list td.product-name a {
    display: block !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
  }

  .woocommerce-account .tinv-wishlist .tinvwl-table-manage-list td.product-remove,
  .woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list td.product-remove,
  .bharathon-wishlist-page .tinv-wishlist .tinvwl-table-manage-list td.product-remove {
    grid-area: remove !important;
    display: block !important;
    justify-self: end !important;
  }

  .woocommerce-account .tinv-wishlist .tinvwl-table-manage-list td.product-price,
  .woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list td.product-price,
  .bharathon-wishlist-page .tinv-wishlist .tinvwl-table-manage-list td.product-price {
    grid-area: price !important;
    color: #111 !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    line-height: 1.3 !important;
  }

  .woocommerce-account .tinv-wishlist .tinvwl-table-manage-list td.product-date,
  .woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list td.product-date,
  .bharathon-wishlist-page .tinv-wishlist .tinvwl-table-manage-list td.product-date {
    display: none !important;
  }

  .woocommerce-account .tinv-wishlist .tinvwl-table-manage-list td.product-stock,
  .woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list td.product-stock,
  .bharathon-wishlist-page .tinv-wishlist .tinvwl-table-manage-list td.product-stock {
    grid-area: stock !important;
    color: #5e6470 !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
  }

  .woocommerce-account .tinv-wishlist .tinvwl-table-manage-list td.product-stock p,
  .woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list td.product-stock p,
  .bharathon-wishlist-page .tinv-wishlist .tinvwl-table-manage-list td.product-stock p {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 0 !important;
    font-size: 13px !important;
  }

  .woocommerce-account .tinv-wishlist .tinvwl-table-manage-list td.product-quantity,
  .woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list td.product-quantity,
  .bharathon-wishlist-page .tinv-wishlist .tinvwl-table-manage-list td.product-quantity {
    display: none !important;
  }

  .woocommerce-account .tinv-wishlist .tinvwl-table-manage-list td.product-stock i,
  .woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list td.product-stock i,
  .bharathon-wishlist-page .tinv-wishlist .tinvwl-table-manage-list td.product-stock i {
    margin: 0 !important;
    font-size: 12px !important;
  }

  .woocommerce-account .tinv-wishlist .tinvwl-table-manage-list td.product-action,
  .woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list td.product-action,
  .bharathon-wishlist-page .tinv-wishlist .tinvwl-table-manage-list td.product-action {
    grid-area: action !important;
    width: 100% !important;
    margin-top: 8px !important;
  }

  .woocommerce-account .tinv-wishlist .tinvwl-table-manage-list td.product-action .button,
  .woocommerce-account .tinv-wishlist .tinvwl-table-manage-list td.product-action button.button,
  .woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list td.product-action .button,
  .bharathon-wishlist-page .tinv-wishlist .tinvwl-table-manage-list td.product-action .button {
    display: flex !important;
    width: 100% !important;
    min-height: 42px !important;
    justify-content: center !important;
  }

  .woocommerce-account .tinv-wishlist .tinvwl-table-manage-list tfoot tr,
  .woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list tfoot tr,
  .bharathon-wishlist-page .tinv-wishlist .tinvwl-table-manage-list tfoot tr {
    display: block !important;
  }

  .woocommerce-account .tinv-wishlist .tinvwl-table-manage-list tfoot td,
  .woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list tfoot td,
  .bharathon-wishlist-page .tinv-wishlist .tinvwl-table-manage-list tfoot td {
    display: block !important;
    width: 100% !important;
    margin-top: 4px !important;
    padding: 14px !important;
    border: 1px solid #e8edf2 !important;
    border-radius: 14px !important;
    background: #f7f9fb !important;
  }

  .woocommerce-account .tinv-wishlist .tinvwl-to-cart-look,
  .woocommerce-account .tinv-wishlist .tinvwl-input-group,
  .woocommerce-MyAccount-content .tinv-wishlist .tinvwl-input-group,
  .bharathon-wishlist-page .tinv-wishlist .tinvwl-input-group,
  .woocommerce-account .tinv-wishlist tfoot .tinvwl-to-cart,
  .woocommerce-account .tinv-wishlist tfoot .tinvwl-to-right {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 10px !important;
  }

  .woocommerce-account .tinv-wishlist select,
  .woocommerce-MyAccount-content .tinv-wishlist select,
  .bharathon-wishlist-page .tinv-wishlist select,
  .woocommerce-account .tinv-wishlist tfoot .button,
  .woocommerce-account .tinv-wishlist tfoot button.button,
  .woocommerce-MyAccount-content .tinv-wishlist tfoot .button,
  .bharathon-wishlist-page .tinv-wishlist tfoot .button {
    width: 100% !important;
    max-width: none !important;
  }

  .woocommerce-account .tinv-wishlist .button,
  .woocommerce-account .tinv-wishlist button.button,
  .woocommerce-MyAccount-content .tinv-wishlist .button,
  .bharathon-wishlist-page .tinv-wishlist .button {
    min-height: 40px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
  }
}

.bharathon-orders-empty {
  text-align: left;
}

.bharathon-orders-empty h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.bharathon-orders-empty p {
  margin: 0 0 20px;
  color: #5e6470;
}

/* Verify email notice on Orders (guest / past order linking) */
.bharathon-verify-email-notice {
  display: block !important;
  margin: 0 0 20px !important;
  padding: 18px 20px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #00beea !important;
  color: #fff !important;
  box-shadow: none !important;
}

.bharathon-verify-email-notice::before {
  display: none !important;
}

.bharathon-verify-email-notice__title {
  margin: 0 0 6px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #fff !important;
  line-height: 1.3 !important;
}

.bharathon-verify-email-notice__text {
  margin: 0 0 14px !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  color: #fff !important;
}

.bharathon-verify-email-notice__text strong {
  color: #fff !important;
  font-weight: 800 !important;
}

.bharathon-verify-email-notice__actions {
  margin: 0 !important;
}

.bharathon-verify-email-notice__btn.button,
a.button.bharathon-verify-email-notice__btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 0 18px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #111 !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  float: none !important;
}

.bharathon-verify-email-notice__btn.button:hover,
a.button.bharathon-verify-email-notice__btn:hover {
  background: #000 !important;
  color: #fff !important;
}

.bharathon-orders-pagination {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.woocommerce-account .woocommerce-EditAccountForm .form-row input.input-text,
.woocommerce-account .woocommerce-address-fields .form-row input.input-text,
.woocommerce-account .woocommerce-address-fields .form-row textarea,
.woocommerce-account .woocommerce-EditAccountForm .form-row textarea {
  border-radius: 12px !important;
  border: 1px solid #d7dee6 !important;
  background: #fff !important;
  padding: 14px 16px !important;
}

.woocommerce-account .woocommerce-EditAccountForm .button,
.woocommerce-account .woocommerce-address-fields .button,
.woocommerce-account .woocommerce-Button {
  border-radius: 999px !important;
  min-height: 46px;
  padding: 0 22px !important;
  font-weight: 700 !important;
}

/* My Account → Addresses */
.bharathon-addresses {
  width: 100%;
}

.bharathon-addresses-intro {
  margin: 0 0 24px;
  color: #5e6470;
  font-size: 15px;
  line-height: 1.6;
}

.bharathon-addresses-grid,
.woocommerce-account .woocommerce-Addresses,
.woocommerce-account .u-columns.woocommerce-Addresses,
.elementor-widget-woocommerce-my-account .woocommerce-Addresses,
.elementor-widget-woocommerce-my-account .u-columns.woocommerce-Addresses.col2-set.addresses {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  float: none !important;
  clear: both !important;
}

.bharathon-addresses-grid--two,
.woocommerce-account .woocommerce-Addresses.col2-set,
.woocommerce-account .u-columns.woocommerce-Addresses.col2-set,
.elementor-widget-woocommerce-my-account .woocommerce-Addresses.col2-set {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.woocommerce-account .woocommerce-Addresses::before,
.woocommerce-account .woocommerce-Addresses::after,
.woocommerce-account .u-columns.woocommerce-Addresses::before,
.woocommerce-account .u-columns.woocommerce-Addresses::after {
  display: none !important;
  content: none !important;
}

.bharathon-address-card,
.woocommerce-account .woocommerce-Address,
.woocommerce-account .woocommerce-Addresses .u-column1,
.woocommerce-account .woocommerce-Addresses .u-column2,
.woocommerce-account .woocommerce-Addresses .col-1,
.woocommerce-account .woocommerce-Addresses .col-2 {
  display: block !important;
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 20px !important;
  background: #f7f9fb !important;
  border: 1px solid #e8edf2 !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
  position: relative !important;
  text-decoration: none !important;
  color: inherit !important;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

a.bharathon-address-card:hover {
  border-color: #00beea !important;
  transform: translateY(-1px);
}

/* Remove / hide Edit address text links (legacy + plugin markup) */
.bharathon-address-card .edit,
.bharathon-address-card .woocommerce-Address-title,
.woocommerce-account .woocommerce-Address .edit,
.woocommerce-account .woocommerce-Address-title .edit,
.woocommerce-account .bharathon-addresses .edit,
.elementor-widget-woocommerce-my-account .woocommerce-Address .edit {
  display: none !important;
}

.bharathon-address-card-title,
.bharathon-address-card h2,
.woocommerce-account .woocommerce-Address h2 {
  display: block !important;
  position: static !important;
  float: none !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #111 !important;
  text-align: left !important;
  text-transform: none !important;
  line-height: 1.3 !important;
}

.bharathon-address-card address,
.woocommerce-account .woocommerce-Address address {
  display: block !important;
  position: static !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-style: normal !important;
  line-height: 1.6;
  color: #111;
}

@media (max-width: 980px) {
  .bharathon-addresses-grid--two,
  .woocommerce-account .woocommerce-Addresses.col2-set,
  .woocommerce-account .u-columns.woocommerce-Addresses.col2-set,
  .elementor-widget-woocommerce-my-account .woocommerce-Addresses.col2-set {
    grid-template-columns: 1fr !important;
  }
}

/* View Order endpoint */
.bharathon-view-order {
  width: 100%;
  max-width: none;
}

.bharathon-view-order-status {
  margin: 0 0 28px;
  color: #5e6470;
  font-size: 15px;
  line-height: 1.6;
}

.bharathon-view-order-status mark {
  background: transparent;
  color: #111;
  font-weight: 700;
}

.bharathon-view-order-status .bharathon-order-status {
  margin-left: 4px;
}

.woocommerce-account .woocommerce-order-details,
.woocommerce-view-order .woocommerce-order-details,
.elementor-widget-woocommerce-my-account .woocommerce-order-details {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  clear: both !important;
  margin: 0 0 28px !important;
}

.woocommerce-account .woocommerce-order-details__title,
.woocommerce-view-order .woocommerce-order-details__title {
  margin: 0 0 16px !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #111 !important;
  text-align: left !important;
}

.woocommerce-account table.woocommerce-table--order-details,
.woocommerce-account table.order_details,
.woocommerce-view-order table.shop_table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

.woocommerce-account table.order_details th,
.woocommerce-account table.order_details td,
.woocommerce-view-order table.shop_table th,
.woocommerce-view-order table.shop_table td {
  padding: 14px 0 !important;
  border-top: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-bottom: 1px solid #edf1f5 !important;
  background: transparent !important;
  vertical-align: middle !important;
  text-align: left !important;
}

.woocommerce-account table.order_details thead th,
.woocommerce-view-order table.shop_table thead th {
  color: #7a8594 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.woocommerce-account table.order_details tfoot th,
.woocommerce-account table.order_details tfoot td {
  font-weight: 700 !important;
  color: #111 !important;
}

.woocommerce-account table.order_details a,
.woocommerce-view-order table.shop_table .product-name a {
  color: #00beea !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.woocommerce-account table.order_details .button,
.woocommerce-account table.order_details a.button,
.woocommerce-view-order .order-actions-button,
.woocommerce-account table.order_details a.invoice,
.woocommerce-account table.order_details a.wpo_wcpdf,
.woocommerce-MyAccount-content a.invoice,
.woocommerce-MyAccount-content a.wpo_wcpdf-invoice,
.woocommerce-orders-table__cell-order-actions a.invoice {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px !important;
  padding: 0 14px !important;
  margin: 0 8px 0 0 !important;
  border-radius: 999px !important;
  border: 1px solid #d7dee6 !important;
  background: #fff !important;
  color: #111 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  float: none !important;
  width: auto !important;
  max-width: none !important;
}

.woocommerce-account table.order_details .button:hover,
.woocommerce-account table.order_details a.button:hover,
.woocommerce-account table.order_details a.invoice:hover,
.woocommerce-account table.order_details a.wpo_wcpdf:hover,
.woocommerce-MyAccount-content a.invoice:hover,
.woocommerce-MyAccount-content a.wpo_wcpdf-invoice:hover,
.woocommerce-orders-table__cell-order-actions a.invoice:hover {
  border-color: #00beea !important;
  color: #00beea !important;
  background: #fff !important;
}

/* Hide View Order Message on order details */
.woocommerce-MyAccount-content form:has(.wps_rma_view_order),
.woocommerce-MyAccount-content .wps_rma_view_order,
.woocommerce-MyAccount-content input.wps_rma_view_order,
.woocommerce-MyAccount-content .wps_rma_order_msg_restricted,
.woocommerce-view-order form:has(.wps_rma_view_order),
.woocommerce-account form:has(input.wps_rma_view_order) {
  display: none !important;
}

/* RMA / refund plugin blocks under order details */
.woocommerce-account .woocommerce-order-details + *:not(.woocommerce-customer-details),
.woocommerce-view-order .wps_rma_refund_form_wrapper,
.woocommerce-view-order .wps-rma-btn-wrap,
.woocommerce-view-order .wps_rma_total_refund_html,
.woocommerce-MyAccount-content .wps_rma_refund_info_wrap,
.woocommerce-MyAccount-content .wps_rma_exchange_info_wrap,
.woocommerce-MyAccount-content [class*="wps_rma"] {
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
}

.woocommerce-MyAccount-content .wps-rma-btn-wrap,
.woocommerce-MyAccount-content .wps_rma_btn_wrapper,
.woocommerce-MyAccount-content p:has(> a[href*="refund"]),
.woocommerce-MyAccount-content p:has(> a[href*="order-msg"]),
.woocommerce-MyAccount-content .woocommerce-order-details > p:has(.button),
.woocommerce-MyAccount-content .woocommerce-order-details + p,
.woocommerce-MyAccount-content p.wps_rma_btn {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 16px 0 !important;
  float: none !important;
  width: 100% !important;
}

.woocommerce-MyAccount-content .wps-rma-btn-wrap .button,
.woocommerce-MyAccount-content .wps_rma_btn_wrapper .button,
.woocommerce-MyAccount-content a.button[href*="refund"],
.woocommerce-MyAccount-content .woocommerce-order-details + p .button,
.woocommerce-MyAccount-content .woocommerce-order-details ~ a.button,
.woocommerce-MyAccount-content form[action*="refund"] .button,
.woocommerce-MyAccount-content form[action*="return"] .button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px !important;
  padding: 0 14px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  border: 1px solid #d7dee6 !important;
  background: #fff !important;
  color: #111 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  float: none !important;
  width: auto !important;
  max-width: none !important;
  box-shadow: none !important;
  cursor: pointer;
}

.woocommerce-MyAccount-content .wps-rma-btn-wrap .button:hover,
.woocommerce-MyAccount-content .wps_rma_btn_wrapper .button:hover,
.woocommerce-MyAccount-content a.button[href*="refund"]:hover,
.woocommerce-MyAccount-content form[action*="refund"] .button:hover,
.woocommerce-MyAccount-content form[action*="return"] .button:hover {
  border-color: #00beea !important;
  color: #00beea !important;
  background: #fff !important;
}

/* Keep refund forms visible; message forms stay hidden above */
.woocommerce-MyAccount-content form[action*="refund"],
.woocommerce-MyAccount-content form[action*="return"] {
  display: inline-flex !important;
  margin: 0 10px 10px 0 !important;
  float: none !important;
  width: auto !important;
}

/* Elementor view-order tab: keep content full width inside account panel */
.elementor-widget-woocommerce-my-account .e-my-account-tab__view-order .woocommerce-MyAccount-content,
.elementor-widget-woocommerce-my-account .e-my-account-tab__view-order .woocommerce-MyAccount-content-wrapper {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.woocommerce-MyAccount-content .wps_rma_refund_info_wrap,
.woocommerce-MyAccount-content .wps_rma_exchange_info_wrap,
.woocommerce-MyAccount-content .wps_rma_total_refund_html,
.woocommerce-MyAccount-content [class*="wps_rma"][class*="info"] {
  margin: 16px 0 28px !important;
  padding: 18px 20px !important;
  background: #f7f9fb !important;
  border: 1px solid #e8edf2 !important;
  border-radius: 14px !important;
}

/* Refund request form page (Woo Refund & Exchange Lite)
   Styles target plugin wrappers directly so layout works even if body class misses. */
body.bharathon-refund-request-page #sidebar,
body.bharathon-refund-request-page .widget-area,
body.bharathon-refund-request-page #sidebar-right,
body.bharathon-refund-request-page #sidebar-left,
body.bharathon-refund-request-page #main-content .widget,
body.bharathon-refund-request-page .et_pb_widget_area,
body.bharathon-refund-request-page #left-area .widget,
body.bharathon-refund-request-page .et_pb_column_1_4,
body:has(.wps_rma_refund_form_wrapper) #sidebar,
body:has(.wps_rma_refund_form_wrapper) .widget-area,
body:has(.wps_rma_refund_form_wrapper) #main-content .widget,
body:has(.wps_rma_refund_form_wrapper) .et_pb_widget_area {
  display: none !important;
}

body.bharathon-refund-request-page #main-content .container,
body.bharathon-refund-request-page #left-area,
body.bharathon-refund-request-page #content-area,
body.bharathon-refund-request-page #content-area > .container,
body:has(.wps_rma_refund_form_wrapper) #main-content .container,
body:has(.wps_rma_refund_form_wrapper) #left-area,
body:has(.wps_rma_refund_form_wrapper) #content-area {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
}

body.bharathon-refund-request-page #main-content,
body:has(.wps_rma_refund_form_wrapper) #main-content {
  padding: 40px var(--bh-account-gutter, clamp(24px, 5vw, 72px)) 80px !important;
  background: #fff !important;
}

body.bharathon-refund-request-page .woocommerce-breadcrumb,
body:has(.wps_rma_refund_form_wrapper) .woocommerce-breadcrumb {
  max-width: 960px;
  margin: 0 auto 20px !important;
  padding: 0 !important;
  font-size: 13px !important;
  color: #5e6470 !important;
}

body.bharathon-refund-request-page .woocommerce-breadcrumb a,
body:has(.wps_rma_refund_form_wrapper) .woocommerce-breadcrumb a {
  color: #111 !important;
  text-decoration: none !important;
}

.wps_rma_refund_form_wrapper.wps-rma-form__wrapper,
.wps_rma_refund_form_wrapper,
#wps_rma_return_request_container.wps-rma-form__header {
  box-sizing: border-box !important;
}

.wps_rma_refund_form_wrapper.wps-rma-form__wrapper,
.wps_rma_refund_form_wrapper {
  width: 100% !important;
  max-width: 960px !important;
  margin: 0 auto 40px !important;
  padding: 0 !important;
  float: none !important;
  clear: both !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Clear fixed header overlap on return / refund form page */
body.bharathon-refund-request-page .wps_rma_refund_form_wrapper.wps-rma-form__wrapper,
body.bharathon-refund-request-page .wps_rma_refund_form_wrapper {
  margin-top: 70px !important;
}

/* Return form: Refund vs Exchange choice */
.bharathon-return-resolution {
  margin: 0 0 22px;
  padding: 18px;
  border: 1px solid #e8edf2;
  border-radius: 14px;
  background: #f8fafc;
  box-sizing: border-box;
}

.bharathon-return-resolution__label {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.3;
  color: #111;
}

.bharathon-return-resolution__label strong {
  font-weight: 800;
}

.bharathon-return-resolution__hint {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #5e6470;
}

.bharathon-return-resolution__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.bharathon-return-resolution__option {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  width: 100% !important;
  min-height: 48px;
  margin: 0 !important;
  padding: 12px 14px 12px 44px !important;
  border: 1px solid #d7dee6 !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-sizing: border-box !important;
  cursor: pointer;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: #111 !important;
  float: none !important;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

/* Circular radio drawn on the label so Divi cannot squash the control */
.bharathon-return-resolution__option::before {
  content: "" !important;
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 2px solid #c5ced8 !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-sizing: border-box !important;
  transform: translateY(-50%) !important;
  display: block !important;
  flex: none !important;
  float: none !important;
}

.bharathon-return-resolution__option::after {
  content: "" !important;
  position: absolute !important;
  left: 19px !important;
  top: 50% !important;
  width: 8px !important;
  height: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #00beea !important;
  box-sizing: border-box !important;
  transform: translateY(-50%) scale(0) !important;
  display: block !important;
  flex: none !important;
  float: none !important;
  transition: transform 0.12s ease !important;
}

.bharathon-return-resolution__option input[type="radio"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
  appearance: none !important;
}

.bharathon-return-resolution__control {
  display: none !important;
}

.bharathon-return-resolution__text {
  display: inline-block !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.25 !important;
  float: none !important;
}

.bharathon-return-resolution__option:hover {
  border-color: #00beea !important;
}

.bharathon-return-resolution__option:has(input:checked),
.bharathon-return-resolution__option.is-selected {
  border-color: #00beea !important;
  background: rgba(0, 190, 234, 0.08) !important;
  box-shadow: 0 0 0 3px rgba(0, 190, 234, 0.12);
  color: #111 !important;
}

.bharathon-return-resolution__option:has(input:checked)::before,
.bharathon-return-resolution__option.is-selected::before {
  border-color: #00beea !important;
}

.bharathon-return-resolution__option:has(input:checked)::after,
.bharathon-return-resolution__option.is-selected::after {
  transform: translateY(-50%) scale(1) !important;
}

.bharathon-return-resolution__option:focus-within {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 190, 234, 0.18);
}

.bharathon-return-resolution__error {
  margin: 12px 0 0;
  color: #dc2626;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.wps_rma_refund_form_wrapper::before,
.wps-rma-form__wrapper.wps_rma_refund_form_wrapper::before {
  display: none !important;
  content: none !important;
}

/* Header — kill plugin dark grey bar */
.wps_rma_refund_form_wrapper .wps-rma-form__header,
.wps_rma_refund_form_wrapper #wps_rma_return_request_container {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
}

.wps_rma_refund_form_wrapper .wps-rma-form__heading {
  margin: 0 !important;
  padding: 0 !important;
  font-size: clamp(26px, 3.6vw, 34px) !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  color: #111 !important;
  text-transform: none !important;
  letter-spacing: -0.01em !important;
  background: transparent !important;
}

.wps_rma_refund_form_wrapper .wps-rma-form__heading::before {
  content: "Return request";
  display: block;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #00beea;
  line-height: 1.2;
}

/* Product table card */
.wps_rma_refund_form_wrapper .wps-rma-product__table-wrapper,
.wps_rma_refund_form_wrapper .wps_rma_product_table_wrapper {
  margin: 0 0 20px !important;
  padding: 0 !important;
  background: #fff !important;
  border: 1px solid #e8edf2 !important;
  border-radius: 16px !important;
  overflow: hidden;
}

.wps_rma_refund_form_wrapper .wps-rma-product__table,
.wps_rma_refund_form_wrapper .wps_rma_product_table_wrapper table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin: 0 !important;
  background: #fff !important;
}

.wps_rma_refund_form_wrapper .wps-rma-product__table thead th,
.wps_rma_refund_form_wrapper .wps_rma_product_table_wrapper thead th {
  background: #f7f9fb !important;
  color: #5e6470 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  padding: 14px 16px !important;
  border: 0 !important;
  border-bottom: 1px solid #e8edf2 !important;
  text-align: left !important;
}

.wps_rma_refund_form_wrapper .wps-rma-product__table td,
.wps_rma_refund_form_wrapper .wps-rma-product__table th,
.wps_rma_refund_form_wrapper .wps_rma_product_table_wrapper td,
.wps_rma_refund_form_wrapper .wps_rma_product_table_wrapper th {
  padding: 16px !important;
  border: 0 !important;
  border-bottom: 1px solid #eef2f6 !important;
  vertical-align: middle !important;
  color: #111 !important;
  background: #fff !important;
}

.wps_rma_refund_form_wrapper .wps-rma-product__table tbody tr:last-child td,
.wps_rma_refund_form_wrapper .wps-rma-product__table tbody tr:last-child th {
  border-bottom: 0 !important;
  background: #f7f9fb !important;
  font-weight: 700 !important;
}

.wps_rma_refund_form_wrapper .wps-rma-product__wrap {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.wps_rma_refund_form_wrapper .wps-rma-product__wrap img {
  width: 64px !important;
  height: 64px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  border: 1px solid #e8edf2 !important;
  flex: 0 0 64px;
}

.wps_rma_refund_form_wrapper .wps_rma_product_title a,
.wps_rma_refund_form_wrapper .wps-rma__product-title a {
  color: #111 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.wps_rma_refund_form_wrapper .wps_rma_product_title a:hover,
.wps_rma_refund_form_wrapper .wps-rma__product-title a:hover {
  color: #00beea !important;
}

.wps_rma_refund_form_wrapper .wps_rma_product_title p,
.wps_rma_refund_form_wrapper .wps-rma__product-title p {
  margin: 6px 0 0 !important;
  color: #5e6470 !important;
  font-size: 13px !important;
}

.wps_rma_refund_form_wrapper .product-quantity input,
.wps_rma_refund_form_wrapper .wps_rma_return_product_qty {
  width: 72px !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  padding: 0 10px !important;
  margin: 0 !important;
  border: 1px solid #d7dee6 !important;
  border-radius: 12px !important;
  background: #fff !important;
  font-size: 15px !important;
  line-height: 42px !important;
  text-align: center !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}

/* Form fields card */
.wps_rma_refund_form_wrapper .wps-rma-refund-request__row,
.wps_rma_refund_form_wrapper .wps-rma-row__pd {
  display: block !important;
  margin: 0 0 20px !important;
  padding: 24px !important;
  background: #fff !important;
  border: 1px solid #e8edf2 !important;
  border-radius: 16px !important;
}

.wps_rma_refund_form_wrapper .wps-rma-col,
.wps_rma_refund_form_wrapper .wps_rma__column {
  width: 100% !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.wps_rma_refund_form_wrapper .wps_rma_subject_dropdown,
.wps_rma_refund_form_wrapper .wps_rma_other_subject,
.wps_rma_refund_form_wrapper .wps_rma_reason_description,
.wps_rma_refund_form_wrapper #bank_details,
.wps_rma_refund_form_wrapper .wps_rma_attach_files {
  margin: 0 0 18px !important;
}

.wps_rma_refund_form_wrapper .wps_rma_subject_dropdown label,
.wps_rma_refund_form_wrapper .wps_rma_reason_description label,
.wps_rma_refund_form_wrapper #bank_details label,
.wps_rma_refund_form_wrapper .wps_rma_attach_files > label,
.wps_rma_refund_form_wrapper label b {
  display: inline !important;
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #111 !important;
}

.wps_rma_refund_form_wrapper .wps_rma_subject_dropdown > div:first-child,
.wps_rma_refund_form_wrapper .wps_rma_reason_description > div:first-child {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin: 0 0 8px !important;
}

.wps_rma_refund_form_wrapper .wps_field_mendatory,
.wps_rma_refund_form_wrapper .wps_rma_required {
  color: #e05252 !important;
}

.wps_rma_refund_form_wrapper select,
.wps_rma_refund_form_wrapper input[type="text"],
.wps_rma_refund_form_wrapper input[type="number"],
.wps_rma_refund_form_wrapper input[type="tel"],
.wps_rma_refund_form_wrapper input[type="email"],
.wps_rma_refund_form_wrapper textarea,
.wps_rma_refund_form_wrapper #wps_rma_return_request_subject,
.wps_rma_refund_form_wrapper #wps_rma_return_request_subject_text,
.wps_rma_refund_form_wrapper .wps_rma_return_request_reason,
.wps_rma_refund_form_wrapper #wps_rma_bank_details {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 48px !important;
  padding: 14px 16px !important;
  border: 1px solid #d7dee6 !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #111 !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  appearance: none;
  -webkit-appearance: none;
}

.wps_rma_refund_form_wrapper select#wps_rma_return_request_subject {
  background-image: linear-gradient(45deg, transparent 50%, #5e6470 50%),
    linear-gradient(135deg, #5e6470 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px !important;
}

.wps_rma_refund_form_wrapper .wps_rma_return_request_reason,
.wps_rma_refund_form_wrapper #wps_rma_bank_details {
  min-height: 140px !important;
  height: auto !important;
  resize: vertical !important;
}

.wps_rma_refund_form_wrapper select:focus,
.wps_rma_refund_form_wrapper input[type="text"]:focus,
.wps_rma_refund_form_wrapper input[type="number"]:focus,
.wps_rma_refund_form_wrapper textarea:focus {
  outline: none !important;
  border-color: #00beea !important;
  box-shadow: 0 0 0 3px rgba(0, 190, 234, 0.12) !important;
}

.wps_rma_refund_form_wrapper .wps_rma_attach_files i,
.wps_rma_refund_form_wrapper .wps_rma_attach_files p {
  margin: 8px 0 0 !important;
  color: #5e6470 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  font-style: normal !important;
}

.wps_rma_refund_form_wrapper form,
.wps_rma_refund_form_wrapper form p {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}

.wps_rma_refund_form_wrapper input[type="file"] {
  width: 100% !important;
  max-width: 100% !important;
  padding: 12px !important;
  border: 1px dashed #d7dee6 !important;
  border-radius: 12px !important;
  background: #f7f9fb !important;
  box-sizing: border-box !important;
}

/* Buttons */
.wps_rma_refund_form_wrapper .wps_rma_return_request_morefiles,
.wps_rma_refund_form_wrapper input.btn,
.wps_rma_refund_form_wrapper input[type="submit"],
.wps_rma_refund_form_wrapper input[type="button"],
.wps_rma_refund_form_wrapper .button.btn,
.wps_rma_refund_form_wrapper #wps_rma_return_request_form .button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
  height: auto !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 22px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  float: none !important;
  cursor: pointer !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
}

.wps_rma_refund_form_wrapper .wps_rma_return_request_morefiles,
.wps_rma_refund_form_wrapper input[type="button"].wps_rma_return_request_morefiles {
  margin-top: 10px !important;
  border: 1px solid #d7dee6 !important;
  background: #fff !important;
  color: #111 !important;
}

.wps_rma_refund_form_wrapper .wps_rma_return_request_morefiles:hover {
  border-color: #00beea !important;
  color: #00beea !important;
  background: #fff !important;
}

.wps_rma_refund_form_wrapper input[name="wps_rma_return_request_submit"],
.wps_rma_refund_form_wrapper #wps_rma_return_request_form input.btn,
.wps_rma_refund_form_wrapper input.btn.button {
  margin-top: 8px !important;
  background: #00beea !important;
  border: 0 !important;
  color: #fff !important;
}

.wps_rma_refund_form_wrapper input[name="wps_rma_return_request_submit"]:hover,
.wps_rma_refund_form_wrapper #wps_rma_return_request_form input.btn:hover {
  background: #0aa6cb !important;
  color: #fff !important;
}

.wps_rma_refund_form_wrapper .button::before,
.wps_rma_refund_form_wrapper .button::after,
.wps_rma_refund_form_wrapper input.btn::before,
.wps_rma_refund_form_wrapper input.btn::after {
  content: none !important;
  display: none !important;
}

/* Addresses */
.wps_rma_refund_form_wrapper .wps_rma_customer_detail {
  margin: 0 !important;
  padding: 0 !important;
}

.wps_rma_refund_form_wrapper .wps_rma_customer_detail .woocommerce-columns,
.wps_rma_refund_form_wrapper .wps_rma_customer_detail .woocommerce-columns--addresses,
.wps_rma_refund_form_wrapper .wps_rma_customer_detail .col2-set.addresses,
.wps_rma_refund_form_wrapper .wps_rma_customer_detail .woocommerce-customer-details {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.wps_rma_refund_form_wrapper .wps_rma_customer_detail .woocommerce-column,
.wps_rma_refund_form_wrapper .wps_rma_customer_detail .woocommerce-Address,
.wps_rma_refund_form_wrapper .wps_rma_customer_detail .col-1,
.wps_rma_refund_form_wrapper .wps_rma_customer_detail .col-2 {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 20px !important;
  background: #f7f9fb !important;
  border: 1px solid #e8edf2 !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
}

.wps_rma_refund_form_wrapper .wps_rma_customer_detail .woocommerce-column__title,
.wps_rma_refund_form_wrapper .wps_rma_customer_detail h2 {
  margin: 0 0 12px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #111 !important;
  text-transform: none !important;
  border: 0 !important;
}

.wps_rma_refund_form_wrapper .wps_rma_customer_detail address {
  margin: 0 !important;
  font-style: normal !important;
  color: #5e6470 !important;
  line-height: 1.7 !important;
}

.wps_rma_refund_form_wrapper .wps_rma_return_rules,
.wps_rma_refund_form_wrapper .wps_rma_exchange_rules,
.wps_rma_refund_form_wrapper .wps-rma-col.wps_rma_flex {
  margin-top: 18px !important;
  padding: 18px !important;
  background: #f7f9fb !important;
  border: 1px solid #e8edf2 !important;
  border-radius: 14px !important;
  color: #5e6470 !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}

.wps_rma_refund_form_wrapper .wps-rma-form__notice {
  border-radius: 12px !important;
  margin: 0 0 18px !important;
}

@media (max-width: 980px) {
  body.bharathon-refund-request-page .wps_rma_refund_form_wrapper.wps-rma-form__wrapper,
  body.bharathon-refund-request-page .wps_rma_refund_form_wrapper {
    margin-top: 64px !important;
    max-width: 100% !important;
    padding: 0 8px !important;
  }

  .wps_rma_refund_form_wrapper .wps-rma-form__header,
  .wps_rma_refund_form_wrapper #wps_rma_return_request_container {
    margin: 0 0 18px !important;
  }

  .wps_rma_refund_form_wrapper .wps-rma-form__heading {
    font-size: clamp(24px, 3.2vw, 30px) !important;
    max-width: 18ch;
  }

  .wps_rma_refund_form_wrapper .wps-rma-product__table td,
  .wps_rma_refund_form_wrapper .wps-rma-product__table th,
  .wps_rma_refund_form_wrapper .wps_rma_product_table_wrapper td,
  .wps_rma_refund_form_wrapper .wps_rma_product_table_wrapper th {
    padding: 12px 14px !important;
  }

  .wps_rma_refund_form_wrapper .wps-rma-refund-request__row,
  .wps_rma_refund_form_wrapper .wps-rma-row__pd {
    padding: 18px !important;
  }

  .bharathon-return-resolution {
    padding: 16px;
  }

  /* Keep radio circle clear of label text on tablet */
  .bharathon-return-resolution__options {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .bharathon-return-resolution__option {
    min-height: 48px !important;
    padding: 12px 16px 12px 46px !important;
  }

  .bharathon-return-resolution__option::before {
    left: 14px !important;
    width: 18px !important;
    height: 18px !important;
  }

  .bharathon-return-resolution__option::after {
    left: 19px !important;
  }

  .bharathon-return-resolution__text {
    padding-left: 0 !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 782px) {
  body.bharathon-refund-request-page #main-content,
  body:has(.wps_rma_refund_form_wrapper) #main-content {
    padding: 20px var(--bh-account-gutter, 14px) 48px !important;
  }

  body.bharathon-refund-request-page .wps_rma_refund_form_wrapper.wps-rma-form__wrapper,
  body.bharathon-refund-request-page .wps_rma_refund_form_wrapper {
    margin-top: 56px !important;
    margin-bottom: 28px !important;
    padding: 0 !important;
  }

  .wps_rma_refund_form_wrapper .wps-rma-form__header,
  .wps_rma_refund_form_wrapper #wps_rma_return_request_container {
    margin: 0 0 14px !important;
  }

  .wps_rma_refund_form_wrapper .wps-rma-form__heading {
    font-size: clamp(22px, 6.2vw, 26px) !important;
    line-height: 1.25 !important;
    max-width: none !important;
  }

  .wps_rma_refund_form_wrapper .wps-rma-product__table-wrapper,
  .wps_rma_refund_form_wrapper .wps_rma_product_table_wrapper {
    margin: 0 0 16px !important;
    border-radius: 14px !important;
  }

  .wps_rma_refund_form_wrapper .wps-rma-product__table thead {
    display: none !important;
  }

  .wps_rma_refund_form_wrapper .wps-rma-product__table,
  .wps_rma_refund_form_wrapper .wps_rma_product_table_wrapper table,
  .wps_rma_refund_form_wrapper .wps-rma-product__table tbody {
    display: block !important;
    width: 100% !important;
  }

  /* Product row */
  .wps_rma_refund_form_wrapper .wps-rma-product__table tr.wps_rma_return_column {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100% !important;
    margin: 0 !important;
    padding: 14px !important;
    border-bottom: 1px solid #eef2f6 !important;
    box-sizing: border-box !important;
  }

  .wps_rma_refund_form_wrapper .wps-rma-product__table tr.wps_rma_return_column > td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
  }

  .wps_rma_refund_form_wrapper .wps-rma-product__table tr.wps_rma_return_column > td::before,
  .wps_rma_refund_form_wrapper .wps-rma-product__table tr.wps_rma_return_column > td::after {
    content: none !important;
    display: none !important;
  }

  .wps_rma_refund_form_wrapper .wps-rma-product__table tr.wps_rma_return_column > td.product-quantity {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    padding-top: 10px !important;
    border-top: 1px solid #eef2f6 !important;
  }

  .wps_rma_refund_form_wrapper .wps-rma-product__table tr.wps_rma_return_column > td.product-quantity .wps_rma_return_product_qty,
  .wps_rma_refund_form_wrapper .wps-rma-product__table tr.wps_rma_return_column > td.product-quantity input {
    margin-left: auto !important;
  }

  .wps_rma_refund_form_wrapper .wps-rma-product__table tr.wps_rma_return_column > td.product-quantity::before {
    content: "Quantity" !important;
    display: inline-block !important;
    flex: 0 0 auto !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #5e6470 !important;
    line-height: 1.2 !important;
  }

  /* Hide line total on mobile — order total row covers it and avoids label clash */
  .wps_rma_refund_form_wrapper .wps-rma-product__table tr.wps_rma_return_column > td.product-total {
    display: none !important;
  }

  /* Order total row — label left, amount right on one line */
  .wps_rma_refund_form_wrapper .wps-rma-product__table tbody > tr:not(.wps_rma_return_column) {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 14px !important;
    background: #f7f9fb !important;
    box-sizing: border-box !important;
  }

  .wps_rma_refund_form_wrapper .wps-rma-product__table tbody > tr:not(.wps_rma_return_column) > th,
  .wps_rma_refund_form_wrapper .wps-rma-product__table tbody > tr:not(.wps_rma_return_column) > td {
    display: inline-block !important;
    float: none !important;
    clear: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    vertical-align: middle !important;
  }

  .wps_rma_refund_form_wrapper .wps-rma-product__table tbody > tr:not(.wps_rma_return_column) > th {
    flex: 1 1 auto !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #111 !important;
    text-align: left !important;
    white-space: nowrap !important;
  }

  .wps_rma_refund_form_wrapper .wps-rma-product__table tbody > tr:not(.wps_rma_return_column) > td {
    flex: 0 0 auto !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: right !important;
    white-space: nowrap !important;
  }

  .wps_rma_refund_form_wrapper .wps-rma-product__table tbody > tr:not(.wps_rma_return_column) > td .wps_rma_total_amount_wrap,
  .wps_rma_refund_form_wrapper .wps-rma-product__table tbody > tr:not(.wps_rma_return_column) #wps_rma_total_refund_amount {
    display: inline !important;
    margin: 0 !important;
  }

  .wps_rma_refund_form_wrapper .wps-rma-product__table tbody > tr:not(.wps_rma_return_column) > th::before,
  .wps_rma_refund_form_wrapper .wps-rma-product__table tbody > tr:not(.wps_rma_return_column) > th::after,
  .wps_rma_refund_form_wrapper .wps-rma-product__table tbody > tr:not(.wps_rma_return_column) > td::before,
  .wps_rma_refund_form_wrapper .wps-rma-product__table tbody > tr:not(.wps_rma_return_column) > td::after {
    content: none !important;
    display: none !important;
  }

  .wps_rma_refund_form_wrapper .wps-rma-product__wrap {
    align-items: flex-start !important;
  }

  .wps_rma_refund_form_wrapper .wps-rma-product__wrap img {
    width: 56px !important;
    height: 56px !important;
  }

  .wps_rma_refund_form_wrapper .product-quantity input,
  .wps_rma_refund_form_wrapper .wps_rma_return_product_qty {
    width: 72px !important;
    min-width: 72px !important;
  }

  .wps_rma_refund_form_wrapper .wps_rma_customer_detail .woocommerce-columns,
  .wps_rma_refund_form_wrapper .wps_rma_customer_detail .col2-set.addresses,
  .wps_rma_refund_form_wrapper .wps_rma_customer_detail .woocommerce-customer-details {
    grid-template-columns: 1fr !important;
  }

  .wps_rma_refund_form_wrapper .wps-rma-refund-request__row,
  .wps_rma_refund_form_wrapper .wps-rma-row__pd {
    padding: 16px !important;
    border-radius: 14px !important;
  }

  .bharathon-return-resolution {
    margin-bottom: 18px;
    padding: 14px;
    border-radius: 12px;
  }

  .bharathon-return-resolution__options {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .bharathon-return-resolution__option {
    min-height: 48px !important;
    padding: 12px 14px 12px 46px !important;
  }

  .bharathon-return-resolution__option::before {
    left: 14px !important;
    width: 18px !important;
    height: 18px !important;
  }

  .bharathon-return-resolution__option::after {
    left: 19px !important;
  }

  .wps_rma_refund_form_wrapper .wps_rma_return_request_morefiles,
  .wps_rma_refund_form_wrapper input.btn,
  .wps_rma_refund_form_wrapper input[type="submit"],
  .wps_rma_refund_form_wrapper input[type="button"],
  .wps_rma_refund_form_wrapper .button.btn,
  .wps_rma_refund_form_wrapper #wps_rma_return_request_form .button {
    width: 100% !important;
    max-width: 100% !important;
  }

  .wps_rma_refund_form_wrapper input[type="file"] {
    font-size: 13px !important;
  }
}

@media (max-width: 480px) {
  body.bharathon-refund-request-page .wps_rma_refund_form_wrapper.wps-rma-form__wrapper,
  body.bharathon-refund-request-page .wps_rma_refund_form_wrapper {
    margin-top: 52px !important;
  }

  .wps_rma_refund_form_wrapper .wps-rma-form__heading {
    font-size: 22px !important;
  }

  .wps_rma_refund_form_wrapper .wps-rma-form__heading::before {
    letter-spacing: 0.12em;
    font-size: 11px;
  }

  .bharathon-return-resolution__hint {
    font-size: 12px;
  }

  .bharathon-return-resolution__option {
    padding: 12px 12px 12px 46px !important;
  }
}

/* Customer addresses — kill Woo float columns */
.bharathon-customer-details,
.woocommerce-account .woocommerce-customer-details,
.woocommerce-view-order .woocommerce-customer-details {
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  margin: 28px 0 0 !important;
  padding: 0 !important;
}

.bharathon-customer-details-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  width: 100% !important;
}

.bharathon-customer-details-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.bharathon-customer-details-card,
.woocommerce-account .woocommerce-customer-details .woocommerce-column,
.woocommerce-account .woocommerce-customer-details .col-1,
.woocommerce-account .woocommerce-customer-details .col-2,
.woocommerce-account .woocommerce-columns--addresses,
.woocommerce-account .woocommerce-customer-details .addresses {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce-account .woocommerce-customer-details .col2-set.addresses,
.woocommerce-account .woocommerce-columns--addresses {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  float: none !important;
  width: 100% !important;
}

.woocommerce-account .woocommerce-customer-details .col2-set.addresses::before,
.woocommerce-account .woocommerce-customer-details .col2-set.addresses::after {
  display: none !important;
  content: none !important;
}

.bharathon-customer-details-card {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 20px !important;
  background: #f7f9fb !important;
  border: 1px solid #e8edf2 !important;
  border-radius: 14px !important;
  box-sizing: border-box;
}

.bharathon-customer-details-card address,
.woocommerce-account .woocommerce-customer-details address {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-sizing: border-box;
  font-style: normal;
  line-height: 1.6;
  color: #111;
}

.bharathon-customer-details-card h2,
.woocommerce-account .woocommerce-customer-details .woocommerce-column__title {
  margin: 0 0 12px !important;
  padding: 0 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #111 !important;
  text-transform: none !important;
}

.woocommerce-account .woocommerce-customer-details--phone,
.woocommerce-account .woocommerce-customer-details--email {
  margin: 8px 0 0 !important;
}

@media (max-width: 980px) {
  .bharathon-customer-details-grid--two,
  .woocommerce-account .woocommerce-customer-details .col2-set.addresses {
    grid-template-columns: 1fr !important;
  }
}

/* Amazon hub is mobile-only; never affect desktop */
.bharathon-account-hub {
  display: none;
}

/* Back button is mobile-only on endpoint pages */
.bharathon-account-back,
body.woocommerce-account .bharathon-account-back,
body.bharathon-account-endpoint .bharathon-account-back,
.woocommerce-MyAccount-navigation .bharathon-account-back,
.bharathon-account-nav .bharathon-account-back {
  display: none !important;
}

@media (max-width: 980px) {
  body.woocommerce-account {
    --bh-account-gutter: 16px;
  }

  body.woocommerce-account .elementor-widget-woocommerce-my-account > .elementor-widget-container,
  .bharathon-account-page,
  .woocommerce-account .woocommerce,
  .elementor-widget-woocommerce-my-account .woocommerce,
  .woocommerce-account .woocommerce:has(.bharathon-account-page),
  .elementor-widget-woocommerce-my-account .woocommerce:has(.bharathon-account-page) {
    padding: 28px var(--bh-account-gutter) 56px !important;
  }

  body.woocommerce-account .elementor-widget-woocommerce-my-account > .elementor-widget-container > .e-my-account-tab > .woocommerce,
  .elementor-widget-woocommerce-my-account .e-my-account-tab > .woocommerce {
    padding: 0 !important;
  }

  .woocommerce-account .u-columns.col2-set,
  .elementor-widget-woocommerce-my-account .u-columns.col2-set,
  .woocommerce-account .woocommerce .col2-set,
  .elementor-widget-woocommerce-my-account .col2-set {
    grid-template-columns: 1fr !important;
  }

  .bharathon-account-layout,
  .woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation):not(:has(.bharathon-account-layout)),
  .elementor-widget-woocommerce-my-account .woocommerce:has(> .woocommerce-MyAccount-navigation):not(:has(.bharathon-account-layout)),
  .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce:has(> .woocommerce-MyAccount-navigation),
  .elementor-widget-woocommerce-my-account.e-my-account-tabs-vertical .e-my-account-tab .woocommerce:has(> .woocommerce-MyAccount-navigation) {
    grid-template-columns: 1fr !important;
  }

  #customer_login.u-columns.col2-set,
  #customer_login.col2-set,
  .bharathon-login-page,
  .elementor-widget-woocommerce-my-account #customer_login,
  .woocommerce-account #customer_login {
    grid-template-columns: 1fr !important;
  }

  .bharathon-account-hero {
    margin-bottom: 18px;
  }

  .bharathon-account-hero .bharathon-account-title,
  .bharathon-account-page h1.bharathon-account-title,
  .bharathon-account-title {
    font-size: clamp(1.15rem, 5vw, 1.45rem) !important;
    line-height: 1.25 !important;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
    max-width: 100%;
  }

  .bharathon-account-subtitle {
    font-size: 14px;
  }

  /* Stack layout; keep card chrome on non-dashboard pages */
  .bharathon-account-nav,
  .bharathon-account-layout .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) > .woocommerce-MyAccount-navigation,
  .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce-MyAccount-navigation {
    border-right: 0 !important;
    border-bottom: 1px solid #e8edf2 !important;
    min-width: 0 !important;
    padding: 16px !important;
  }

  .bharathon-account-content,
  .bharathon-account-layout .woocommerce-MyAccount-content,
  .woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) > .woocommerce-MyAccount-content,
  .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce-MyAccount-content,
  .elementor-widget-woocommerce-my-account .e-my-account-tab .woocommerce > .woocommerce-MyAccount-content {
    padding: 20px 16px !important;
    padding-inline-start: 16px !important;
  }

  /* ——— Dashboard mobile: Amazon hub only ——— */
  body.bharathon-account-dashboard .bharathon-account-layout,
  body.bharathon-account-dashboard .woocommerce:has(> .woocommerce-MyAccount-navigation),
  .bharathon-account-layout:has(.bharathon-account-hub),
  .woocommerce:has(.bharathon-account-hub) {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    overflow: visible !important;
  }

  body.bharathon-account-dashboard .woocommerce-MyAccount-navigation,
  body.bharathon-account-dashboard .bharathon-account-nav,
  .bharathon-account-layout:has(.bharathon-account-hub) > .woocommerce-MyAccount-navigation,
  .bharathon-account-layout:has(.bharathon-account-hub) > .bharathon-account-nav,
  .woocommerce:has(.bharathon-account-hub) > .woocommerce-MyAccount-navigation,
  .elementor-widget-woocommerce-my-account .woocommerce:has(.bharathon-account-hub) > .woocommerce-MyAccount-navigation {
    display: none !important;
  }

  body.bharathon-account-dashboard .woocommerce-MyAccount-content,
  .bharathon-account-layout:has(.bharathon-account-hub) .woocommerce-MyAccount-content,
  .woocommerce:has(.bharathon-account-hub) > .woocommerce-MyAccount-content {
    padding: 0 !important;
    background: transparent !important;
  }

  body.bharathon-account-dashboard .bharathon-dashboard-desktop-only,
  .bharathon-dashboard-desktop-only {
    display: none !important;
  }

  body.bharathon-account-dashboard .bharathon-account-hub,
  .bharathon-account-hub {
    display: block !important;
    margin: 0;
  }

  .bharathon-account-hub-section {
    margin: 0 0 22px;
  }

  .bharathon-account-hub-heading {
    margin: 0 0 10px !important;
    padding: 0 2px !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #111 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
  }

  .bharathon-account-hub-list {
    display: block !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    background: #fff !important;
    border: 1px solid #d5d9d9 !important;
    border-radius: 10px !important;
    overflow: hidden;
  }

  .bharathon-account-hub-list li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  .bharathon-account-hub-list li + li {
    border-top: 1px solid #e7e7e7 !important;
  }

  .bharathon-account-hub-list a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    min-height: 52px !important;
    padding: 14px 16px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #111 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    white-space: normal !important;
    box-shadow: none !important;
  }

  .bharathon-account-hub-list a:hover {
    background: #f7f8f8 !important;
    color: #111 !important;
  }

  .bharathon-account-hub-chevron {
    flex: 0 0 auto;
    color: #565959 !important;
    font-size: 22px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
  }

  /* Non-dashboard mobile: only “Back to dashboard” */
  body.bharathon-account-endpoint .bharathon-account-nav,
  body.bharathon-account-endpoint .woocommerce-MyAccount-navigation,
  .bharathon-account-layout:not(:has(.bharathon-account-hub)) .woocommerce-MyAccount-navigation {
    border: 0 !important;
    border-bottom: 0 !important;
    padding: 0 0 14px !important;
    background: transparent !important;
  }

  body.bharathon-account-endpoint .bharathon-account-nav-kicker,
  body.bharathon-account-endpoint .bharathon-account-nav-list,
  body.bharathon-account-endpoint .woocommerce-MyAccount-navigation > ul,
  .bharathon-account-layout:not(:has(.bharathon-account-hub)) .bharathon-account-nav-kicker,
  .bharathon-account-layout:not(:has(.bharathon-account-hub)) .woocommerce-MyAccount-navigation > ul {
    display: none !important;
  }

  body.bharathon-account-endpoint .bharathon-account-back,
  .bharathon-account-layout:not(:has(.bharathon-account-hub)) .bharathon-account-back {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    min-height: 44px !important;
    padding: 0 4px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #00beea !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: none !important;
  }

  body.bharathon-account-endpoint .bharathon-account-back:hover,
  .bharathon-account-layout:not(:has(.bharathon-account-hub)) .bharathon-account-back:hover {
    color: #0aa6cb !important;
    background: transparent !important;
  }

  body.bharathon-account-endpoint .bharathon-account-back::before,
  body.bharathon-account-endpoint .bharathon-account-back::after,
  .bharathon-account-layout:not(:has(.bharathon-account-hub)) .bharathon-account-back::before,
  .bharathon-account-layout:not(:has(.bharathon-account-hub)) .bharathon-account-back::after {
    content: none !important;
    display: none !important;
  }

  .bharathon-account-back-chevron {
    font-size: 22px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
  }

  /* Orders cards */
  .bharathon-orders-table-wrap {
    overflow: visible !important;
  }

  .bharathon-orders-table,
  .woocommerce-orders-table.bharathon-orders-table,
  .woocommerce-MyAccount-orders.shop_table,
  table.bharathon-orders-table.shop_table_responsive {
    border: 0 !important;
    background: transparent !important;
  }

  .bharathon-orders-table thead,
  .woocommerce-MyAccount-orders.shop_table thead,
  table.bharathon-orders-table.shop_table_responsive thead {
    display: none !important;
  }

  .bharathon-orders-table tbody,
  .woocommerce-MyAccount-orders.shop_table tbody {
    display: grid !important;
    gap: 12px !important;
  }

  .bharathon-orders-table tbody tr,
  .woocommerce-MyAccount-orders.shop_table tbody tr,
  table.bharathon-orders-table.shop_table_responsive tbody tr {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px 12px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 16px !important;
    background: #f7f9fb !important;
    border: 1px solid #e8edf2 !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
  }

  .bharathon-orders-table tbody tr td,
  .bharathon-orders-table tbody tr th,
  .woocommerce-MyAccount-orders.shop_table tbody tr td,
  .woocommerce-MyAccount-orders.shop_table tbody tr th,
  table.bharathon-orders-table.shop_table_responsive tbody tr td,
  table.bharathon-orders-table.shop_table_responsive tbody tr th {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    text-align: left !important;
    background: transparent !important;
    font-size: 14px !important;
  }

  .bharathon-orders-table tbody tr td::before,
  .bharathon-orders-table tbody tr th::before,
  .woocommerce-MyAccount-orders.shop_table tbody tr td::before,
  .woocommerce-MyAccount-orders.shop_table tbody tr th::before,
  table.bharathon-orders-table.shop_table_responsive tbody tr td::before,
  table.bharathon-orders-table.shop_table_responsive tbody tr th::before {
    content: attr(data-title) !important;
    display: block !important;
    float: none !important;
    color: #7a8594 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
  }

  .bharathon-orders-table .woocommerce-orders-table__cell-order-number,
  .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-number {
    grid-column: 1 / -1 !important;
  }

  .bharathon-order-identity {
    width: 100%;
    gap: 14px;
  }

  .bharathon-order-thumbs {
    flex: 0 0 auto;
  }

  .bharathon-order-thumb,
  .bharathon-order-thumb-more {
    width: 56px;
    height: 56px;
    border-radius: 10px;
  }

  .bharathon-order-number {
    font-size: 18px !important;
  }

  .bharathon-orders-table .woocommerce-orders-table__cell-order-status,
  .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-status {
    grid-column: 1 / 2 !important;
  }

  .bharathon-orders-table .woocommerce-orders-table__cell-order-date,
  .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-date {
    grid-column: 2 / 3 !important;
  }

  .bharathon-orders-table .woocommerce-orders-table__cell-order-actions::before,
  .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-actions::before {
    display: none !important;
    content: none !important;
  }

  .bharathon-orders-table .woocommerce-orders-table__cell-order-actions,
  .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-actions {
    grid-column: 1 / -1 !important;
  }

  .bharathon-orders-table .woocommerce-orders-table__cell-order-total,
  .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-total {
    grid-column: 1 / -1 !important;
  }

  .bharathon-order-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .bharathon-order-action,
  .woocommerce-orders-table__cell-order-actions .button,
  .woocommerce-orders-table__cell-order-actions a.button,
  .woocommerce-MyAccount-orders td.woocommerce-orders-table__cell-order-actions a {
    flex: 1 1 calc(50% - 4px) !important;
    min-height: 40px !important;
    justify-content: center !important;
  }

  .bharathon-addresses-grid--two,
  .woocommerce-account .woocommerce-Addresses.col2-set,
  .woocommerce-account .u-columns.woocommerce-Addresses.col2-set {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .bharathon-account-hero .bharathon-account-title,
  .bharathon-account-page h1.bharathon-account-title,
  .bharathon-account-title {
    font-size: clamp(1.05rem, 4.8vw, 1.3rem) !important;
    line-height: 1.28 !important;
  }

  .bharathon-orders-table tbody tr,
  .woocommerce-MyAccount-orders.shop_table tbody tr {
    grid-template-columns: 1fr !important;
  }

  .bharathon-orders-table .woocommerce-orders-table__cell-order-number,
  .bharathon-orders-table .woocommerce-orders-table__cell-order-status,
  .bharathon-orders-table .woocommerce-orders-table__cell-order-date,
  .bharathon-orders-table .woocommerce-orders-table__cell-order-total,
  .bharathon-orders-table .woocommerce-orders-table__cell-order-actions,
  .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-number,
  .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-status,
  .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-date,
  .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-total,
  .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-actions {
    grid-column: 1 / -1 !important;
    align-items: flex-start !important;
  }

  .bharathon-order-action,
  .woocommerce-orders-table__cell-order-actions .button,
  .woocommerce-orders-table__cell-order-actions a.button,
  .woocommerce-MyAccount-orders td.woocommerce-orders-table__cell-order-actions a {
    flex: 1 1 100% !important;
  }
}

/* Scrollable horizontal gallery */
.scroll-gallery {
  display: flex;
  overflow-x: auto;
  height: 100vh;
  flex: 1;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

/* Desktop: clear sticky header so gallery isn’t tucked underneath */
@media (min-width: 1025px) {
  .product-layout-wrapper {
    margin-top: 70px !important;
    height: calc(100vh - 56px);
  }

  .scroll-gallery,
  .gallery-slide {
    height: calc(100vh - 56px);
  }
}

.scroll-gallery::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.scroll-gallery.is-infinite {
  overscroll-behavior-x: none;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.scroll-gallery.is-animating {
  pointer-events: none;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.gallery-slide.is-clone {
  pointer-events: none;
}

@media (min-width: 1025px) {
  /* Allow hover magnifier on visible infinite-loop clones (side slides). */
  .scroll-gallery .gallery-slide.is-clone:not(.gallery-slide--video) {
    pointer-events: auto;
  }
}

.gallery-slide {
  flex: 0 0 33.33vw;
  height: 100vh;
  scroll-snap-align: start;
  position: relative;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-slide.gallery-slide--video {
  background: #000;
  overflow: hidden;
}

.gallery-slide.gallery-slide--video .gallery-video,
.gallery-slide.gallery-slide--video video,
.gallery-slide.gallery-slide--video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
  box-shadow: none;
  background: #000;
}

.gallery-slide.gallery-slide--video video::-webkit-media-controls {
  display: none !important;
}

/* Floating product info box */
.product-info-fixed {
  position: absolute !important;
  right: 40px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 370px !important;
  min-height: 320px !important;
  max-height: 90vh !important;
  background: #fff !important;
  padding: 24px 28px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10) !important;
  border-radius: 18px !important;
  z-index: 10 !important;
  overflow-y: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 5px !important;
}

.product-info-fixed .product_title {
  font-size: 20px !important;
  margin-bottom: 4px !important;
  line-height: 0.5em !important;
  font-weight: 700 !important;
}

.product-info-fixed .bh-selected-colour {
  margin: 0 0 2px !important;
  padding: 0 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  color: #5e6470 !important;
}

.product-info-fixed .bh-selected-colour[hidden] {
  display: none !important;
}

.product-info-fixed .bh-selected-colour__label {
  font-weight: 600 !important;
  color: #334155 !important;
  margin-right: 4px !important;
}

.product-info-fixed .price {
  font-size: 16px !important;
  font-weight: 600 !important;
  margin: 0 0 8px 0 !important;
}

.product-info-fixed .custom-variation-thumbnails {
  margin: 8px 0 10px 0 !important;
  gap: 6px !important;
}

.product-info-fixed .size-swatches {
  margin-bottom: 5px !important;
  gap: 5px !important;
}

.product-info-fixed .variation-row label {
  font-size: 12px !important;
  margin-bottom: 4px !important;
  font-weight: 600 !important;
  color: #222 !important;
}

.product-info-fixed .woocommerce-variation-add-to-cart {
  margin-top: 8px !important;
  gap: 6px !important;
}

/* Genlook try-on — same slot / footprint as former What's My Size button */
.product-info-fixed .wms-size-finder-wrapper {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

.product-info-fixed .bharathon-genlook-try-on-wrapper {
  margin: 0;
  padding: 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.product-info-fixed .bharathon-genlook-try-on-wrapper .genlook-try-on-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 12px 20px !important;
  background: transparent !important;
  color: #111 !important;
  border: none !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  cursor: pointer;
  text-align: left !important;
  transition: background 0.2s ease, color 0.2s ease;
}

.product-info-fixed .bharathon-genlook-try-on-wrapper .genlook-try-on-btn:hover,
.product-info-fixed .bharathon-genlook-try-on-wrapper .genlook-try-on-btn:focus {
  background: #00BEEA !important;
  color: #fff !important;
  opacity: 1 !important;
}

/* Qty / ATC sizes are controlled by the cart-actions row rules below
   so they stay aligned with the wishlist icon on all breakpoints. */

.product-info-fixed .accordion-item {
  margin-top: 4px !important;
}

.product-info-fixed .accordion-toggle {
  font-size: 15px !important;
  padding: 10px 0 !important;
  font-weight: 600 !important;
}

.product-info-fixed .accordion-content {
  font-size: 14px !important;
  line-height: 1.6 !important;
}

/* Custom variation thumbnails */
.custom-variation-thumbnails {
  display: flex;
  gap: 12px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.variation-thumb {
  width: 70px;
  height: 70px;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  background: #f8f8f8;
}

.variation-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.variation-thumb.active {
  border-color: #000;
  transform: translateY(-2px);
}

.variation-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Add to cart section: qty + ATC + wishlist icon inline */
.woocommerce-variation-add-to-cart.variations_button,
.product-info-fixed .bharathon-cart-actions,
.product-info-fixed form.cart .variations_button {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 24px !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
}

/* Razorpay Magic Checkout Buy Now: own row under ATC/wishlist, only when present */
.woocommerce-variation-add-to-cart.variations_button:has(#btn-1cc-pdp),
.product-info-fixed .bharathon-cart-actions:has(#btn-1cc-pdp),
.product-info-fixed form.cart .variations_button:has(#btn-1cc-pdp) {
  flex-wrap: wrap !important;
}

.bharathon-cart-actions #btn-1cc-pdp,
.variations_button #btn-1cc-pdp,
.product-info-fixed form.cart #btn-1cc-pdp {
  flex: 1 0 100% !important;
  order: 20;
  width: 100% !important;
  margin: 4px 0 0 !important;
  height: 48px !important;
  min-height: 48px !important;
  line-height: 48px !important;
  border-radius: 8px !important;
  background: #111 !important;
  color: #fff !important;
  border: 1px solid #111 !important;
}

.woocommerce-variation-add-to-cart.variations_button .quantity,
.product-info-fixed .bharathon-cart-actions .quantity {
  margin: 0 !important;
  flex: 0 0 auto !important;
}

.woocommerce-variation-add-to-cart.variations_button .quantity input.qty,
.product-info-fixed .bharathon-cart-actions .quantity input.qty {
  width: 56px !important;
  height: 48px !important;
  min-height: 48px !important;
  font-size: 15px !important;
  text-align: center !important;
  padding: 0 !important;
  border-radius: 8px !important;
  border: 1px solid #e5e5e5 !important;
  background: #f8f8f8 !important;
  box-sizing: border-box !important;
  line-height: 46px !important;
}

.woocommerce-variation-add-to-cart.variations_button .single_add_to_cart_button,
.product-info-fixed .bharathon-cart-actions .single_add_to_cart_button {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 18px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 48px !important;
  border-radius: 8px !important;
  background: #000 !important;
  color: #fff !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  transition: all 0.3s ease !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.woocommerce-variation-add-to-cart.variations_button .single_add_to_cart_button:hover {
  background: #333 !important;
  transform: translateY(-1px) !important;
}

/* Desktop: remove Divi ETmodules hover arrow on Add to Cart */
@media (min-width: 1025px) {
  .product-info-fixed .single_add_to_cart_button::before,
  .product-info-fixed .single_add_to_cart_button::after,
  .product-info-fixed .single_add_to_cart_button:hover::before,
  .product-info-fixed .single_add_to_cart_button:hover::after,
  .woocommerce-variation-add-to-cart .single_add_to_cart_button::before,
  .woocommerce-variation-add-to-cart .single_add_to_cart_button::after,
  .woocommerce-variation-add-to-cart .single_add_to_cart_button:hover::before,
  .woocommerce-variation-add-to-cart .single_add_to_cart_button:hover::after,
  .product-layout-wrapper .single_add_to_cart_button::before,
  .product-layout-wrapper .single_add_to_cart_button::after,
  .product-layout-wrapper .single_add_to_cart_button:hover::before,
  .product-layout-wrapper .single_add_to_cart_button:hover::after {
    content: none !important;
    display: none !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: inherit !important;
    speak: normal !important;
  }

  .product-info-fixed .single_add_to_cart_button:hover,
  .woocommerce-variation-add-to-cart .single_add_to_cart_button:hover,
  .product-layout-wrapper .single_add_to_cart_button:hover {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}

/* ============================================
   Product page — tablet + mobile layout
   ============================================ */

@media (max-width: 1024px) {
  .product-layout-wrapper {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .product-info-fixed {
    width: 100% !important;
    min-width: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    transform: none !important;
    position: relative !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    max-height: none !important;
  }
}

/* Tablet landscape — gallery left, details right */
@media (min-width: 900px) and (max-width: 1024px) {
  .product-layout-wrapper {
    flex-direction: row;
    align-items: stretch;
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    overflow: hidden;
  }

  .scroll-gallery {
    flex: 0 0 56%;
    width: 56%;
    height: 100%;
    padding: 16px 10px 16px 20px;
    margin: 0;
    gap: 14px;
    background: #f5f5f5;
    align-items: stretch;
  }

  .gallery-slide {
    flex: 0 0 90%;
    height: 100%;
    min-height: 0;
    border-radius: 20px;
    overflow: hidden;
    scroll-snap-align: start;
    background: #eaeaea;
  }

  .gallery-slide img,
  .gallery-slide.gallery-slide--video .gallery-video,
  .gallery-slide.gallery-slide--video video,
  .gallery-slide.gallery-slide--video iframe {
    width: 100%;
    height: 100%;
    min-height: calc(100svh - 32px);
    max-height: calc(100svh - 32px);
    aspect-ratio: unset;
    object-fit: cover;
  }

  .product-info-fixed {
    flex: 1;
    margin: 0 !important;
    padding: 28px 24px 32px !important;
    height: 100%;
    max-height: 100svh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .product-info-fixed .product_title {
    font-size: 22px !important;
    line-height: 1.2 !important;
  }

  .product-info-fixed .price {
    font-size: 18px !important;
  }

  .product-info-fixed .custom-variation-thumbnails {
    margin: 12px 0 16px !important;
  }

  .variation-thumb {
    width: 76px;
    height: 76px;
  }
}

/* Gallery pagination — mobile only */
.gallery-controls {
  display: none;
}

.gallery-arrow {
  display: none !important;
}

/* Desktop hover magnifier */
.gallery-magnifier-lens {
  display: none;
  position: fixed;
  z-index: 100050;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  background-repeat: no-repeat;
  background-color: #fff;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.12s ease;
}

@media (min-width: 1025px) {
  .gallery-magnifier-lens.is-visible {
    display: block;
    opacity: 1;
  }

  .scroll-gallery .gallery-slide:not(.gallery-slide--video):not(.is-clone):not([data-gallery-video]) img {
    cursor: crosshair;
  }

  .scroll-gallery .gallery-slide--video,
  .scroll-gallery .gallery-slide[data-gallery-video],
  .scroll-gallery .gallery-slide--video img,
  .scroll-gallery .gallery-slide--video video,
  .scroll-gallery .gallery-slide--video iframe {
    cursor: default;
  }
}

/* Mobile / tablet in-place pinch zoom */
@media (max-width: 1024px) {
  .scroll-gallery .gallery-slide:not(.gallery-slide--video) {
    overflow: hidden;
    touch-action: pan-x;
  }

  .scroll-gallery .gallery-slide:not(.gallery-slide--video) img {
    transform-origin: center center;
    will-change: transform;
    touch-action: none;
    user-select: none;
    -webkit-user-drag: none;
  }

  .scroll-gallery.is-image-zoomed {
    overflow: hidden;
  }

  .scroll-gallery .gallery-slide.is-pinch-zoomed {
    touch-action: none;
  }
}

/* Legacy lightbox styles kept inert (no longer opened by JS) */
.gallery-zoom-overlay {
  display: none !important;
}

.product-gallery-shell {
  display: contents;
}

@media (max-width: 899px) {
  .product-gallery-shell {
    display: block;
    position: relative;
    width: 100%;
  }

  .gallery-controls:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 16px;
    margin: 0;
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(var(--product-hero-meta, 176px) + 12px);
    z-index: 6;
    box-sizing: border-box;
    pointer-events: none;
  }

  .gallery-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
    margin: 0;
    background: none;
    pointer-events: auto;
  }

  .gallery-dot {
    width: 6px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: none;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .gallery-dot.is-active {
    background: #fff;
    opacity: 1;
  }
}

/* Mobile + tablet portrait — 1080 x 1350 (4:5) gallery with title/price/thumbs overlay */
@media (max-width: 899px) {
  .product-layout-wrapper {
    flex-direction: column;
    --product-slide-width: 100%;
    --product-hero-meta: 176px;
    --product-gallery-ratio-w: 1080;
    --product-gallery-ratio-h: 1350;
    --product-gallery-frame-height: min(
      calc(100vw * var(--product-gallery-ratio-h) / var(--product-gallery-ratio-w)),
      1350px
    );
    --product-gallery-total-height: calc(
      var(--product-gallery-frame-height) + var(--product-hero-meta)
    );
  }

  .scroll-gallery {
    flex: none;
    width: 100%;
    height: var(--product-gallery-total-height);
    min-height: var(--product-gallery-total-height);
    padding: 0;
    margin: 0;
    gap: 0;
    background: #f5f5f5;
    align-items: flex-start;
  }

  .gallery-slide {
    flex: 0 0 var(--product-slide-width);
    width: var(--product-slide-width);
    height: var(--product-gallery-total-height) !important;
    max-height: calc(1350px + var(--product-hero-meta));
    border-radius: 0;
    overflow: hidden;
    scroll-snap-align: start;
    background: #eaeaea;
  }

  .gallery-slide img {
    width: 100%;
    height: var(--product-gallery-frame-height) !important;
    min-height: var(--product-gallery-frame-height) !important;
    object-fit: cover;
    display: block;
  }

  .gallery-slide.gallery-slide--video {
    position: relative;
    display: block;
    background: linear-gradient(
      to bottom,
      #000 0,
      #000 var(--product-gallery-frame-height),
      #f5f5f5 var(--product-gallery-frame-height),
      #f5f5f5 100%
    );
  }

  .gallery-slide.gallery-slide--video .gallery-video,
  .gallery-slide.gallery-slide--video video,
  .gallery-slide.gallery-slide--video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--product-gallery-frame-height) !important;
    min-height: 0 !important;
    max-height: var(--product-gallery-frame-height) !important;
    border: 0;
    display: block;
    object-fit: contain;
    box-shadow: none;
    background: transparent;
    pointer-events: none;
  }

  .product-info-fixed {
    margin-top: calc(-1 * var(--product-hero-meta)) !important;
    padding: 16px 20px 24px !important;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.88) 32px,
      #fff 64px
    ) !important;
    z-index: 2;
  }

  .product-info-fixed .custom-variation-thumbnails {
    margin: 10px 0 4px !important;
  }

  .product-info-fixed .variations {
    margin-top: 18px;
    padding-top: 4px;
    background: #fff;
  }
}

@media (min-width: 768px) and (max-width: 899px) {
  .product-layout-wrapper {
    --product-slide-width: 100%;
    --product-hero-meta: 196px;
  }

  .scroll-gallery {
    padding: 0;
    gap: 0;
  }

  .gallery-slide {
    border-radius: 0;
  }

  .product-info-fixed {
    padding: 20px 28px 28px !important;
  }

  .product-info-fixed .product_title {
    font-size: 22px !important;
  }

  .variation-thumb {
    width: 76px;
    height: 76px;
  }
}

@media (max-width: 899px) {
  /* ===== TITLE + PRICE SAME ROW ===== */
  .product-info-fixed {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    row-gap: 14px !important;
    align-items: start !important;
  }

  .product-info-fixed .product_title {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
  }

  .product-info-fixed .price {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    margin: 0 !important;
    text-align: right !important;
    white-space: nowrap !important;
  }

  .product-info-fixed .bh-selected-colour {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    margin: -6px 0 0 !important;
    font-size: 12px !important;
  }

  /* Everything else full width below */
  .product-info-fixed > *:not(.product_title):not(.price) {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 768px) {
  .product-info-fixed .product_title {
    font-size: 18px !important;
  }

  /* Make size section vertical */
  .variation-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    position: relative !important;
  }

  /* Swatches row */
  .variation-row .size-swatches {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  /* Position "What's My Size?" beside swatches */
  .variation-row + .accordion-item {
    position: absolute !important;
    right: 0 !important;
    top: 38px !important;
    border: none !important;
    margin: 0 !important;
  }

  .variation-row + .accordion-item .accordion-toggle {
    padding: 0 !important;
    font-size: 13px !important;
    text-decoration: underline !important;
    width: auto !important;
  }

  /* ===== FIX PRODUCT INFO TABS ICON ALIGNMENT ===== */
  .accordion-toggle {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .accordion-toggle::after {
    margin-left: auto !important;
  }
}



/* Wishlist icon beside Add to Cart (TI WooCommerce Wishlist).
   Keep compare plugins hidden; show only the heart in the ATC row. */
.product-info-fixed .wpr-wishlist-add,
.product-info-fixed .wpr-compare-add,
.product-info-fixed .woosc-btn,
.product-info-fixed .woosw-btn,
.product-info-fixed .yith-wcwl-add-to-wishlist,
.product-info-fixed a.compare,
.product-info-fixed .compare.button,
.product-info-fixed .eael-wc-compare,
.product-info-fixed .basel-compare-btn,
.product-info-fixed .wd-compare-btn,
.product-info-fixed .wd-wishlist-btn {
  display: none !important;
}

/* Hide TI wishlist everywhere on the product panel except the ATC row.
   (Plugin "before" position otherwise puts the full link above Virtual try-on.) */
.product-info-fixed .tinv-wraper,
.product-info-fixed .tinv-wishlist {
  display: none !important;
}

.product-info-fixed .variations_button > .tinv-wraper,
.product-info-fixed .variations_button > .tinv-wishlist,
.product-info-fixed .bharathon-cart-actions > .tinv-wraper,
.product-info-fixed .bharathon-cart-actions > .tinv-wishlist {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 48px !important;
  width: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  position: relative !important;
  visibility: visible !important;
  overflow: visible !important;
  line-height: 0 !important;
  font-size: 0 !important;
  vertical-align: middle !important;
}

/* Override TI's no-txt 18×18 + absolute -10px offset (breaks in a 48px box). */
.product-info-fixed .variations_button .tinvwl_add_to_wishlist_button,
.product-info-fixed .bharathon-cart-actions .tinvwl_add_to_wishlist_button,
.product-info-fixed .variations_button .tinvwl_add_to_wishlist_button.no-txt,
.product-info-fixed .bharathon-cart-actions .tinvwl_add_to_wishlist_button.no-txt,
.product-info-fixed .variations_button .tinvwl_add_to_wishlist_button.tinvwl-icon-heart.no-txt,
.product-info-fixed .bharathon-cart-actions .tinvwl_add_to_wishlist_button.tinvwl-icon-heart.no-txt,
.product-info-fixed .variations_button .tinvwl_add_to_wishlist_button.tinvwl-icon-heart-plus.no-txt,
.product-info-fixed .bharathon-cart-actions .tinvwl_add_to_wishlist_button.tinvwl-icon-heart-plus.no-txt,
.product-info-fixed .variations_button.tinvwl-after-add-to-cart .tinvwl_add_to_wishlist_button,
.product-info-fixed .tinv-wishlist.tinvwl-after-add-to-cart .tinvwl_add_to_wishlist_button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #111 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  line-height: 48px !important;
  font-size: 0 !important;
  visibility: visible !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  float: none !important;
  position: relative !important;
  vertical-align: middle !important;
  opacity: 1 !important;
}

.product-info-fixed .variations_button .tinvwl_add_to_wishlist_button:hover,
.product-info-fixed .bharathon-cart-actions .tinvwl_add_to_wishlist_button:hover,
.product-info-fixed .variations_button .tinvwl_add_to_wishlist_button.tinvwl-product-in-list,
.product-info-fixed .bharathon-cart-actions .tinvwl_add_to_wishlist_button.tinvwl-product-in-list {
  border-color: #00beea !important;
  color: #00beea !important;
  background: #fff !important;
}

.product-info-fixed .variations_button .tinvwl_add_to_wishlist_button::before,
.product-info-fixed .bharathon-cart-actions .tinvwl_add_to_wishlist_button::before,
.product-info-fixed .variations_button .tinvwl_add_to_wishlist_button.no-txt::before,
.product-info-fixed .bharathon-cart-actions .tinvwl_add_to_wishlist_button.no-txt::before,
.product-info-fixed .variations_button .tinvwl_add_to_wishlist_button.tinvwl-icon-heart.no-txt::before,
.product-info-fixed .bharathon-cart-actions .tinvwl_add_to_wishlist_button.tinvwl-icon-heart.no-txt::before,
.product-info-fixed .variations_button .tinvwl_add_to_wishlist_button.tinvwl-icon-heart-plus.no-txt::before,
.product-info-fixed .bharathon-cart-actions .tinvwl_add_to_wishlist_button.tinvwl-icon-heart-plus.no-txt::before,
.product-info-fixed .variations_button .tinvwl_add_to_wishlist_button.icon-black::before,
.product-info-fixed .bharathon-cart-actions .tinvwl_add_to_wishlist_button.icon-black::before,
.product-info-fixed .variations_button .tinvwl_add_to_wishlist_button.icon-white::before,
.product-info-fixed .bharathon-cart-actions .tinvwl_add_to_wishlist_button.icon-white::before {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translate(-50%, -50%) !important;
  font-size: 22px !important;
  line-height: 1 !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
  vertical-align: middle !important;
  color: inherit !important;
  speak: none !important;
}

.product-info-fixed .variations_button .tinv-wishlist-clear,
.product-info-fixed .bharathon-cart-actions .tinv-wishlist-clear {
  display: none !important;
}

.product-info-fixed .variations_button .tinvwl-tooltip,
.product-info-fixed .bharathon-cart-actions .tinvwl-tooltip,
.product-info-fixed .variations_button .tinvwl_add_to_wishlist-text,
.product-info-fixed .bharathon-cart-actions .tinvwl_add_to_wishlist-text,
.product-info-fixed .variations_button .tinvwl_remove_from_wishlist-text,
.product-info-fixed .bharathon-cart-actions .tinvwl_remove_from_wishlist-text,
.product-info-fixed .variations_button .tinvwl_already_on_wishlist-text,
.product-info-fixed .bharathon-cart-actions .tinvwl_already_on_wishlist-text,
.product-info-fixed .variations_button .tinvwl_add_to_wishlist_button > span,
.product-info-fixed .bharathon-cart-actions .tinvwl_add_to_wishlist_button > span,
.product-info-fixed .variations_button .tinvwl_add_to_wishlist_button > img,
.product-info-fixed .bharathon-cart-actions .tinvwl_add_to_wishlist_button > img {
  display: none !important;
}

/* Wishlist page shell */
.bharathon-wishlist-page {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px clamp(20px, 4vw, 64px) 80px;
  box-sizing: border-box;
}

.bharathon-wishlist-inner {
  width: 100%;
}

@media (max-width: 640px) {
  .woocommerce-variation-add-to-cart.variations_button,
  .product-info-fixed .bharathon-cart-actions {
    gap: 8px !important;
  }

  .woocommerce-variation-add-to-cart.variations_button .quantity input.qty,
  .product-info-fixed .bharathon-cart-actions .quantity input.qty {
    width: 48px !important;
    height: 44px !important;
    font-size: 14px !important;
  }

  .woocommerce-variation-add-to-cart.variations_button .single_add_to_cart_button,
  .product-info-fixed .bharathon-cart-actions .single_add_to_cart_button {
    height: 44px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
    line-height: 44px !important;
  }

  .product-info-fixed .variations_button > .tinv-wraper,
  .product-info-fixed .bharathon-cart-actions > .tinv-wraper,
  .product-info-fixed .variations_button .tinvwl_add_to_wishlist_button,
  .product-info-fixed .bharathon-cart-actions .tinvwl_add_to_wishlist_button,
  .product-info-fixed .variations_button .tinvwl_add_to_wishlist_button.no-txt,
  .product-info-fixed .bharathon-cart-actions .tinvwl_add_to_wishlist_button.no-txt {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    flex-basis: 44px !important;
    line-height: 44px !important;
    font-size: 0 !important;
  }

  .product-info-fixed .variations_button .tinvwl_add_to_wishlist_button::before,
  .product-info-fixed .bharathon-cart-actions .tinvwl_add_to_wishlist_button::before {
    font-size: 20px !important;
  }
}

/* Accordion styling */
.accordion-item {
  margin-top: 8px;
  border-bottom: 1px solid #eee;
}

.accordion-toggle {
  background: none;
  border: none;
  font-weight: 600;
  font-size: 14px;
  padding: 16px 0;
  cursor: pointer;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #333;
}

.accordion-toggle::after {
  content: '+';
  font-size: 20px;
  color: #000;
}

.accordion-item.active .accordion-toggle::after {
  content: '–';
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

.accordion-content[hidden] {
  display: block !important;
  max-height: 0 !important;
  padding-bottom: 0 !important;
  overflow: hidden !important;
  visibility: hidden;
  pointer-events: none;
}

.accordion-item.active .accordion-content {
  padding-bottom: 16px;
  visibility: visible;
  pointer-events: auto;
}

.accordion-content-inner {
  padding-top: 2px;
}

/* Rich text inside product info toggles */
.accordion-content-inner > *:first-child {
  margin-top: 0;
}

.accordion-content-inner > *:last-child {
  margin-bottom: 0;
}

.accordion-content-inner p {
  margin: 0 0 0.75em;
}

.accordion-content-inner ul,
.accordion-content-inner ol {
  margin: 0 0 0.85em;
  padding-left: 1.35em;
}

.accordion-content-inner ul {
  list-style: disc;
}

.accordion-content-inner ol {
  list-style: decimal;
}

.accordion-content-inner li {
  margin: 0.3em 0;
  padding-left: 0.15em;
}

.accordion-content-inner li > ul,
.accordion-content-inner li > ol {
  margin: 0.35em 0 0.35em;
}

.accordion-content-inner strong,
.accordion-content-inner b {
  font-weight: 700;
  color: #222;
}

.accordion-content-inner em,
.accordion-content-inner i {
  font-style: italic;
}

.accordion-content-inner a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.accordion-content-inner blockquote {
  margin: 0 0 0.85em;
  padding-left: 12px;
  border-left: 3px solid #ddd;
  color: #555;
}

.product-info-fixed .accordion-content-inner {
  font-size: 14px;
  line-height: 1.65;
}

/* Hide default variation selects if using swatches */
.variations select {
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* Enhanced variation price display */
.woocommerce-variation-price {
  margin: 15px 0;
  font-size: 1.2em;
  font-weight: 600;
}

/* Variation availability — hide standalone stock text; OOS shows on ATC button instead */
.product-info-fixed .woocommerce-variation-availability,
.product-info-fixed .woocommerce-variation .stock,
.product-layout-wrapper .product-info-fixed p.stock {
  display: none !important;
}

.product-info-fixed .single_add_to_cart_button.is-out-of-stock,
.product-info-fixed .single_add_to_cart_button.disabled.is-out-of-stock {
  background: #9ca3af !important;
  color: #fff !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
  pointer-events: none;
}

/* Variation availability (legacy colour rules kept for other pages) */
.woocommerce-variation-availability {
  margin: 10px 0;
  font-size: 0.9em;
}

.stock.out-of-stock {
  color: #e2401c;
}

.stock.in-stock {
  color: #0f834d;
}

.scroll-gallery.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-gallery.loading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 1;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Size Variation Swatches */
.variation-row {
  margin: 20px 0;
}

.variation-row label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

/* Size Swatch Styles */
.product-info-fixed .size-swatches {
  display: flex !important;
  flex-direction: row !important;
  gap: 12px !important;
  margin-bottom: 5px !important;
  justify-content: flex-start !important;
  align-items: center !important;
}
.product-info-fixed .size-swatches .size-swatch {
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-transform: uppercase !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  background: #fff !important;
  color: #222 !important;
  border: 2px solid #e0e0e0 !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03) !important;
  user-select: none !important;
}
.product-info-fixed .size-swatches .size-swatch:hover {
  border-color: #000 !important;
  background: #f7f7f7 !important;
}
.product-info-fixed .size-swatches .size-swatch.selected {
  border-color: #000 !important;
  background: #000 !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10) !important;
  transform: translateY(-2px) !important;
}

/* Update quantity input styles to match size swatches */
.quantity input.qty {
  width: 70px !important;
  height: 44px !important;
  font-size: 16px !important;
  text-align: center !important;
  padding: 0 !important;
  border-radius: 8px !important;
  border: 2px solid #e5e5e5 !important;
  background: #fff !important;
}

/* Update add to cart button styles */
.single_add_to_cart_button {
  height: 44px !important;
  padding: 0 32px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  background: #000 !important;
  color: #fff !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.single_add_to_cart_button:hover {
  background: #333 !important;
  transform: translateY(-2px) !important;
}

/* Add to cart section layout */
.woocommerce-variation-add-to-cart {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 20px !important;
  flex-wrap: nowrap !important;
}

/* Hide variation price if you want to keep the main price only */
.woocommerce-variation-price {
  display: none;
}

/* Why We Made This Section */
.why-we-made-this-section {
padding: 80px 0;
background: #f8f9fa;
margin-top: 60px;
}

.why-we-made-this-content {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
display: flex;
align-items: center;
gap: 60px;
}

.why-we-made-this-text {
flex: 1;
max-width: 400px;
}

.why-we-made-this-title {
font-size: 48px;
font-weight: 700;
color: #000;
margin: 0 0 20px 0;
line-height: 1.1;
}

.why-we-made-this-separator {
width: 60px;
height: 3px;
background: #dc3545;
margin: 0 0 30px 0;
}

.why-we-made-this-description {
font-size: 18px;
line-height: 1.6;
color: #333;
margin: 0;
}

.why-we-made-this-images {
flex: 2;
display: flex;
gap: 20px;
}

.why-we-made-image {
flex: 1;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.why-we-made-image img {
width: 100%;
height: 400px;
object-fit: cover;
}

/* Outfit Inspiration Section */
.outfit-inspiration-section {
padding: 80px 0;
background: #fff;
max-width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}

.outfit-inspiration-title {
text-align: center;
font-size: 36px;
font-weight: 600;
color: #000;
margin: 0 0 50px 0;
}

.outfit-inspiration-carousel {
max-width: 700px;
margin: 0 auto;
padding: 0 20px;
position: relative;
}

.outfit-nav-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: rgba(255, 255, 255, 0.9);
color: #333;
border: none;
font-size: 20px;
width: 50px;
height: 50px;
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
z-index: 10;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.outfit-nav-btn:hover {
background: rgba(255, 255, 255, 1);
transform: translateY(-50%) scale(1.1);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.outfit-nav-prev {
left: -25px;
}

.outfit-nav-next {
right: -25px;
}

.outfit-inspiration-content {
display: flex;
gap: 40px;
align-items: flex-start;
}

.current-item {
flex: 1;
max-width: 400px;
}

.current-item-image {
border-radius: 8px;
overflow: hidden;
margin-bottom: 20px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.current-item-image img {
width: 100%;
height: 500px;
object-fit: cover;
}

.current-item-info {
text-align: center;
}

.current-item-title {
font-size: 24px;
font-weight: 600;
color: #000;
margin: 0 0 10px 0;
}

.current-item-price {
font-size: 20px;
font-weight: 600;
color: #0FBCE7;
}

.outfit-suggestions {
flex: 1;
display: flex;
flex-direction: column;
gap: 20px;
}

.outfit-suggestion-item {
display: flex;
align-items: center;
padding: 15px;
background: #f8f9fa;
border-radius: 8px;
transition: all 0.3s ease;
border: 1px solid #e9ecef;
}

.outfit-suggestion-item:hover {
background: #e9ecef;
transform: translateX(5px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.suggestion-link {
display: flex;
align-items: center;
gap: 15px;
text-decoration: none;
color: inherit;
width: 100%;
}

.suggestion-link:hover {
text-decoration: none;
color: inherit;
}

.suggestion-image {
flex: 0 0 80px;
width: 80px;
height: 80px;
border-radius: 6px;
overflow: hidden;
background: #fff;
border: 1px solid #dee2e6;
}

.suggestion-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}

.suggestion-link:hover .suggestion-image img {
transform: scale(1.05);
}

.suggestion-info {
flex: 1;
min-width: 0;
}

.suggestion-title {
font-size: 16px;
font-weight: 600;
color: #000;
margin: 0 0 5px 0;
line-height: 1.3;
transition: color 0.3s ease;
}

.suggestion-link:hover .suggestion-title {
color: #0FBCE7;
}

.suggestion-price {
font-size: 14px;
font-weight: 600;
color: #0FBCE7;
}

.outfit-suggestion-item.is-active {
background: #eef2f6;
border-color: #cfd8e3;
}

.no-suggestions {
text-align: center;
padding: 30px;
color: #6c757d;
font-style: italic;
}

.no-suggestions p {
margin: 0;
font-size: 14px;
}

/* Outfit Inspiration - tablet + mobile optimization (does not affect desktop > 1024px) */
@media (max-width: 1024px) {
  .outfit-inspiration-section {
    padding: 56px 0;
  }

  .outfit-inspiration-title {
    font-size: 28px;
    margin-bottom: 28px;
    padding: 0 16px;
  }

  .outfit-inspiration-carousel {
    max-width: 100%;
    width: 100%;
    padding: 0 16px;
  }

  .outfit-inspiration-content {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }

  .current-item {
    max-width: none;
    width: 100%;
  }

  .current-item-image img {
    height: auto;
    max-height: 520px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }

  /* Suggestions become a compact grid on tablet */
  .outfit-suggestions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .outfit-suggestion-item {
    padding: 12px;
  }

  .suggestion-image {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
  }

  .suggestion-title {
    font-size: 14px;
  }

  .suggestion-price {
    font-size: 13px;
  }

  /* Keep nav buttons inside bounds so they don't clip on smaller widths */
  .outfit-nav-btn {
    width: 42px;
    height: 42px;
    top: calc((100vw - 32px) * 5 / 8);
    transform: translateY(-50%);
  }

  .outfit-nav-btn:hover {
    transform: translateY(-50%) scale(1.05);
  }

  .outfit-nav-prev { left: 10px; }
  .outfit-nav-next { right: 10px; }
}

@media (max-width: 768px) {
  /* On phone, suggestions list becomes single column for readability */
  .outfit-suggestions {
    grid-template-columns: 1fr;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
.why-we-made-this-content {
  flex-direction: column;
  gap: 40px;
}

.why-we-made-this-text {
  max-width: 100%;
  text-align: center;
}

.why-we-made-this-title {
  font-size: 36px;
}

.why-we-made-this-separator {
  margin-left: auto;
  margin-right: auto;
}

.why-we-made-this-images {
  flex-direction: column;
}

.why-we-made-image img {
  height: 300px;
}

.outfit-inspiration-content {
  flex-direction: column;
  gap: 30px;
}

.current-item {
  max-width: 100%;
}

.outfit-inspiration-section {
  overflow-x: hidden;
}

.outfit-nav-btn {
  width: 38px;
  height: 38px;
  font-size: 15px;
  top: calc((100vw - 32px) * 5 / 8);
  transform: translateY(-50%);
}

.outfit-nav-btn:hover {
  transform: translateY(-50%) scale(1.05);
}

.outfit-nav-prev {
  left: 10px;
}

.outfit-nav-next {
  right: 10px;
}
}

/* Reviews Section */
.reviews-section {
margin: 60px 0;
padding: 40px 0;
border-top: 1px solid #e9ecef;
}

.reviews-header {
display: flex;
justify-content: space-between;
align-items: center;
margin: 0 50px;
}

.reviews-title h2 {
font-size: 28px;
font-weight: 700;
margin: 0 0 10px 0;
color: #000;
}

.overall-rating {
display: flex;
align-items: center;
gap: 10px;
}

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

.overall-rating .star {
font-size: 18px;
color: #ddd;
}

.overall-rating .star.filled {
color: #ffc107;
}

.rating-number {
font-size: 18px;
font-weight: 600;
color: #000;
}

.review-count {
font-size: 16px;
color: #6c757d;
}

.reviews-sort .sort-select {
padding: 8px 12px;
border: 1px solid #ddd;
border-radius: 6px;
font-size: 14px;
background: #fff;
cursor: pointer;
}

.reviews-container {
display: grid;
grid-template-columns: 300px 1fr;
gap: 40px;
margin: 0 50px;
}

/* Filters Sidebar */
.reviews-filters {
background: #f8f9fa;
padding: 25px;
border-radius: 8px;
height: fit-content;
position: sticky;
top: 20px;
}

.filter-group {
margin-bottom: 25px;
}

.filter-group:last-child {
margin-bottom: 0;
}

.filter-group h4 {
font-size: 16px;
font-weight: 600;
margin: 0 0 12px 0;
color: #000;
}

/* Fit Slider */
.fit-slider {
display: flex;
background: #fff;
border-radius: 6px;
padding: 4px;
border: 1px solid #ddd;
}

.fit-option {
flex: 1;
text-align: center;
padding: 8px 12px;
font-size: 14px;
cursor: pointer;
border-radius: 4px;
transition: all 0.3s ease;
}

.fit-option.active {
background: #007bff;
color: #fff;
}

.fit-option:hover:not(.active) {
background: #e9ecef;
}

/* Search Reviews */
.search-reviews {
position: relative;
}

.review-search {
width: 100%;
padding: 10px 35px 10px 12px;
border: 1px solid #ddd;
border-radius: 6px;
font-size: 14px;
}

.search-icon {
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
font-size: 16px;
color: #6c757d;
}

/* Star Filters */
.star-filters {
display: flex;
flex-direction: column;
gap: 8px;
}

.star-filter {
display: flex;
align-items: center;
gap: 10px;
cursor: pointer;
padding: 5px 0;
}

.star-filter input[type="checkbox"] {
margin: 0;
}

.star-filter .stars {
font-size: 14px;
color: #ffc107;
}

.star-filter .count {
font-size: 14px;
color: #6c757d;
}

/* Checkbox Filters */
.checkbox-filter {
display: flex;
align-items: center;
gap: 8px;
cursor: pointer;
font-size: 14px;
}

.checkbox-filter input[type="checkbox"] {
margin: 0;
}

/* Size Filters */
.size-filters {
display: flex;
flex-wrap: wrap;
gap: 8px;
}

.size-btn {
padding: 6px 12px;
border: 1px solid #ddd;
background: #fff;
border-radius: 4px;
font-size: 12px;
cursor: pointer;
transition: all 0.3s ease;
}

.size-btn:hover,
.size-btn.active {
background: #007bff;
color: #fff;
border-color: #007bff;
}

/* Reviews Content */
.reviews-content {
min-height: 400px;
}

.reviews-count {
font-size: 14px;
color: #6c757d;
margin-bottom: 20px;
}

.reviews-list {
display: flex;
flex-direction: column;
gap: 25px;
}

/* Review Item */
.review-item {
background: #fff;
border: 1px solid #e9ecef;
border-radius: 8px;
padding: 25px;
transition: box-shadow 0.3s ease;
}

.review-item:hover {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.review-header {
display: flex;
align-items: center;
gap: 15px;
margin-bottom: 15px;
}

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

.review-stars .star {
font-size: 16px;
color: #ddd;
}

.review-stars .star.filled {
color: #ffc107;
}

.review-title {
font-size: 18px;
font-weight: 600;
color: #000;
margin: 0;
}

.review-text {
font-size: 14px;
line-height: 1.6;
color: #333;
margin-bottom: 15px;
}

.review-text p {
margin: 0 0 10px 0;
}

.review-text p:last-child {
margin-bottom: 0;
}

/* Review Images */
.review-images {
display: flex;
gap: 10px;
margin-bottom: 15px;
flex-wrap: wrap;
}

.review-image {
width: 80px;
height: 80px;
border-radius: 6px;
overflow: hidden;
border: 1px solid #e9ecef;
}

.review-image img {
width: 100%;
height: 100%;
object-fit: cover;
}

/* Review Meta */
.review-meta {
margin-bottom: 15px;
}

.reviewer-info {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 8px;
flex-wrap: wrap;
}

.reviewer-name {
font-weight: 600;
color: #000;
font-size: 14px;
}

.verified-badge {
background: #28a745;
color: #fff;
padding: 2px 8px;
border-radius: 12px;
font-size: 11px;
font-weight: 500;
}

.review-date {
color: #6c757d;
font-size: 12px;
}

.fit-details {
display: flex;
gap: 15px;
font-size: 12px;
color: #6c757d;
flex-wrap: wrap;
}

.fit-type,
.size-purchased,
.usual-size {
background: #f8f9fa;
padding: 4px 8px;
border-radius: 4px;
}

/* Review Actions */
.review-actions {
display: flex;
align-items: center;
gap: 15px;
padding-top: 15px;
border-top: 1px solid #e9ecef;
}

.action-btn {
display: flex;
align-items: center;
gap: 5px;
background: none;
border: none;
padding: 8px 12px;
border-radius: 6px;
font-size: 14px;
cursor: pointer;
transition: all 0.3s ease;
color: #6c757d;
}

.action-btn:hover {
background: #f8f9fa;
color: #000;
}

.like-btn.active {
color: #28a745;
}

.dislike-btn.active {
color: #dc3545;
}

.action-btn .icon {
font-size: 16px;
}

.action-btn .count {
font-size: 12px;
font-weight: 500;
}

/* No Reviews */
.no-reviews {
text-align: center;
padding: 60px 20px;
color: #6c757d;
}

.no-reviews p {
font-size: 16px;
margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
.reviews-container {
  grid-template-columns: 1fr;
  gap: 20px;
}

.reviews-filters {
  position: static;
  order: 2;
}

.reviews-content {
  order: 1;
}

.reviews-header {
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.fit-slider {
  flex-direction: column;
}

.size-filters {
  justify-content: center;
}

.review-item {
  padding: 20px;
}

.review-header {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.review-actions {
  flex-wrap: wrap;
}
}

/* Cart bag icon and right-side mini cart drawer
   Visibility is controlled by .has-items in cart-bag-animation.css — do not force display here. */
.cart-bag-icon.cart-bag-link {
position: relative;
align-items: center;
justify-content: center;
margin-left: 16px;
color: #000;
text-decoration: none;
}

.account-user-icon.is-logged-in {
position: relative;
align-items: center;
justify-content: center;
color: #000;
text-decoration: none;
}

.account-user-icon .account-user-glyph {
display: inline-flex;
width: 38px;
height: 38px;
margin-right: 20px;
}

.bharathon-header-icons .cart-bag-icon.cart-bag-link {
margin-left: 0;
}

.cart-bag-icon .bag-icon {
display: inline-flex;
width: 60px;
height: 60px;
}

@media (max-width: 768px) {
    .cart-bag-icon .bag-icon {
display: inline-flex;
width: 36px;
height: 36px;
}

    .account-user-icon .account-user-glyph {
        width: 22px;
        height: 22px;
        margin-right: 8px;
    }
}

.cart-bag-icon .bag-count {
position: absolute;
top: -6px;
right: -10px;
min-width: 18px;
height: 18px;
padding: 0 4px;
border-radius: 999px;
background: #000;
color: #fff;
font-size: 11px;
line-height: 18px;
text-align: center;
font-weight: 600;
}

.cart-bag-icon.adding-product {
animation: cart-bag-pop 0.6s ease;
}

@keyframes cart-bag-pop {
0% { transform: scale(1); }
30% { transform: scale(1.2); }
60% { transform: scale(0.95); }
100% { transform: scale(1); }
}

.cart-mini-panel {
position: fixed;
inset: 0;
z-index: 9999;
pointer-events: none;
opacity: 0;
transition: opacity 0.25s ease;
}

.cart-mini-panel.is-open {
opacity: 1;
pointer-events: auto;
}

.cart-mini-overlay {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.35);
}

.cart-mini-content {
position: absolute;
top: 0;
right: 0;
width: 360px;
max-width: 100%;
height: 100%;
background: #fff;
box-shadow: -12px 0 30px rgba(0, 0, 0, 0.12);
transform: translateX(100%);
transition: transform 0.3s ease;
display: flex;
flex-direction: column;
}

.cart-mini-panel.is-open .cart-mini-content {
transform: translateX(0);
}

.cart-mini-title {
padding: 20px 24px 10px;
margin: 0;
font-size: 18px;
font-weight: 600;
}

.cart-mini-close {
position: absolute;
top: 14px;
right: 14px;
border: none;
background: transparent;
cursor: pointer;
font-size: 22px;
line-height: 1;
}

.cart-mini-body {
flex: 1;
overflow-y: auto;
padding: 10px 24px 20px;
}

.cart-mini-loader,
.cart-mini-empty,
.cart-mini-error {
font-size: 14px;
color: #555;
}

.cart-mini-footer {
padding: 16px 24px 20px;
border-top: 1px solid #eee;
display: flex;
flex-direction: column;
gap: 10px;
}

.cart-mini-footer a {
display: inline-flex;
align-items: center;
justify-content: center;
height: 42px;
border-radius: 999px;
font-size: 14px;
font-weight: 600;
text-decoration: none;
transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cart-mini-view-cart {
background: #f4f4f4;
color: #000;
}

.cart-mini-view-cart:hover {
background: #e4e4e4;
transform: translateY(-1px);
}

.cart-mini-checkout {
background: #000;
color: #fff !important;
}

.cart-mini-checkout:hover {
background: #333;
transform: translateY(-1px);
}

/* Razorpay Magic Checkout CTA — storefront style with pay method icons */
#cart-mini-panel .bharathon-magic-checkout-wrap {
  display: block;
  width: 100%;
}

#cart-mini-panel .bharathon-magic-checkout-btn,
#cart-mini-panel #btn-1cc-mini-cart.bharathon-magic-checkout-btn {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 54px;
  margin: 0;
  padding: 12px 16px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #0b5fff !important; /* Razorpay blue used on Magic Checkout CTAs */
  color: #fff !important;
  box-shadow: 0 1px 2px rgba(11, 95, 255, 0.25);
  cursor: pointer;
  text-align: left;
  line-height: 1.2 !important;
  font-weight: 600;
  position: relative;
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Decorative chips/labels must not steal taps — whole blue button is one hit target */
#cart-mini-panel .bharathon-magic-checkout-btn *,
#cart-mini-panel #btn-1cc-mini-cart.bharathon-magic-checkout-btn * {
  pointer-events: none !important;
}

#cart-mini-panel .bharathon-magic-checkout-btn:hover,
#cart-mini-panel #btn-1cc-mini-cart.bharathon-magic-checkout-btn:hover {
  background: #094ad1 !important;
}

#cart-mini-panel .bharathon-magic-checkout-btn.disabled,
#cart-mini-panel .bharathon-magic-checkout-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#cart-mini-panel .bharathon-magic-checkout-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

#cart-mini-panel .bharathon-magic-checkout-label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}

#cart-mini-panel .bharathon-magic-checkout-methods {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
}

#cart-mini-panel .bharathon-pay-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 16px;
  padding: 0 4px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #111;
  background: transparent;
}

#cart-mini-panel .bharathon-pay-upi {
  color: #097939;
}

#cart-mini-panel .bharathon-pay-rupay {
  color: #0B4F9C;
}

#cart-mini-panel .bharathon-pay-chip svg {
  display: block;
}

#cart-mini-panel .bharathon-magic-checkout-sub {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

body.cart-mini-open {
overflow: hidden;
}

/* Hide WooCommerce default mini-cart buttons inside our custom drawer (avoid duplicates) */
#cart-mini-panel .woocommerce-mini-cart__buttons,
#cart-mini-panel .cart-mini-items .woocommerce-mini-cart__buttons,
#cart-mini-panel .cart-mini-items #btn-1cc-mini-cart,
#cart-mini-panel .cart-mini-items .button.checkout,
#cart-mini-panel .cart-mini-items a.checkout,
#cart-mini-panel .cart-mini-items a.wc-forward,
#cart-mini-panel .cart-mini-items button.checkout {
  display: none !important;
}

/* Mini cart product images: prevent cropping */
#cart-mini-panel .woocommerce-mini-cart__product-image,
#cart-mini-panel a.woocommerce-mini-cart__product-image {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  position: static !important;
}

#cart-mini-panel .woocommerce-mini-cart-item img,
#cart-mini-panel .mini_cart_item img,
#cart-mini-panel .woocommerce-mini-cart__product-image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: min(320px, 45vh) !important;
  object-fit: contain !important;
  object-position: center top !important;
  position: static !important;
  top: auto !important;
  transform: none !important;
}

/* Extra safety: the uncropped image we inject via PHP */
#cart-mini-panel img.bharathon-mini-cart-img {
  width: 100% !important;
  height: auto !important;
  max-height: min(360px, 50vh) !important;
  object-fit: contain !important;
  object-position: center top !important;
}

/* Added To Bag popup - single product page (fixed overlay, does not affect layout) */
#single-product-added-popup.added-to-bag-notice {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  background: #222;
  color: #fff;
  padding: 14px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  align-items: center;
  gap: 12px;
  max-width: 90vw;
}
#single-product-added-popup.added-to-bag-notice.show {
  display: flex;
}
.added-to-bag-notice__img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
}
.added-to-bag-notice__content { flex: 1; }
.added-to-bag-notice__title { margin: 0 0 4px 0; font-size: 14px; }
.added-to-bag-notice__details { margin: 0; font-size: 13px; opacity: 0.9; }
.added-to-bag-notice__check { color: #4ade80; font-size: 18px; font-weight: bold; }
@media (max-width: 768px) {
  #single-product-added-popup.added-to-bag-notice {
    bottom: max(24px, env(safe-area-inset-bottom));
  }
}

/* Hide all WooCommerce top notices on single product pages (we use our own bottom popup instead) */
.single-product .woocommerce-message,
.single-product .woocommerce-notices-wrapper .woocommerce-message,
.single-product .woocommerce-NoticeGroup .woocommerce-message,
.single-product .woocommerce-info,
.single-product .woocommerce-notices-wrapper .woocommerce-info,
.single-product .woocommerce-NoticeGroup .woocommerce-info,
.single-product .woocommerce-error,
.single-product .woocommerce-notices-wrapper .woocommerce-error,
.single-product .woocommerce-NoticeGroup .woocommerce-error,
body.single-product .woocommerce-notices-wrapper,
body.woocommerce-page.single-product .woocommerce-notices-wrapper {
  display: none !important;
}

/* Some setups output notices as WC Blocks banners */
.single-product .wc-block-components-notice-banner.is-success,
.single-product .wc-block-components-notice-banner.is-info,
.single-product .wc-block-components-notice-banner.is-error,
.single-product .e-woocommerce-notices-wrapper .wc-block-components-notice-banner.is-success,
.single-product .e-woocommerce-notices-wrapper .wc-block-components-notice-banner.is-info,
.single-product .e-woocommerce-notices-wrapper .wc-block-components-notice-banner.is-error {
  display: none !important;
}

/* Category archives: keep size + colour filters only (no category dropdown).
   Shop page still shows Product categories for cross-category filtering.
   Specificity must beat .mobile-filter-panel .woof_container{display:block!important} */
body.tax-product_cat .woof_container.woof_container_product_cat,
body.bharathon-product-category .woof_container.woof_container_product_cat,
body.tax-product_cat .mobile-filter-panel .woof_container.woof_container_product_cat,
body.bharathon-product-category .mobile-filter-panel .woof_container.woof_container_product_cat,
body.tax-product_cat .mobile-filter-panel .woof_container_product_cat,
body.bharathon-product-category .mobile-filter-panel .woof_container_product_cat,
body.tax-product_cat .woof_fs_product_cat,
body.bharathon-product-category .woof_fs_product_cat,
body.tax-product_cat .mobile-filter-panel .woof_fs_product_cat,
body.bharathon-product-category .mobile-filter-panel .woof_fs_product_cat,
body.tax-product_cat .woof_container_productcategories,
body.bharathon-product-category .woof_container_productcategories,
body.tax-product_cat .mobile-filter-panel .woof_container_productcategories,
body.bharathon-product-category .mobile-filter-panel .woof_container_productcategories,
body.tax-product_cat .woof_container_inner_productcategories,
body.bharathon-product-category .woof_container_inner_productcategories,
body.tax-product_cat select.woof_select_product_cat,
body.bharathon-product-category select.woof_select_product_cat,
body.tax-product_cat .mobile-filter-panel select.woof_select_product_cat,
body.bharathon-product-category .mobile-filter-panel select.woof_select_product_cat,
body.tax-product_cat select[name="product_cat"],
body.bharathon-product-category select[name="product_cat"],
body.tax-product_cat #woof_tax_select_product_cat,
body.bharathon-product-category #woof_tax_select_product_cat,
body.tax-product_cat #woof_tax_select_product_cat_chosen,
body.bharathon-product-category #woof_tax_select_product_cat_chosen,
body.tax-product_cat .mobile-filter-panel #woof_tax_select_product_cat_chosen,
body.bharathon-product-category .mobile-filter-panel #woof_tax_select_product_cat_chosen {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  position: absolute !important;
  left: -9999px !important;
}

/* --------------------------------------------------------------------------
   Category / Shop archive — responsive layout (≤ 1024px)

   Scoped to Elementor products-archive template `.elementor-1628` so rules
   still apply when touch devices wipe WP body classes.
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {

  /* Shared horizontal inset so heading, Filters, and product grid share one edge */
  .elementor-1628 .elementor-element-ee72b34,
  .elementor-1628 .elementor-element-cc47af8 {
    --bh-archive-inline: clamp(12px, 2.2vw, 24px);
  }

  /* Kill the 100vh filter/products section that creates a huge empty gap */
  .elementor-1628 .elementor-element-cc47af8 > .elementor-container,
  .elementor-1628 .elementor-element.elementor-element-cc47af8 > .elementor-container {
    min-height: 0 !important;
    height: auto !important;
  }

  .elementor-1628 .elementor-element-cc47af8 {
    min-height: 0 !important;
  }

  /* Empty desktop WOOF column still reserved at 25% on tablet — remove it */
  .elementor-1628 .elementor-element-c52211e,
  .elementor-1628 .elementor-element.elementor-element-c52211e {
    display: none !important;
    width: 0 !important;
    max-width: 0 !important;
    flex: 0 0 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
  }

  /* Product grid takes the full row */
  .elementor-1628 .elementor-element-8e863c7,
  .elementor-1628 .elementor-element.elementor-element-8e863c7 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  .elementor-1628 .elementor-element-8e863c7 > .elementor-element-populated,
  .elementor-1628 .elementor-element.elementor-element-8e863c7 > .elementor-element-populated {
    margin: 0 !important;
    padding: 0 var(--bh-archive-inline, 16px) !important;
    --e-column-margin-left: 0px !important;
    --e-column-margin-right: 0px !important;
  }

  /* Heading row: title left, Filters flush to the same right edge as the grid */
  .elementor-1628 .elementor-element-ee72b34 > .elementor-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: var(--bh-archive-inline, 16px) !important;
    padding-right: var(--bh-archive-inline, 16px) !important;
    box-sizing: border-box !important;
  }

  .elementor-1628 .elementor-element-ee72b34 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .elementor-1628 .elementor-element-8722750,
  .elementor-1628 .elementor-element.elementor-element-8722750 {
    width: auto !important;
    max-width: calc(100% - 110px) !important;
    flex: 1 1 auto !important;
    margin: 0 !important;
  }

  .elementor-1628 .elementor-element-92cfd07,
  .elementor-1628 .elementor-element.elementor-element-92cfd07 {
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    margin: 0 0 6px auto !important;
  }

  .elementor-1628 .elementor-element-8722750 > .elementor-element-populated,
  .elementor-1628 .elementor-element-92cfd07 > .elementor-element-populated {
    padding: 8px 0 4px !important;
    margin: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .elementor-1628 .elementor-element-92cfd07 > .elementor-element-populated,
  .elementor-1628 .elementor-element-92cfd07 .elementor-widget-wrap {
    align-items: flex-end !important;
    justify-content: flex-end !important;
  }

  .elementor-1628 .elementor-element-92cfd07 .elementor-widget,
  .elementor-1628 .elementor-element-92cfd07 .elementor-element-765d095 {
    width: auto !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }

  .elementor-1628 .mobile-filter-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px;
    margin: 0 !important;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    float: none !important;
  }

  .elementor-1628 .mobile-filter-panel {
    display: block !important;
    position: fixed !important;
    top: 0;
    left: -100%;
    width: min(400px, 88vw);
    max-width: 420px;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    z-index: 99999;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: left 0.35s ease;
    padding: 24px 20px 40px;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
    color: #000;
  }

  .elementor-1628 .mobile-filter-panel.active {
    left: 0 !important;
  }

  .elementor-1628 .lpc-grid-wrapper {
    margin: 8px 0 24px !important;
    width: 100%;
  }

  .elementor-1628 .lpc-grid-cols-4,
  .elementor-1628 .lpc-grid-cols-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(12px, 1.6vw, 18px) !important;
  }

  /* Touch: no hover-only quick-add */
  .elementor-1628 .lpc-quick-add-container {
    display: none !important;
  }

  .elementor-1628 .lpc-title-thumb-wrap {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    height: auto;
  }

  .elementor-1628 .lpc-product-title,
  .elementor-1628 .lpc-product-price {
    position: static;
    opacity: 1;
    pointer-events: auto;
    height: auto;
    width: 100%;
    background: #fff;
    font-size: clamp(13px, 1.5vw, 15px);
  }

  /* Hide colour variation thumbs under product image on tablet/mobile */
  .elementor-1628 .lpc-variation-thumbnails {
    display: none !important;
  }

  .elementor-1628 .elementor-heading-title {
    font-size: clamp(26px, 3.6vw, 38px) !important;
    line-height: 1.15 !important;
  }
}

/* Narrow tablet / large phone landscape: 2 product columns */
@media (max-width: 899px) {
  .elementor-1628 .lpc-grid-cols-4,
  .elementor-1628 .lpc-grid-cols-5,
  .elementor-1628 .lpc-grid-cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}

/* Phones: keep Filters on the far right of the title row */
@media (max-width: 767px) {
  .elementor-1628 .elementor-element-ee72b34 > .elementor-container {
    padding-left: var(--bh-archive-inline, 16px) !important;
    padding-right: var(--bh-archive-inline, 16px) !important;
  }

  .elementor-1628 .elementor-element-8722750,
  .elementor-1628 .elementor-element.elementor-element-8722750,
  .elementor-1628 .elementor-element-92cfd07,
  .elementor-1628 .elementor-element.elementor-element-92cfd07 {
    width: auto !important;
  }

  .elementor-1628 .elementor-element-8722750 {
    flex: 1 1 auto !important;
    max-width: calc(100% - 100px) !important;
  }

  .elementor-1628 .elementor-element-92cfd07 {
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }

  .elementor-1628 .elementor-element-8e863c7 > .elementor-element-populated {
    padding-left: var(--bh-archive-inline, 16px) !important;
    padding-right: var(--bh-archive-inline, 16px) !important;
  }

  .elementor-1628 .lpc-grid-cols-4,
  .elementor-1628 .lpc-grid-cols-5,
  .elementor-1628 .lpc-grid-cols-3,
  .elementor-1628 .lpc-grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

/* Desktop: sidebar layout stays Elementor 25/75; hide slide-in drawer */
@media (min-width: 1025px) {
  .elementor-1628 .mobile-filter-panel {
    display: none !important;
  }
}

/* ===== Hamburger menu (mobile + tablet only) — Silvertraq-style ===== */
.bh-hamburger-toggle,
.bh-hamburger-overlay,
.bh-hamburger-panel {
  display: none;
}

@media (max-width: 1024px) {
  .bh-hamburger-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 8px 0 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 20;
    flex: 0 0 auto;
    -webkit-tap-highlight-color: transparent;
  }

  .bh-hamburger-toggle__bars {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
  }

  .bh-hamburger-toggle__bars span {
    display: block;
    width: 100%;
    height: 2px;
    background: #0FBCE7;
    border-radius: 1px;
  }

  .bh-hamburger-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .bh-hamburger-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .bh-hamburger-panel {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: min(420px, 90vw);
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    background: #fff;
    z-index: 100001;
    overflow: hidden;
    transform: translateX(-105%);
    transition: transform 0.35s ease;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.14);
  }

  .bh-hamburger-panel.is-open {
    transform: translateX(0);
  }

  .bh-hamburger-panel__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    height: 100vh;
    height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: #fff;
  }

  .bh-hamburger-top {
    flex: 0 0 auto;
    padding: 14px 18px 8px;
  }

  .bh-hamburger-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 30px;
    line-height: 1;
    color: #111;
    cursor: pointer;
  }

  .bh-hamburger-nav {
    flex: 1 1 auto;
    padding: 0;
  }

  .bh-hamburger-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .bh-hamburger-item {
    border-top: 1px solid #e8e8e8;
  }

  .bh-hamburger-item:last-child {
    border-bottom: 1px solid #e8e8e8;
  }

  .bh-hamburger-heading {
    list-style: none;
    margin: 0;
    padding: 0;
    border: none;
  }

  .bh-hamburger-heading__label {
    display: block;
    width: 100%;
    padding: 14px 18px;
    background: #0FBCE7;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.3;
    text-transform: none;
  }

  .bh-hamburger-item--collection {
    border-top: none;
  }

  .bh-hamburger-item--collection > .bh-hamburger-row {
    min-height: 0;
  }

  .bh-hamburger-item--collection .bh-hamburger-link--toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 14px 18px;
    margin: 0;
    border: none;
    background: #0FBCE7;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.3;
    text-align: left;
    text-transform: none;
    cursor: pointer;
  }

  .bh-hamburger-item--collection .bh-hamburger-expand__icon {
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
  }

  .bh-hamburger-item--collection .bh-hamburger-sublist {
    background: #fff;
  }

  .bh-hamburger-row {
    display: flex;
    align-items: center;
    min-height: 56px;
  }

  .bh-hamburger-link {
    flex: 1 1 auto;
    display: block;
    padding: 16px 18px;
    color: #111 !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.3;
    text-transform: uppercase;
  }

  .bh-hamburger-expand {
    flex: 0 0 auto;
    width: 48px;
    height: 56px;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: #111;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
  }

  .bh-hamburger-expand__icon {
    display: inline-block;
    font-weight: 400;
  }

  .bh-hamburger-sublist {
    list-style: none;
    margin: 0;
    padding: 0 0 8px;
    display: none;
    background: #fafafa;
  }

  .bh-hamburger-item.is-expanded > .bh-hamburger-sublist {
    display: block;
  }

  .bh-hamburger-sublink {
    display: block;
    padding: 12px 18px 12px 28px;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }

  .bh-hamburger-footer {
    flex: 0 0 auto;
    margin-top: auto;
    border-top: 1px solid #e8e8e8;
    padding: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
  }

  .bh-hamburger-account {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #111 !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 500;
  }

  .bh-hamburger-footer-link {
    color: #111 !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 500;
  }

  .bh-hamburger-account__icon {
    display: inline-flex;
    width: 22px;
    height: 22px;
  }

  .bh-hamburger-account__icon svg {
    width: 100%;
    height: 100%;
  }

  body.bh-hamburger-open {
    overflow: hidden !important;
  }
}

@media (min-width: 1025px) {
  .bh-hamburger-toggle,
  .bh-hamburger-overlay,
  .bh-hamburger-panel {
    display: none !important;
  }
}

/* ——— Size Chart (Silvertraq-style) ——— */
.variation-row__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.product-info-fixed .variation-row__head label,
.variation-row__head label {
  margin-bottom: 0 !important;
}

.bh-size-chart-trigger {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  color: #222;
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  line-height: 1.2;
}

.bh-size-chart-trigger:hover {
  color: #000;
}

body.bh-size-chart-open {
  overflow: hidden;
}

.bh-size-chart-modal[hidden] {
  display: none !important;
}

.bh-size-chart-modal {
  position: fixed;
  inset: 0;
  z-index: 100050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.bh-size-chart-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.bh-size-chart-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: min(86vh, 820px);
  overflow: auto;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  padding: 28px 24px 32px;
}

.bh-size-chart-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #222;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.bh-size-chart-modal__title {
  margin: 0 0 20px;
  padding: 0 28px 0 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  color: #111;
}

.bh-size-chart-modal__body {
  width: 100%;
}

.bh-size-chart-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 0 18px;
}

.bh-size-chart-tab {
  appearance: none;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  line-height: 1.2;
}

.bh-size-chart-tab.is-active,
.bh-size-chart-tab[aria-selected="true"] {
  background: #111;
  color: #fff;
}

.bh-size-chart-panel[hidden] {
  display: none !important;
}

.bh-size-chart-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 0 0 22px;
}

.bh-size-chart-table-wrap:last-child {
  margin-bottom: 0;
}

.bh-size-chart-table {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
  color: #222;
}

.bh-size-chart-table th,
.bh-size-chart-table td {
  border: 1px solid #111;
  padding: 11px 10px;
  text-align: center;
  vertical-align: middle;
  word-break: break-word;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.bh-size-chart-table__section td {
  font-weight: 700;
  text-align: left;
  background: #f7f7f7;
  letter-spacing: 0.02em;
  text-transform: none;
}

.bh-size-chart-table__head th {
  font-weight: 700;
  background: #fff;
}

.bh-size-chart-table__units td {
  color: #666;
  font-size: 13px;
  background: #fafafa;
  text-transform: none;
  font-weight: 500;
}

@media (max-width: 768px) {
  .variation-row__head {
    margin-bottom: 8px;
  }

  .bh-size-chart-modal {
    padding: 12px;
    align-items: flex-end;
  }

  .bh-size-chart-modal__dialog {
    width: 100%;
    max-height: 88vh;
    border-radius: 12px 12px 0 0;
    padding: 22px 14px 28px;
  }

  .bh-size-chart-modal__title {
    font-size: 18px;
    margin-bottom: 14px;
  }

  .bh-size-chart-table {
    font-size: 12px;
    min-width: 420px;
  }

  .bh-size-chart-table th,
  .bh-size-chart-table td {
    padding: 9px 6px;
  }
}

/* Custom order statuses (admin list + My Account) */
.woocommerce-orders-table .order-status.status-shipped,
mark.order-status.status-shipped {
  background: #e8f4fc;
  color: #0b5cab;
}

.woocommerce-orders-table .order-status.status-delivered,
mark.order-status.status-delivered {
  background: #e7f6ed;
  color: #1b7a3d;
}

.woocommerce-orders-table .order-status.status-refund-processed,
mark.order-status.status-refund-processed {
  background: #fff4e5;
  color: #b45309;
}

.woocommerce-orders-table .order-status.status-exchange,
mark.order-status.status-exchange {
  background: #e0f7f4;
  color: #0f766e;
}

/* View order: post-cancel refund notices */
.bharathon-refund-notice {
  display: block !important;
  margin: 0 0 20px !important;
  padding: 16px 18px !important;
  border: 0 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

.bharathon-refund-notice::before {
  display: none !important;
}

.bharathon-refund-notice--pending {
  background: #e8f7fb !important;
  color: #0b5cab !important;
}

.bharathon-refund-notice--process {
  background: #fff4e5 !important;
  color: #9a3412 !important;
}

.bharathon-refund-notice__text {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
  color: inherit !important;
}

/* Orders list: Refunded text label (not a button) */
.bharathon-order-action-label {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.bharathon-order-action-label.refunded_label {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

/* Cancel order confirmation modal */
html.bharathon-cancel-modal-open {
  overflow: hidden;
}

.bharathon-cancel-modal[hidden] {
  display: none !important;
}

.bharathon-cancel-modal {
  position: fixed;
  inset: 0;
  z-index: 100060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.bharathon-cancel-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.bharathon-cancel-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.2);
  padding: 28px 24px 24px;
}

.bharathon-cancel-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.bharathon-cancel-modal__title {
  margin: 0 36px 8px 0;
  font-size: 22px;
  font-weight: 800;
  color: #111;
}

.bharathon-cancel-modal__intro {
  margin: 0 0 16px;
  color: #5e6470;
  font-size: 14px;
  line-height: 1.55;
}

.bharathon-cancel-modal__label {
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: #111;
}

.bharathon-cancel-modal__reason {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 110px;
  padding: 12px 14px;
  border: 1px solid #d7dee6;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: #111;
  resize: vertical;
}

.bharathon-cancel-modal__reason:focus {
  outline: none;
  border-color: #111;
}

.bharathon-cancel-modal__hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: #94a3b8;
}

.bharathon-cancel-modal__error {
  margin: 10px 0 0;
  color: #dc2626;
  font-size: 13px;
  font-weight: 600;
}

.bharathon-cancel-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}

.bharathon-cancel-modal__actions .button {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.bharathon-cancel-modal__keep {
  background: #fff !important;
  border: 1px solid #d7dee6 !important;
  color: #111 !important;
}

.bharathon-cancel-modal__confirm {
  background: #111 !important;
  border: 1px solid #111 !important;
  color: #fff !important;
}

.bharathon-cancel-modal__confirm:disabled,
.bharathon-cancel-modal__keep:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

@media (max-width: 560px) {
  .bharathon-cancel-modal {
    padding: 12px;
    align-items: flex-end;
  }

  .bharathon-cancel-modal__dialog {
    width: 100%;
    border-radius: 14px 14px 0 0;
    padding: 24px 16px 28px;
  }

  .bharathon-cancel-modal__actions {
    flex-direction: column-reverse;
  }

  .bharathon-cancel-modal__actions .button {
    width: 100%;
  }
}

/* Review modal (My Account) */
html.bharathon-review-modal-open {
  overflow: hidden;
}

.bharathon-review-modal[hidden] {
  display: none !important;
}

.bharathon-review-modal {
  position: fixed;
  inset: 0;
  z-index: 100060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.bharathon-review-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.bharathon-review-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.2);
  padding: 28px 24px 24px;
}

.bharathon-review-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.bharathon-review-modal__title {
  margin: 0 28px 8px 0;
  font-size: 1.25rem;
  color: #0f172a;
}

.bharathon-review-modal__intro {
  margin: 0 0 16px;
  color: #64748b;
  font-size: 0.95rem;
}

.bharathon-review-modal__product-name {
  margin: 0 0 14px;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
}

.bharathon-review-modal__field {
  margin: 0 0 14px;
}

.bharathon-review-modal__label {
  display: block;
  margin: 0 0 6px;
  font-weight: 600;
  color: #0f172a;
  font-size: 0.9rem;
}

.bharathon-review-modal__select,
.bharathon-review-modal__textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  color: #0f172a;
  box-sizing: border-box;
}

.bharathon-review-modal__textarea:focus,
.bharathon-review-modal__select:focus {
  outline: 2px solid #0f172a;
  outline-offset: 1px;
}

.bharathon-review-modal__rating {
  border: 0;
  margin: 0 0 14px;
  padding: 0;
}

.bharathon-review-modal__stars {
  display: flex;
  gap: 4px;
}

.bharathon-review-star {
  border: 0;
  background: transparent;
  padding: 0 2px;
  font-size: 28px;
  line-height: 1;
  color: #cbd5e1;
  cursor: pointer;
}

.bharathon-review-star.is-active,
.bharathon-review-star:hover {
  color: #ca8a04;
}

.bharathon-review-modal__error {
  margin: 0 0 12px;
  color: #b91c1c;
  font-size: 0.9rem;
}

.bharathon-review-modal__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 8px;
}

.bharathon-review-modal__actions .button {
  margin: 0;
  min-height: 42px;
  padding: 0 16px;
}

.bharathon-review-modal__cancel {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
}

.bharathon-review-modal__submit {
  background: #0f172a !important;
  color: #fff !important;
  border: 0 !important;
}

.bharathon-review-modal__submit:disabled,
.bharathon-review-modal__cancel:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .bharathon-review-modal {
    align-items: flex-end;
    padding: 0;
  }

  .bharathon-review-modal__dialog {
    width: 100%;
    border-radius: 14px 14px 0 0;
    padding: 24px 16px 28px;
  }

  .bharathon-review-modal__actions {
    flex-direction: column-reverse;
  }

  .bharathon-review-modal__actions .button {
    width: 100%;
  }
}

/* Single product: compact rating under title only */
.product-info-fixed .bharathon-product-title-rating {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  margin: 0 0 2px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  color: #334155 !important;
  font-weight: 500 !important;
}

.product-info-fixed .bharathon-product-title-rating__star {
  color: #ca8a04 !important;
  font-size: 15px !important;
  line-height: 1 !important;
}

.product-info-fixed .bharathon-product-title-rating__avg {
  font-variant-numeric: tabular-nums;
}

.product-info-fixed .bharathon-product-title-rating__count {
  color: #64748b !important;
  font-weight: 400 !important;
}

/* Petpooja AI Try-On — product info button (matches Genlook slot style) */
.product-info-fixed .bharathon-petpooja-tryon-wrapper {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #e5e5e5;
}

.product-info-fixed .bharathon-petpooja-tryon-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 12px 20px !important;
  background: #f0fcff !important;
  color: #067a96 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: inset 3px 0 0 #00BEEA !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  cursor: pointer;
  text-align: left !important;
  position: relative;
  overflow: hidden;
  animation: bharathon-tryon-pulse 2.2s ease-in-out infinite;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.product-info-fixed .bharathon-petpooja-tryon-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: bharathon-tryon-sheen 3.2s ease-in-out infinite;
  pointer-events: none;
}

.product-info-fixed .bharathon-petpooja-tryon-btn:hover,
.product-info-fixed .bharathon-petpooja-tryon-btn:focus {
  background: #00BEEA !important;
  color: #fff !important;
  animation: none;
  box-shadow: 0 0 0 3px rgba(0, 190, 234, 0.28) !important;
}

.product-info-fixed .bharathon-petpooja-tryon-btn:hover::after,
.product-info-fixed .bharathon-petpooja-tryon-btn:focus::after {
  animation: none;
  opacity: 0;
}

@keyframes bharathon-tryon-pulse {
  0%,
  100% {
    box-shadow: inset 3px 0 0 #00BEEA, 0 0 0 0 rgba(0, 190, 234, 0.45);
  }
  50% {
    box-shadow: inset 3px 0 0 #00BEEA, 0 0 0 8px rgba(0, 190, 234, 0);
  }
}

@keyframes bharathon-tryon-sheen {
  0%,
  35% {
    left: -40%;
  }
  60%,
  100% {
    left: 120%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-info-fixed .bharathon-petpooja-tryon-btn,
  .product-info-fixed .bharathon-petpooja-tryon-btn::after {
    animation: none !important;
  }
}

html.bharathon-petpooja-tryon-open {
  overflow: hidden;
}

.bharathon-petpooja-tryon-panel[hidden] {
  display: none !important;
}

.bharathon-petpooja-tryon-panel {
  position: fixed;
  inset: 0;
  z-index: 100050;
  pointer-events: none;
}

.bharathon-petpooja-tryon-panel.is-open {
  pointer-events: auto;
}

.bharathon-petpooja-tryon-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.bharathon-petpooja-tryon-panel.is-open .bharathon-petpooja-tryon-panel__backdrop {
  opacity: 1;
}

.bharathon-petpooja-tryon-panel__sheet {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  height: min(88vh, 760px);
  background: #fff;
  border-radius: 16px 0 0 0;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.22);
  display: flex;
  flex-direction: column;
  transform: translate(110%, 8%);
  transition: transform 0.28s ease;
  overflow: hidden;
}

.bharathon-petpooja-tryon-panel.is-open .bharathon-petpooja-tryon-panel__sheet {
  transform: translate(0, 0);
}

.bharathon-petpooja-tryon-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.bharathon-petpooja-tryon-panel__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #111;
}

.bharathon-petpooja-tryon-panel__header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bharathon-petpooja-tryon-panel__external {
  font-size: 12px;
  font-weight: 600;
  color: #0f766e;
  text-decoration: none;
  white-space: nowrap;
}

.bharathon-petpooja-tryon-panel__close {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.bharathon-petpooja-tryon-panel__body {
  flex: 1;
  min-height: 0;
  background: #f8fafc;
}

.bharathon-petpooja-tryon-panel__frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #fff;
}

@media (max-width: 600px) {
  .bharathon-petpooja-tryon-panel__sheet {
    width: 100%;
    height: 92vh;
    border-radius: 16px 16px 0 0;
    transform: translateY(110%);
  }

  .bharathon-petpooja-tryon-panel.is-open .bharathon-petpooja-tryon-panel__sheet {
    transform: translateY(0);
  }
}


