/* ================================================================
   INNER PAGES — Bengali Kantha Stitch Design
   ================================================================ */

/* ── Kill ALL grey backgrounds ── */
:root { --surface: var(--kantha-ivory) !important; }
.bg-surface { background: var(--kantha-ivory) !important; }
.bg-white    { background: #fff !important; }
section, .flat-spacing, .flat-spacing-2, .flat-spacing-5 { background: transparent; }
.line-bottom-container, .tf-marquee, .section-box { background: transparent !important; }
.swiper-slide { background: transparent; }
.page-title {
  position: relative;
  padding: 72px 0 56px;
  background-color: var(--kantha-deep);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.page-title::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,8,0,.88) 0%, rgba(139,37,0,.6) 100%);
  z-index: 0;
}
/* Alpona corner motifs */
.page-title::after {
  content: '';
  position: absolute;
  bottom: 16px; right: 24px;
  width: 60px; height: 60px;
  border-bottom: 2px solid rgba(200,150,12,.45);
  border-right:  2px solid rgba(200,150,12,.45);
  z-index: 1;
}
.page-title .container,
.page-title .container-full { position: relative; z-index: 2; }

/* Running-stitch bottom border on page-title */
.page-title-stitch {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--kantha-gold) 0, var(--kantha-gold) 10px,
    transparent 10px, transparent 16px,
    var(--kantha-rust) 16px, var(--kantha-rust) 26px,
    transparent 26px, transparent 32px
  );
  opacity: .7;
}

.page-title h3.heading {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #fff;
  margin-bottom: 14px;
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
}
.page-title .breadcrumbs { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.page-title .breadcrumbs li { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.page-title .breadcrumbs a.link { color: var(--kantha-gold-lt); text-decoration: none; transition: color .3s; }
.page-title .breadcrumbs a.link:hover { color: #fff; }
.page-title .breadcrumbs .icon-arrRight { color: rgba(255,255,255,.4); font-size: .6rem; }
.page-title .breadcrumbs li:last-child { color: rgba(255,255,255,.55); }

/* ── Account / User pages ── */
.my-account-wrap { display: flex; gap: 32px; align-items: flex-start; }
@media(max-width:991px){ .my-account-wrap { flex-direction: column; } }

.sidebar-account {
  background: var(--kantha-cream);
  border: 1px solid var(--kantha-border);
  border-top: 3px solid var(--kantha-gold);
  padding: 28px 22px;
}
.account-avatar .image {
  width: 80px; height: 80px; border-radius: 50%;
  overflow: hidden; margin: 0 auto 12px;
  border: 3px solid var(--kantha-gold);
}
.account-avatar h6 { font-family: var(--font-serif); color: var(--kantha-deep); text-align: center; }
.account-avatar .body-text-1 { font-size: .78rem; color: #888; text-align: center; }

/* Sidebar nav */
.account-nav { margin-top: 20px; }
.account-nav li { border-bottom: 1px solid var(--kantha-border); }
.account-nav li:last-child { border-bottom: none; }
.account-nav li a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 4px; font-size: .78rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--kantha-deep);
  text-decoration: none; transition: color .3s;
}
.account-nav li a:hover,
.account-nav li.active a { color: var(--kantha-rust); }
.account-nav li.active a { font-weight: 700; }

/* Account content area */
.my-account-content { flex: 1; min-width: 0; }
.account-details {
  background: #fff;
  border: 1px solid var(--kantha-border);
  border-top: 3px solid var(--kantha-gold);
  padding: 32px 28px;
}
.account-details .title {
  font-family: var(--font-serif);
  color: var(--kantha-deep);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--kantha-border);
}
.account-details fieldset { border: none; padding: 0; margin: 0; }
.account-details input[type="text"],
.account-details input[type="email"],
.account-details input[type="tel"],
.account-details input[type="password"],
.account-details input[type="file"] {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--kantha-border) !important;
  background: var(--kantha-cream) !important;
  color: var(--kantha-deep) !important;
  font-size: .88rem;
  outline: none;
  transition: border-color .3s;
}
.account-details input:focus { border-color: var(--kantha-gold) !important; }
.account-details .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media(max-width:575px){ .account-details .cols { grid-template-columns: 1fr; } }

