/* ==========================================================================
   PINKY SHOP — woocommerce-custom.css
   Enterprise WooCommerce Styles: Single Product, Glassmorphic Cart,
   2-Column Checkout, Account Dashboard, Archives, Live Search & Overrides
   ========================================================================== */

/* ==========================================================================
   1. GLOBAL WOOCOMMERCE & CONTAINER OVERRIDES
   ========================================================================== */
.pinky-wc-wrapper {
  padding: 120px 0 80px;
  min-height: 80vh;
}
@media(max-width:768px){
  .pinky-wc-wrapper {
    padding: 96px 0 60px;
  }
}

.pinky-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.pinky-breadcrumbs a {
  color: var(--text);
  transition: color .25s var(--ease);
}
.pinky-breadcrumbs a:hover {
  color: var(--accent-deep);
}
.pinky-breadcrumbs .bc-sep {
  color: var(--border);
  font-size: 11px;
}

/* Glass Card Component */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  transition: all .35s var(--ease);
}
@media(max-width:576px){
  .glass-card {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }
}


/* Archive & Category Hero Banner */
.archive-hero-card {
  margin-bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 221, 235, 0.4) 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
}
.archive-hero-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.archive-hero-content {
  flex: 1;
}
.archive-hero-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--text);
  margin: 6px 0 12px;
}
.archive-hero-desc {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 680px;
}
.archive-hero-badge {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 8px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.archive-hero-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media(max-width: 768px) {
  .archive-hero-card {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 18px;
  }
  .archive-hero-badge {
    width: 64px;
    height: 64px;
  }
}

/* ==========================================================================
   2. SHOP ARCHIVE / CATALOG
   ========================================================================== */
.shop-archive-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.shop-archive-header .woocommerce-result-count {
  font-size: 14px;
  color: var(--muted);
}
.shop-archive-header .woocommerce-ordering select {
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: #fff;
  font-size: 13px;
  color: var(--text);
  outline: none;
  cursor: pointer;
  transition: border-color .3s;
}
.shop-archive-header .woocommerce-ordering select:focus {
  border-color: var(--accent);
}

.category-pills {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 14px;
  margin-bottom: 30px;
  scrollbar-width: none;
}
.category-pills::-webkit-scrollbar {
  display: none;
}
.cat-pill {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: all .3s var(--ease);
}
.cat-pill:hover, .cat-pill.active {
  background: var(--btn-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

/* Pagination */
.pinky-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 50px;
}
.pinky-pagination .page-numbers {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  transition: all .3s var(--ease);
}
.pinky-pagination .page-numbers.current, .pinky-pagination .page-numbers:hover {
  background: var(--btn-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}
.pinky-pagination .page-numbers.prev, .pinky-pagination .page-numbers.next {
  width: auto;
  padding: 0 18px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   3. SINGLE PRODUCT LUXURY LAYOUT
   ========================================================================== */
.single-product-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: flex-start;
  margin-bottom: 70px;
}
@media(max-width:992px){
  .single-product-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .product-gallery-wrap {
    position: static !important;
    top: auto !important;
  }
}

/* Gallery (Desktop Sticky) */
.product-gallery-wrap {
  position: sticky;
  top: 110px;
  min-width: 0;
}
@media(max-width:992px){
  .product-gallery-wrap {
    position: static !important;
    top: auto !important;
  }
}
.main-gallery-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--secondary);
  aspect-ratio: 1/1;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  position: relative;
}
.main-gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.gallery-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.gallery-thumb {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--secondary);
  flex: none;
  transition: all .3s var(--ease);
}
.gallery-thumb.active, .gallery-thumb:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Single Summary Info */
.product-summary-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.product-summary-wrap .product-brand-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-deep);
  letter-spacing: .5px;
  text-transform: uppercase;
}
.product-summary-wrap h1.product-title {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  line-height: 1.35;
  color: var(--text);
}
.single-rating-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.single-rating-wrap .stars-gold {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 2px;
}
.single-rating-wrap a.reviews-link {
  font-size: 13px;
  color: var(--muted);
  text-decoration: underline;
}

.single-price-matrix {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.single-price-matrix .price {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent-deep);
}
.single-price-matrix del {
  font-size: 16px;
  color: var(--muted);
  text-decoration: line-through;
  margin-right: 8px;
}
.single-price-matrix ins {
  text-decoration: none;
}
.single-price-matrix .stock-badge {
  margin-right: auto;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}
.stock-badge.in-stock {
  background: #E6F7ED;
  color: #10B981;
}
.stock-badge.out-of-stock {
  background: #FEE2E2;
  color: #EF4444;
}

.product-short-desc {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--text);
  opacity: .9;
}

/* Variations & Swatches */
.variations-form-wrap {
  margin-top: 10px;
}
.variations-table {
  width: 100%;
  display: block;
  border-collapse: collapse;
  table-layout: fixed;
}
.variations-table tbody,
.variations-table tr,
.variations-table th,
.variations-table td {
  display: block;
  width: 100%;
  box-sizing: border-box;
}
.variations-table tr {
  margin-bottom: 14px;
}
.variations-table th.label {
  padding: 0 0 9px;
  font-weight: 700;
  font-size: 13.5px;
  text-align: right;
}
.variations-table th.label label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  color: var(--text);
}
.variations-table th.label label > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.variations-table th.label small {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 95, 150, .09);
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 700;
}
.variations-table td.value {
  padding: 0;
  vertical-align: middle;
}
.variations-table select {
  width: 100%;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: #fff;
  font-size: 13.5px;
  color: var(--text);
  outline: none;
}

/* Single Add to Cart Action Row */
.single-cart-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.qty-pill-picker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: 6px 14px;
}
.qty-pill-picker button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  transition: all .2s;
}
.qty-pill-picker button:hover {
  background: var(--secondary);
  color: var(--accent-deep);
}
.qty-pill-picker input {
  width: 44px;
  border: none;
  background: none;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  outline: none;
}
.single-add-to-cart-btn {
  flex: 1;
  min-width: 220px;
  padding: 16px 36px;
  font-size: 15.5px;
  box-shadow: var(--shadow-md);
}

.single-wishlist-toggle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all .3s var(--ease);
  flex: none;
}
.single-wishlist-toggle:hover, .single-wishlist-toggle.active {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}
.single-wishlist-toggle svg {
  width: 20px;
  height: 20px;
}
.single-wishlist-toggle.active svg {
  fill: #fff;
}

/* Trust Badges Strip */
.single-trust-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted);
}
.trust-badge-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex: none;
}

/* Custom Tabs & Accordions */
.pinky-tabs-wrapper {
  margin-top: 50px;
}
.pinky-tabs-nav {
  display: flex;
  gap: 16px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 30px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pinky-tabs-nav::-webkit-scrollbar {
  display: none;
}
.pinky-tab-btn {
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  position: relative;
  transition: color .3s;
  cursor: pointer;
  white-space: nowrap;
}
.pinky-tab-btn.active, .pinky-tab-btn:hover {
  color: var(--accent-deep);
}
.pinky-tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
}
.pinky-tab-content {
  display: none;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--text);
}
.pinky-tab-content.active {
  display: block;
  animation: fadeIn .4s var(--ease);
}

/* Product attributes: responsive cards instead of a stretched two-column table */
.pinky-product-attributes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.pinky-attribute-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 95, 150, .14);
  border-radius: 18px;
  background: linear-gradient(145deg, #fff 0%, rgba(255, 248, 250, .85) 100%);
}
.pinky-attribute-card.is-long {
  grid-column: 1 / -1;
}
.pinky-attribute-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.pinky-attribute-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}
.pinky-attribute-head span {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  color: var(--muted);
}
.pinky-attribute-search,
.pinky-picker-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 230px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}
.pinky-attribute-search:focus-within,
.pinky-picker-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 95, 150, .1);
}
.pinky-attribute-search svg,
.pinky-picker-search svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--muted);
}
.pinky-attribute-search input,
.pinky-picker-search input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 12.5px;
}
.pinky-attribute-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pinky-attribute-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 95, 150, .16);
  border-radius: 999px;
  background: #fff;
  color: #4b5563;
  font-size: 12px;
  line-height: 1.5;
}
.pinky-attribute-card.is-long:not(.is-expanded):not(.is-searching) .pinky-attribute-chip:nth-child(n+13) {
  display: none;
}
.pinky-attributes-toggle {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 95, 150, .22);
  border-radius: 999px;
  background: rgba(255, 95, 150, .07);
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 700;
}
.pinky-attributes-toggle .hide-label,
.pinky-attribute-card.is-expanded .pinky-attributes-toggle .show-label,
.pinky-attribute-card.is-searching .pinky-attributes-toggle {
  display: none;
}
.pinky-attribute-card.is-expanded .pinky-attributes-toggle .hide-label {
  display: inline;
}
.pinky-attribute-value {
  color: #4b5563;
  line-height: 1.8;
}
.pinky-attribute-note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  color: var(--muted);
  font-size: 12px;
}

