/* Tishn Custom User Portal & Frontend Pages Stylesheet */

/* Global Utilities */
:root {
  --portal-color-primary: #000000;
  --portal-color-secondary: #333333;
  --portal-color-bg: #ffffff;
  --portal-color-grey-light: #f5f5f5;
  --portal-color-grey-dark: #777777;
  --portal-color-border: #AAAAAA;
  --portal-color-success: #478947;
  --portal-color-error: #D02F2E;
  --portal-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  --portal-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.portal-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Auth Pages (Login, Signup, OTP) Layout */
.auth-wrapper {
  max-width: 500px;
  margin: 60px auto;
  padding: 40px;
  background: var(--portal-color-bg);
  border: 1px solid var(--portal-color-grey-light);
  box-shadow: var(--portal-shadow);
  border-radius: 4px;
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-title {
  font-family: var(--font-heading, "Fraunces", serif);
  font-weight: 300;
  font-size: var(--font-size-heading-3-base, 2rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.auth-subtitle {
  font-family: var(--font-body, "Arimo", sans-serif);
  color: var(--portal-color-grey-dark);
  font-size: 14px;
}

/* Custom Portal Forms */
.portal-form-group {
  margin-bottom: 20px;
  position: relative;
}

.portal-form-group label {
  display: block;
  font-family: var(--font-body, "Arimo", sans-serif);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  color: var(--portal-color-primary);
  font-weight: 600;
}

.portal-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--portal-color-border);
  font-family: var(--font-body, "Arimo", sans-serif);
  font-size: 15px;
  background: var(--portal-color-bg);
  color: var(--portal-color-primary);
  border-radius: 0; /* Boxy aesthetic consistent with Tishn */
  transition: var(--portal-transition);
}

.portal-input:focus {
  outline: none;
  border-color: var(--portal-color-primary);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.portal-form-row {
  display: flex;
  gap: 15px;
}

.portal-form-row .portal-form-group {
  flex: 1;
}

.portal-form-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  font-size: 13px;
}

.portal-link {
  color: var(--portal-color-primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: var(--portal-transition);
}

.portal-link:hover {
  border-color: var(--portal-color-primary);
}

.portal-btn {
  display: inline-block;
  width: 100%;
  padding: 14px 28px;
  background: var(--portal-color-primary);
  color: #ffffff !important;
  font-family: var(--font-body, "Arimo", sans-serif);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  border: 1px solid var(--portal-color-primary);
  cursor: pointer;
  transition: var(--portal-transition);
}

.portal-btn:hover {
  background: #333333;
  border-color: #333333;
}

.portal-btn-secondary {
  background: transparent;
  color: #555 !important;
  border: 1px solid #e5e5e5;
}

.portal-btn-secondary:hover {
  background: var(--portal-color-primary) !important;
  color: #ffffff !important;
  border-color: var(--portal-color-primary) !important;
}

/* OTP Code Box Grid */
.otp-container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 30px 0;
}

.otp-box {
  width: 50px;
  height: 60px;
  border: 1px solid var(--portal-color-border);
  text-align: center;
  font-family: var(--font-body, "Arimo", sans-serif);
  font-size: 24px;
  font-weight: bold;
  transition: var(--portal-transition);
  background: var(--portal-color-grey-light);
}

.otp-box:focus {
  outline: none;
  background: var(--portal-color-bg);
  border-color: var(--portal-color-primary);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

/* Checkout Page Grid Layout */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  margin-top: 20px;
}

@media (max-width: 960px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

.checkout-section-title {
  font-family: var(--font-heading, "Fraunces", serif);
  font-size: 20px;
  text-transform: uppercase;
  margin: 30px 0 15px 0;
  border-bottom: 1px solid var(--portal-color-grey-light);
  padding-bottom: 8px;
}

.checkout-section-title:first-child {
  margin-top: 0;
}

/* Checkout Panel Cards */
.checkout-panel {
  background: var(--portal-color-bg);
}

.checkout-summary-sticky {
  position: sticky;
  top: 120px;
  background: var(--portal-color-grey-light);
  padding: 30px;
  border: 1px solid #e5e5e5;
}

.checkout-items-list {
  max-height: 350px;
  overflow-y: auto;
  margin-bottom: 20px;
}

.checkout-item {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e5e5e5;
}

.checkout-item-img {
  width: 64px;
  height: 80px;
  background: #eaeaea;
  object-fit: cover;
  border: 1px solid #e5e5e5;
}

.checkout-item-details {
  flex: 1;
}

.checkout-item-title {
  font-family: var(--font-body, "Arimo", sans-serif);
  font-size: 14px;
  font-weight: bold;
}

.checkout-item-meta {
  font-size: 12px;
  color: var(--portal-color-grey-dark);
  margin-top: 4px;
}

.checkout-item-price {
  font-family: var(--font-body, "Arimo", sans-serif);
  font-size: 14px;
  font-weight: bold;
}

.promo-code-wrap {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}

.promo-code-wrap .portal-input {
  flex: 1;
}

.promo-code-wrap .portal-btn {
  width: auto;
  padding: 10px 20px;
}

.checkout-totals-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-family: var(--font-body, "Arimo", sans-serif);
  font-size: 14px;
}

.checkout-totals-row.grand-total {
  font-size: 18px;
  font-weight: bold;
  border-top: 1px solid var(--portal-color-border);
  padding-top: 15px;
  margin-top: 15px;
}

/* Shipping / Payment Selectors */
.checkout-selector-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.checkout-selector {
  border: 1px solid var(--portal-color-border);
  padding: 16px;
  cursor: pointer;
  transition: var(--portal-transition);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checkout-selector:hover {
  border-color: var(--portal-color-primary);
  background: var(--portal-color-grey-light);
}

.checkout-selector.active {
  border-color: var(--portal-color-primary);
  background: rgba(0, 0, 0, 0.02);
  border-width: 2px;
  padding: 15px; /* Adjust padding for border width change */
}

.checkout-selector-radio {
  margin-top: 3px;
  accent-color: var(--portal-color-primary);
}

.checkout-selector-info {
  flex: 1;
}

.checkout-selector-title {
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.checkout-selector-desc {
  font-size: 12px;
  color: var(--portal-color-grey-dark);
}

.checkout-payment-details {
  border: 1px solid var(--portal-color-border);
  border-top: none;
  background: var(--portal-color-grey-light);
  padding: 20px;
  margin-top: -12px;
  margin-bottom: 12px;
  display: none;
}

.checkout-payment-details.active {
  display: block;
}

/* Order Placed Success View */
.success-card {
  text-align: center;
  max-width: 650px;
  margin: 60px auto;
  padding: 50px 40px;
  border: 1px solid var(--portal-color-grey-light);
  box-shadow: var(--portal-shadow);
  background: var(--portal-color-bg);
}

.success-icon-wrap {
  margin-bottom: 25px;
}

.success-checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: var(--portal-color-success);
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px var(--portal-color-success);
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
  margin: 0 auto;
}

.success-checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: var(--portal-color-success);
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes scale {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}

@keyframes fill {
  100% {
    box-shadow: inset 0px 0px 0px 30px rgba(71, 137, 71, 0.1);
  }
}

.success-order-id {
  font-family: var(--font-body, "Arimo", sans-serif);
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin: 15px 0;
  color: var(--portal-color-grey-dark);
}

.success-details-box {
  background: var(--portal-color-grey-light);
  padding: 20px;
  border: 1px solid #e5e5e5;
  text-align: left;
  margin: 30px 0;
}

.success-details-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
}

.success-details-row:last-child {
  margin-bottom: 0;
}

.success-buttons-group {
  display: flex;
  gap: 15px;
}

@media (max-width: 600px) {
  .success-buttons-group {
    flex-direction: column;
  }
}

/* User Account Portal Styles */
.portal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 960px) {
  .portal-layout {
    grid-template-columns: 1fr;
  }
}

/* Left Navigation Menu */
.portal-nav {
  background: var(--portal-color-bg);
  border: 1px solid #e5e5e5;
  padding: 20px 0;
}

.portal-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.portal-nav-item button {
  width: 100%;
  text-align: left;
  padding: 16px 24px;
  background: transparent;
  border: none;
  border-left: 3px solid transparent;
  font-family: var(--font-body, "Arimo", sans-serif);
  font-size: 14px;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.05em;
  color: var(--portal-color-grey-dark);
  cursor: pointer;
  transition: var(--portal-transition);
  display: flex;
  align-items: center;
  gap: 12px;
}

.portal-nav-item button:hover {
  background: var(--portal-color-grey-light);
  color: var(--portal-color-primary);
}

.portal-nav-item.active button {
  color: var(--portal-color-primary);
  border-left-color: var(--portal-color-primary);
  background: var(--portal-color-grey-light);
}

.portal-nav-item svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

/* Portal Content Panels */
.portal-panel {
  display: none;
  background: var(--portal-color-bg);
}

.portal-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.portal-welcome-banner {
  background: var(--portal-color-grey-light);
  padding: 30px;
  margin-bottom: 30px;
  border-left: 4px solid var(--portal-color-primary);
}

.portal-welcome-name {
  font-family: var(--font-heading, "Fraunces", serif);
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 5px;
}

.portal-welcome-desc {
  font-family: var(--font-body, "Arimo", sans-serif);
  font-size: 14px;
  color: var(--portal-color-grey-dark);
}

/* Dashboard Summary Cards Grid */
.portal-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.portal-summary-card {
  border: 1px solid #e5e5e5;
  padding: 24px;
  background: var(--portal-color-bg);
}

.portal-summary-title {
  font-size: 12px;
  color: var(--portal-color-grey-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: bold;
  margin-bottom: 10px;
}

.portal-summary-val {
  font-family: var(--font-heading, "Fraunces", serif);
  font-size: 28px;
  font-weight: 300;
  color: var(--portal-color-primary);
}

.portal-summary-link {
  display: block;
  margin-top: 15px;
  font-size: 13px;
  color: var(--portal-color-primary);
  text-decoration: underline;
}

/* Orders Tab CSS */
.order-card {
  border: 1px solid #e5e5e5;
  margin-bottom: 25px;
  overflow: hidden;
}

.order-card-header {
  background: var(--portal-color-grey-light);
  padding: 16px 24px;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.order-info-group {
  display: flex;
  gap: 30px;
}

.order-info-item {
  display: flex;
  flex-direction: column;
}

.order-info-label {
  font-size: 11px;
  color: var(--portal-color-grey-dark);
  text-transform: uppercase;
  font-weight: bold;
}

.order-info-val {
  font-size: 13px;
  font-weight: bold;
  color: var(--portal-color-primary);
}

.order-status-badge {
  display: inline-block;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 20px;
}

.order-status-badge.processing {
  background: #fff3cd;
  color: #856404;
}

.order-status-badge.shipped {
  background: #d1ecf1;
  color: #0c5460;
}

.order-status-badge.delivered {
  background: #d4edda;
  color: #155724;
}

.order-card-body {
  padding: 24px;
}

.order-timeline-title {
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.order-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 30px;
  padding: 0 10px;
}

.order-timeline::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: #eaeaea;
  z-index: 1;
}

.order-timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
}

.order-timeline-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #eaeaea;
  border: 4px solid var(--portal-color-bg);
  box-shadow: 0 0 0 1px #e5e5e5;
  transition: var(--portal-transition);
}

