:root{
  --ac-maroon:#8B1116;
  --ac-maroon-dark:#6B0D11;
  --ac-ink:#22201F;
  --ac-muted:#6E6A67;
  --ac-line:#E7E2DC;
  --ac-cream:#FBF9F5;
  --ac-radius:10px;
  --ac-shadow:0 2px 14px rgba(34,32,31,.06);
}

.woocommerce-account .woocommerce{
  display:flex;
  align-items:flex-start;
  gap:34px;
  max-width:1180px;
  margin:0 auto;
  padding:10px 0 70px;
  color:var(--ac-ink);
  line-height:1.7;
}

.woocommerce-account .woocommerce-MyAccount-navigation{
  flex:0 0 280px;
  width:280px;
  max-width:100%;
  margin:0;
  float:none;
  position:sticky;
  top:24px;
}

.woocommerce-account .woocommerce-MyAccount-content{
  flex:1 1 auto;
  min-width:0;         
  width:auto;
  margin:0;
  float:none;
  background:#fff;
  border:1px solid var(--ac-line);
  border-radius:var(--ac-radius);
  padding:32px 34px;
  box-shadow:var(--ac-shadow);
}

/* Page title */
.woocommerce-account .entry-title,
.woocommerce-account .page-title{
  max-width:1180px;
  margin:0 auto 30px;
  font-size:clamp(30px,4vw,44px);
  color:var(--ac-maroon);
  letter-spacing:.2px;
}

.woocommerce-MyAccount-navigation ul{
  list-style:none;
  margin:0;
  padding:0 !important;
  background:var(--ac-cream);
  border:1px solid var(--ac-line);
  border-radius:var(--ac-radius);
  overflow:hidden;
  box-shadow:var(--ac-shadow);
}

.woocommerce-MyAccount-navigation ul li{
  margin:0;
  padding:0;
  list-style:none;
  border-bottom:1px solid var(--ac-line);
}
.woocommerce-MyAccount-navigation ul li:last-child{border-bottom:0;}

.woocommerce-MyAccount-navigation ul li a{
  display:block;
  padding:15px 22px;
  color:var(--ac-ink);
  text-decoration:none;
  font-size:15px;
  font-weight:500;
  border-left:3px solid transparent;
  transition:background .2s ease, color .2s ease, padding .2s ease, border-color .2s ease;
}

.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li a:focus-visible{
  background:#fff;
  color:var(--ac-maroon);
  border-left-color:var(--ac-maroon);
  padding-left:28px;
  outline:none;
}
.woocommerce-MyAccount-navigation ul li a:focus-visible{
  outline:2px solid var(--ac-maroon);
  outline-offset:-2px;
}

.woocommerce-MyAccount-navigation ul li.is-active > a{
  background:var(--ac-maroon);
  color:#fff;
  border-left-color:var(--ac-maroon-dark);
  font-weight:600;
}
.woocommerce-MyAccount-navigation ul li.is-active > a:hover{
  background:var(--ac-maroon-dark);
  color:#fff;
  padding-left:22px;
}

/* Log out ko thoda alag look */
.woocommerce-MyAccount-navigation-link--customer-logout a{
  color:var(--ac-muted) !important;
  font-size:14px;
}
.woocommerce-MyAccount-navigation-link--customer-logout a:hover{
  color:var(--ac-maroon) !important;
}

.woocommerce-MyAccount-content p{margin:0 0 16px;}
.woocommerce-MyAccount-content p:last-child{margin-bottom:0;}

.woocommerce-MyAccount-content a:not(.button){
  color:var(--ac-maroon);
  text-decoration:underline;
  text-underline-offset:3px;
}
.woocommerce-MyAccount-content a:not(.button):hover{color:var(--ac-maroon-dark);}

.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3{
  font-size:22px;
  color:var(--ac-maroon);
  margin:0 0 20px;
  padding-bottom:12px;
  border-bottom:2px solid var(--ac-line);
}