/* Searchable variation picker for long scent/model lists */
.variations-table td.value {
  position: relative;
}
.pinky-native-variation-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.pinky-variation-picker {
  position: relative;
  width: 100%;
  min-width: 0;
}
.pinky-picker-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 12px 17px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  text-align: right;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.pinky-picker-trigger[aria-expanded="true"] {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 95, 150, .1);
}
.pinky-picker-trigger svg {
  width: 17px;
  height: 17px;
  flex: none;
  transition: transform .2s ease;
}
.pinky-picker-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.pinky-picker-panel {
  position: relative;
  z-index: 5;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin-top: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 95, 150, .18);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(31, 41, 55, .12);
}
.pinky-picker-panel[hidden] {
  display: none !important;
}
.pinky-picker-search {
  min-width: 0;
  min-height: 46px;
  margin-bottom: 12px;
  box-sizing: border-box;
}
.pinky-picker-count {
  flex: none;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 95, 150, .09);
  color: var(--accent-deep);
  font-size: 10.5px;
  font-weight: 700;
}
.pinky-picker-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  max-height: 350px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2px 0 2px 5px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 95, 150, .4) transparent;
}
.pinky-picker-option {
  min-width: 0;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid #f0e4e8;
  border-radius: 10px;
  background: #fffafc;
  color: #4b5563;
  text-align: right;
  font: inherit;
  font-size: 13.5px;
  line-height: 1.65;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.pinky-picker-option:hover,
.pinky-picker-option.selected {
  border-color: var(--accent);
  background: rgba(255, 95, 150, .09);
  color: var(--accent-deep);
}
.pinky-picker-option:disabled {
  opacity: .42;
  cursor: not-allowed;
}
.pinky-picker-empty {
  padding: 18px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

@media (max-width: 700px) {
  .pinky-product-attributes {
    grid-template-columns: 1fr;
  }
  .pinky-attribute-card.is-long {
    grid-column: auto;
  }
  .pinky-attribute-head {
    align-items: stretch;
    flex-direction: column;
  }
  .pinky-attribute-search {
    min-width: 0;
    width: 100%;
  }
  .pinky-picker-options {
    grid-template-columns: 1fr;
    max-height: 320px;
  }
  .pinky-picker-panel {
    padding: 11px;
  }
  .variations-table th.label label {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Reviews List */
.commentlist {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}
.comment-item {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}
.comment-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.comment-author {
  font-weight: 700;
  font-size: 14px;
}
.comment-text {
  color: var(--text);
  font-size: 14px;
  line-height: 1.8;
}

/* Sticky Mobile Bottom Bar for Single Product */
.mobile-sticky-buy-bar {
  display: none;
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  z-index: 140;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}
@media(max-width:768px){
  body.single-product .mobile-sticky-buy-bar {
    display: flex;
  }
  body.single-product .bottom-nav {
    display: none;
  }
}
.mobile-sticky-buy-bar .sticky-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--accent-deep);
}
.mobile-sticky-buy-bar .btn {
  flex: 1;
  padding: 12px 20px;
  font-size: 14px;
}

/* ==========================================================================
   4. TWO-COLUMN GLASS CART
   ========================================================================== */
.cart-layout-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 36px;
  align-items: flex-start;
}
@media(max-width:992px){
  .cart-layout-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.cart-items-card {
  padding: 24px;
}
.cart-table-custom {
  width: 100%;
  border-collapse: collapse;
}
.cart-table-custom th {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}
.cart-table-custom td {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.cart-item-product-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cart-item-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--secondary);
}
.cart-item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  display: block;
}

.cart-sidebar-summary {
  position: sticky;
  top: 110px;
}
.cart-totals-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.cart-totals-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.cart-totals-row.grand-total {
  font-size: 17px;
  font-weight: 800;
  color: var(--accent-deep);
  border-bottom: none;
  padding-top: 18px;
}
.coupon-form-box {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.coupon-form-box input {
  flex: 1;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  font-size: 13px;
  outline: none;
}
.coupon-form-box input:focus {
  border-color: var(--accent);
}

/* ==========================================================================
   5. TWO-COLUMN GLASS CHECKOUT
   ========================================================================== */
.checkout-layout-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: flex-start;
}
@media(max-width:992px){
  .checkout-layout-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.form-section-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text);
}
.checkout-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media(max-width:576px){
  .checkout-fields-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px 10px !important;
  }
}
.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field-group.full-width {
  grid-column: 1 / -1;
}
.form-field-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.form-field-group input,
.form-field-group select,
.form-field-group textarea {
  width: 100%;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #fff;
  font-size: 13.5px;
  color: var(--text);
  outline: none;
  transition: all .3s;
}
.form-field-group input:focus,
.form-field-group select:focus,
.form-field-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 95, 150, 0.15);
}

/* Selectable Payment Gateways Cards */
.payment-methods-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}
.payment-method-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.payment-method-card.selected,
.payment-method-card:hover {
  border-color: var(--accent);
  background: rgba(255, 221, 235, 0.25);
  box-shadow: var(--shadow-sm);
}
.payment-method-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.payment-method-header input[type="radio"] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}
.payment-method-desc {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 8px;
  padding-right: 30px;
  line-height: 1.7;
}

/* ==========================================================================
   6. ACCOUNT DASHBOARD & AUTH
   ========================================================================== */
.account-layout-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: flex-start;
}
@media(max-width:860px){
  .account-layout-grid {
    grid-template-columns: 1fr;
  }
}
.account-nav-pills {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.account-nav-link {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all .3s var(--ease);
}
.account-nav-link:hover, .account-nav-link.is-active {
  background: var(--btn-gradient);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.auth-modal-card {
  max-width: 480px;
  margin: 0 auto;
}
.auth-tabs-nav {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 26px;
}
.auth-tab-btn {
  flex: 1;
  text-align: center;
  padding: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all .3s;
}
.auth-tab-btn.active {
  color: var(--accent-deep);
  border-bottom: 2px solid var(--accent);
  margin-bottom: -2px;
}

/* ==========================================================================
   7. LIVE SEARCH RESULTS POPUP
   ========================================================================== */
.live-search-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  margin-top: 8px;
  z-index: 250;
  max-height: 380px;
  overflow-y: auto;
  display: none;
}
.live-search-dropdown.open {
  display: block;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  transition: background .2s;
}
.search-result-item:last-child {
  border-bottom: none;
}
.search-result-item:hover {
  background: var(--secondary);
}
.search-result-item img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--secondary);
}
.search-result-info b {
  font-size: 13px;
  display: block;
  color: var(--text);
}
.search-result-info span {
  font-size: 11.5px;
  color: var(--accent-deep);
  font-weight: 700;
}


/* ==========================================================================
   HIGH-END RESPONSIVE SHOP CATALOG & ARCHIVES
   ========================================================================== */
.shop-main-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: flex-start;
  margin-top: 24px;
}
@media(max-width: 992px) {
  .shop-main-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Sidebar Styles */
.shop-filter-sidebar {
  position: sticky;
  top: 110px;
}
.filter-sidebar-card {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.95);
}
.filter-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.filter-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}
.filter-close-btn {
  display: none;
  background: none;
  border: none;
  font-size: 18px;
  color: var(--muted);
  cursor: pointer;
}

.filter-group {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.filter-group-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.filter-cat-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.filter-cat-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 500;
  transition: all .25s var(--ease);
}
.filter-cat-list li a:hover, .filter-cat-list li a.active {
  background: rgba(255, 221, 235, 0.45);
  color: var(--accent-deep);
  font-weight: 700;
}
.cat-count-badge {
  font-size: 11.5px;
  background: #fff;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  color: var(--muted);
  border: 1px solid var(--border);
}
.filter-cat-list li a.active .cat-count-badge {
  background: var(--accent-deep);
  color: #fff;
  border-color: transparent;
}

.filter-brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.brand-chip {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: #fff;
  border: 1px solid var(--border);
  font-size: 12px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all .25s;
}
.brand-chip:hover, .brand-chip.active {
  background: var(--btn-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.sidebar-trust-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.st-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.st-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex: none;
}

/* Mobile Filter Drawer Behavior */
@media(max-width: 992px) {
  .shop-filter-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 350;
    transform: translateX(105%);
    transition: transform .35s var(--ease);
    overflow-y: auto;
    padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
    box-shadow: -8px 0 32px rgba(0,0,0,0.15);
  }
  .shop-filter-sidebar.open {
    transform: translateX(0);
  }
  .filter-close-btn {
    display: block;
  }
  .filter-sidebar-card {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }
}

.filter-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 340;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
}
.filter-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Toolbar Card */
.shop-toolbar-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  margin-bottom: 24px;
  border-radius: var(--radius-md);
  flex-wrap: wrap;
  gap: 14px;
}
.toolbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.mobile-filter-trigger {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 13px;
}
@media(max-width: 992px) {
  .mobile-filter-trigger {
    display: inline-flex;
  }
}

.shop-result-count-box .woocommerce-result-count {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 600;
}

/* Custom Ordering Dropdown */
.shop-ordering-box form {
  margin: 0;
}
.shop-ordering-box select.orderby {
  padding: 10px 36px 10px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat 14px center;
  font-size: 13px;
  font-family: inherit;
  font-weight: 600;
  color: var(--text);
  outline: none;
  cursor: pointer;
  transition: all .25s;
  -webkit-appearance: none;
  appearance: none;
}
.shop-ordering-box select.orderby:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 95, 150, 0.15);
}

/* Grid & Product Card Responsiveness in Shop Catalog */
.shop-products-main .product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media(min-width: 1400px) {
  .shop-products-main .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
  }
}
@media(max-width: 1200px) {
  .shop-products-main .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}
@media(max-width: 768px) {
  .shop-products-main .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product-card {
    padding: 0;
    border-radius: var(--radius-md);
  }
  .product-body {
    padding: 12px;
  }
  .product-body h3 {
    font-size: 13px;
    height: 38px;
    line-height: 1.45;
  }
  .product-brand {
    font-size: 10.5px;
    margin-bottom: 2px;
  }
  .price-now {
    font-size: 13.5px;
  }
  .add-cart-btn {
    padding: 9px 12px;
    font-size: 12px;
    border-radius: var(--radius-sm);
  }
  .quick-view-btn {
    display: none; /* Keep clean on mobile touch */
  }
  .wishlist-btn {
    width: 32px;
    height: 32px;
    top: 8px;
    left: 8px;
  }
  .wishlist-btn svg {
    width: 15px;
    height: 15px;
  }
  .sale-badge {
    top: 8px;
    right: 8px;
    font-size: 10px;
    padding: 3px 8px;
  }
}


