/* ============================================================
   Glow Club — Account Pages CSS v3.0
   Pixel-perfect clone of aminoclub.com
   Responsive: Desktop 1440px | Tablet 768px | Mobile 390px
   ============================================================ */

/* ── GLOBAL RESETS ── */
body.woocommerce-account .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-checkout .site-main {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.woocommerce-account .woocommerce,
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce {
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
  padding: 0 !important;
  margin: 0 !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation { display: none !important; }
.woocommerce-account .woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ── INNER CONTENT CONTAINER (max-w-4xl = 896px) ── */
.gc-page-content {
  width: 100%;
  max-width: 896px;
  margin: 0 auto;
  padding: 64px 24px;
  box-sizing: border-box;
}

/* ── HERO SECTION ── */
.gc-hero {
  position: relative;
  width: 100%;
  background: linear-gradient(to bottom right, #111827, #000000, #1f2937);
  overflow: hidden;
}
.gc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
  pointer-events: none;
}
.gc-hero-inner {
  position: relative;
  max-width: 768px;
  margin: 0 auto;
  padding: 96px 24px;
  box-sizing: border-box;
}
.gc-hero-user {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.gc-avatar {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #131315;
  font-family: 'Poppins', sans-serif;
}
.gc-hero-name {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.2;
  font-family: 'Poppins', sans-serif;
}
.gc-hero-email {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin: 0;
  font-family: 'Poppins', sans-serif;
}
.gc-hero-text {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  margin: 0 0 32px;
  max-width: 480px;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
}
.gc-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.gc-btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  background: #fff;
  color: #131315 !important;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none !important;
  font-family: 'Poppins', sans-serif;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.gc-btn-white:hover { background: #f3f4f6; color: #131315 !important; }
.gc-btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  background: rgba(255,255,255,0.1);
  color: #fff !important;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none !important;
  font-family: 'Poppins', sans-serif;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.gc-btn-outline-white:hover { background: rgba(255,255,255,0.2); color: #fff !important; }

/* ── ACCOUNT CONTENT BACKGROUND ── */
.gc-account-body {
  background: #f9fafb;
  width: 100%;
}

/* ── DASHBOARD CARDS ── */
.gc-account-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.gc-account-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-decoration: none !important;
  color: #131315 !important;
  transition: box-shadow 0.15s, border-color 0.15s;
  cursor: pointer;
}
.gc-account-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-color: #d1d5db;
  color: #131315 !important;
  text-decoration: none !important;
}
.gc-card-partner {
  background: linear-gradient(135deg, #9333ea 0%, #2563eb 100%);
  border-color: transparent;
  color: #fff !important;
}
.gc-card-partner:hover {
  box-shadow: 0 4px 16px rgba(147,51,234,0.3);
  border-color: transparent;
  color: #fff !important;
}
.gc-card-icon-wrap {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.gc-card-partner .gc-card-icon-wrap {
  background: rgba(255,255,255,0.2);
}
.gc-card-label {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
  font-family: 'Poppins', sans-serif;
  color: inherit;
}
.gc-card-sublabel {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
  font-family: 'Poppins', sans-serif;
}
.gc-card-partner .gc-card-sublabel { color: rgba(255,255,255,0.75); }

/* ── ORDERS CARD (full width) ── */
.gc-orders-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  width: 100%;
}
.gc-orders-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.gc-orders-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #131315;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
}
.gc-orders-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 4px;
  font-family: 'Poppins', sans-serif;
}
.gc-orders-count {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
  font-family: 'Poppins', sans-serif;
}
.gc-view-orders-link {
  font-size: 14px;
  color: #131315;
  text-decoration: underline;
  font-family: 'Poppins', sans-serif;
}

/* ── SECTION TITLE (Profile, Addresses etc.) ── */
.gc-section-title {
  font-size: 30px;
  font-weight: 700;
  color: #131315;
  margin: 0 0 8px;
  font-family: 'Poppins', sans-serif;
}
.gc-section-subtitle {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 32px;
  line-height: 1.6;
  font-family: 'Poppins', sans-serif;
}

/* ── PROFILE ROWS ── */
.gc-profile-list {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
}
.gc-profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
}
.gc-profile-row:last-child { border-bottom: none; }
.gc-profile-row-info { flex: 1; min-width: 0; }
.gc-profile-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 0 0 4px;
  font-family: 'Poppins', sans-serif;
}
.gc-profile-value {
  font-size: 15px;
  color: #131315;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}
.gc-profile-edit {
  font-size: 14px;
  color: #131315;
  text-decoration: underline;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
  margin-left: 16px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.gc-profile-edit:hover { color: #374151; }

/* Inline edit form */
.gc-inline-form {
  padding: 20px 24px;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
}
.gc-form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.gc-form-field {
  flex: 1;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gc-form-field label {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'Poppins', sans-serif;
}
.gc-form-field input,
.gc-form-field select {
  height: 44px;
  padding: 0 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  color: #131315;
  background: #fff;
  outline: none;
  box-sizing: border-box;
  width: 100%;
}
.gc-form-field input:focus,
.gc-form-field select:focus {
  border-color: #131315;
  box-shadow: 0 0 0 2px rgba(19,19,21,0.08);
}
.gc-form-btns {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.gc-save-btn {
  height: 40px;
  padding: 0 20px;
  background: #131315;
  color: #fff;
  border: none;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: background 0.15s;
}
.gc-save-btn:hover { background: #000; }
.gc-cancel-btn {
  height: 40px;
  padding: 0 20px;
  background: transparent;
  color: #6b7280;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
}

/* ── ADDRESS CARDS ── */
.gc-addresses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.gc-address-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}
.gc-address-type {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9ca3af;
  margin: 0 0 12px;
  font-family: 'Poppins', sans-serif;
}
.gc-address-name {
  font-size: 15px;
  font-weight: 600;
  color: #131315;
  margin: 0 0 8px;
  font-family: 'Poppins', sans-serif;
}
.gc-address-line {
  font-size: 14px;
  color: #374151;
  margin: 0 0 4px;
  font-family: 'Poppins', sans-serif;
  line-height: 1.5;
}
.gc-address-phone {
  font-size: 13px;
  color: #9ca3af;
  margin: 0 0 16px;
  font-family: 'Poppins', sans-serif;
}
.gc-address-actions {
  margin-top: auto;
  display: flex;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
}
.gc-addr-edit-link,
.gc-addr-delete-link {
  font-size: 13px;
  color: #131315;
  text-decoration: underline;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
}
.gc-addr-delete-link { color: #ef4444; }
.gc-address-new {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none !important;
  color: #9ca3af !important;
  border-style: dashed;
}
.gc-address-new:hover {
  border-color: #9ca3af;
  color: #6b7280 !important;
}
.gc-address-new .gc-addr-plus {
  font-size: 32px;
  line-height: 1;
  color: #9ca3af;
}
.gc-address-new .gc-addr-new-label {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  font-family: 'Poppins', sans-serif;
}

/* ── PARTNER PROGRAM BANNER ── */
.gc-partner-banner {
  background: linear-gradient(135deg, #9333ea 0%, #2563eb 100%);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  color: #fff;
}
.gc-partner-banner-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.gc-partner-code-label {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'Poppins', sans-serif;
  margin: 0 0 6px;
}
.gc-partner-code-value {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  letter-spacing: 0.05em;
}
.gc-partner-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 20px;
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.gc-partner-copy-btn:hover { background: rgba(255,255,255,0.3); }
.gc-partner-link-box {
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 16px;
}
.gc-partner-link-label {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  font-family: 'Poppins', sans-serif;
  margin: 0 0 10px;
}
.gc-partner-link-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.gc-partner-link-input {
  flex: 1;
  min-width: 200px;
  height: 44px;
  padding: 0 16px;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  font-family: 'Poppins', sans-serif;
  outline: none;
  box-sizing: border-box;
}
.gc-partner-link-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 20px;
  background: #fff;
  color: #131315;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  white-space: nowrap;
}
.gc-partner-link-copy-btn:hover { background: #f3f4f6; }
.gc-partner-share-note {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin: 12px 0 0;
  font-family: 'Poppins', sans-serif;
}

/* ── PARTNER TABS ── */
.gc-partner-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.gc-partner-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 20px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  background: transparent;
  border: 1px solid #e5e7eb;
  color: #374151;
  text-decoration: none !important;
  transition: all 0.15s;
}
.gc-partner-tab.active,
.gc-partner-tab:hover {
  background: #131315;
  border-color: #131315;
  color: #fff !important;
}

/* ── PARTNER STATS GRID ── */
.gc-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.gc-stat-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
}
.gc-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 12px;
}
.gc-stat-value {
  font-size: 28px;
  font-weight: 700;
  color: #131315;
  margin: 0 0 4px;
  font-family: 'Poppins', sans-serif;
}
.gc-stat-label {
  font-size: 12px;
  color: #6b7280;
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

/* ── CART PAGE ── */
.gc-cart-wrap {
  background: #fff;
  width: 100%;
  padding: 48px 24px 80px;
  box-sizing: border-box;
  max-width: 1200px;
  margin: 0 auto;
}
.gc-cart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.gc-cart-title {
  font-size: 36px;
  font-weight: 600;
  color: #131315;
  margin: 0 0 6px;
  font-family: 'Poppins', sans-serif;
  line-height: 1.2;
}
.gc-cart-count {
  font-size: 14px;
  color: #9ca3af;
  margin: 0;
  font-family: 'Poppins', sans-serif;
}
.gc-continue-btn {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 20px;
  border: 1px solid #131315;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  color: #131315 !important;
  text-decoration: none !important;
  background: transparent;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
  transition: background 0.15s;
  align-self: flex-start;
  margin-top: 8px;
}
.gc-continue-btn:hover { background: #f9fafb; color: #131315 !important; }
.gc-cart-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.gc-cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #f3f4f6;
}
.gc-cart-item:last-child { border-bottom: none; }
.gc-cart-item-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  background: #f9fafb;
  flex-shrink: 0;
}
.gc-cart-item-name {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: #131315;
  margin: 0;
  font-family: 'Poppins', sans-serif;
}
.gc-cart-qty-wrap {
  display: flex;
  align-items: center;
}
.gc-qty-form {
  display: flex;
  align-items: center;
  gap: 4px;
}
.gc-cart-qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #131315;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.15s;
}
.gc-cart-qty-btn:hover { background: #f3f4f6; }
.gc-cart-qty-val {
  min-width: 32px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #131315;
  font-family: 'Poppins', sans-serif;
}
.gc-cart-item-price {
  font-size: 15px;
  font-weight: 600;
  color: #131315;
  font-family: 'Poppins', sans-serif;
  min-width: 70px;
  text-align: right;
}
.gc-cart-remove {
  font-size: 18px;
  color: #9ca3af;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.15s;
}
.gc-cart-remove:hover { color: #ef4444; }
.gc-cart-summary {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  position: sticky;
  top: 100px;
}
.gc-cart-summary-title {
  font-size: 18px;
  font-weight: 700;
  color: #131315;
  margin: 0 0 20px;
  font-family: 'Poppins', sans-serif;
}
.gc-cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
}
.gc-cart-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-weight: 700;
  font-size: 18px;
  color: #131315;
  font-family: 'Poppins', sans-serif;
  border-top: 2px solid #131315;
  margin-top: 4px;
}
.gc-checkout-btn {
  display: block;
  width: 100%;
  background: #131315;
  color: #fff !important;
  text-align: center;
  padding: 14px 24px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none !important;
  margin-top: 16px;
  font-family: 'Poppins', sans-serif;
  transition: background 0.15s;
  box-sizing: border-box;
}
.gc-checkout-btn:hover { background: #000; color: #fff !important; }
.gc-cart-empty {
  text-align: center;
  padding: 80px 24px;
}
.gc-cart-empty-icon {
  font-size: 80px;
  margin-bottom: 24px;
  opacity: 0.3;
}
.gc-start-shopping-btn {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 32px;
  background: #131315;
  color: #fff !important;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none !important;
  font-family: 'Poppins', sans-serif;
  margin-top: 16px;
}

/* ── HIDE EXTRA WC BUTTONS ON CART ── */
body.woocommerce-cart .checkout-button.button.alt.wc-forward,
body.woocommerce-cart .fkwcs_smart_buttons.fkwcs_smart_cart_button,
body.woocommerce-cart .fkwcs_ec_buttons_wrap,
body.woocommerce-cart .fkwcs-ec-separator {
  display: none !important;
}

/* ── CHECKOUT PAGE STYLING ── */
body.woocommerce-checkout {
  background: linear-gradient(rgba(232,229,255,.6) 0%, rgba(233,252,230,.4) 100%) !important;
  min-height: 100vh;
}
.wfacp_payment_btn, .wfacp-payment-btn {
  background: #131315 !important;
  border-radius: 9999px !important;
  border: none !important;
  font-weight: 600 !important;
  font-family: 'Poppins', sans-serif !important;
}

/* ── RESPONSIVE: TABLET (≤1024px) ── */
@media (max-width: 1024px) {
  .gc-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gc-cart-grid {
    grid-template-columns: 1fr 300px;
    gap: 24px;
  }
}

/* ── RESPONSIVE: TABLET/LARGE MOBILE (≤768px) ── */
@media (max-width: 768px) {
  .gc-hero-inner {
    padding: 64px 24px;
  }
  .gc-hero-name {
    font-size: 28px;
  }
  .gc-hero-text {
    font-size: 16px;
    margin-bottom: 24px;
  }
  .gc-page-content {
    padding: 40px 16px;
  }
  .gc-account-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .gc-addresses-grid {
    grid-template-columns: 1fr;
  }
  .gc-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gc-cart-grid {
    grid-template-columns: 1fr;
  }
  .gc-cart-summary {
    position: static;
  }
  .gc-cart-wrap {
    padding: 32px 16px 60px;
  }
  .gc-partner-banner-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── RESPONSIVE: MOBILE (≤480px) ── */
@media (max-width: 480px) {
  .gc-hero-inner {
    padding: 48px 16px;
  }
  .gc-hero-user {
    gap: 12px;
    margin-bottom: 16px;
  }
  .gc-avatar {
    width: 52px;
    height: 52px;
    min-width: 52px;
    font-size: 20px;
  }
  .gc-hero-name {
    font-size: 24px;
  }
  .gc-hero-text {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .gc-btn-white,
  .gc-btn-outline-white {
    height: 40px;
    padding: 0 20px;
    font-size: 14px;
  }
  .gc-page-content {
    padding: 32px 16px;
  }
  .gc-account-cards {
    grid-template-columns: 1fr;
  }
  .gc-section-title {
    font-size: 24px;
  }
  .gc-profile-row {
    padding: 16px;
  }
  .gc-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .gc-stat-value {
    font-size: 22px;
  }
  .gc-partner-tabs {
    flex-wrap: wrap;
    gap: 6px;
  }
  .gc-partner-link-row {
    flex-direction: column;
    align-items: stretch;
  }
  .gc-partner-link-input {
    min-width: 100%;
  }
  .gc-cart-title {
    font-size: 28px;
  }
  .gc-cart-header {
    flex-direction: column;
    margin-bottom: 24px;
  }
  .gc-continue-btn {
    margin-top: 0;
  }
}


/* ============================================================
   Glow Club — CSS PATCH v3.1
   Icon fixes, empty cart, login page styles
   ============================================================ */

/* Fix card icon SVG display */
.gc-card-icon-wrap {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.gc-card-icon-wrap svg {
    display: block;
    flex-shrink: 0;
}
.gc-card-partner .gc-card-icon-wrap {
    background: rgba(255,255,255,0.2);
}

/* Card body layout fix */
.gc-account-card {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
}
.gc-account-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    text-decoration: none;
}

/* Card text */
.gc-card-label {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px;
    color: inherit;
}
.gc-card-sublabel {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}
.gc-card-partner .gc-card-sublabel {
    color: rgba(255,255,255,0.75);
}
.gc-card-partner .gc-card-label {
    color: #fff;
}

/* Orders icon */
.gc-orders-icon {
    width: 44px;
    height: 44px;
    background: #131315;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.gc-orders-icon svg {
    display: block;
}

/* Sign out icon inline */
.gc-btn-outline-white svg {
    vertical-align: middle;
    margin-right: 6px;
}

/* Cart - Empty state icon circle */
.gc-empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 24px;
}
.gc-empty-cart-icon {
    width: 96px;
    height: 96px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.gc-empty-cart-icon svg {
    display: block;
    width: 48px;
    height: 48px;
    color: #9ca3af;
}
.gc-empty-cart-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px;
}
.gc-empty-cart-sub {
    font-size: 15px;
    color: #6b7280;
    margin: 0 0 24px;
    max-width: 400px;
}

/* Start shopping button */
.gc-start-shopping-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 32px;
    background: #131315;
    color: #fff !important;
    border: none;
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none !important;
    transition: background 0.2s;
    cursor: pointer;
}
.gc-start-shopping-btn:hover {
    background: #333;
    text-decoration: none !important;
}

/* Continue shopping button (cart) */
.gc-continue-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 20px;
    background: transparent;
    color: #131315 !important;
    border: 1px solid #131315;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.gc-continue-btn:hover {
    background: #f9fafb;
    text-decoration: none !important;
}

/* Cart page layout */
.gc-cart-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    box-sizing: border-box;
}
.gc-cart-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 32px;
    gap: 16px;
}
.gc-cart-title {
    font-size: 36px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 6px;
    line-height: 1.2;
}
.gc-cart-subtitle {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
}

/* Cart layout */
.gc-cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
}