.order-timeline-step.active .order-timeline-dot {
  background: var(--portal-color-primary);
  box-shadow: 0 0 0 1px var(--portal-color-primary);
}

.order-timeline-step.completed .order-timeline-dot {
  background: var(--portal-color-success);
  box-shadow: 0 0 0 1px var(--portal-color-success);
}

.order-timeline-text {
  font-size: 11px;
  font-weight: bold;
  color: var(--portal-color-grey-dark);
  text-transform: uppercase;
  margin-top: 8px;
  text-align: center;
}

.order-timeline-step.active .order-timeline-text {
  color: var(--portal-color-primary);
}

.order-timeline-step.completed .order-timeline-text {
  color: var(--portal-color-success);
}

.order-items-summary {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.order-item-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

.order-item-img {
  width: 50px;
  height: 62px;
  object-fit: cover;
  border: 1px solid #eaeaea;
}

.order-item-name {
  flex: 1;
  font-size: 13px;
  font-weight: bold;
}

.order-item-price-qty {
  font-size: 13px;
  color: var(--portal-color-grey-dark);
}

.order-card-footer {
  border-top: 1px solid #e5e5e5;
  padding: 16px 24px;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.order-card-footer .portal-btn {
  width: auto;
  padding: 8px 16px;
  font-size: 12px;
}

/* Address Book Tab CSS */
.address-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.address-card {
  border: 1px solid #e5e5e5;
  padding: 24px;
  background: var(--portal-color-bg);
  position: relative;
  transition: var(--portal-transition);
}

.address-card:hover {
  border-color: var(--portal-color-primary);
  box-shadow: var(--portal-shadow);
}

.address-card.default-address {
  border-color: var(--portal-color-primary);
  border-width: 2px;
}

.address-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--portal-color-primary);
  color: #ffffff;
  font-size: 9px;
  padding: 4px 8px;
  font-weight: bold;
  text-transform: uppercase;
}