/* ==========================================================================
   HIGH-END CART & CHECKOUT DESIGN SYSTEM
   ========================================================================== */

/* Step Indicator Bar */
.checkout-steps-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 18px 30px;
  margin-bottom: 24px;
  border-radius: var(--radius-md);
}
.step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
}
.step-item.active {
  color: var(--accent-deep);
  font-weight: 800;
}
.step-item.failed {
  color: #DC2626 !important;
  font-weight: 800;
}
.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 800;
}
.step-item.active .step-num {
  background: var(--btn-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}
.step-item.failed .step-num {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35) !important;
}
.step-divider {
  width: 50px;
  height: 2px;
  background: var(--border);
}
@media(max-width: 600px) {
  .checkout-steps-bar {
    gap: 10px;
    padding: 14px 16px;
  }
  .step-text {
    display: none;
  }
  .step-divider {
    width: 28px;
  }
}

/* Shipping Progress Bar */
.shipping-progress-card {
  padding: 16px 24px;
  margin-bottom: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 95, 150, 0.2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 221, 235, 0.3) 100%);
}
.sp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.sp-pct {
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-deep);
}
.sp-bar-track {
  width: 100%;
  height: 8px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.sp-bar-fill {
  height: 100%;
  background: var(--btn-gradient);
  border-radius: var(--radius-full);
  transition: width .5s var(--ease);
}

/* Cart 2-Column Layout */
.cart-layout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: flex-start;
}
@media(max-width: 1024px) {
  .cart-layout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Cart Items Card */
.cart-items-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}
.cart-table-head-bar {
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.cart-table-head-bar h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

/* Cart Item Rows */
.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cart-item-row {
  display: grid;
  grid-template-columns: 80px 1fr auto auto auto;
  gap: 20px;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-md);
  transition: all .25s var(--ease);
}
.cart-item-row:hover {
  background: #fff;
  box-shadow: var(--shadow-sm);
  border-color: rgba(255, 95, 150, 0.25);
}

.ci-thumb-wrap {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--secondary);
  border: 1px solid var(--border);
  flex: none;
}
.ci-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ci-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ci-brand {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-deep);
  letter-spacing: .5px;
}
.ci-title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.45;
}
.ci-title a {
  color: var(--text);
  transition: color .2s;
}
.ci-title a:hover {
  color: var(--accent);
}
.ci-unit-price {
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  gap: 6px;
  align-items: center;
}

/* Stepper */
.qty-pill-stepper {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: 3px 6px;
}
.stepper-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.stepper-btn:hover {
  background: var(--secondary);
  color: var(--accent-deep);
}
.qty-pill-stepper input {
  width: 38px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  outline: none;
  font-family: inherit;
  -moz-appearance: textfield;
}
.qty-pill-stepper input::-webkit-outer-spin-button,
.qty-pill-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ci-subtotal-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.subtotal-label {
  font-size: 11px;
  color: var(--muted);
  display: none;
}
.ci-subtotal-val {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent-deep);
}

.ci-remove-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9CA3AF;
  transition: all .2s;
  background: transparent;
}
.ci-remove-btn:hover {
  background: #FEE2E2;
  color: #EF4444;
  transform: scale(1.1);
}

/* Cart Actions Footer */
.cart-actions-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 14px;
}

/* Mobile Responsive Cart Item transformation */
@media(max-width: 768px) {
  .cart-items-card {
    padding: 16px 12px;
  }
  .cart-item-row {
    display: grid;
    grid-template-columns: 76px 1fr auto;
    grid-template-areas: 
      "thumb info info"
      "stepper stepper subtotal";
    gap: 12px 14px;
    padding: 14px;
    position: relative;
    align-items: center;
    background: #FFFFFF;
    border-radius: var(--radius-md);
  }
  .ci-thumb-wrap {
    grid-area: thumb;
    width: 76px;
    height: 76px;
    border-radius: 12px;
    overflow: hidden;
  }
  .ci-info-wrap {
    grid-area: info;
    padding-left: 36px;
    gap: 4px;
  }
  .ci-title {
    font-size: 14px;
    line-height: 1.4;
  }
  .ci-unit-price {
    font-size: 12px;
    color: var(--muted);
  }
  .ci-qty-wrap {
    grid-area: stepper;
    display: flex;
    align-items: center;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
    padding-top: 10px;
    margin-top: 2px;
  }
  .qty-pill-stepper {
    padding: 2px 4px;
    border-radius: var(--radius-full);
  }
  .stepper-btn {
    width: 28px;
    height: 28px;
    font-size: 15px;
  }
  .qty-pill-stepper input {
    width: 32px;
    font-size: 13.5px;
  }
  .ci-subtotal-wrap {
    grid-area: subtotal;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
    padding-top: 10px;
    margin-top: 2px;
  }
  .subtotal-label {
    display: inline;
    font-size: 12px;
    color: var(--muted);
  }
  .ci-subtotal-val {
    font-size: 15px;
    font-weight: 800;
  }
  .ci-remove-wrap {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
  }
  .ci-remove-btn {
    width: 32px;
    height: 32px;
  }

  /* Cart Actions Footer on Mobile */
  .cart-actions-footer {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
  }
  .cart-actions-footer .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 13.5px;
    box-sizing: border-box;
  }

  /* Shipping Progress Card on Mobile */
  .shipping-progress-card {
    padding: 14px 16px;
    margin-bottom: 20px;
  }
  .sp-header {
    font-size: 12px;
    gap: 8px;
    flex-wrap: nowrap;
  }
  .sp-pct {
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Extra bottom padding on mobile so bottom bar never obscures content */
  .pinky-wc-wrapper {
    padding: 96px 0 110px !important;
  }
}

/* Summary Card */
.cart-summary-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  position: sticky;
  top: 110px;
}
.summary-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.summary-rows-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text);
}
.summary-row span:first-child {
  color: var(--muted);
}
.summary-row span:last-child {
  font-weight: 700;
}
.free-shipping-badge {
  background: #D1FAE5;
  color: #059669;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
}
.discount-val {
  color: #EF4444 !important;
}

.grand-total-row {
  padding-top: 16px;
  margin-top: 6px;
  border-top: 1.5px dashed var(--border);
}
.grand-total-row span:first-child {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}
.grand-total-val {
  font-size: 20px !important;
  font-weight: 900 !important;
  color: var(--accent-deep) !important;
}

/* Coupon Pill */
.cart-coupon-box {
  margin-bottom: 20px;
}
.coupon-pill-group {
  display: flex;
  gap: 8px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: 4px 6px;
  transition: all .25s;
}
.coupon-pill-group:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 95, 150, 0.15);
}
.coupon-pill-group input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 14px;
  font-size: 13px;
  outline: none;
  font-family: inherit;
}
.coupon-pill-group .btn {
  padding: 8px 18px;
}

/* Trust Box */
.cart-trust-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.ct-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.ct-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex: none;
}

/* Empty Cart View */
.cart-empty-wrap {
  padding: 30px 0 60px;
}
.cart-empty-card {
  text-align: center;
  padding: 60px 30px;
  border-radius: var(--radius-lg);
  max-width: 680px;
  margin: 0 auto;
}
.cart-empty-icon-glow {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 221, 235, 0.8) 0%, rgba(255, 255, 255, 0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-deep);
  box-shadow: var(--shadow-md);
  border: 1.5px solid rgba(255, 95, 150, 0.3);
}
.cart-empty-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}
.cart-empty-desc {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
  max-width: 480px;
  margin: 0 auto 28px;
}
.cart-empty-actions {
  margin-bottom: 36px;
}
.cart-empty-quick-cats {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.q-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 14px;
}
.q-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.q-pills a {
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: #fff;
  border: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  transition: all .25s;
}
.q-pills a:hover {
  background: var(--btn-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}


/* ==========================================================================
   HIGH-END CHECKOUT & THANK YOU PAGE STYLES
   ========================================================================== */

.checkout-layout-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: flex-start;
}
@media(max-width: 1024px) {
  .checkout-layout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.checkout-fields-card, .checkout-order-review-card {
  padding: 32px;
  border-radius: var(--radius-lg);
}
@media(max-width: 768px) {
  .checkout-fields-card, .checkout-order-review-card {
    padding: 20px 16px;
  }
}

.form-section-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.fsh-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--secondary);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.form-section-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.form-section-subtitle {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
}

/* Form Fields Styling */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 14px;
}
@media(max-width: 768px) {
  .woocommerce-billing-fields__field-wrapper,
  .woocommerce-shipping-fields__field-wrapper,
  .woocommerce-additional-fields__field-wrapper {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px 10px !important;
  }
}

.form-row {
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Explicit full-width fields on both desktop and mobile */
.form-row.form-row-wide,
.form-row.notes,
#billing_address_1_field,
#billing_address_2_field,
#shipping_address_1_field,
#shipping_address_2_field,
#billing_email_field,
#order_comments_field {
  grid-column: 1 / -1 !important;
}

/* Side-by-side paired rows (روبروی هم در موبایل و دسکتاپ) */
#billing_first_name_field,
.form-row.form-row-first {
  grid-column: 1 / 2 !important;
}
#billing_last_name_field,
.form-row.form-row-last {
  grid-column: 2 / 3 !important;
}
#billing_state_field {
  grid-column: 1 / 2 !important;
}
#billing_city_field {
  grid-column: 2 / 3 !important;
}
#billing_postcode_field {
  grid-column: 1 / 2 !important;
}
#billing_phone_field {
  grid-column: 2 / 3 !important;
}