/* Cart items */
.gc-cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.gc-cart-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
}
.gc-cart-item-img-wrap {
    flex-shrink: 0;
}
.gc-cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}
.gc-cart-item-info {
    flex: 1;
    min-width: 0;
}
.gc-cart-item-name {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
}
.gc-cart-item-price {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 12px;
}
.gc-cart-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}
.gc-cart-item-total {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}
.gc-cart-remove {
    font-size: 20px;
    color: #9ca3af;
    text-decoration: none;
    line-height: 1;
    transition: color 0.2s;
}
.gc-cart-remove:hover { color: #dc2626; }

/* Quantity controls */
.gc-qty-wrap {
    display: flex;
    align-items: center;
}
.gc-qty-form {
    display: flex;
    align-items: center;
    gap: 0;
}
.gc-qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 8px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: #374151;
}
.gc-qty-btn:hover { background: #e5e7eb; }
.gc-qty-input {
    width: 44px;
    height: 32px;
    border: 1px solid #e5e7eb;
    border-left: none;
    border-right: none;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    background: #fff;
    outline: none;
    -moz-appearance: textfield;
}
.gc-qty-input::-webkit-outer-spin-button,
.gc-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Order Summary */
.gc-order-summary {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    position: sticky;
    top: 24px;
}
.gc-summary-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 20px;
}
.gc-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #374151;
    margin-bottom: 12px;
}
.gc-summary-muted {
    color: #9ca3af;
    font-size: 13px;
}
.gc-summary-discount {
    color: #16a34a;
}
.gc-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    border-top: 1px solid #e5e7eb;
    padding-top: 16px;
    margin-top: 12px;
    margin-bottom: 20px;
}
.gc-checkout-btn {
    display: block;
    width: 100%;
    height: 52px;
    background: #131315;
    color: #fff !important;
    border: none;
    border-radius: 9999px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    line-height: 52px;
    text-decoration: none !important;
    transition: background 0.2s;
    cursor: pointer;
    box-sizing: border-box;
}
.gc-checkout-btn:hover {
    background: #333;
    text-decoration: none !important;
}