/* ── Order cards ── */
.order-card {
  border: 1px solid var(--kantha-border);
  border-left: 4px solid var(--kantha-gold);
  padding: 22px 24px;
  margin-bottom: 20px;
  background: var(--kantha-cream);
  position: relative;
}
/* Running stitch top accent */
.order-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--kantha-gold) 0, var(--kantha-gold) 6px,
    transparent 6px, transparent 10px
  );
}
.order-card-header {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center;
  gap: 12px; margin-bottom: 16px;
}
.order-meta { color: #888; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.order-meta strong { color: var(--kantha-deep); font-weight: 700; display: block; font-size: .9rem; text-transform: none; letter-spacing: 0; }
.order-status {
  display: inline-block; padding: 5px 14px;
  font-size: .62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
}
.status-placed    { background: rgba(200,150,12,.12); color: var(--kantha-mustard); border: 1px solid rgba(200,150,12,.3); }
.status-delivered { background: rgba(74,94,56,.1);   color: var(--kantha-sage);    border: 1px solid rgba(74,94,56,.3); }
.status-cancelled { background: rgba(155,28,28,.1);  color: var(--kantha-red);     border: 1px solid rgba(155,28,28,.3); }
.status-processing{ background: rgba(26,8,0,.06);    color: var(--kantha-deep);    border: 1px solid var(--kantha-border); }

.order-info { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 18px; }
@media(max-width:575px){ .order-info { grid-template-columns: 1fr 1fr; } }
.order-info-item {
  background: #fff; border: 1px solid var(--kantha-border);
  padding: 14px 16px;
}
.order-info-item span { display: block; color: #888; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 5px; }
.order-info-item strong { font-size: .9rem; color: var(--kantha-deep); font-weight: 700; }

.order-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.order-invoice-unavailable { opacity: .45; pointer-events: none; cursor: not-allowed; }

/* ── Wishlist cards ── */
.wishlist-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.wishlist-card {
  border: 1px solid var(--kantha-border);
  background: var(--kantha-cream);
  position: relative; overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.wishlist-card:hover { box-shadow: 0 10px 32px rgba(26,8,0,.14); }
/* Alpona inner border on hover */
.wishlist-card::after {
  content: ''; position: absolute; inset: 6px;
  border: 1px dashed rgba(200,150,12,0);
  transition: border-color .4s; pointer-events: none;
}
.wishlist-card:hover::after { border-color: rgba(200,150,12,.5); }
.wishlist-card-img { aspect-ratio: 3/4; overflow: hidden; background: #fff; }
.wishlist-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; will-change: transform; }
.wishlist-card:hover .wishlist-card-img img { transform: scale(1.05); }
.wishlist-card-body { padding: 16px; }
.wishlist-card-cat { font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--kantha-rust); margin-bottom: 4px; }
.wishlist-card-title { font-family: var(--font-serif); font-size: 1rem; color: var(--kantha-deep); margin-bottom: 8px; line-height: 1.3; }
.wishlist-card-price { font-size: .95rem; font-weight: 700; color: var(--kantha-deep); margin-bottom: 14px; }
.wishlist-card-actions { display: flex; gap: 8px; }
.wishlist-card-actions .tf-btn { flex: 1; font-size: .68rem; letter-spacing: .1em; text-align: center; }
.wishlist-remove-btn {
  width: 36px; height: 36px; background: transparent;
  border: 1.5px solid var(--kantha-border); color: #aaa;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .3s; flex-shrink: 0;
}
.wishlist-remove-btn:hover { background: var(--kantha-red); border-color: var(--kantha-red); color: #fff; }

/* ── Search / Products page ── */
.tf-shop-control {
  border-bottom: 1px solid var(--kantha-border);
  padding-bottom: 16px; margin-bottom: 28px;
}
.card-product {
  border: 1px solid var(--kantha-border);
  transition: box-shadow .3s;
  will-change: box-shadow;
}
.card-product:hover { box-shadow: 0 10px 32px rgba(26,8,0,.14); }
.card-product .card-product-info {
  padding: 14px 12px 16px;
  background: #fff;
  border-top: 2px solid var(--kantha-border);
}
.card-product .card-product-info .title {
  font-family: var(--font-serif); color: var(--kantha-deep);
  font-size: .92rem; display: block; margin-bottom: 6px;
  line-height: 1.35;
}
.card-product .card-product-info .title:hover { color: var(--kantha-rust); }
.card-product .card-product-info .price {
  color: var(--kantha-rust); font-weight: 700; font-size: .9rem;
}
.card-product .btn-main-product {
  background: var(--kantha-rust) !important; color: #fff !important;
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  transition: background .3s;
}
.card-product .btn-main-product:hover { background: var(--kantha-deep) !important; }

/* Category circles */
.flat-collection-circle .collection-circle .img-style {
  border: 2px solid var(--kantha-border); transition: border-color .3s;
}
.flat-collection-circle .collection-circle:hover .img-style { border-color: var(--kantha-gold); }
.flat-collection-circle .cls-title { color: var(--kantha-deep); font-family: var(--font-serif); }
.flat-collection-circle .cls-title:hover { color: var(--kantha-rust); }

/* ── Contact page ── */
.kantha-contact-wrap {
  background: var(--kantha-cream);
  border: 1px solid var(--kantha-border);
  border-top: 3px solid var(--kantha-gold);
  padding: 40px 36px;
}
.kantha-contact-wrap .section-eyebrow {
  font-size: .65rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--kantha-rust); display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}
.kantha-contact-wrap .section-eyebrow::before,
.kantha-contact-wrap .section-eyebrow::after {
  content: ''; display: block; width: 24px; height: 1px; background: var(--kantha-rust);
}
.kantha-contact-wrap h2 {
  font-family: var(--font-serif); color: var(--kantha-deep);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem); margin-bottom: 8px;
}
.kantha-contact-wrap p { color: #666; font-size: .9rem; line-height: 1.8; margin-bottom: 28px; }
.kantha-contact-wrap .form-group { margin-bottom: 18px; position: relative; }
.kantha-contact-wrap .form-group label {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--kantha-rust); font-size: .9rem; pointer-events: none;
}
.kantha-contact-wrap .form-group textarea ~ label { top: 16px; transform: none; }
.kantha-contact-wrap input,
.kantha-contact-wrap textarea {
  width: 100%; padding: 12px 14px 12px 38px;
  border: 1.5px solid var(--kantha-border) !important;
  background: #fff !important; color: var(--kantha-deep) !important;
  font-size: .88rem; outline: none; transition: border-color .3s;
}
.kantha-contact-wrap textarea { padding-left: 38px; min-height: 130px; resize: vertical; }
.kantha-contact-wrap input:focus,
.kantha-contact-wrap textarea:focus { border-color: var(--kantha-gold) !important; }
.kantha-contact-info-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 0; border-bottom: 1px solid var(--kantha-border);
}
.kantha-contact-info-item:last-child { border-bottom: none; }
.kantha-contact-info-icon {
  width: 40px; height: 40px; background: var(--kantha-rust); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; flex-shrink: 0;
}
.kantha-contact-info-label { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #888; margin-bottom: 3px; }
.kantha-contact-info-value { font-size: .9rem; color: var(--kantha-deep); font-weight: 600; }

/* ── About page enhancements ── */
.about-us-content .title {
  font-family: var(--font-serif);
  color: var(--kantha-deep);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.3;
  margin-bottom: 20px;
}
.widget-tabs.style-3 .widget-menu-tab {
  border-bottom: 2px solid var(--kantha-border);
  display: flex; flex-wrap: wrap; gap: 0;
}
.widget-tabs.style-3 .item-title {
  padding: 10px 18px; cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: all .3s;
}
.widget-tabs.style-3 .item-title .inner {
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: #888; font-weight: 700;
}
.widget-tabs.style-3 .item-title.active { border-bottom-color: var(--kantha-rust); }
.widget-tabs.style-3 .item-title.active .inner { color: var(--kantha-rust); }
.widget-content-tab { padding-top: 20px; }
.widget-content-inner { display: none; }
.widget-content-inner.active { display: block; }
.widget-content-inner p {
  font-size: .9rem; color: #555; line-height: 1.95;
}
.about-us-features img {
  width: 100%; height: 480px; object-fit: cover; display: block;
}

/* Team cards */
.team-item .image { overflow: hidden; }
.team-item .image img { transition: transform .6s ease; }
.team-item:hover .image img { transform: scale(1.06); }
.team-item .content { padding: 14px 0 4px; }
.team-item .name a { font-family: var(--font-serif); color: var(--kantha-deep); font-size: .95rem; }
.team-item .name a:hover { color: var(--kantha-rust); }
.team-item .infor { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--kantha-rust); }