.form-row label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 4px;
}
.form-row label .required {
  color: #EF4444;
  text-decoration: none;
}
.form-row label .optional {
  color: var(--muted);
  font-weight: 400;
  font-size: 11.5px;
}

.form-row input.input-text,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: all .25s;
}
.form-row input.input-text:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 95, 150, 0.15);
}
.form-row textarea {
  min-height: 90px;
  resize: vertical;
}

/* ==========================================================================
   MOBILE CHECKOUT & IPHONE ANTI-ZOOM OVERHAUL
   ========================================================================== */
@media screen and (max-width: 768px) {
  /* CRITICAL FOR IPHONE: font-size >= 16px prevents iOS Safari auto-zoom on field focus */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  input[type="number"],
  input[type="search"],
  select,
  textarea,
  .form-row input.input-text,
  .form-row select,
  .form-row textarea {
    font-size: 16px !important;
    padding: 11px 12px !important;
    border-radius: 10px !important;
    line-height: normal !important;
    -webkit-text-size-adjust: 100% !important;
  }

  /* Dedicated Select2 Mobile Alignment (Prevents Overflow & Drop Bug) */
  .select2-container .select2-selection--single {
    height: 46px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
  }
  .select2-container .select2-selection--single .select2-selection__rendered {
    font-size: 16px !important;
    height: 44px !important;
    line-height: 44px !important;
    padding: 0 12px 0 32px !important;
    margin: 0 !important;
    text-align: right !important;
    display: block !important;
    -webkit-text-size-adjust: 100% !important;
  }
  .select2-container .select2-selection--single .select2-selection__arrow {
    height: 44px !important;
    top: 0 !important;
    left: 8px !important;
    right: auto !important;
  }

  .form-row label {
    font-size: 12px !important;
    margin-bottom: 2px !important;
  }

  .checkout-fields-card,
  .checkout-order-review-card {
    padding: 18px 14px !important;
    border-radius: 18px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
  }

  .form-section-head {
    gap: 10px !important;
    padding-bottom: 14px !important;
    margin-bottom: 18px !important;
  }
  .fsh-icon {
    width: 36px !important;
    height: 36px !important;
  }
  .form-section-title {
    font-size: 15px !important;
  }
  .form-section-subtitle {
    font-size: 11.5px !important;
  }

  /* Compact Steps Bar on Mobile */
  .checkout-steps-bar {
    padding: 12px 14px !important;
    margin-bottom: 18px !important;
    gap: 6px !important;
  }
  .step-item .step-num {
    width: 24px !important;
    height: 24px !important;
    font-size: 12px !important;
  }
  .step-item .step-text {
    font-size: 11px !important;
  }
  .step-divider {
    height: 2px !important;
  }

  /* Review item rows */
  .review-item-row {
    padding: 10px !important;
    gap: 10px !important;
  }
  .ri-thumb {
    width: 44px !important;
    height: 44px !important;
  }
  .ri-title {
    font-size: 12px !important;
  }

  /* Full-width touch-friendly Place Order Button */
  #place_order {
    width: 100% !important;
    height: 50px !important;
    font-size: 15.5px !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* Coupon Toggle Box */
.woocommerce-form-coupon-toggle {
  margin-bottom: 24px;
}
.woocommerce-form-coupon-toggle .woocommerce-info {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 221, 235, 0.35) 100%);
  border: 1px solid rgba(255, 95, 150, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.woocommerce-form-coupon-toggle .showcoupon {
  color: var(--accent-deep);
  font-weight: 800;
  text-decoration: underline;
}

/* Review Items List */
.review-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  max-height: 280px;
  overflow-y: auto;
  padding-left: 6px;
}
.review-item-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.ri-thumb {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--secondary);
  flex: none;
}
.ri-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ri-qty-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-deep);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.ri-details {
  flex: 1;
}
.ri-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin: 0;
}
.ri-subtotal {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent-deep);
  white-space: nowrap;
}

/* Review Totals Box */
.review-totals-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.review-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: var(--text);
}
.review-total-row span:first-child {
  color: var(--muted);
}
.review-total-row span:last-child {
  font-weight: 700;
}
.order-total-row {
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1.5px dashed var(--border);
}
.order-total-row span:first-child {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text);
}
.order-total-amount {
  font-size: 19px !important;
  font-weight: 900 !important;
  color: var(--accent-deep) !important;
}

/* Payment Gateways Selector */
.woocommerce-checkout-payment {
  background: transparent;
  border: none;
  padding: 0;
}
.payment-section-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}
.wc_payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wc_payment_method {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  transition: all .25s var(--ease);
  overflow: hidden;
}
.wc_payment_method:hover {
  border-color: rgba(255, 95, 150, 0.35);
  box-shadow: var(--shadow-sm);
}
.wc_payment_method label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  cursor: pointer;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.wc_payment_method input[type=radio] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}
.payment_box {
  padding: 14px 18px;
  background: rgba(255, 221, 235, 0.25);
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}
.place-order-btn {
  width: 100%;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Trust Box */
.checkout-trust-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   THANK YOU PAGE (ORDER CONFIRMATION & PAYMENT STATUS)
   ========================================================================== */
.thankyou-order-wrap {
  padding: 10px 0 60px;
  max-width: 1040px;
  margin: 0 auto;
}

/* Hero Cards (Success & Failed) */
.thankyou-hero-card {
  text-align: center;
  padding: 42px 24px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.thankyou-hero-card.success {
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.95) 0%, rgba(209, 250, 229, 0.8) 100%);
  border: 1.5px solid rgba(110, 231, 183, 0.65);
  box-shadow: 0 12px 32px -4px rgba(16, 185, 129, 0.12);
}
.thankyou-hero-card.failed {
  background: linear-gradient(135deg, rgba(254, 242, 242, 0.95) 0%, rgba(254, 226, 226, 0.8) 100%);
  border: 1.5px solid rgba(252, 165, 165, 0.7);
  box-shadow: 0 12px 32px -4px rgba(239, 68, 68, 0.12);
}

.thankyou-icon-badge {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.thankyou-hero-card:hover .thankyou-icon-badge {
  transform: scale(1.06);
}
.thankyou-icon-badge.success {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}
.thankyou-icon-badge.failed {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.35);
}

.thankyou-hero-card h2 {
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 10px;
}
.thankyou-hero-card p {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

.thankyou-hero-notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 18px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #065F46;
}

.thankyou-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.btn-retry-pay {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3) !important;
  border: none !important;
}
.btn-retry-pay:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4) !important;
}
.btn-support-call {
  border: 1.5px solid var(--border) !important;
  color: var(--text) !important;
  background: rgba(255, 255, 255, 0.85) !important;
}
.btn-support-call:hover {
  background: #fff !important;
  border-color: var(--accent) !important;
  color: var(--accent-deep) !important;
}

/* Key Metrics Grid */
.thankyou-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}
.metric-box {
  padding: 16px 14px;
  border-radius: var(--radius-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.metric-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.m-label {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}
.m-val {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text);
}
.m-val.accent {
  color: var(--accent-deep);
  font-size: 16px;
  font-weight: 900;
}
.m-val.m-ltr {
  letter-spacing: 0.5px;
}
.status-badge-success {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  font-size: 12.5px;
  font-weight: 800;
}
.status-badge-failed {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FECACA;
  font-size: 12.5px;
  font-weight: 800;
}

/* 2-Column Responsive Layout */
.thankyou-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 22px;
  margin-bottom: 28px;
  align-items: start;
}

/* Details & Customer Cards */
.thankyou-details-card,
.thankyou-customer-card,
.thankyou-assurance-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.thankyou-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.items-count-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-deep);
  background: rgba(255, 95, 150, 0.1);
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 95, 150, 0.2);
}
.thankyou-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.thankyou-card-header .thankyou-section-title {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}
.thankyou-section-title svg {
  color: var(--accent-deep);
}

/* Items List */
.thankyou-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
.thankyou-item-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}
.thankyou-item-row:hover {
  border-color: rgba(255, 95, 150, 0.35);
  box-shadow: var(--shadow-sm);
}
.ti-thumb {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ti-thumb-img,
.ti-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ti-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ti-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  line-height: 1.4;
}
a.ti-title:hover {
  color: var(--accent-deep);
}
.ti-meta {
  font-size: 11.5px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  line-height: 1.4;
}
.ti-meta dt,
.ti-meta dd {
  margin: 0;
  display: inline;
}
.ti-meta dt {
  font-weight: 600;
  color: var(--muted);
}
.ti-meta dd {
  color: var(--text);
}
.ti-meta-sep {
  color: var(--border-deep);
}
.ti-qty-wrap {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.ti-qty-num {
  font-weight: 800;
  color: var(--text);
}
.ti-total {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent-deep);
  white-space: nowrap;
  text-align: left;
}

/* Totals List */
.thankyou-totals-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.thankyou-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text);
}
.thankyou-total-row span {
  color: var(--muted);
}
.thankyou-total-row b {
  font-weight: 700;
}
.thankyou-total-row.order_total {
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1.5px dashed var(--border);
}
.thankyou-total-row.order_total span {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text);
}
.thankyou-total-row.order_total b {
  font-size: 17px;
  font-weight: 900;
  color: var(--accent-deep);
}