.woocommerce-info,
.woocommerce-message,
.woocommerce-error,
.woocommerce-noreviews{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:16px;
  background:var(--ac-cream);
  border:1px solid var(--ac-line);
  border-top:3px solid var(--ac-maroon);
  border-radius:var(--ac-radius);
  color:var(--ac-ink);
  font-size:15px;
  padding:20px 24px;
  margin:0 0 24px;
  list-style:none;
}
.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce-error::before{display:none;content:none;}

.woocommerce-message{border-top-color:#2E7D4F;}
.woocommerce-error{border-top-color:#C0392B;}
.woocommerce-error li{list-style:none;margin:0;width:100%;}

.woocommerce-info .button,
.woocommerce-message .button{margin-left:auto;}

.woocommerce-notices-wrapper:empty{display:none;}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit{
  display:inline-block;
  background:var(--ac-maroon);
  color:#fff;
  font-size:13px;
  font-weight:600;
  letter-spacing:.7px;
  text-transform:uppercase;
  text-decoration:none;
  padding:13px 28px;
  border:1px solid var(--ac-maroon);
  border-radius:6px;
  line-height:1.2;
  cursor:pointer;
  transition:background .22s ease, transform .22s ease, border-color .22s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit:hover{
  background:var(--ac-maroon-dark);
  border-color:var(--ac-maroon-dark);
  color:#fff;
  transform:translateY(-1px);
}

.woocommerce a.button:focus-visible,
.woocommerce button.button:focus-visible,
.woocommerce input.button:focus-visible{
  outline:2px solid var(--ac-maroon);
  outline-offset:3px;
}
	.woocommerce table.shop_table td a {
    color: #000;
}
/* Table ke andar chhote "View" buttons */
.woocommerce-orders-table a.button,
.woocommerce-MyAccount-downloads a.button,
.woocommerce a.button.view{
  background:transparent;
  color:var(--ac-maroon);
  padding:8px 18px;
  font-size:12px;
}
.woocommerce-orders-table a.button:hover,
.woocommerce-MyAccount-downloads a.button:hover,
.woocommerce a.button.view:hover{
  background:var(--ac-maroon);
  color:#fff;
}

.woocommerce form.woocommerce-form-login,
.woocommerce form.woocommerce-form-register,
.woocommerce form.woocommerce-ResetPassword,
.woocommerce form.woocommerce-EditAccountForm,
.woocommerce form.woocommerce-address-fields{
  background:#fff;
  border:1px solid var(--ac-line);
  border-radius:var(--ac-radius);
  padding:32px;
  box-shadow:var(--ac-shadow);
}
.woocommerce-MyAccount-content form.woocommerce-EditAccountForm,
.woocommerce-MyAccount-content form.woocommerce-address-fields{
  background:transparent;
  border:0;
  padding:0;
  box-shadow:none;
}
.woocommerce-account .u-columns.col2-set{
  display:flex;
  flex-wrap:wrap;
  gap:30px;
  max-width:1180px;
  margin:0 auto;
}
.woocommerce-account .u-columns .u-column1,
.woocommerce-account .u-columns .u-column2{
  flex:1 1 340px;
  width:auto;
  float:none;
  margin:0;
}

.woocommerce form .form-row{
  display:block;
  margin:0 0 20px;
  padding:0;
}

.woocommerce form .form-row label{
  display:block;
  font-size:12px;
  font-weight:600;
  letter-spacing:.5px;
  text-transform:uppercase;
  color:var(--ac-muted);
  margin-bottom:8px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single{
  width:100%;
  height:48px;
  padding:0 14px;
  font-size:15px;
  color:var(--ac-ink);
  background:var(--ac-cream);
  border:1px solid var(--ac-line);
  border-radius:6px;
  box-shadow:none;
  transition:border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.woocommerce form .form-row textarea{height:120px;padding:12px 14px;}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus{
  outline:none;
  background:#fff;
  border-color:var(--ac-maroon);
  box-shadow:0 0 0 3px rgba(139,17,22,.10);
}

.woocommerce .select2-container .select2-selection--single{display:flex;align-items:center;}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow{height:46px;}

.woocommerce form .form-row-first,
.woocommerce form .form-row-last{width:48.5%;float:left;}
.woocommerce form .form-row-last{float:right;}
.woocommerce form .clear{clear:both;}

.woocommerce form .password-input{display:block;width:100%;position:relative;}
.woocommerce form .show-password-input{position:absolute;right:14px;top:23px;cursor:pointer;}

.woocommerce-form-login__rememberme,
.woocommerce-form__label-for-checkbox{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  font-weight:400;
  letter-spacing:0;
  text-transform:none;
  color:var(--ac-muted);
}
.woocommerce-form__input-checkbox{width:16px;height:16px;margin:0;accent-color:var(--ac-maroon);}

.woocommerce .lost_password{margin-top:14px;font-size:14px;}
.woocommerce .lost_password a{color:var(--ac-maroon);}
.woocommerce form .form-row .required{color:var(--ac-maroon);text-decoration:none;}
.woocommerce form em,
.woocommerce-privacy-policy-text p{font-size:13px;color:var(--ac-muted);line-height:1.6;}

.woocommerce table.shop_table{
  width:100%;
  margin:0 0 26px;
  font-size:15px;
  border:1px solid var(--ac-line);
  border-radius:var(--ac-radius);
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
}

.woocommerce table.shop_table thead th{
  background:var(--ac-maroon);
  color:#fff;
  font-size:12px;
  font-weight:600;
  letter-spacing:.8px;
  text-transform:uppercase;
  text-align:left;
  padding:15px 18px;
  border:0;
}

.woocommerce table.shop_table td,
.woocommerce table.shop_table tbody th{
  padding:16px 18px;
  border-top:1px solid var(--ac-line);
  border-left:0;
  border-right:0;
  vertical-align:middle;
}

.woocommerce table.shop_table tbody tr:nth-child(odd) td{background:var(--ac-cream);}
.woocommerce table.shop_table tbody tr:hover td{background:#F5EFEA;}
.woocommerce table.shop_table tfoot th,
.woocommerce table.shop_table tfoot td{background:var(--ac-cream);font-weight:600;}
.woocommerce table.shop_table .woocommerce-Price-amount{font-weight:600;}

.woocommerce-Addresses{display:flex;flex-wrap:wrap;gap:26px;margin-top:6px;}
.woocommerce-Address{
  flex:1 1 300px;
  width:auto;
  float:none;
  background:var(--ac-cream);
  border:1px solid var(--ac-line);
  border-radius:var(--ac-radius);
  padding:26px;
}
.woocommerce-Address-title {
    text-align: left;
}
.woocommerce-Address-title h2,
.woocommerce-Address-title h3{margin:0;padding:0;border:0;font-size:19px;}
.woocommerce-Address address{font-style:normal;color:var(--ac-muted);line-height:1.9;}
.woocommerce-Address-title h2 {
    width: 100%;
    display: block;
}

.woocommerce-account .addresses .title .edit {
    float: left;
    margin-bottom: 10px;
}
.woocommerce ul.order_details{
  display:flex;flex-wrap:wrap;gap:14px;
  list-style:none;margin:0 0 28px;padding:0;
}
.woocommerce ul.order_details li{
  flex:1 1 160px;
  margin:0;padding:16px 18px;
  background:var(--ac-cream);
  border:1px solid var(--ac-line);
  border-right:1px solid var(--ac-line);
  border-radius:var(--ac-radius);
  font-size:12px;letter-spacing:.6px;text-transform:uppercase;color:var(--ac-muted);
}
.woocommerce ul.order_details li strong{
  display:block;margin-top:6px;
  font-size:17px;text-transform:none;letter-spacing:0;color:var(--ac-ink);
}

.woocommerce-customer-details address{
  font-style:normal;
  background:var(--ac-cream);
  border:1px solid var(--ac-line);
  border-radius:var(--ac-radius);
  padding:22px;
  line-height:1.9;
}
.woocommerce-account  .woocommerce {
display: flex;
    width: 100%;
    gap: 20px;
    justify-content: space-between !important;
}
.woocommerce-account .headingbox h2{
	display:none;
}
nav.woocommerce-MyAccount-navigation {
    width: 20%;
}

.woocommerce-MyAccount-content {
    width: 80%;
}

.woocommerce-MyAccount-navigation ul li {
    list-style: none;
}

.woocommerce-MyAccount-navigation ul {
    padding: 0px;
}
@media (max-width:1024px){
  .woocommerce-account .woocommerce{gap:26px;}
  .woocommerce-account .woocommerce-MyAccount-navigation{flex-basis:240px;width:240px;}
}

@media (max-width:900px){
  .woocommerce-account .woocommerce{
    flex-direction:column;
    gap:24px;
    padding-bottom:50px;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation{
    flex:1 1 auto;
    width:100%;
    position:static;
  }
  .woocommerce-MyAccount-navigation ul li{border-bottom:1px solid var(--ac-line);}
  .woocommerce-MyAccount-navigation ul li:nth-child(odd){border-right:1px solid var(--ac-line);}
  .woocommerce-MyAccount-navigation ul li a{padding:14px 18px;}
  .woocommerce-MyAccount-navigation ul li a:hover{padding-left:22px;}
}
@media (max-width:768px){
	.woocommerce {
    flex-wrap: wrap;
}

nav.woocommerce-MyAccount-navigation {
    width: 100%;
}

.woocommerce-MyAccount-content {
    width: 100%;
}
	.woocommerce-Address{
		    flex: none;
	}
}
@media (max-width:600px){
  .woocommerce-account .entry-title,
  .woocommerce-account .page-title{margin-bottom:22px;}

  .woocommerce-account .woocommerce-MyAccount-content{padding:22px 18px;}

  .woocommerce-MyAccount-navigation ul{grid-template-columns:1fr;}
  .woocommerce-MyAccount-navigation ul li:nth-child(odd){border-right:0;}

  .woocommerce-info,
  .woocommerce-message,
  .woocommerce-error{
    flex-direction:column;
    align-items:flex-start;
    gap:14px;
    padding:18px 18px;
  }
  .woocommerce-info .button,
  .woocommerce-message .button{margin-left:0;width:100%;text-align:center;}

  .woocommerce form .form-row-first,
  .woocommerce form .form-row-last{width:100%;float:none;}

  /* Tables → cards */
  .woocommerce table.shop_table thead{display:none;}
  .woocommerce table.shop_table tbody tr{
    display:block;
    background:#fff;
    border:1px solid var(--ac-line);
    border-radius:var(--ac-radius);
    margin-bottom:14px;
  }
  .woocommerce table.shop_table tbody tr:nth-child(odd) td{background:transparent;}
  .woocommerce table.shop_table tbody tr:hover td{background:transparent;}
  .woocommerce table.shop_table tbody td{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:14px;
    text-align:right;
    padding:12px 16px;
    border-top:1px solid var(--ac-line);
  }
  .woocommerce table.shop_table tbody tr td:first-child{border-top:0;}
  .woocommerce table.shop_table tbody td::before{
    content:attr(data-title);
    font-size:11px;
    font-weight:600;
    letter-spacing:.6px;
    text-transform:uppercase;
    color:var(--ac-muted);
    text-align:left;
  }
	.woocommerce .woocommerce-customer-details :last-child {
    margin-top: 20px;
}
.woocommerce-view-order	tfoot {
    margin-top: 20px;
    display: block;
}

.woocommerce-view-order	tbody {
    padding: 10px;
    display: block;
    padding-bottom: 0px;
}
  .woocommerce a.button,
  .woocommerce button.button,
  .woocommerce input.button{width:100%;text-align:center;}
  .woocommerce table.shop_table a.button{width:auto;}
}

@media (prefers-reduced-motion:reduce){
  .woocommerce a,
  .woocommerce button,
  .woocommerce input{transition:none !important;}
  .woocommerce a.button:hover{transform:none;}
}