.address-name {
  font-family: var(--font-body, "Arimo", sans-serif);
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

.address-details {
  font-size: 13px;
  color: var(--portal-color-grey-dark);
  line-height: 1.6;
  margin-bottom: 20px;
}

.address-actions {
  display: flex;
  gap: 15px;
}

.address-actions button {
  background: transparent;
  border: none;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--portal-color-primary);
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

/* Saved Cards / Payments Tab CSS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.payment-card {
  border: 1px solid #e5e5e5;
  background: #f9f9f9;
  padding: 24px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 160px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--portal-shadow);
}

.payment-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 50%;
}

.payment-card-logo {
  font-size: 18px;
  font-weight: bold;
  font-style: italic;
  color: var(--portal-color-primary);
}

.payment-card-number {
  font-family: monospace;
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--portal-color-primary);
  margin: 15px 0;
}

.payment-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--portal-color-grey-dark);
}

.payment-card-holder {
  text-transform: uppercase;
  font-weight: bold;
}

/* Modals and Overlays Styling */
.portal-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.portal-modal.active {
  display: flex;
}

.portal-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  transition: var(--portal-transition);
}

.portal-modal-container {
  position: relative;
  background: var(--portal-color-bg);
  width: 100%;
  max-width: 550px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 2001;
  animation: modalSlideIn 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-radius: 4px;
}