/* Customer & Shipping Card */
.thankyou-customer-card {
  margin-bottom: 20px;
}
.customer-info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ci-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.ci-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: rgba(255, 95, 150, 0.1);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.ci-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ci-label {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}
.ci-val {
  font-size: 13.5px;
  color: var(--text);
  font-weight: 700;
  line-height: 1.5;
}
.ci-tel-link {
  color: var(--accent-deep);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 800;
}
.ci-tel-link:hover {
  text-decoration: underline;
}
.ci-address {
  line-height: 1.6;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.card-num-masked {
  letter-spacing: 1px;
  font-family: monospace;
  font-size: 13.5px;
}
.ci-note {
  font-size: 12.5px;
  background: rgba(255, 95, 150, 0.05);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border-right: 3px solid var(--accent);
  line-height: 1.5;
}

/* Delivery Assurance Card */
.thankyou-assurance-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 241, 245, 0.75) 100%);
}
.tac-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.tac-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 10px;
  background: rgba(255, 95, 150, 0.15);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.tac-text {
  flex: 1;
}
.tac-text b {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2px;
}
.tac-text p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.accent-link {
  color: var(--accent-deep);
  font-weight: 800;
  text-decoration: none;
}
.accent-link:hover {
  text-decoration: underline;
}

/* Footer Actions */
.thankyou-footer-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
}
.thankyou-footer-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-print-order {
  cursor: pointer;
  border: 1.5px solid var(--border) !important;
  background: rgba(255, 255, 255, 0.85) !important;
  color: var(--text) !important;
}
.btn-print-order:hover {
  background: #fff !important;
  border-color: var(--accent) !important;
  color: var(--accent-deep) !important;
}

/* Responsive Breakpoints */
@media(max-width: 992px) {
  .thankyou-content-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media(max-width: 600px) {
  .thankyou-order-wrap {
    padding: 10px 0 40px;
  }
  .thankyou-hero-card {
    padding: 32px 16px;
  }
  .thankyou-hero-card h2 {
    font-size: 19px;
  }
  .thankyou-hero-card p {
    font-size: 13.5px;
  }
  .thankyou-icon-badge {
    width: 68px;
    height: 68px;
  }
  .thankyou-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .metric-box {
    padding: 12px 10px;
  }
  .m-val {
    font-size: 13.5px;
  }
  .thankyou-details-card,
  .thankyou-customer-card,
  .thankyou-assurance-card {
    padding: 18px 14px;
  }
  .thankyou-item-row {
    padding: 10px;
    gap: 10px;
  }
  .ti-thumb {
    width: 48px;
    height: 48px;
    min-width: 48px;
  }
  .ti-title {
    font-size: 12.5px;
  }
  .ti-total {
    font-size: 13px;
  }
  .thankyou-footer-actions {
    flex-direction: column;
    width: 100%;
  }
  .thankyou-footer-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
@media(max-width: 380px) {
  .thankyou-metrics-grid {
    grid-template-columns: 1fr;
  }
}

/* Print Invoice Styling */
@media print {
  .site-header,
  .site-footer,
  .pinky-breadcrumbs,
  .checkout-steps-bar,
  .thankyou-footer-actions,
  .mobile-bottom-nav,
  .floating-actions,
  .thankyou-assurance-card,
  .thankyou-hero-notice,
  .thankyou-actions,
  .btn {
    display: none !important;
  }
  body,
  .thankyou-order-wrap,
  .thankyou-content-grid,
  .thankyou-details-card,
  .thankyou-customer-card,
  .thankyou-hero-card,
  .metric-box {
    background: #fff !important;
    box-shadow: none !important;
    color: #000 !important;
    border-radius: 0 !important;
  }
  .thankyou-order-wrap {
    padding: 0 !important;
    max-width: 100% !important;
  }
  .thankyou-content-grid {
    display: block !important;
  }
  .thankyou-details-card,
  .thankyou-customer-card {
    border: 1px solid #ddd !important;
    margin-bottom: 20px !important;
    page-break-inside: avoid;
  }
  .thankyou-hero-card {
    border: 1px solid #10b981 !important;
    padding: 18px !important;
    margin-bottom: 20px !important;
  }
  .thankyou-icon-badge {
    display: none !important;
  }
}


/* ==========================================================================
   HIGH-END MY ACCOUNT & DASHBOARD DESIGN SYSTEM
   ========================================================================== */

.account-layout-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: flex-start;
}

/* Sidebar Navigation */
.account-sidebar-card {
  padding: 24px 18px;
  border-radius: var(--radius-lg);
  position: sticky;
  top: 110px;
}
.account-user-profile {
  text-align: center;
  padding-bottom: 20px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.account-user-info-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.account-user-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.account-quick-logout {
  display: none;
}
.account-avatar-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 12px;
  padding: 3px;
  background: var(--btn-gradient);
  box-shadow: var(--shadow-sm);
}
.account-avatar-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}
.account-user-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2px;
}
.account-user-email {
  font-size: 12px;
  color: var(--muted);
}

.account-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.account-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  transition: all .25s var(--ease);
}
.account-nav-item .ani-icon svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: color .25s;
}
.account-nav-item:hover, .account-nav-item.active {
  background: rgba(255, 221, 235, 0.45);
  color: var(--accent-deep);
  font-weight: 800;
}
.account-nav-item:hover .ani-icon svg, .account-nav-item.active .ani-icon svg {
  color: var(--accent-deep);
}

/* Mobile & Tablet Overhaul for Account Layout */
@media(max-width: 992px) {
  .account-layout-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .account-sidebar-column {
    width: 100%;
  }
  .account-sidebar-card {
    position: static;
    padding: 14px 16px;
    border-radius: 18px;
    margin-bottom: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  }
  .account-user-profile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: right;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border);
    gap: 12px;
  }
  .account-user-info-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
  }
  .account-avatar-ring {
    width: 44px;
    height: 44px;
    margin: 0;
    flex: none;
    padding: 2px;
    box-shadow: 0 2px 8px rgba(255, 75, 139, 0.25);
  }
  .account-user-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    text-align: right;
  }
  .account-user-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .account-user-email {
    font-size: 11.5px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    direction: ltr;
    text-align: right;
  }
  .account-quick-logout {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #ff3b30;
    background: rgba(255, 59, 48, 0.08);
    border-radius: 999px;
    transition: all .2s;
    flex: none;
    text-decoration: none;
  }
  .account-quick-logout:hover {
    background: #ff3b30;
    color: #fff;
  }
  .account-quick-logout svg {
    width: 14px;
    height: 14px;
  }
  .account-nav-list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding: 2px 2px 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .account-nav-list::-webkit-scrollbar {
    display: none;
  }
  .account-nav-item {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .account-nav-item--logout {
    display: none;
  }
  .account-nav-item.active {
    background: linear-gradient(135deg, #ff4b8b 0%, #ff758c 100%) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 14px rgba(255, 75, 139, 0.35) !important;
    font-weight: 800 !important;
  }
  .account-nav-item.active .ani-icon svg {
    color: #fff !important;
  }
  .account-nav-item .ani-icon svg {
    width: 15px;
    height: 15px;
  }
}

/* Content Pane */
.account-content-pane {
  padding: 32px;
  border-radius: var(--radius-lg);
}

@media(max-width: 768px) {
  .account-content-pane {
    padding: 18px 14px;
    border-radius: 18px;
  }
  .dashboard-welcome-box {
    padding: 16px 14px;
    border-radius: 14px;
    margin-bottom: 16px;
  }
  .dashboard-welcome-box h2 {
    font-size: 16px;
    margin-bottom: 4px;
  }
  .dashboard-welcome-box p {
    font-size: 12px;
    line-height: 1.6;
  }
  .dashboard-metrics-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-bottom: 18px !important;
  }
  .metric-card {
    padding: 12px 10px;
    gap: 10px;
    border-radius: 12px;
  }
  .mc-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .mc-icon svg {
    width: 18px;
    height: 18px;
  }
  .mc-label {
    font-size: 11px;
  }
  .mc-val {
    font-size: 15px;
  }
  .dashboard-shortcuts-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 18px;
  }
  .shortcut-card {
    padding: 12px 14px;
    border-radius: 12px;
  }
  .section-head-mini {
    margin-bottom: 14px;
  }
  .section-head-title-wrap h3 {
    font-size: 15px;
  }
  .section-head-sub {
    font-size: 11.5px;
  }
  .orders-table-wrap {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }
  .pinky-orders-table,
  .pinky-orders-table tbody {
    display: block !important;
    width: 100% !important;
    border: none !important;
  }
  .pinky-orders-table thead {
    display: none !important;
  }
  .pinky-orders-table tbody tr.order-row {
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border-radius: 18px !important;
    padding: 16px 18px !important;
    margin-bottom: 16px !important;
    border: 1px solid rgba(255, 138, 177, 0.22) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03) !important;
    gap: 8px !important;
    position: relative !important;
    transition: transform .2s ease, box-shadow .2s ease !important;
  }
  .pinky-orders-table tbody tr.order-row:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(255, 95, 150, 0.08) !important;
    background: #ffffff !important;
  }
  .pinky-orders-table td {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 0 !important;
    font-size: 13px !important;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.06) !important;
    white-space: normal !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .pinky-orders-table td::before {
    content: attr(data-title);
    font-size: 12px !important;
    color: #9CA3AF !important;
    font-weight: 600 !important;
    flex-shrink: 0 !important;
  }
  .pinky-orders-table td.order-order-number {
    padding-bottom: 10px !important;
    border-bottom: 1.5px solid rgba(255, 95, 150, 0.15) !important;
  }
  .pinky-orders-table td.order-order-number .order-num-link {
    font-size: 15px !important;
    font-weight: 800 !important;
  }
  .pinky-orders-table td.order-order-actions {
    border-bottom: none !important;
    padding-top: 12px !important;
    padding-bottom: 0 !important;
    margin-top: 4px !important;
  }
  .pinky-orders-table td.order-order-actions::before {
    display: none !important;
  }
  .pinky-orders-table .order-actions-wrap {
    width: 100% !important;
    display: flex !important;
    gap: 8px !important;
  }
  .pinky-orders-table .pinky-action-btn {
    flex: 1 !important;
    width: 100% !important;
    height: 40px !important;
    padding: 0 16px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    justify-content: center !important;
  }
}

