/**
 * 30 CENT STORE - Storefront Design System & Luxury Egyptian Fashion UX
 * Palette: Luxury Black (#0B0C10, #14161D), Champagne Gold (#D4AF37), Cream (#F4E8D1), Pure White (#FFFFFF)
 */

:root {
  --tc-black-dark: #07080a;
  --tc-black: #0b0c10;
  --tc-black-surface: #14161d;
  --tc-black-card: #1b1e28;
  --tc-black-border: #282c3c;
  --tc-gold: #d4af37;
  --tc-gold-light: #e5c158;
  --tc-gold-muted: #b8972e;
  --tc-cream: #f4e8d1;
  --tc-cream-soft: #ede0cb;
  --tc-text-muted: #a0a6b8;
  --tc-text-white: #ffffff;
  --tc-red: #e53935;
  --tc-green: #2e7d32;
  --tc-font-primary: 'Cairo', system-ui, -apple-system, sans-serif;
  --tc-font-heading: 'Alexandria', 'Cairo', sans-serif;
}

body, button, input, select, textarea {
  font-family: var(--tc-font-primary) !important;
}

h1, h2, h3, h4, h5, h6, .site-title, .main-title {
  font-family: var(--tc-font-heading) !important;
  font-weight: 700;
}

/* Top Announcement Bar */
.tc-top-announcement-bar {
  background: linear-gradient(90deg, #07080a 0%, #1a1505 50%, #07080a 100%);
  color: var(--tc-cream);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  position: relative;
  z-index: 100;
}

.tc-announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tc-shipping-badge {
  background: var(--tc-gold);
  color: var(--tc-black);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  margin-right: 8px;
}

/* Header & Logo */
.ast-site-identity,
.site-branding {
  display: flex !important;
  align-items: center !important;
}

.custom-logo-link,
.site-logo-img,
.site-logo {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
}

.custom-logo-link img,
.site-logo-img img,
.ast-site-identity img,
img.custom-logo {
  max-width: 65px !important;
  max-height: 65px !important;
  width: 65px !important;
  height: 65px !important;
  object-fit: contain !important;
  border-radius: 50% !important;
  border: 2px solid var(--tc-gold) !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3) !important;
  transition: transform 0.3s ease !important;
  display: block !important;
}

.custom-logo-link img:hover {
  transform: scale(1.05) !important;
}

/* Hide duplicate site title text behind logo */
.ast-site-title-wrap,
.site-title,
.ast-site-identity .site-title,
.site-description {
  display: none !important;
}

/* Primary Header Bar */
.ast-primary-header-bar,
.main-header-bar {
  background: var(--tc-black) !important;
  border-bottom: 1px solid var(--tc-black-border) !important;
  padding: 6px 0 !important;
}

.main-header-bar-wrap {
  background: var(--tc-black) !important;
}

/* Main Navigation Menu */
.main-navigation,
.main-header-menu,
.ast-builder-menu-1 .main-header-menu {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
  margin: 0 !important;
}