/* Coupon */
.gc-coupon-wrap {
    margin-top: 16px;
}
.gc-coupon-form {
    display: flex;
    gap: 8px;
}
.gc-coupon-input {
    flex: 1;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 13px;
    outline: none;
}
.gc-coupon-input:focus {
    border-color: #111827;
}
.gc-coupon-btn {
    height: 40px;
    padding: 0 16px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.gc-coupon-btn:hover {
    background: #f3f4f6;
}

/* Empty orders */
.gc-empty-orders {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 24px;
}
.gc-empty-orders svg {
    margin-bottom: 16px;
    display: block;
}
.gc-empty-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px;
}
.gc-empty-sub {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 20px;
}

/* Order rows */
.gc-order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid #f3f4f6;
    gap: 16px;
    flex-wrap: wrap;
}
.gc-order-num {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 4px;
}
.gc-order-date {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}
.gc-order-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.gc-order-status {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
    background: #f3f4f6;
    color: #374151;
}
.gc-status-completed { background: #dcfce7; color: #16a34a; }
.gc-status-processing { background: #dbeafe; color: #2563eb; }
.gc-status-pending { background: #fef9c3; color: #ca8a04; }
.gc-status-cancelled { background: #fee2e2; color: #dc2626; }
.gc-status-refunded { background: #f3e8ff; color: #9333ea; }
.gc-order-total {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}
.gc-order-link {
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.gc-order-link:hover { color: #111827; }

/* Cart responsive */
@media (max-width: 768px) {
    .gc-cart-layout {
        grid-template-columns: 1fr;
    }
    .gc-cart-title {
        font-size: 28px;
    }
    .gc-cart-header {
        flex-direction: column;
    }
}

/* Login page - hide WooCommerce nav when on login */
body.woocommerce-account.gc-login-page .site-header {
    display: none;
}


/* ============================================================
   Glow Club — CSS FIX v3.2
   Partner card gradient fix, icon display
   ============================================================ */

/* Override: partner card gradient must override .gc-account-card background */
.gc-account-card.gc-card-partner {
    background: linear-gradient(135deg, #9333ea 0%, #2563eb 100%) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    text-decoration: none !important;
}
.gc-account-card.gc-card-partner:hover {
    box-shadow: 0 8px 24px rgba(147, 51, 234, 0.35) !important;
    text-decoration: none !important;
}
.gc-account-card.gc-card-partner .gc-card-icon-wrap {
    background: rgba(255,255,255,0.2) !important;
}
.gc-account-card.gc-card-partner .gc-card-label {
    color: #fff !important;
}
.gc-account-card.gc-card-partner .gc-card-sublabel {
    color: rgba(255,255,255,0.8) !important;
}

/* Fix gc-account-card base - use the patch version */
.gc-account-card {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
}

/* Make SVGs in icon wraps display correctly */
.gc-card-icon-wrap svg,
.gc-card-icon-wrap img {
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Account card grid responsive */
@media (max-width: 768px) {
    .gc-account-cards {
        grid-template-columns: 1fr !important;
    }
}
@media (max-width: 1024px) {
    .gc-account-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