/* Dashboard Welcome Box */
.dashboard-welcome-box {
  padding: 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 221, 235, 0.35) 100%);
  border: 1px solid rgba(255, 95, 150, 0.2);
  margin-bottom: 28px;
}
.dashboard-welcome-box h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}
.dashboard-welcome-box h2 span {
  color: var(--accent-deep);
}
.dashboard-welcome-box p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
  margin: 0;
}

/* Metrics Grid */
.dashboard-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
@media(max-width: 1200px) {
  .dashboard-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media(max-width: 480px) {
  .dashboard-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.metric-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-md);
}
.mc-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--secondary);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.mc-icon svg {
  width: 22px;
  height: 22px;
}
.mc-info {
  display: flex;
  flex-direction: column;
}
.mc-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.mc-val {
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
}

/* Shortcuts Grid */
.dashboard-shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
@media(max-width: 768px) {
  .dashboard-shortcuts-grid {
    grid-template-columns: 1fr;
  }
}
.shortcut-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  transition: all .25s var(--ease);
}
.shortcut-card:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(255, 95, 150, 0.35);
}
.sc-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 221, 235, 0.5);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.sc-icon svg {
  width: 18px;
  height: 18px;
}
.shortcut-card b {
  font-size: 14px;
  display: block;
  color: var(--text);
}
.shortcut-card span {
  font-size: 11.5px;
  color: var(--muted);
}

/* Orders Table */
.section-head-mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.section-head-mini h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}
.section-head-mini a {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-deep);
}

/* Remove default crude yellow highlight on WooCommerce order status and details */
mark.order-status,
mark.order-number,
mark.order-date,
.woocommerce mark {
  background: transparent !important;
  color: inherit !important;
  padding: 0 !important;
  font-weight: inherit !important;
}

/* Checkout Phone Field Enforce Required & Hide (اختیاری) */
#billing_phone_field .optional,
#billing_phone_field label .optional,
.woocommerce-checkout #billing_phone_field span.optional {
  display: none !important;
}
#billing_phone_field label::after {
  content: none !important;
  display: none !important;
}

/* Ensure single red asterisk for required fields */
#billing_phone_field label .required,
.woocommerce-checkout .form-row.validate-required label .required {
  color: #EF4444 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  margin-right: 3px !important;
}

/* Select2 Global Polish: High-End Desktop & Mobile Alignment */
.select2-container--default .select2-selection--single {
  height: 48px !important;
  background-color: #FFFFFF !important;
  border: 1.5px solid var(--border, #E5E7EB) !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  transition: all .25s ease !important;
}
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default .select2-selection--single:focus {
  border-color: var(--accent, #FF5F96) !important;
  box-shadow: 0 0 0 3px rgba(255, 95, 150, 0.15) !important;
  outline: none !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  height: 46px !important;
  line-height: 46px !important;
  font-size: 14.5px !important;
  color: var(--text, #1F2937) !important;
  padding-left: 36px !important;
  padding-right: 14px !important;
  text-align: right !important;
  width: 100% !important;
  display: block !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  border: none !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 46px !important;
  position: absolute !important;
  top: 0 !important;
  left: 10px !important;
  right: auto !important;
  width: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.select2-dropdown {
  border: 1.5px solid var(--border, #E5E7EB) !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08) !important;
  z-index: 99999 !important;
  overflow: hidden !important;
  background: #ffffff !important;
}
.select2-results__option {
  padding: 10px 14px !important;
  font-size: 13.5px !important;
  text-align: right !important;
}
.select2-results__option--highlighted[aria-selected] {
  background-color: var(--accent, #FF5F96) !important;
  color: #fff !important;
}

/* Privacy Policy Notice (Persian & Delicate Font) */
.woocommerce-privacy-policy-text,
.woocommerce-privacy-policy-text p {
  font-size: 11.5px !important;
  line-height: 1.75 !important;
  color: #6B7280 !important;
  margin-top: 12px !important;
  margin-bottom: 14px !important;
  text-align: justify !important;
}
.woocommerce-privacy-policy-text a {
  color: var(--accent-deep, #D81B60) !important;
  text-decoration: underline !important;
}

/* Mobile Clearance for Fixed Bottom Navigation Bar */
@media screen and (max-width: 992px) {
  body.woocommerce-checkout,
  body.woocommerce-checkout .woocommerce,
  .woocommerce-checkout form.checkout,
  .woocommerce-checkout .checkout-layout-grid,
  .zeroone-checkout,
  body.woocommerce-account .account-layout-grid,
  .account-orders-section {
    padding-bottom: 100px !important;
  }
}

/* ==========================================================================
   WOOCOMMERCE NOTICES & ALERTS (LUXURY OVERHAUL)
   ========================================================================== */
.woocommerce-NoticeGroup {
  width: 100% !important;
  margin-bottom: 24px !important;
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  padding: 16px 20px !important;
  margin: 0 0 24px !important;
  border-radius: 16px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  line-height: 1.6 !important;
  list-style: none !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
  border: 1px solid transparent !important;
}
.woocommerce-message {
  background: #F0FDF4 !important;
  border-color: rgba(34, 197, 94, 0.25) !important;
  color: #166534 !important;
}
.woocommerce-message::before {
  content: "" !important;
  display: inline-block !important;
  width: 22px !important;
  height: 22px !important;
  flex-shrink: 0 !important;
  background-color: #22C55E !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'%3E%3C/path%3E%3Cpolyline points='22 4 12 14.01 9 11.01'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'%3E%3C/path%3E%3Cpolyline points='22 4 12 14.01 9 11.01'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center !important;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
}
.woocommerce-info {
  background: #EFF6FF !important;
  border-color: rgba(59, 130, 246, 0.25) !important;
  color: #1E40AF !important;
}
.woocommerce-info::before {
  content: "" !important;
  display: inline-block !important;
  width: 22px !important;
  height: 22px !important;
  flex-shrink: 0 !important;
  background-color: #3B82F6 !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='16' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'%3E%3C/line%3E%3C/svg%3E") no-repeat center !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='16' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'%3E%3C/line%3E%3C/svg%3E") no-repeat center !important;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
}
.woocommerce-error {
  background: #FEF2F2 !important;
  border-color: rgba(239, 68, 68, 0.25) !important;
  color: #991B1B !important;
}
.woocommerce-error::before {
  content: "" !important;
  display: inline-block !important;
  width: 22px !important;
  height: 22px !important;
  flex-shrink: 0 !important;
  background-color: #EF4444 !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E") no-repeat center !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E") no-repeat center !important;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
}
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
  margin-right: auto !important;
  margin-left: 0 !important;
  padding: 6px 16px !important;
  border-radius: var(--radius-full) !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  background: rgba(0, 0, 0, 0.06) !important;
  color: inherit !important;
  border: none !important;
  transition: all .2s ease !important;
}
.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.woocommerce-error .button:hover {
  background: rgba(0, 0, 0, 0.12) !important;
}

/* ==========================================================================
   MY ACCOUNT: ORDERS SECTION
   ========================================================================== */
.account-orders-section {
  width: 100%;
}
.section-head-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.section-head-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 95, 150, 0.1);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.section-head-sub {
  font-size: 13px;
  color: var(--muted);
  margin: 3px 0 0;
}
.orders-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}
.pinky-orders-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
}
.pinky-orders-table thead tr {
  background: rgba(255, 95, 150, 0.04);
}
.pinky-orders-table th {
  padding: 14px 18px;
  font-size: 12.5px;
  font-weight: 800;
  color: #4B5563;
  border-bottom: 1.5px solid var(--border);
  white-space: nowrap;
}
.pinky-orders-table td {
  padding: 18px 18px;
  font-size: 13.5px;
  color: var(--text);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  vertical-align: middle;
}
.pinky-orders-table tr:last-child td {
  border-bottom: none;
}
.pinky-orders-table tbody tr.order-row {
  transition: background-color .2s ease;
}
.pinky-orders-table tbody tr.order-row:hover {
  background-color: rgba(255, 95, 150, 0.025);
}
.order-num-link {
  font-weight: 800;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  transition: color .2s;
}
.order-num-link:hover {
  color: var(--accent);
}
.order-hash {
  opacity: 0.6;
}
.order-time {
  color: #6B7280;
  font-size: 13px;
  font-weight: 500;
}
.order-total-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.total-val {
  font-weight: 800;
  color: #111827;
  font-size: 14px;
}
.items-count {
  font-size: 11.5px;
  color: var(--muted);
}
.order-actions-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pinky-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all .25s ease;
  white-space: nowrap;
}
.pinky-action-btn.btn-view-order {
  background: rgba(255, 95, 150, 0.1);
  color: var(--accent-deep);
  border: 1px solid rgba(255, 95, 150, 0.25);
}
.pinky-action-btn.btn-view-order:hover {
  background: var(--btn-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(255, 95, 150, 0.25);
  transform: translateY(-1px);
}
.pinky-action-btn.btn-pay-order {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}
.pinky-action-btn.btn-pay-order:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* Status Pills */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.status-completed {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.status-completed .status-dot {
  background: #10B981;
}
.status-processing {
  background: #EFF6FF;
  color: #1E40AF;
  border: 1px solid rgba(59, 130, 246, 0.2);
}
.status-processing .status-dot {
  background: #3B82F6;
}
.status-on-hold, .status-pending {
  background: #FFFBEB;
  color: #92400E;
  border: 1px solid rgba(245, 158, 11, 0.25);
}
.status-on-hold .status-dot, .status-pending .status-dot {
  background: #F59E0B;
}
.status-cancelled, .status-failed {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.status-cancelled .status-dot, .status-failed .status-dot {
  background: #EF4444;
}

/* Empty Orders */
.empty-orders-card {
  text-align: center;
  padding: 60px 24px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border);
}
.empty-icon-box {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 95, 150, 0.08);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.empty-orders-card h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.empty-orders-card p {
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 22px;
}

/* ==========================================================================
   MY ACCOUNT: LUXURY VIEW ORDER DETAILS
   ========================================================================== */
.pinky-view-order-wrap,
.pinky-order-details-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.view-order-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.back-to-orders-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-deep);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s;
}
.back-to-orders-btn:hover {
  color: var(--accent);
  transform: translateX(4px);
}
.view-order-id-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 95, 150, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}
.view-order-id-badge .label {
  font-size: 12px;
  color: var(--muted);
}
.view-order-id-badge .num {
  font-size: 14px;
  color: var(--accent-deep);
  font-weight: 800;
}

/* Status Banner */
.view-order-status-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}
.view-order-status-banner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 5px;
}
.view-order-status-banner.status-bg-completed {
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.6) 0%, #fff 100%);
  border-color: rgba(16, 185, 129, 0.25);
}
.view-order-status-banner.status-bg-completed::before {
  background: #10B981;
}
.view-order-status-banner.status-bg-completed .status-icon-wrap {
  background: #D1FAE5;
  color: #059669;
}
.view-order-status-banner.status-bg-processing {
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.6) 0%, #fff 100%);
  border-color: rgba(59, 130, 246, 0.25);
}
.view-order-status-banner.status-bg-processing::before {
  background: #3B82F6;
}
.view-order-status-banner.status-bg-processing .status-icon-wrap {
  background: #DBEAFE;
  color: #1D4ED8;
}
.view-order-status-banner.status-bg-pending,
.view-order-status-banner.status-bg-on-hold {
  background: linear-gradient(135deg, rgba(255, 251, 235, 0.6) 0%, #fff 100%);
  border-color: rgba(245, 158, 11, 0.25);
}
.view-order-status-banner.status-bg-pending::before,
.view-order-status-banner.status-bg-on-hold::before {
  background: #F59E0B;
}
.view-order-status-banner.status-bg-pending .status-icon-wrap,
.view-order-status-banner.status-bg-on-hold .status-icon-wrap {
  background: #FEF3C7;
  color: #B45309;
}
.view-order-status-banner.status-bg-failed,
.view-order-status-banner.status-bg-cancelled {
  background: linear-gradient(135deg, rgba(254, 242, 242, 0.6) 0%, #fff 100%);
  border-color: rgba(239, 68, 68, 0.25);
}
.view-order-status-banner.status-bg-failed::before,
.view-order-status-banner.status-bg-cancelled::before {
  background: #EF4444;
}
.view-order-status-banner.status-bg-failed .status-icon-wrap,
.view-order-status-banner.status-bg-cancelled .status-icon-wrap {
  background: #FEE2E2;
  color: #B91C1C;
}

.status-banner-content {
  display: flex;
  align-items: center;
  gap: 18px;
}
.status-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.status-text-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.status-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.status-date {
  font-size: 12.5px;
  color: #6B7280;
}
.status-explanation {
  font-size: 13.5px;
  color: #374151;
  margin: 0;
  line-height: 1.5;
}
.btn-pay-now {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

/* Metrics Grid */
.view-order-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.vo-metric-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}
.vo-metric-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 95, 150, 0.08);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vo-metric-data {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.vo-m-label {
  font-size: 11.5px;
  color: var(--muted);
}
.vo-m-val {
  font-size: 14px;
  color: var(--text);
  font-weight: 700;
}
.vo-m-val.accent {
  color: var(--accent-deep);
  font-weight: 800;
}
.vo-m-val.copyable {
  font-family: monospace;
  direction: ltr;
  letter-spacing: 0.5px;
}

/* Details Grid: Items + Financial Summary */
.view-order-details-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) {
  .view-order-details-grid {
    grid-template-columns: 1fr;
  }
}

.vo-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  overflow: hidden;
}
.vo-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: rgba(255, 95, 150, 0.03);
  border-bottom: 1px solid var(--border);
}
.vo-card-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.vo-title-icon {
  color: var(--accent-deep);
  display: flex;
  align-items: center;
}
.vo-card-header h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}
.vo-items-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-deep);
  background: rgba(255, 95, 150, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

/* Items List */
.vo-items-list {
  padding: 8px 22px;
}
.vo-item-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.vo-item-row:last-child {
  border-bottom: none;
}
.vo-item-thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.vo-item-thumb img,
.vo-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vo-item-main {
  flex: 1;
  min-width: 0;
}
.vo-item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px;
  line-height: 1.4;
}
.vo-item-title a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
.vo-item-title a:hover {
  color: var(--accent-deep);
}
.vo-item-meta {
  font-size: 12px;
  color: #6B7280;
  margin-bottom: 4px;
}
.vo-item-calc {
  display: flex;
  align-items: center;
  gap: 8px;
}
.vo-item-qty {
  font-size: 12px;
  color: var(--muted);
}
.qty-pill {
  color: var(--text);
  font-weight: 700;
}
.vo-item-price {
  text-align: left;
  flex-shrink: 0;
}
.vo-price-val {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent-deep);
}