/* Testimonial style-4 */
.testimonial-item.style-4 {
  background: var(--kantha-cream);
  border: 1px solid var(--kantha-border);
  border-top: 3px solid var(--kantha-gold);
  padding: 28px 24px;
  position: relative;
}
.testimonial-item.style-4 .box-icon { color: var(--kantha-gold); font-size: 1.4rem; margin-bottom: 10px; opacity: .6; }
.testimonial-item.style-4 .text-title { font-family: var(--font-serif); color: var(--kantha-deep); font-size: 1rem; margin-bottom: 10px; }
.testimonial-item.style-4 .text-secondary { font-size: .86rem; color: #666; line-height: 1.85; font-style: italic; margin-bottom: 18px; }
.testimonial-item.style-4 .author { font-size: .84rem; font-weight: 700; color: var(--kantha-deep); }
.testimonial-item.style-4 .list-star-default { color: var(--kantha-gold); font-size: .8rem; letter-spacing: 2px; }

/* Icon boxes */
.tf-icon-box.style-2 { display: flex; align-items: flex-start; gap: 16px; padding: 20px 0; }
.tf-icon-box.style-2 .icon-box {
  width: 48px; height: 48px; background: var(--kantha-rust); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.tf-icon-box.style-2 .content h6 { font-family: var(--font-serif); color: var(--kantha-deep); margin-bottom: 4px; }
.tf-icon-box.style-2 .content p { font-size: .82rem; color: #888; line-height: 1.7; }

/* Heading sections */
.heading-section h3,
.heading-section-2 h3 {
  font-family: var(--font-serif);
  color: var(--kantha-deep);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}
.heading-section .subheading { font-size: .88rem; color: #888; line-height: 1.8; }

/* ── Kantha stitch divider (reusable) ── */
.kantha-inner-divider {
  display: flex; align-items: center; gap: 10px;
  margin: 32px 0;
}
.kantha-inner-divider .line { flex: 1; height: 1px; background: var(--kantha-border); }
.kantha-inner-divider .gem { width: 8px; height: 8px; background: var(--kantha-gold); transform: rotate(45deg); flex-shrink: 0; }

/* ── Buttons ── */
.tf-btn.btn-fill {
  background: var(--kantha-rust) !important;
  border-color: var(--kantha-rust) !important;
  color: #fff !important;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 12px 28px; border: 2px solid transparent;
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none; transition: all .3s; cursor: pointer;
}
.tf-btn.btn-fill:hover { background: var(--kantha-deep) !important; border-color: var(--kantha-deep) !important; }
.tf-btn.btn-outline {
  background: transparent !important;
  border: 2px solid var(--kantha-rust) !important;
  color: var(--kantha-rust) !important;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 12px 28px;
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none; transition: all .3s; cursor: pointer;
}
.tf-btn.btn-outline:hover { background: var(--kantha-rust) !important; color: #fff !important; }

/* ── Empty states ── */
.kantha-empty-state {
  text-align: center; padding: 60px 20px;
  background: var(--kantha-cream);
  border: 1px dashed var(--kantha-border);
}
.kantha-empty-state .empty-icon { font-size: 3rem; color: var(--kantha-gold); opacity: .5; margin-bottom: 16px; }
.kantha-empty-state h5 { font-family: var(--font-serif); color: var(--kantha-deep); margin-bottom: 8px; }
.kantha-empty-state p { font-size: .88rem; color: #888; margin-bottom: 24px; }

/* ── Alert overrides ── */
.alert-success { background: rgba(74,94,56,.1); border: 1px solid rgba(74,94,56,.3); color: var(--kantha-sage); border-radius: 0; }
.alert-danger  { background: rgba(155,28,28,.08); border: 1px solid rgba(155,28,28,.25); color: var(--kantha-red); border-radius: 0; }
.alert-info    { background: rgba(200,150,12,.08); border: 1px solid rgba(200,150,12,.25); color: var(--kantha-mustard); border-radius: 0; }

/* ── Order Success page ── */
.order-success-panel { display: flex; justify-content: center; padding: 20px 0 40px; }
.order-success-card {
  max-width: 620px; width: 100%;
  background: var(--kantha-cream);
  border: 1px solid var(--kantha-border);
  border-top: 4px solid var(--kantha-gold);
  padding: 48px 40px;
  text-align: center;
  position: relative;
}
.order-success-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--kantha-gold) 0, var(--kantha-gold) 8px,
    transparent 8px, transparent 14px
  );
}
.order-success-icon-wrap {
  width: 72px; height: 72px; margin: 0 auto 20px;
  color: var(--kantha-sage);
}
.order-success-icon { width: 100%; height: 100%; }
.order-success-eyebrow {
  font-size: .65rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--kantha-rust); margin-bottom: 8px;
}
.order-success-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--kantha-deep); margin-bottom: 14px;
}
.order-success-lead { font-size: .9rem; color: #666; line-height: 1.85; margin-bottom: 28px; }
.order-success-steps { list-style: none; padding: 0; margin: 0 0 32px; text-align: left; }
.order-success-steps li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 0; border-bottom: 1px solid var(--kantha-border);
}
.order-success-steps li:last-child { border-bottom: none; }
.order-success-step-num {
  width: 26px; height: 26px; background: var(--kantha-rust); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 700; flex-shrink: 0;
}
.order-success-step-text { font-size: .86rem; color: #555; line-height: 1.7; padding-top: 3px; }
.order-success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Address book ── */
.addr-book-panel { }
.addr-book-toolbar {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 16px; margin-bottom: 24px;
}
.addr-book-title {
  font-family: var(--font-serif); color: var(--kantha-deep);
  font-size: 1.3rem; margin-bottom: 4px;
}
.addr-book-sub { font-size: .84rem; color: #888; }
.addr-book-btn-add {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px; background: var(--kantha-rust); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; border: 2px solid var(--kantha-rust); transition: all .3s;
}
.addr-book-btn-add:hover { background: var(--kantha-deep); border-color: var(--kantha-deep); color: #fff; }
.addr-book-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.addr-card {
  background: var(--kantha-cream);
  border: 1px solid var(--kantha-border);
  border-left: 4px solid var(--kantha-gold);
  padding: 20px 22px;
  position: relative;
}
.addr-card__badge {
  display: inline-block; font-size: .58rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--kantha-gold); color: var(--kantha-deep);
  padding: 3px 10px; margin-bottom: 10px;
}
.addr-card__name { font-family: var(--font-serif); font-size: .95rem; color: var(--kantha-deep); font-weight: 700; margin-bottom: 6px; }
.addr-card__address { font-size: .84rem; color: #555; line-height: 1.7; margin-bottom: 6px; }
.addr-card__meta { font-size: .78rem; color: #888; margin-bottom: 4px; }
.addr-card__meta-label { font-weight: 700; color: var(--kantha-deep); margin-right: 6px; }
.addr-card__email { font-size: .78rem; color: #888; }
.addr-card__actions { display: flex; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--kantha-border); }
.addr-card__link {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--kantha-rust); text-decoration: none; background: none; border: none; cursor: pointer; padding: 0;
  transition: color .3s;
}
.addr-card__link:hover { color: var(--kantha-deep); }
.addr-card__link--danger { color: #aaa; }
.addr-card__link--danger:hover { color: var(--kantha-red); }
.addr-book-empty {
  text-align: center; padding: 60px 20px;
  background: var(--kantha-cream); border: 1px dashed var(--kantha-border);
}
.addr-book-empty__icon { width: 52px; height: 52px; color: var(--kantha-gold); opacity: .5; margin: 0 auto 16px; }
.addr-book-empty__title { font-family: var(--font-serif); color: var(--kantha-deep); margin-bottom: 8px; }
.addr-book-empty__text { font-size: .86rem; color: #888; margin-bottom: 24px; }

/* ── Order detail table ── */
.order-table { width: 100%; border-collapse: collapse; }
.order-table th {
  background: var(--kantha-ivory); color: var(--kantha-deep);
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 12px 14px; border-bottom: 2px solid var(--kantha-gold);
  font-weight: 700;
}
.order-table td { padding: 12px 14px; border-bottom: 1px solid var(--kantha-border); font-size: .88rem; color: #444; }
.order-table tbody tr:hover { background: var(--kantha-ivory); }
.order-summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-top: 18px; }
.order-summary-card {
  background: #fff; border: 1px solid var(--kantha-border);
  padding: 16px 18px;
}
.order-summary-card .label { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #888; margin-bottom: 6px; }
.order-summary-card .value { font-size: .95rem; font-weight: 700; color: var(--kantha-deep); }
.order-status-badge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 16px; font-size: .62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
}
.detail-heading { font-family: var(--font-serif); color: var(--kantha-deep); font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; }
.detail-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--kantha-border); }
.detail-row:last-child { border-bottom: none; }
.detail-label { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: #888; }
.detail-value { font-weight: 700; color: var(--kantha-deep); font-size: .9rem; }

/* ── Kill ALL grey backgrounds ── */

/* Override the theme's --surface variable that drives bg-surface */
:root { --surface: var(--kantha-ivory) !important; }

.bg-surface { background: var(--kantha-ivory) !important; }
.bg-white    { background: #fff !important; }

/* Any section/div with inline or class-based grey */
section, .flat-spacing, .flat-spacing-2, .flat-spacing-5 { background: transparent; }

/* Theme wrapper backgrounds */
.line-bottom-container,
.tf-marquee,
.section-box { background: transparent !important; }

/* Swiper slide background */
.swiper-slide { background: transparent; }

/* Swiper pagination dots — kantha gold */
.sw-dots .swiper-pagination-bullet { background: var(--kantha-border) !important; opacity: 1; }
.sw-dots .swiper-pagination-bullet-active { background: var(--kantha-rust) !important; }

/* Collection circle image fix — no grey bg */
.collection-circle .img-style { background: var(--kantha-cream); overflow: hidden; }
.collection-circle .img-style img { width: 100%; height: 100%; object-fit: cover; }

/* ── Card product image — uniform size, no grey, no flicker ── */

/* The theme controls sizing via .card-product-wrapper, not .product-img */
/* Override aspect-ratio with a fixed height so ALL cards are identical */
.card-product .card-product-wrapper,
.card-product:not(.list-st-3,.list-st-2,.style-list) .card-product-wrapper {
  aspect-ratio: unset !important;
  height: 320px !important;
  background: var(--kantha-cream) !important;
  border-radius: 0 !important;
  overflow: hidden;
  position: relative;
}

/* Both images must fill the wrapper completely */
.card-product .card-product-wrapper img,
.card-product .card-product-wrapper .img-product,
.card-product .card-product-wrapper .img-hover {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

/* Primary image — scale on hover, no opacity flicker */
.card-product .card-product-wrapper .img-product {
  opacity: 1 !important;
  transition: transform .5s ease !important;
  will-change: transform;
  z-index: 1;
}
.card-product .card-product-wrapper:hover .img-product {
  transform: scale(1.05) !important;
  opacity: 1 !important;
}

/* Hover image — fade in on top */
.card-product .card-product-wrapper .img-hover {
  opacity: 0 !important;
  transition: opacity .5s ease !important;
  transform: none !important;
  z-index: 2;
}
.card-product .card-product-wrapper:hover .img-hover {
  opacity: 1 !important;
  transform: none !important;
}

@media(max-width:767px) {
  .card-product .card-product-wrapper,
  .card-product:not(.list-st-3,.list-st-2,.style-list) .card-product-wrapper { height: 240px !important; }
}
@media(max-width:575px) {
  .card-product .card-product-wrapper,
  .card-product:not(.list-st-3,.list-st-2,.style-list) .card-product-wrapper { height: 200px !important; }
}

/* ── Related / Recently Viewed tabs ── */
.tab-product {
  display: flex; gap: 0;
  border-bottom: 2px solid var(--kantha-border);
  margin-bottom: 32px; padding: 0;
  list-style: none;
}
.tab-product .nav-tab-item a {
  display: block; padding: 12px 28px;
  font-family: var(--font-serif);
  font-size: 1rem; color: #888;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color .3s, border-color .3s;
  letter-spacing: .02em;
}
.tab-product .nav-tab-item a.active,
.tab-product .nav-tab-item a:hover {
  color: var(--kantha-rust);
  border-bottom-color: var(--kantha-rust);
}
.flat-animate-tab { background: transparent; }
.flat-animate-tab .tab-content { padding-top: 4px; }

/* Wishlist card image — consistent height */
.wishlist-card-img { height: 280px; }
.wishlist-card-img img { width: 100%; height: 100%; object-fit: cover; }

/* Team image consistent height */
.team-item .image img { width: 100%; height: 280px; object-fit: cover; object-position: top; display: block; }

/* Remove any default grey from account/sidebar */
.wrap-sidebar-account { background: transparent; }
.my-account-wrap { background: transparent; }

/* Order success section bg */
.order-success-section { background: var(--kantha-cream); }

/* Contact section bg */
.tf-contact-wrap,
.contact-section { background: transparent; }

/* ================================================================
   KANTHA PREMIUM PRODUCT CARDS (kp-card)
   ================================================================ */

.kp-related-section {
  padding: 56px 0 64px;
  background: var(--kantha-ivory);
  border-top: 3px solid var(--kantha-gold);
}

.kp-swiper-prev,
.kp-swiper-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 12;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--kantha-border);
  color: var(--kantha-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: all .25s ease;
}
.kp-swiper-prev:hover,
.kp-swiper-next:hover {
  background: var(--kantha-rust);
  color: #fff;
  border-color: var(--kantha-rust);
}
.kp-swiper-prev svg,
.kp-swiper-next svg {
  width: 18px;
  height: 18px;
  display: block;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.kp-swiper-prev { left: 6px; }
.kp-swiper-next { right: 6px; }

/* Tab header */
.kp-tabs-header {
  display: flex;
  align-items: flex-end;
  margin-bottom: 36px;
  border-bottom: 2px solid var(--kantha-border);
}
.kp-tab-btn {
  padding: 10px 28px 13px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: #aaa;
  cursor: pointer;
  transition: color .25s, border-color .25s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.kp-tab-btn .kp-tab-gem {
  width: 6px; height: 6px;
  background: currentColor;
  transform: rotate(45deg);
  opacity: .35;
  flex-shrink: 0;
  transition: opacity .25s;
}
.kp-tab-btn.active { color: var(--kantha-rust); border-bottom-color: var(--kantha-rust); }
.kp-tab-btn.active .kp-tab-gem { opacity: 1; }
.kp-tab-btn:hover { color: var(--kantha-rust); }

/* Tab panels */
.kp-tab-panel { display: none; }
.kp-tab-panel.active { display: block; }

/* Swiper wrapper — no padding, arrows outside */
.kp-swiper-wrap { position: relative; }
.kp-swiper { overflow: hidden; }
.kp-swiper .swiper-wrapper { align-items: stretch; }
.kp-swiper .swiper-slide {
  height: auto;
  display: flex;
  box-sizing: border-box;
}
.kp-swiper .swiper-slide > .kp-card {
  width: 100%;
  max-width: 100%;
}

/* Nav arrows */
.kp-nav {
  position: absolute;
  top: 38%;                 /* vertically centred on image */
  transform: translateY(-50%);
  z-index: 10;
  width: 38px; height: 38px;
  background: #fff;
  border: 1.5px solid var(--kantha-border);
  color: var(--kantha-deep);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s;
  font-size: .8rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.kp-nav:hover { background: var(--kantha-rust); border-color: var(--kantha-rust); color: #fff; }
.kp-nav-prev { left: -19px; }
.kp-nav-next { right: -19px; }

/* THE CARD */
.kp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 100%;
  background: #fff;
  border: 1px solid var(--kantha-border);
  overflow: hidden;
  transition: box-shadow .3s;
}
.kp-card:hover { box-shadow: 0 8px 32px rgba(26,8,0,.12); }
.kp-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
  position: relative;
  z-index: 2;
}
.kp-card-link:hover .kp-card-title { color: var(--kantha-rust); }
.kp-card-link:hover .kp-card-img { transform: scale(1.05); }

/* Gold running-stitch top line */
.kp-card::before {
  content: '';
  display: block;
  height: 3px;
  flex-shrink: 0;
  background: repeating-linear-gradient(
    90deg,
    var(--kantha-gold) 0 6px, transparent 6px 10px
  );
}

/* IMAGE — aspect-ratio drives height so it scales with slide width */
.kp-card-img-wrap {
  display: block;
  position: relative;
  width: 100%;
  height: 240px;
  max-height: 240px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--kantha-cream), #fdf7eb);
  flex-shrink: 0;
  padding: 10px;
  box-sizing: border-box;
}
.kp-card-img {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  object-fit: contain;
  object-position: center;
  display: block;
  background: #fff;
  border-radius: 6px;
  transition: transform .5s ease;
}
.kp-card:hover .kp-card-img { transform: scale(1.05); }

/* Dark overlay + view button */
.kp-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,8,0,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
  z-index: 3;
}
.kp-card:hover .kp-card-overlay { opacity: 1; }
.kp-card-view-btn {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.65);
  padding: 8px 20px;
}

/* Alpona dashed inner border */
.kp-card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px dashed rgba(200,150,12,0);
  transition: border-color .35s;
  pointer-events: none;
  z-index: 4;
}
.kp-card:hover .kp-card-img-wrap::after { border-color: rgba(200,150,12,.5); }

/* Action bar */
.kp-card-actions {
  display: flex;
  align-items: stretch;
  border-top: 1px solid var(--kantha-border);
  flex-shrink: 0;
  position: relative;
  z-index: 3;
}
.kp-card-atc {
  flex: 1;
  padding: 9px 8px;
  background: var(--kantha-rust);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s;
  border: none;
  cursor: pointer;
}
.kp-card-atc:hover { background: var(--kantha-deep); color: #fff; }
.kp-card-icon {
  width: 38px;
  background: var(--kantha-cream);
  border-left: 1px solid var(--kantha-border);
  color: var(--kantha-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  text-decoration: none;
  transition: background .25s, color .25s;
  flex-shrink: 0;
  cursor: pointer;
}
.kp-card-icon:hover { background: var(--kantha-rust); color: #fff; }

/* Info */
.kp-card-info {
  padding: 12px 13px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4px;
  flex: 1;
  min-height: 88px;
}
.kp-card-title {
  font-family: var(--font-serif);
  font-size: .88rem;
  color: var(--kantha-deep);
  text-decoration: none;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .25s;
}
.kp-card-title:hover { color: var(--kantha-rust); }
.kp-card-price {
  font-size: .88rem;
  font-weight: 700;
  color: var(--kantha-rust);
  margin-top: 2px;
}