.main-header-menu .menu-item > .menu-link,
.ast-builder-menu-1 .menu-item > .menu-link {
  color: var(--tc-cream) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 8px 12px !important;
  border-radius: 4px !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

.main-header-menu .menu-item:hover > .menu-link,
.main-header-menu .menu-item.current-menu-item > .menu-link {
  color: var(--tc-gold) !important;
  background: rgba(212, 175, 55, 0.08) !important;
}

/* Hide White Page Title on Homepage */
.home .entry-header,
.home .entry-title,
.home .ast-single-post-order .entry-header,
.home .ast-title-bar,
.home header.entry-header {
  display: none !important;
}

.home .site-content {
  padding-top: 15px !important;
}

.home #primary,
.home .site-main {
  margin: 0 !important;
}

/* Payment Boxes on Checkout */
.thirtycent-payment-box {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 18px;
  margin-top: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  direction: rtl;
  text-align: right;
}

.tc-merchant-info-banner {
  background: linear-gradient(135deg, #0b0c10 0%, #1a1e29 100%);
  color: #ffffff;
  padding: 16px;
  border-radius: 6px;
  border-right: 4px solid var(--tc-gold);
  margin-bottom: 15px;
}

.tc-instapay-banner {
  border-right-color: #ff9800;
}

.tc-merchant-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  margin-bottom: 10px;
  color: var(--tc-cream);
}

.tc-wallet-display {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.tc-wallet-code {
  background: rgba(255, 255, 255, 0.12);
  color: #ffeb3b;
  font-size: 19px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 4px;
  letter-spacing: 1px;
  font-family: monospace;
}

.tc-copy-btn {
  background: var(--tc-gold);
  color: #0b0c10 !important;
  border: none;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.tc-copy-btn:hover {
  background: var(--tc-gold-light);
}

.tc-account-name-notice {
  font-size: 13px;
  color: #cfd8dc;
  margin-bottom: 6px;
}

.tc-order-amount-prompt {
  font-size: 14px;
  color: var(--tc-cream);
  background: rgba(212, 175, 55, 0.15);
  padding: 6px 12px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 6px;
}

.tc-transfer-instructions {
  background: #fdfbf7;
  border: 1px dashed #d4af37;
  padding: 12px;
  border-radius: 6px;
  font-size: 13px;
  color: #424242;
  margin-bottom: 16px;
  line-height: 1.6;
}

.tc-customer-proof-fields {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 14px;
  margin-top: 10px;
  background: #fafafa;
}

.tc-customer-proof-fields legend {
  font-weight: 700;
  font-size: 14px;
  color: #1a1a1a;
  padding: 0 8px;
}

.tc-hint {
  display: block;
  font-size: 11px;
  color: #757575;
  margin-top: 4px;
}

/* Thank You Page Verification Box */
.tc-thankyou-verification-box {
  background: #ffffff;
  border: 2px solid var(--tc-gold);
  border-radius: 8px;
  padding: 24px;
  margin: 25px 0;
  direction: rtl;
  text-align: right;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.tc-thankyou-verification-box h3 {
  margin-top: 0;
  color: #0b0c10;
  font-size: 20px;
  border-bottom: 1px solid #eeeeee;
  padding-bottom: 12px;
}

.tc-verification-summary ul {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.tc-verification-summary li {
  padding: 8px 0;
  border-bottom: 1px dotted #e0e0e0;
  font-size: 14px;
}

.tc-badge {
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  display: inline-block;
}

.tc-badge-pending {
  background: #fff8e1;
  color: #f57f17;
}

.tc-badge-success {
  background: #e8f5e9;
  color: #2e7d32;
}

.tc-support-callout {
  background: #f5f5f5;
  padding: 14px;
  border-radius: 6px;
  margin-top: 15px;
}

.tc-whatsapp-btn {
  background: #25d366 !important;
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 25px;
  padding: 10px 20px;
  display: inline-block;
  text-decoration: none;
  margin-top: 8px;
}

/* Floating WhatsApp Quick Support */
.tc-floating-whatsapp {
  position: fixed;
  bottom: 85px;
  left: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.tc-floating-whatsapp:hover {
  transform: translateY(-3px);
}

.tc-wa-bubble {
  background: #ffffff;
  color: #1a1a1a;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.tc-wa-icon {
  background: #25d366;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

/* Mobile Bottom Navigation (Raya Shop UX pattern) */
.tc-mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .tc-mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0b0c10;
    border-top: 1px solid var(--tc-black-border);
    z-index: 1000;
    height: 60px;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
  }

  .tc-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--tc-text-muted);
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    flex: 1;
    height: 100%;
    position: relative;
  }

  .tc-nav-item.active, .tc-nav-item:hover {
    color: var(--tc-gold);
  }

  .tc-nav-icon {
    font-size: 20px;
    position: relative;
    line-height: 1;
    margin-bottom: 2px;
  }

  .tc-cart-bubble {
    position: absolute;
    top: -5px;
    right: -8px;
    background: var(--tc-red);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    border-radius: 10px;
    padding: 1px 5px;
    min-width: 16px;
    text-align: center;
  }

  body {
    padding-bottom: 65px;
  }
}

/* Size Guide Modal */
.tc-size-guide-btn {
  background: transparent;
  color: #0b0c10;
  border: 1px solid #0b0c10;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  margin: 10px 0;
  display: inline-block;
  transition: all 0.2s ease;
}

.tc-size-guide-btn:hover {
  background: #0b0c10;
  color: var(--tc-gold);
}

.tc-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.tc-modal-dialog {
  background: #ffffff;
  border-radius: 8px;
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  direction: rtl;
  text-align: right;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.tc-modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid #eeeeee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tc-modal-header h3 { margin: 0; font-size: 18px; }
.tc-modal-close { background: none; border: none; font-size: 20px; cursor: pointer; }
.tc-modal-body { padding: 20px; }
.tc-modal-footer { padding: 14px 20px; border-top: 1px solid #eeeeee; text-align: left; }

.tc-size-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px 0;
  font-size: 13px;
}

.tc-size-table th, .tc-size-table td {
  border: 1px solid #e0e0e0;
  padding: 8px 10px;
  text-align: center;
}

.tc-size-table th {
  background: #0b0c10;
  color: var(--tc-gold);
}

/* Product Badges & WooCommerce refinement */
.woocommerce span.onsale {
  background-color: var(--tc-gold) !important;
  color: #0b0c10 !important;
  font-weight: 800 !important;
  border-radius: 4px !important;
  padding: 2px 10px !important;
  font-size: 12px !important;
}

.woocommerce ul.products li.product .button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background-color: var(--tc-black) !important;
  color: var(--tc-gold) !important;
  border: 1px solid var(--tc-gold) !important;
  font-weight: 700 !important;
  border-radius: 4px !important;
  transition: all 0.2s ease !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background-color: var(--tc-gold) !important;
  color: var(--tc-black) !important;
}

.woocommerce-Price-amount {
  color: #0b0c10;
  font-weight: 800;
}

/* LTR Brand Isolation for 30 CENT STORE */
.tc-brand-ltr {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  display: inline-block !important;
  text-align: left !important;
}