@keyframes modalSlideIn {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.portal-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--portal-color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portal-modal-close svg {
  width: 20px;
  height: 20px;
}

.portal-modal-title {
  font-family: var(--font-heading, "Fraunces", serif);
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.portal-modal-body {
  font-family: var(--font-body, "Arimo", sans-serif);
}

.portal-modal-footer {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}

/* Premium Animated Custom Alert Toast Styling */
.custom-alert-container {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 100000;
  width: calc(100% - 60px);
  max-width: 380px;
  background: #000000;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  transform: translateY(-30px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.custom-alert-container.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.custom-alert-content {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.custom-alert-icon {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.custom-alert-container.success .custom-alert-icon {
  color: #478947;
  background: rgba(71, 137, 71, 0.15);
}

.custom-alert-container.error .custom-alert-icon {
  color: #d02f2e;
  background: rgba(208, 47, 46, 0.15);
}

.custom-alert-container.warning .custom-alert-icon {
  color: #d97706;
  background: rgba(217, 119, 6, 0.15);
}

.custom-alert-message {
  font-family: var(--font-body, "Arimo", sans-serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: #ffffff;
  line-height: 1.4;
  flex-grow: 1;
  text-transform: uppercase;
}

.custom-alert-close {
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.5);
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.custom-alert-close:hover {
  color: #ffffff;
}

.custom-alert-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.custom-alert-progress-bar {
  width: 100%;
  height: 100%;
  background: #ffffff;
  transform-origin: left;
}

.custom-alert-container.success .custom-alert-progress-bar {
  background: #478947;
}

.custom-alert-container.error .custom-alert-progress-bar {
  background: #d02f2e;
}

.custom-alert-container.warning .custom-alert-progress-bar {
  background: #d97706;
}

/* Pre-Order Tag Labeling on variant chips */
.product__chip {
  position: relative !important;
}

.product__chip .preorder-label {
  position: absolute;
  top: -7px;
  left: 2px;
  background-color: #000000 !important;
  color: #ffffff !important;
  font-size: 7px !important;
  font-family: var(--font-body, "Arimo", sans-serif) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 1px 4px !important;
  border-radius: 2px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  pointer-events: none !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
  z-index: 5 !important;
  text-decoration: none !important;
}

/* Ensure no line-through on the label itself and the disabled chip button text */
.product__chip.disabled {
  text-decoration: none !important;
}

.product__chip.disabled .preorder-label {
  text-decoration: none !important;
  display: inline-block !important;
}

/* Global Button Loading Spinner Styles */
.btn, .button, .portal-btn, .btn-primary, .btn-secondary, .btn-danger, button[type="submit"] {
    position: relative;
    transition: all 0.25s ease-in-out;
}

.is-loading-btn {
    pointer-events: none !important;
    opacity: 0.8 !important;
    color: transparent !important; /* Hide text */
}

.is-loading-btn::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
}

.is-loading-btn > * {
    opacity: 0 !important;
}

@keyframes btn-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Decommission Account Links from Header & Drawer */
.header__icon-touch--account,
.drawer-menu__item--account-item {
    display: none !important;
}

/* Mobile Hero Banner Text & Heading Responsiveness */
@media (max-width: 768px) {
  .video-hero__text-container-heading,
  .image-hero__text-container-heading {
    font-size: clamp(1.6rem, 5.5vw, 2.2rem) !important;
    line-height: 1.15 !important;
    padding: 0 35px !important;
    word-break: break-word !important;
  }
  .video-hero__text-container-accent,
  .image-hero__text-container-accent {
    font-size: 0.75rem !important;
    letter-spacing: 0.1em !important;
    margin-bottom: 6px !important;
  }
}