/* Financial Summary Table */
.vo-summary-table {
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vo-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}
.vo-summary-row:last-child {
  border-bottom: none;
}
.vo-summary-label {
  color: #4B5563;
  font-weight: 500;
}
.vo-summary-value {
  font-weight: 700;
  color: #111827;
}
.vo-summary-row.is-grand-total {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1.5px solid var(--border);
  border-bottom: none;
}
.vo-summary-row.is-grand-total .vo-summary-label {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}
.vo-summary-row.is-grand-total .vo-summary-value {
  font-size: 17px;
  font-weight: 900;
  color: var(--accent-deep);
}

/* Addresses Grid */
.view-order-addresses-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 768px) {
  .view-order-addresses-grid {
    grid-template-columns: 1fr;
  }
}
.vo-address-content,
.vo-notes-content {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.vo-addr-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.addr-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 95, 150, 0.08);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.addr-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.addr-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.addr-val {
  font-size: 13.5px;
  font-weight: 700;
  color: #1F2937;
}
.addr-val-address {
  font-size: 13.5px;
  line-height: 1.6;
  color: #374151;
}
.addr-val-address p {
  margin: 0;
}

/* Customer Notes & Timeline */
.vo-note-box {
  background: #FFFBEB;
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 12px;
  padding: 14px 16px;
}
.vo-note-title {
  font-size: 12px;
  font-weight: 700;
  color: #92400E;
  display: block;
  margin-bottom: 6px;
}
.vo-note-box p {
  margin: 0;
  font-size: 13px;
  color: #78350F;
  line-height: 1.5;
}
.vo-timeline-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vo-timeline-item {
  position: relative;
  padding-right: 18px;
}
.vo-timeline-item::before {
  content: "";
  position: absolute;
  right: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-deep);
}
.vo-timeline-date {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 2px;
}
.vo-timeline-text {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
}
.vo-timeline-text p {
  margin: 0;
}
.vo-empty-notes p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 600px) {
  .view-order-status-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 18px;
  }
  .btn-pay-now {
    width: 100%;
    justify-content: center;
  }
  .vo-item-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .vo-item-price {
    align-self: flex-end;
  }
}

/* Account Form Grid */
.account-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 14px;
}
@media(max-width: 600px) {
  .account-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Auth Modal Card (Dedicated Mobile OTP Login) */
.auth-modal-card {
  max-width: 440px;
  margin: 30px auto 60px;
  padding: 38px 30px;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px -8px rgba(255, 95, 150, 0.12), 0 4px 16px rgba(0, 0, 0, 0.04);
}
.pinky-auth-header {
  text-align: center;
  margin-bottom: 24px;
}
.pinky-auth-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, rgba(255, 95, 150, 0.15) 0%, rgba(255, 175, 204, 0.25) 100%);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 95, 150, 0.25);
  box-shadow: 0 6px 20px rgba(255, 95, 150, 0.15);
}
.pinky-auth-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--text);
  margin: 0 0 8px;
}
.pinky-auth-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.pinky-otp-widget {
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.pinky-field-group {
  margin-bottom: 18px;
  text-align: right;
}
.pinky-field-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.pinky-field-label svg {
  color: var(--accent-deep);
}
.pinky-field-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.pinky-otp-sent-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(236, 72, 153, 0.08);
  border: 1px solid rgba(236, 72, 153, 0.22);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--text-main);
  gap: 10px;
}
.pinky-otp-sent-pill .pos-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  font-size: 13px;
}
.pinky-otp-sent-pill .pos-info svg {
  color: var(--accent-deep);
  flex-shrink: 0;
}
.pinky-otp-sent-pill .pos-info strong {
  color: var(--accent-deep);
  direction: ltr;
  display: inline-block;
  font-family: Consolas, monospace;
  font-size: 14px;
}
.btn-change-mobile {
  background: none;
  border: none;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-change-mobile:hover {
  background: rgba(236, 72, 153, 0.12);
  color: var(--accent);
}
.zeroone-otp.step-code-active .zeroone-mobile-step {
  display: none !important;
}
.zeroone-otp:not(.step-code-active) .zeroone-code-wrap {
  display: none !important;
}
.pinky-input-wrap input.zeroone-mobile {
  width: 100% !important;
  height: 50px !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: 2px !important;
  text-align: center !important;
  border-radius: var(--radius-md) !important;
  border: 1.5px solid var(--border) !important;
  background: #fff !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}
.pinky-input-wrap input.zeroone-mobile:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 4px rgba(255, 95, 150, 0.15) !important;
}
.pinky-input-wrap input.zeroone-code {
  width: 100% !important;
  height: 56px !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  letter-spacing: 8px !important;
  text-align: center !important;
  border-radius: var(--radius-md) !important;
  border: 2px solid var(--accent) !important;
  background: #fff !important;
  box-sizing: border-box !important;
  box-shadow: 0 4px 16px rgba(255, 95, 150, 0.12) !important;
  transition: all 0.2s ease !important;
}
.pinky-input-wrap input.zeroone-code:focus {
  border-color: var(--accent-deep) !important;
  box-shadow: 0 0 0 4px rgba(255, 95, 150, 0.2) !important;
}
.zeroone-actions .btn,
.zeroone-verify-actions .btn {
  font-size: 15px;
  font-weight: 800;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.zeroone-actions .btn:hover,
.zeroone-verify-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.zeroone-resend-row {
  margin-top: 16px;
  text-align: center;
}
.zeroone-resend-row .button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  background: rgba(236, 72, 153, 0.08);
  border: 1px solid rgba(236, 72, 153, 0.2);
  border-radius: 20px;
  padding: 7px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.zeroone-resend-row .button-link:hover:not(:disabled) {
  background: rgba(236, 72, 153, 0.16);
  color: var(--accent-deep);
  transform: translateY(-1px);
}
.zeroone-resend-row .button-link:disabled {
  color: #9ca3af;
  background: #f3f4f6;
  border-color: #e5e7eb;
  cursor: not-allowed;
  opacity: 0.9;
}
.zeroone-status {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  min-height: 20px;
  text-align: center;
}
.zeroone-status.is-error {
  color: #DC2626 !important;
}
.zeroone-status:not(.is-error) {
  color: #059669 !important;
}
.pinky-auth-trust-list {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
}
.pat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.pat-item svg {
  color: #10B981;
  min-width: 16px;
}
@media(max-width: 480px) {
  .auth-modal-card {
    padding: 28px 18px;
    margin: 15px auto 40px;
  }
  .pinky-auth-title {
    font-size: 18px;
  }
  .pinky-auth-desc {
    font-size: 12.5px;
  }
}


/* ==========================================================================
   HEADER SEARCH BAR & AUTOCOMPLETE
   ========================================================================== */
.desktop-search {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: 3px 6px 3px 16px;
  width: 260px;
  box-shadow: var(--shadow-sm);
  transition: all .25s var(--ease);
}
.desktop-search:focus-within {
  width: 320px;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 95, 150, 0.15);
}
.desktop-search input[type=search] {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 6px;
  font-size: 13px;
  font-family: inherit;
  color: var(--text);
  outline: none;
}
.desktop-search .search-submit-btn {
  background: transparent;
  border: none;
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 4px;
}
.desktop-search .search-submit-btn svg {
  width: 17px;
  height: 17px;
}

.mobile-search-row {
  display: none;
  padding: 10px 16px 14px;
  background: #fff;
  border-top: 1px solid var(--border);
}
@media(max-width: 992px) {
  .desktop-search {
    display: none;
  }
  .mobile-search-row {
    display: block;
  }
  .mobile-search-row .search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 2px 6px 2px 14px;
  }
  .mobile-search-row input[type=search] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 6px;
    font-size: 13px;
    font-family: inherit;
    color: var(--text);
    outline: none;
  }
  .mobile-search-row .search-submit-btn {
    background: transparent;
    border: none;
    color: var(--accent-deep);
    display: flex;
    align-items: center;
    padding: 4px;
  }
}

.live-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  min-width: 280px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 500;
  max-height: 340px;
  overflow-y: auto;
  display: none;
}
.live-search-dropdown.open {
  display: block;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  transition: background .2s;
}
.search-result-item:hover {
  background: rgba(255, 221, 235, 0.35);
}
.search-result-item img {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex: none;
}
.search-result-info {
  display: flex;
  flex-direction: column;
}
.search-result-info b {
  font-size: 13px;
  color: var(--text);
}
.search-result-info span {
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-deep);
}

/* ==========================================================================
   ADDRESSES CARDS (my-account/edit-address)
   ========================================================================== */
.addresses-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 14px;
}
@media(max-width: 768px) {
  .addresses-cards-grid {
    grid-template-columns: 1fr;
  }
}
.address-box-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.abc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.abc-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 221, 235, 0.6);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.abc-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}
.formatted-address {
  font-style: normal;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--text);
}
.abc-empty {
  text-align: center;
  padding: 20px 10px;
}
.abc-empty p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 14px;
}

/* Edit Address Form Grid */
.woocommerce-address-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 14px;
}
@media(max-width: 600px) {
  .woocommerce-address-fields__field-wrapper {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION POLISH
   ========================================================================== */
@media(max-width: 768px) {
  body {
    padding-bottom: 68px !important;
  }
  .bottom-nav {
    display: flex !important;
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 250;
    align-items: center;
    justify-content: space-around;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
  }
  .bottom-nav li {
    flex: 1;
    display: flex;
    justify-content: center;
  }
  .bottom-nav li a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--muted);
    font-size: 10.5px;
    font-weight: 600;
    padding: 4px 6px;
    border-radius: 12px;
    width: 100%;
    transition: all .2s;
  }
  .bottom-nav li a.active {
    color: var(--accent-deep) !important;
    font-weight: 800 !important;
  }
  .bottom-nav svg {
    width: 20px;
    height: 20px;
  }
  .bottom-nav .bn-badge {
    position: absolute;
    top: -2px;
    left: 16px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 100px;
    background: var(--btn-gradient);
    color: #fff;
    font-size: 9.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  }
}


/* ==========================================================================
   SIDE CART DRAWER ITEM STYLES & HORIZONTAL INLINE STEPPER
   ========================================================================== */
.panel-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.panel-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 14px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-sm);
  transition: all .2s var(--ease);
}

.panel-item:hover {
  border-color: rgba(255, 95, 150, 0.3) !important;
  box-shadow: var(--shadow-md);
}

.panel-item-thumb {
  width: 62px !important;
  height: 62px !important;
  border-radius: var(--radius-sm) !important;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--secondary);
  flex: none;
}

.panel-item-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.panel-item-info {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.panel-item-info h4 {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  margin: 0 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.panel-item-price {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: var(--accent-deep) !important;
  margin: 0 !important;
  font-family: 'Vazirmatn', sans-serif !important;
}

/* Horizontal Inline Pill Stepper */
.panel-qty-control {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  background: #F9FAFB !important;
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius-full) !important;
  padding: 2px 6px !important;
  gap: 8px !important;
  width: fit-content !important;
  margin-top: 4px !important;
}

.panel-qty-control .qty-btn {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  max-width: 24px !important;
  border-radius: 50% !important;
  border: 1px solid var(--border) !important;
  background: #fff !important;
  color: var(--text) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
  transition: all .2s var(--ease) !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
}

.panel-qty-control .qty-btn:hover {
  background: var(--btn-gradient) !important;
  color: #fff !important;
  border-color: transparent !important;
  transform: scale(1.1) !important;
}

.panel-qty-control span,
.panel-qty-control .qty-num {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: var(--text) !important;
  min-width: 18px !important;
  text-align: center !important;
  font-family: 'Vazirmatn', sans-serif !important;
  display: inline-block !important;
  line-height: 1 !important;
}

.panel-remove-btn {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  border-radius: 50% !important;
  border: none !important;
  background: transparent !important;
  color: #9CA3AF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all .2s !important;
  flex: none !important;
  padding: 0 !important;
}

.panel-remove-btn:hover {
  background: #FEE2E2 !important;
  color: #EF4444 !important;
  transform: scale(1.1) !important;
}

.panel-remove-btn svg {
  width: 18px !important;
  height: 18px !important;
}

/* ==========================================================================
   DASHBOARD RECENT ORDERS & NOTICE REFINEMENTS
   ========================================================================== */
.woocommerce-info:empty,
.woocommerce-message:empty,
.woocommerce-error:empty,
.woocommerce-notice:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.dashboard-recent-orders {
  margin-top: 36px;
  width: 100%;
}

.dashboard-recent-orders .section-head-mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.dashboard-recent-orders .section-head-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dashboard-recent-orders .section-head-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 95, 150, 0.08);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dashboard-recent-orders .section-head-title-wrap h3 {
  font-size: 17px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 3px 0;
}

.dashboard-recent-orders .section-head-sub {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
}

.view-all-orders-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-deep);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 95, 150, 0.08);
  border: 1px solid rgba(255, 95, 150, 0.2);
  transition: all .25s ease;
  white-space: nowrap;
}

.view-all-orders-link:hover {
  background: var(--btn-gradient);
  color: #fff;
  border-color: transparent;
  transform: translateX(-3px);
  box-shadow: 0 4px 14px rgba(255, 95, 150, 0.25);
}

.view-all-orders-link svg {
  transition: transform .2s ease;
}

.view-all-orders-link:hover svg {
  transform: translateX(-2px);
}

@media (max-width: 640px) {
  .dashboard-recent-orders .section-head-mini {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .view-all-orders-link {
    width: 100%;
    justify-content: center;
  }
}

