/* ================================================================
   RIZA — Panels, Popups, Special Pages CSS
   ================================================================ */

/* ══════════════════════════════════════════
   CART PANEL (side drawer)
   ══════════════════════════════════════════ */
.panel-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(3px);
  z-index: 2000;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.panel-overlay.open { opacity: 1; pointer-events: all; }

.cart-panel {
  position: fixed;
  top: 0; left: 0;
  width: min(420px, 100vw);
  height: 100%;
  background: #fff;
  z-index: 2001;
  display: flex; flex-direction: column;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow: 4px 0 40px rgba(0,0,0,.15);
}
.cart-panel.open { transform: translateX(0); }

.cp-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid #f0f0f0;
  background: #000;
  color: #fff;
}
.cp-head h3 { font-size: 16px; font-weight: 700; letter-spacing: .5px; }
.cp-head .cp-count {
  background: #e53935; color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 2px 8px; border-radius: 50px;
  margin-right: 8px;
}
.cp-close {
  background: rgba(255,255,255,.12); border: none;
  color: #fff; width: 34px; height: 34px;
  border-radius: 50%; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s;
}
.cp-close:hover { background: rgba(255,255,255,.25); }

.cp-items { flex: 1; overflow-y: auto; padding: 16px; }
.cp-items::-webkit-scrollbar { width: 3px; }
.cp-items::-webkit-scrollbar-thumb { background: #e0e0e0; border-radius: 2px; }

.cp-item {
  display: flex; gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f5f5f5;
  position: relative;
}
.cp-item-img {
  width: 80px; flex-shrink: 0;
  aspect-ratio: 3/4;
  border-radius: 8px; overflow: hidden;
  background: #f4f4f4;
}
.cp-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cp-item-info { flex: 1; min-width: 0; }
.cp-item-name {
  font-size: 13.5px; font-weight: 600;
  line-height: 1.4; margin-bottom: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cp-item-meta { font-size: 12px; color: #888; margin-bottom: 8px; }
.cp-item-price { font-size: 14px; font-weight: 800; color: #000; }
.cp-item-qty {
  display: flex; align-items: center; gap: 10px;
  margin-top: 8px;
}
.cp-qty-btn {
  width: 26px; height: 26px;
  border: 1.5px solid #e0e0e0;
  background: #fff; border-radius: 50%;
  font-size: 14px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s;
  font-family: var(--font);
}
.cp-qty-btn:hover { border-color: #000; background: #000; color: #fff; }
.cp-qty-num { font-size: 14px; font-weight: 700; min-width: 20px; text-align: center; }
.cp-item-remove {
  position: absolute; top: 14px; left: 0;
  background: none; border: none;
  color: #ccc; font-size: 14px; cursor: pointer;
  transition: color .2s; padding: 4px;
}
.cp-item-remove:hover { color: #e53935; }

.cp-empty {
  text-align: center; padding: 60px 20px;
  color: #999;
}
.cp-empty i { font-size: 48px; margin-bottom: 16px; display: block; opacity: .3; }
.cp-empty p { font-size: 14px; margin-bottom: 20px; }

.cp-foot {
  padding: 18px 22px;
  border-top: 1px solid #f0f0f0;
  background: #fafafa;
}
.cp-subtotal {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px; font-size: 14px;
}
.cp-subtotal .label { color: #666; }
.cp-subtotal .amount { font-size: 18px; font-weight: 800; }
.cp-tax { font-size: 11px; color: #999; margin-bottom: 14px; text-align: left; }
.cp-shipping-note {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: #2e7d32;
  background: #e8f5e9; padding: 8px 12px;
  border-radius: 8px; margin-bottom: 14px;
}
.cp-btns { display: flex; flex-direction: column; gap: 8px; }
.cp-btns a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px; border-radius: 50px;
  font-size: 14px; font-weight: 700;
  font-family: var(--font); text-decoration: none;
  transition: all .2s;
}
.cp-btn-checkout { background: #000; color: #fff; }
.cp-btn-checkout:hover { background: #222; }
.cp-btn-cart { background: #fff; color: #000; border: 2px solid #000; }
.cp-btn-cart:hover { background: #000; color: #fff; }

/* ══════════════════════════════════════════
   ACCOUNT PANEL
   ══════════════════════════════════════════ */
.account-panel {
  position: fixed;
  top: 0; left: 0;
  width: min(380px, 100vw);
  height: 100%;
  background: #fff;
  z-index: 2001;
  display: flex; flex-direction: column;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow: 4px 0 40px rgba(0,0,0,.15);
}
.account-panel.open { transform: translateX(0); }

.ap-head {
  background: #000; color: #fff;
  padding: 0 22px;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}
.ap-head h3 { font-size: 16px; font-weight: 700; }

.ap-user-info {
  padding: 24px 22px;
  background: linear-gradient(135deg, #111 0%, #2a2a2a 100%);
  color: #fff;
  display: flex; align-items: center; gap: 14px;
}
.ap-avatar {
  width: 52px; height: 52px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: rgba(255,255,255,.8);
  flex-shrink: 0;
}
.ap-user-name { font-size: 16px; font-weight: 700; margin-bottom: 3px; }
.ap-user-email { font-size: 12px; color: rgba(255,255,255,.6); }

.ap-login-area { padding: 24px 22px; }
.ap-login-area h4 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.ap-login-area p { font-size: 13px; color: #777; margin-bottom: 20px; }
.ap-form-group { margin-bottom: 14px; }
.ap-form-group input {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid #e0e0e0; border-radius: 10px;
  font-family: var(--font); font-size: 14px;
  direction: rtl; outline: none;
  transition: border-color .2s;
}
.ap-form-group input:focus { border-color: #000; }
.ap-login-btn {
  width: 100%; padding: 12px;
  background: #000; color: #fff;
  border: none; border-radius: 50px;
  font-family: var(--font); font-size: 14px; font-weight: 700;
  cursor: pointer; transition: background .2s;
  margin-bottom: 10px;
}
.ap-login-btn:hover { background: #333; }
.ap-register-link {
  display: block; text-align: center;
  font-size: 13px; color: #666;
  padding: 8px;
}
.ap-register-link a { color: #000; font-weight: 700; border-bottom: 1px solid #000; }

.ap-links { padding: 8px 0; border-top: 1px solid #f5f5f5; }
.ap-link-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 22px;
  font-size: 14px; color: #1a1a1a;
  text-decoration: none;
  transition: background .2s;
  border-bottom: 1px solid #f9f9f9;
}
.ap-link-item:hover { background: #f9f9f9; }
.ap-link-item i { width: 20px; color: #888; font-size: 16px; }
.ap-link-item .ap-badge {
  margin-right: auto; background: #e53935; color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 2px 7px; border-radius: 50px;
}
.ap-logout {
  margin: 16px 22px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px;
  border: 1.5px solid #f0f0f0; border-radius: 50px;
  color: #e53935; font-size: 13px; font-weight: 600;
  cursor: pointer; background: none; width: calc(100% - 44px);
  font-family: var(--font); text-decoration: none;
  transition: all .2s;
}
.ap-logout:hover { background: #fef2f2; border-color: #e53935; }

/* ══════════════════════════════════════════
   WISHLIST PAGE
   ══════════════════════════════════════════ */
.wishlist-page { padding: 48px 0 80px; }
.wishlist-hero {
  background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
  color: #fff; padding: 56px 0;
  text-align: center; margin-bottom: 48px;
  position: relative; overflow: hidden;
}
.wishlist-hero::before {
  content: '♡';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-size: 280px; opacity: .03;
  pointer-events: none;
}
.wishlist-hero h1 { font-size: 32px; font-weight: 900; margin-bottom: 8px; }
.wishlist-hero p { font-size: 15px; color: rgba(255,255,255,.6); }
.wishlist-hero .count-badge {
  display: inline-block; background: #e53935;
  color: #fff; font-size: 13px; font-weight: 700;
  padding: 4px 14px; border-radius: 50px; margin-top: 12px;
}

.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}
.wishlist-card {
  background: #fff; border-radius: 14px;
  overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,.07);
  transition: transform .3s, box-shadow .3s;
  position: relative;
}
.wishlist-card:hover { transform: translateY(-6px); box-shadow: 0 10px 32px rgba(0,0,0,.13); }
.wishlist-card-img { aspect-ratio: 3/4; overflow: hidden; background: #f4f4f4; position: relative; }
.wishlist-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.wishlist-card:hover .wishlist-card-img img { transform: scale(1.06); }
.wishlist-remove-btn {
  position: absolute; top: 10px; left: 10px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,.92); border: none;
  border-radius: 50%; color: #e53935;
  font-size: 14px; display: flex; align-items: center;
  justify-content: center; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  transition: all .2s;
}
.wishlist-remove-btn:hover { background: #e53935; color: #fff; transform: scale(1.1); }
.wishlist-card-body { padding: 12px 14px 16px; }
.wishlist-card-name { font-size: 14px; font-weight: 600; margin-bottom: 6px; line-height: 1.4; }
.wishlist-card-price { font-size: 16px; font-weight: 800; margin-bottom: 12px; }
.wishlist-card-price .was { font-size: 12px; font-weight: 400; color: #999; text-decoration: line-through; margin-right: 6px; }
.wishlist-add-cart {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; padding: 10px;
  background: #000; color: #fff; border: none;
  border-radius: 50px; font-family: var(--font);
  font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all .2s; text-decoration: none;
}
.wishlist-add-cart:hover { background: #333; }

.wishlist-empty {
  text-align: center; padding: 80px 20px;
}
.wishlist-empty i { font-size: 72px; color: #e0e0e0; display: block; margin-bottom: 20px; }
.wishlist-empty h2 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.wishlist-empty p { color: #999; margin-bottom: 24px; }

/* ══════════════════════════════════════════
   STATIC PAGES — Shared Hero
   ══════════════════════════════════════════ */
.page-hero {
  padding: 60px 0;
  background: #000;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: 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.02'%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");
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero .breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,.5); }
.page-hero .breadcrumb span { color: rgba(255,255,255,.7); }
.page-hero h1 { font-size: clamp(26px, 4vw, 48px); font-weight: 900; margin-bottom: 10px; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,.65); max-width: 520px; margin: 0 auto; }

/* ══════════════════════════════════════════
   FAQ PAGE
   ══════════════════════════════════════════ */
.faq-page { padding: 64px 0; }
.faq-cats {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 48px;
}
.faq-cat-btn {
  padding: 9px 22px; border-radius: 50px;
  border: 1.5px solid #e0e0e0;
  font-family: var(--font); font-size: 13px;
  cursor: pointer; background: #fff;
  transition: all .2s;
}
.faq-cat-btn.active, .faq-cat-btn:hover {
  background: #000; color: #fff; border-color: #000;
}
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1.5px solid #f0f0f0;
  border-radius: 12px; margin-bottom: 12px;
  overflow: hidden; transition: border-color .2s;
}
.faq-item.open { border-color: #000; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; cursor: pointer;
  font-size: 15px; font-weight: 600;
  background: #fff; user-select: none;
  transition: background .2s; gap: 14px;
}
.faq-item.open .faq-q { background: #000; color: #fff; }
.faq-q-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 50%; border: 1.5px solid #e0e0e0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; transition: all .3s;
}
.faq-item.open .faq-q-icon { background: rgba(255,255,255,.15); border-color: transparent; color: #fff; transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 20px;
  font-size: 14px; line-height: 1.8; color: #555;
}
.faq-item.open .faq-a { max-height: 400px; padding: 18px 20px; }

/* ══════════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════════ */
.about-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: #f0f0f0;
  margin: 48px 0;
  border-radius: 16px; overflow: hidden;
}
.stat-box {
  background: #fff; padding: 36px 24px;
  text-align: center;
}
.stat-box .stat-num {
  font-size: 42px; font-weight: 900;
  color: #000; line-height: 1;
  margin-bottom: 6px; display: block;
}
.stat-box .stat-num span { font-size: 22px; color: #c9a96e; }
.stat-box .stat-label { font-size: 13px; color: #777; }

.about-features {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; margin: 48px 0;
}
.about-feat {
  background: #fff; border-radius: 14px;
  padding: 32px 24px; text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  transition: transform .3s, box-shadow .3s;
}
.about-feat:hover { transform: translateY(-5px); box-shadow: 0 8px 28px rgba(0,0,0,.1); }
.about-feat-icon {
  width: 64px; height: 64px;
  background: #000; color: #fff;
  border-radius: 18px; font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.about-feat h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.about-feat p { font-size: 13.5px; color: #666; line-height: 1.7; }

.about-team {
  background: #000; color: #fff;
  border-radius: 20px; padding: 48px;
  margin: 48px 0; text-align: center;
}
.about-team h2 { font-size: 28px; font-weight: 900; margin-bottom: 10px; }
.about-team p { color: rgba(255,255,255,.65); line-height: 1.8; max-width: 600px; margin: 0 auto 28px; }

/* ══════════════════════════════════════════
   POLICY PAGES (shipping / returns / privacy / terms)
   ══════════════════════════════════════════ */
.policy-page { padding: 64px 0 80px; }
.policy-layout {
  display: grid; grid-template-columns: 260px 1fr;
  gap: 40px; align-items: start;
}
.policy-sidebar {
  position: sticky; top: calc(var(--header-h) + 20px);
  background: #fff; border-radius: 14px;
  border: 1.5px solid #f0f0f0; overflow: hidden;
}
.policy-sidebar-head {
  background: #000; color: #fff;
  padding: 16px 20px; font-size: 14px; font-weight: 700;
}
.policy-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 20px; font-size: 13.5px; color: #333;
  border-bottom: 1px solid #f8f8f8;
  text-decoration: none; transition: all .2s;
}
.policy-nav a:hover, .policy-nav a.active {
  background: #f8f8f8; color: #000; font-weight: 600;
}
.policy-nav a i { width: 16px; color: #999; }

.policy-content h2 {
  font-size: 20px; font-weight: 800;
  margin: 36px 0 14px; padding-top: 36px;
  border-top: 1px solid #f0f0f0;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.policy-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.policy-content p { font-size: 14.5px; line-height: 1.9; color: #444; margin-bottom: 14px; }
.policy-content ul { padding-right: 20px; margin-bottom: 14px; }
.policy-content ul li {
  font-size: 14.5px; line-height: 1.9; color: #444;
  margin-bottom: 7px; position: relative;
  padding-right: 16px;
}
.policy-content ul li::before {
  content: '•'; position: absolute; right: 0;
  color: #000; font-size: 16px;
}

.info-card {
  background: #fff; border-radius: 14px;
  border: 1.5px solid #f0f0f0;
  padding: 24px; margin-bottom: 20px;
}
.info-card-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px; padding-bottom: 14px;
  border-bottom: 1px solid #f5f5f5;
}
.info-card-head i {
  width: 40px; height: 40px;
  background: #000; color: #fff;
  border-radius: 10px; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-card-head h3 { font-size: 15px; font-weight: 700; }

.shipping-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.shipping-table th {
  background: #000; color: #fff;
  padding: 12px 16px; font-size: 13px;
  font-weight: 600; text-align: right;
}
.shipping-table td {
  padding: 12px 16px; font-size: 13.5px;
  border-bottom: 1px solid #f0f0f0; color: #444;
}
.shipping-table tr:hover td { background: #fafafa; }

.highlight-box {
  background: #f9f6f0; border-right: 4px solid #c9a96e;
  border-radius: 8px; padding: 16px 20px;
  font-size: 14px; color: #333; margin: 16px 0;
  line-height: 1.75;
}
.success-box {
  background: #f0fdf4; border-right: 4px solid #22c55e;
  border-radius: 8px; padding: 16px 20px;
  font-size: 14px; color: #166534; margin: 16px 0;
}
.warning-box {
  background: #fffbeb; border-right: 4px solid #f59e0b;
  border-radius: 8px; padding: 16px 20px;
  font-size: 14px; color: #92400e; margin: 16px 0;
}

/* ══════════════════════════════════════════
   MY ORDERS PAGE
   ══════════════════════════════════════════ */
.orders-page { padding: 48px 0 80px; }
.orders-tabs {
  display: flex; gap: 0; border-bottom: 2px solid #f0f0f0;
  margin-bottom: 32px; overflow-x: auto;
}
.orders-tab {
  padding: 12px 24px; font-size: 14px; font-weight: 600;
  color: #999; border-bottom: 2px solid transparent;
  margin-bottom: -2px; cursor: pointer; white-space: nowrap;
  background: none; border-top: none; border-right: none; border-left: none;
  font-family: var(--font); transition: all .2s;
}
.orders-tab.active { color: #000; border-bottom-color: #000; }
.orders-tab:hover { color: #000; }

.order-card {
  background: #fff; border-radius: 14px;
  border: 1.5px solid #f0f0f0;
  margin-bottom: 18px; overflow: hidden;
  transition: box-shadow .2s;
}
.order-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.07); }
.order-card-head {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 12px; padding: 16px 20px;
  background: #fafafa; border-bottom: 1px solid #f0f0f0;
}
.order-num { font-size: 14px; font-weight: 800; }
.order-date { font-size: 12px; color: #999; }
.order-status {
  padding: 4px 12px; border-radius: 50px;
  font-size: 12px; font-weight: 700;
}
.status-processing { background: #fff3e0; color: #e65100; }
.status-completed  { background: #e8f5e9; color: #2e7d32; }
.status-cancelled  { background: #fce4ec; color: #c62828; }
.status-on-hold    { background: #e3f2fd; color: #1565c0; }
.status-pending    { background: #f3e5f5; color: #6a1b9a; }
.order-total-head { margin-right: auto; font-size: 15px; font-weight: 800; }

.order-items { padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.order-item { display: flex; gap: 12px; align-items: center; }
.order-item-img {
  width: 60px; height: 80px; flex-shrink: 0;
  border-radius: 8px; overflow: hidden; background: #f4f4f4;
}
.order-item-img img { width: 100%; height: 100%; object-fit: cover; }
.order-item-info { flex: 1; }
.order-item-name { font-size: 13.5px; font-weight: 600; margin-bottom: 4px; }
.order-item-meta { font-size: 12px; color: #999; }

.order-card-foot {
  padding: 14px 20px;
  border-top: 1px solid #f5f5f5;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.order-actions { display: flex; gap: 8px; }
.order-action-btn {
  padding: 8px 18px; border-radius: 50px;
  font-family: var(--font); font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all .2s; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-track { background: #000; color: #fff; border: none; }
.btn-track:hover { background: #333; }
.btn-reorder { background: #fff; color: #000; border: 1.5px solid #e0e0e0; }
.btn-reorder:hover { border-color: #000; }
.btn-invoice { background: #fff; color: #555; border: 1.5px solid #e0e0e0; }

/* ══════════════════════════════════════════
   SHOP / ARCHIVE PAGE — v4 (horizontal filter bar, full-width grid)
   ══════════════════════════════════════════ */

/* Global overflow guard */
.shop-page-header,
.shop-subcats,
.shop-content {
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}
/* filter-bar must NOT have overflow hidden — dropdowns are absolutely positioned */
.filter-bar { max-width: 100%; box-sizing: border-box; }

/* Page Header */
.shop-page-header {
  background: linear-gradient(135deg, #fafafa 0%, #fff 100%);
  border-bottom: 1px solid #f0f0f0;
  padding: 22px 0 18px;
}
.shop-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: #bbb; margin-bottom: 10px;
  flex-wrap: wrap; overflow-x: hidden;
}
.shop-breadcrumb a { color: #bbb; text-decoration: none; transition: color .2s; }
.shop-breadcrumb a:hover { color: #111; }
.shop-breadcrumb i { font-size: 9px; color: #ddd; }
.shop-header-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.shop-page-title { font-size: 20px; font-weight: 800; color: #111; margin: 0; }
.shop-page-desc { font-size: 13px; color: #999; margin: 3px 0 0; }
.shop-count {
  font-size: 12px; color: #fff; white-space: nowrap;
  background: #111; padding: 4px 12px; border-radius: 50px;
  font-weight: 600;
}

/* Sub-cats */
.shop-subcats {
  background: #fff; border-bottom: 1px solid #f0f0f0;
  padding: 10px 0;
}
.shop-subcats .riza-container {
  display: flex; gap: 8px; flex-wrap: nowrap;
  overflow-x: auto; overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  padding-bottom: 2px;
}
.shop-subcats .riza-container::-webkit-scrollbar { display: none; }
.subcat-pill {
  padding: 7px 16px; border-radius: 50px; font-size: 13px; font-weight: 600;
  border: 1.5px solid #eee; color: #555; white-space: nowrap; flex-shrink: 0;
  text-decoration: none; transition: all .2s; background: #fff;
}
.subcat-pill:hover { background: #f5f5f5; border-color: #ccc; color: #111; }
.subcat-pill.active { background: #111; color: #fff; border-color: #111; }
.subcat-pill span { opacity: .55; font-size: 11px; margin-right: 2px; }

/* ── Shop Content (full-width, no sidebar) ── */
.shop-content {
  padding: 24px 0 80px;
  width: 100%;
  box-sizing: border-box;
}

/* ══════════════════════════════════════════
   HORIZONTAL FILTER BAR
   ══════════════════════════════════════════ */
.filter-bar {
  background: #fff;
  border-bottom: 1px solid #efefef;
  padding: 10px 0;
  position: sticky;
  top: var(--header-h, 72px);
  z-index: 200;
  box-shadow: 0 3px 14px rgba(0,0,0,.055);
}

/* Inner row: chips left, sort+view right */
.fbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
}
.fbar-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}
.fbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ── Filter chip buttons ── */
.fbar-item { position: relative; }
.fbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border: 1.5px solid #e5e5e5;
  border-radius: 50px;
  background: #fff;
  font-family: var(--font, 'Tajawal', sans-serif);
  font-size: 13px;
  font-weight: 700;
  color: #333;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  line-height: 1;
}
.fbar-btn:hover { border-color: #aaa; background: #fafafa; color: #111; }
.fbar-btn.active { border-color: #111; background: #111; color: #fff; }
.fbar-btn.has-value { border-color: #111; background: #111; color: #fff; }
.fbar-btn em { font-style: normal; font-weight: 600; opacity: .85; font-size: 12px; }
.fbar-arrow { font-size: 9px; transition: transform .2s; }
.fbar-btn.active .fbar-arrow { transform: rotate(180deg); }

/* ── Dropdown panels ── */
.fbar-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 230px;
  background: #fff;
  border: 1.5px solid #efefef;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,.13);
  z-index: 600;
  /* no overflow:hidden — content must expand freely, no scroll */
  animation: fbar-drop .18s ease;
}
.fbar-panel.open { display: block; }
@keyframes fbar-drop {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fbar-panel-body { padding: 16px; }
.fbar-panel-foot {
  padding: 10px 16px 12px;
  border-top: 1px solid #f5f5f5;
  background: #fafafa;
  border-radius: 0 0 16px 16px;
}
.fbar-apply {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 0;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: var(--font, 'Tajawal', sans-serif);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}
.fbar-apply:hover { background: #333; }

/* ── Clear all button ── */
.fbar-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  background: #fff5f5;
  border: 1.5px solid #fecdd3;
  border-radius: 50px;
  font-family: var(--font, 'Tajawal', sans-serif);
  font-size: 12px;
  font-weight: 700;
  color: #e53935;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.fbar-clear-btn:hover { background: #e53935; color: #fff; border-color: #e53935; }
.fbar-clear-count {
  display: inline-flex; align-items: center; justify-content: center;
  background: #e53935; color: #fff;
  border-radius: 50px; padding: 1px 7px;
  font-size: 10px; font-weight: 800; min-width: 18px;
}
.fbar-clear-btn:hover .fbar-clear-count { background: rgba(255,255,255,.3); }

/* ── Active filter tags row ── */
.fbar-active-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 0 2px;
}

/* ── Price note ── */
.price-note {
  font-size: 11px; color: #aaa;
  margin-top: 8px; text-align: center;
}

/* sub-category indented label */
.filter-check.sub { padding-right: 20px; opacity: .85; }

.filter-check {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0; cursor: pointer; font-size: 13px; color: #333;
}
.filter-check input[type="checkbox"] {
  width: 16px; height: 16px; flex-shrink: 0; cursor: pointer;
  accent-color: #111; border-radius: 4px;
}
.filter-check-count { margin-right: auto; color: #bbb; font-size: 11px; }

.price-range-inputs {
  display: flex; align-items: center; gap: 8px; margin-top: 8px;
}
.price-range-inputs input {
  flex: 1; min-width: 0; padding: 8px 10px; font-size: 13px;
  border: 1.5px solid #e5e5e5; border-radius: 8px;
  text-align: center; direction: ltr; outline: none;
  transition: border-color .2s; box-sizing: border-box;
}
.price-range-inputs input:focus { border-color: #111; }
.price-range-inputs span { color: #ccc; font-size: 12px; flex-shrink: 0; }

.filter-colors { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0 6px; }
.filter-color {
  width: 28px; height: 28px; border-radius: 50%;
  cursor: pointer; border: 2.5px solid transparent;
  transition: all .2s; position: relative; box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.filter-color.active, .filter-color:hover { border-color: #111; transform: scale(1.12); }
.filter-color.active::after {
  content: '✓'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6);
}

.filter-sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-size {
  padding: 5px 13px; border: 1.5px solid #e5e5e5;
  border-radius: 7px; font-size: 12px; font-weight: 700;
  cursor: pointer; transition: all .2s; background: #fff; color: #444;
  font-family: var(--font);
}
.filter-size.active, .filter-size:hover { background: #111; color: #fff; border-color: #111; }

.filter-rating label {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0; cursor: pointer; font-size: 13px; color: #333;
}
.filter-rating .stars { color: #f59e0b; letter-spacing: 1px; }
.filter-rating input { accent-color: #111; }

.filter-apply-btn {
  display: block; width: calc(100% - 36px); margin: 12px 18px 4px;
  padding: 11px 0; background: #111; color: #fff;
  border: none; border-radius: 50px; font-family: var(--font);
  font-size: 13px; font-weight: 700; cursor: pointer; transition: background .2s;
  box-sizing: border-box; text-align: center;
}
.filter-apply-btn:hover { background: #333; }
.filter-reset-btn {
  display: block; width: calc(100% - 36px); margin: 6px 18px 0;
  padding: 9px 0; background: transparent;
  border: 1.5px solid #e5e5e5; border-radius: 50px;
  font-family: var(--font); font-size: 12px; color: #777;
  cursor: pointer; transition: all .2s; box-sizing: border-box; text-align: center;
}
.filter-reset-btn:hover { border-color: #111; color: #111; }

/* Active filter chips */
.active-filters {
  display: flex; flex-wrap: wrap; gap: 7px;
  padding: 10px 18px 4px; align-items: center;
}
.active-filters-label { font-size: 11px; color: #aaa; }
.filter-tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 11px; background: #f4f4f4;
  border-radius: 50px; font-size: 11px; font-weight: 600; color: #555;
  cursor: pointer; transition: all .2s;
}
.filter-tag:hover { background: #111; color: #fff; }
.filter-tag i { font-size: 9px; }
.clear-all-filters {
  font-size: 12px; color: #e53935; cursor: pointer;
  background: none; border: none; font-family: var(--font); padding: 0;
}

/* ── Sort select & view buttons (inside filter bar) ── */
.sort-select {
  border: 1.5px solid #e5e5e5; border-radius: 50px;
  padding: 8px 14px; font-size: 13px;
  font-family: var(--font, 'Tajawal', sans-serif);
  background: #fff; outline: none; cursor: pointer;
  color: #333; transition: border-color .2s; direction: rtl;
}
.sort-select:focus { border-color: #111; }
.view-btns { display: flex; gap: 4px; }
.view-btn {
  width: 34px; height: 34px; border-radius: 8px;
  border: 1.5px solid #e5e5e5; background: #fff;
  color: #bbb; cursor: pointer; transition: all .2s;
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.view-btn.active, .view-btn:hover { border-color: #111; background: #111; color: #fff; }

/* ── Product Cards Grid ──────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: 100%; box-sizing: border-box;
}

.pcard {
  background: #fff; border-radius: 14px;
  overflow: hidden; border: 1px solid #f0f0f0;
  transition: box-shadow .3s, transform .3s, border-color .3s;
  display: flex; flex-direction: column;
  min-width: 0; /* critical: prevents grid overflow */
}
.pcard:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.09);
  transform: translateY(-4px); border-color: #e8e8e8;
}

.pcard-img-wrap {
  position: relative; aspect-ratio: 3/4;
  background: #f8f8f8; overflow: hidden; flex-shrink: 0;
}
.pcard-img-wrap a { display: block; width: 100%; height: 100%; }
.pcard-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform .5s ease;
}
.pcard:hover .pcard-img-wrap img { transform: scale(1.05); }

.pcard-badge {
  position: absolute; top: 10px; right: 10px;
  font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: 20px; letter-spacing: .3px;
}
.pcard-badge.sale { background: #e53935; color: #fff; }
.pcard-badge.new  { background: #111; color: #fff; }

.pcard-wish {
  position: absolute; top: 10px; left: 10px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: #aaa; transition: all .2s;
  opacity: 0; box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.pcard:hover .pcard-wish { opacity: 1; }
.pcard-wish:hover, .pcard-wish.active { color: #e53935; background: #fff; }

.pcard-body { padding: 11px 13px 13px; flex: 1; display: flex; flex-direction: column; }
.pcard-stars {
  display: flex; align-items: center; gap: 2px;
  font-size: 10.5px; color: #f59e0b; margin-bottom: 5px;
}
.pcard-stars span { color: #ccc; font-size: 10.5px; margin-right: 2px; }
.pcard-name {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; font-size: 13px; font-weight: 600; color: #222;
  line-height: 1.45; margin-bottom: 8px; text-decoration: none; flex: 1;
}
.pcard-name:hover { color: #000; }
.pcard-price {
  display: flex; align-items: baseline; gap: 7px;
  margin-bottom: 11px; flex-wrap: wrap;
}
.pcard-price .price-now { font-size: 16px; font-weight: 800; color: #e53935; }
.pcard-price .price-was { font-size: 12px; color: #999; text-decoration: line-through; opacity: 0.85; }
.pcard-price del { font-size: 12px; color: #999; font-weight: 400; opacity: 0.85; }
.pcard-price ins { text-decoration: none; font-size: 16px; font-weight: 800; color: #e53935; }
.pcard-btn, .pcard-atc {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; padding: 9px 0; margin-top: auto;
  background: #111; color: #fff; border-radius: 9px;
  font-size: 13px; font-weight: 700;
  text-decoration: none; transition: background .2s, opacity .2s;
  border: none; cursor: pointer; font-family: var(--font, 'Tajawal', sans-serif);
  box-sizing: border-box;
}
.pcard-btn:hover, .pcard-atc:hover { background: #333; }
.pcard-atc:disabled { opacity: .55; cursor: not-allowed; }

/* Homepage product card ATC button */
.product-card-atc {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; padding: 8px 10px; margin-top: 8px;
  background: #111; color: #fff; border-radius: 8px;
  font-size: 13px; font-weight: 600; text-decoration: none;
  transition: background .2s, opacity .2s;
  border: none; cursor: pointer; font-family: var(--font, 'Tajawal', sans-serif);
}
.product-card-atc:hover { background: #333; }
.product-card-atc:disabled { opacity: .55; cursor: not-allowed; }

/* List View */
.products-grid.list-view {
  grid-template-columns: minmax(0, 1fr); gap: 10px;
}
.products-grid.list-view .pcard {
  display: grid; grid-template-columns: 120px minmax(0, 1fr);
  border-radius: 12px; flex-direction: unset;
}
.products-grid.list-view .pcard-img-wrap {
  aspect-ratio: 1/1; border-radius: 12px 0 0 12px; height: 100%;
}
.products-grid.list-view .pcard-body {
  padding: 14px 16px; flex-direction: column; justify-content: center;
}
.products-grid.list-view .pcard-btn {
  width: auto; align-self: flex-start; padding: 8px 20px;
}

/* Empty state */
.shop-empty { text-align: center; padding: 64px 20px; }
.shop-empty i { font-size: 52px; color: #e0e0e0; display: block; margin-bottom: 18px; }
.shop-empty h3 { font-size: 18px; font-weight: 800; color: #222; margin-bottom: 8px; }
.shop-empty p { color: #999; font-size: 14px; margin-bottom: 28px; }

/* Pagination */
/* ══════════════════════════════════════════
   SHOP PAGINATION — premium design
   ══════════════════════════════════════════ */
.shop-pagination {
  margin-top: 56px;
  padding: 36px 0 0;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: center;
}
.shop-pagination ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0; padding: 0;
  flex-wrap: nowrap;
}
/* ── Base number button ── */
.shop-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 8px;
  border-radius: 14px;
  font-family: var(--font, 'Tajawal', sans-serif);
  font-size: 15px;
  font-weight: 700;
  color: #555;
  background: #fff;
  border: 1.5px solid #e8e8e8;
  text-decoration: none;
  transition: all .22s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
}
.shop-pagination .page-numbers:hover:not(.current):not(.dots) {
  border-color: #111;
  background: #111;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,.14);
}
/* ── Current page ── */
.shop-pagination .page-numbers.current {
  background: #111;
  color: #c9a96e;          /* gold text on black */
  border-color: #111;
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
  min-width: 50px;
  font-size: 16px;
}
/* ── Dots ── */
.shop-pagination .page-numbers.dots {
  border: none;
  background: transparent;
  color: #ccc;
  font-size: 18px;
  letter-spacing: 3px;
  min-width: 28px;
  cursor: default;
  transform: none !important;
  box-shadow: none !important;
}
/* ── Prev / Next ── */
.shop-pagination .page-numbers.prev,
.shop-pagination .page-numbers.next {
  min-width: auto;
  padding: 0 20px;
  border-radius: 50px;
  gap: 8px;
  font-size: 13px;
  background: #f5f0e8;       /* brand beige */
  border-color: #e0d8cc;
  color: #555;
}
.shop-pagination .page-numbers.prev { margin-left: 10px; }
.shop-pagination .page-numbers.next { margin-right: 10px; }

.shop-pagination .page-numbers.prev:hover,
.shop-pagination .page-numbers.next:hover {
  background: #111;
  border-color: #111;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,.14);
}
/* icon inside prev/next */
.shop-pagination .page-numbers.prev i,
.shop-pagination .page-numbers.next i {
  font-size: 11px;
  transition: transform .2s;
}
.shop-pagination .page-numbers.prev:hover i { transform: translateX(3px); }
.shop-pagination .page-numbers.next:hover i { transform: translateX(-3px); }

/* ══════════════════════════════════════════
   TOAST NOTIFICATIONS
   ══════════════════════════════════════════ */
.riza-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #111;
  color: #fff;
  padding: 13px 24px;
  border-radius: 50px;
  font-family: var(--font, 'Tajawal', sans-serif);
  font-size: 14px;
  font-weight: 700;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 8px 40px rgba(0,0,0,.25);
  white-space: nowrap;
  max-width: calc(100vw - 40px);
  transition: opacity .25s ease, transform .25s ease;
  direction: rtl;
}
.riza-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.riza-toast--success { background: #1a9c3e; }
.riza-toast--error   { background: #e53935; }
.riza-toast--info    { background: #111; }
.riza-toast i        { font-size: 15px; flex-shrink: 0; }

/* ── ATC button success state ── */
.spd-atc-btn.atc-success,
.pcard-atc.atc-success,
.product-card-atc.atc-success {
  background: #1a9c3e !important;
}

/* ── Variant block error highlight ── */
@keyframes riza-shake {
  0%, 100% { transform: translateX(0); }
  20%, 60%  { transform: translateX(-5px); }
  40%, 80%  { transform: translateX(5px); }
}
.spd-variant-required {
  animation: riza-shake .45s ease;
  outline: 2px solid #e53935;
  outline-offset: 4px;
  border-radius: 10px;
}
.spd-variant-required .spd-var-label { color: #e53935; }

/* ── Card button variants ── */
.pcard-btn-outline {
  background: #fff;
  color: #111;
  border: 1.5px solid #111;
}
.pcard-btn-outline:hover { background: #111; color: #fff; }
.pcard-btn-ghost {
  background: #f5f5f5;
  color: #888;
  border: 1.5px solid #e5e5e5;
}
.pcard-btn-ghost:hover { background: #eee; color: #555; }

/* ── Homepage card button variants ── */
.product-card-atc-outline {
  background: #fff;
  color: #111;
  border: 1.5px solid #111;
}
.product-card-atc-outline:hover { background: #111; color: #fff; }
.product-card-atc-ghost {
  background: #f5f5f5;
  color: #888;
}
.product-card-atc-ghost:hover { background: #eee; }

/* Legacy helpers (kept for compatibility) */
.shop-results { font-size: 13px; color: #666; }
.shop-results strong { color: #000; }
.shop-sort {
  padding: 9px 14px; border: 1.5px solid #e0e0e0;
  border-radius: 8px; font-family: var(--font); font-size: 13px;
  background: #fff; outline: none; cursor: pointer; direction: rtl;
}
.view-toggle { display: flex; gap: 4px; }
.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.shop-grid.list-view { grid-template-columns: minmax(0,1fr); }
.page-num {
  width: 38px; height: 38px; border: 1.5px solid #e0e0e0; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; color: #333;
  text-decoration: none; transition: all .2s;
}
.page-num.active, .page-num:hover { background: #111; color: #fff; border-color: #111; }
.page-dots { color: #aaa; padding: 0 4px; }
.mobile-filter-toggle { display: none; }
.filter-panel-mobile { display: none; }

/* ══════════════════════════════════════════
   PRODUCT DETAIL PAGE
   ══════════════════════════════════════════ */
.pdp-wrap { padding: 32px 0 80px; }
.pdp-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: #aaa; margin-bottom: 28px;
}
.pdp-breadcrumb a { color: #aaa; transition: color .2s; }
.pdp-breadcrumb a:hover { color: #000; }
.pdp-breadcrumb .sep { color: #ddd; }

/* ══════════════════════════════════════════
   SINGLE PRODUCT — spd (clean redesign)
   ══════════════════════════════════════════ */
.spd-page { padding: 28px 0 80px; background: #fff; }

.spd-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: #aaa; margin-bottom: 24px; flex-wrap: wrap;
}
.spd-breadcrumb a { color: #aaa; text-decoration: none; }
.spd-breadcrumb a:hover { color: #111; }
.spd-breadcrumb i { font-size: 10px; }
.spd-breadcrumb span { color: #555; }

.spd-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-bottom: 56px; }

/* Gallery */
.spd-gallery { display: grid; grid-template-columns: 72px 1fr; gap: 12px; position: sticky; top: calc(var(--header-h,72px) + 16px); }
.spd-thumbs { display: flex; flex-direction: column; gap: 8px; }
.spd-thumb {
  width: 72px; height: 88px; border-radius: 8px; overflow: hidden;
  border: 2px solid transparent; background: #f7f7f7;
  cursor: pointer; padding: 0; transition: border-color .2s;
}
.spd-thumb:hover, .spd-thumb.active { border-color: #000; }
.spd-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.spd-main-img {
  position: relative; border-radius: 14px; overflow: hidden;
  background: #f7f7f7; aspect-ratio: 3/4;
}
.spd-main-img img {
  width: 100%; height: 100%; object-fit: contain;
  transition: opacity .2s; padding: 12px;
}
.spd-badge {
  position: absolute; top: 12px; right: 12px;
  padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 700;
}
.spd-badge.sale { background: #e53935; color: #fff; }

/* Info */
.spd-cat {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: #888; text-decoration: none;
  margin-bottom: 8px; transition: color .2s;
}
.spd-cat:hover { color: #000; }
.spd-title { font-size: 24px; font-weight: 800; color: #111; line-height: 1.3; margin: 0 0 14px; }
.spd-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.spd-stars { display: flex; gap: 2px; font-size: 13px; color: #f59e0b; }
.spd-rating-num { font-size: 13px; font-weight: 700; color: #111; }
.spd-rev-link { font-size: 12px; color: #888; text-decoration: underline; }
.spd-sales { font-size: 12px; color: #e53935; display: flex; align-items: center; gap: 4px; }

.spd-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.spd-price-now { font-size: 26px; font-weight: 800; color: #111; }
.spd-price-now del { font-size: 16px; color: #999; font-weight: 400; }
.spd-price-now ins { text-decoration: none; color: #e53935; }
.spd-price-now.spd-price-range { font-size: 22px; }
.spd-price-was { font-size: 15px; color: #999; text-decoration: line-through; opacity: 0.8; }
.spd-discount { font-size: 12px; font-weight: 700; background: #e53935; color: #fff; padding: 3px 8px; border-radius: 20px; }
.spd-vat { font-size: 11px; color: #aaa; width: 100%; }

.spd-short-desc { font-size: 14px; color: #555; line-height: 1.8; margin-bottom: 16px; }
.spd-divider { border: none; border-top: 1px solid #f0f0f0; margin: 16px 0; }

/* Variants */
.spd-variant-block { margin-bottom: 18px; }
.spd-var-label { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.spd-selected-val { font-weight: 400; color: #888; }
.spd-sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.spd-size-btn {
  padding: 8px 16px; border-radius: 8px; border: 1.5px solid #e5e5e5;
  background: #fff; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all .2s; font-family: var(--font,'Tajawal',sans-serif);
}
.spd-size-btn:hover, .spd-size-btn.active { border-color: #000; background: #000; color: #fff; }
.spd-colors { display: flex; gap: 10px; flex-wrap: wrap; }
.spd-color-btn {
  width: 30px; height: 30px; border-radius: 50%; border: 3px solid transparent;
  cursor: pointer; transition: all .2s; outline: 2px solid transparent;
}
.spd-color-btn:hover, .spd-color-btn.active { outline: 2px solid #000; outline-offset: 2px; }

/* Stock */
.spd-stock { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; margin-bottom: 18px; }
.spd-stock.in { color: #16a34a; }
.spd-stock.out { color: #e53935; }

/* Actions */
.spd-actions { display: flex; gap: 10px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
.spd-qty {
  display: flex; align-items: center; border: 1.5px solid #e5e5e5; border-radius: 10px; overflow: hidden;
}
.spd-qty button {
  width: 38px; height: 44px; background: #f7f7f7; border: none;
  font-size: 20px; font-weight: 300; cursor: pointer; transition: background .2s; line-height: 1;
}
.spd-qty button:hover { background: #eee; }
.spd-qty input {
  width: 48px; border: none; text-align: center; font-size: 15px; font-weight: 700;
  background: transparent; outline: none; color: #111; padding: 0; height: 44px;
  -moz-appearance: textfield;
}
.spd-qty input::-webkit-outer-spin-button, .spd-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.spd-atc-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; background: #000; color: #fff; border-radius: 10px;
  font-size: 15px; font-weight: 700; border: none; cursor: pointer;
  transition: background .2s; font-family: var(--font,'Tajawal',sans-serif);
  text-decoration: none; min-width: 160px;
}
.spd-atc-btn:hover { background: #222; }
.spd-atc-btn.disabled { background: #e5e5e5; color: #aaa; cursor: not-allowed; }
/* Hide the shortcode button (we use our custom one) */
.spd-actions .woocommerce-loop-add-to-cart-link,
.spd-actions form.cart { display: none !important; }
.spd-wish-btn {
  width: 46px; height: 46px; border-radius: 10px; border: 1.5px solid #e5e5e5;
  background: #fff; cursor: pointer; font-size: 18px; color: #aaa;
  transition: all .2s; display: flex; align-items: center; justify-content: center;
}
.spd-wish-btn:hover, .spd-wish-btn.active { color: #e53935; border-color: #fcc; background: #fff5f5; }

/* Trust */
.spd-trust { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 20px; }
.spd-trust-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 8px; background: #fafafa; border-radius: 10px;
  font-size: 11px; color: #666; text-align: center;
}
.spd-trust-item i { font-size: 18px; color: #111; }

.spd-meta { font-size: 12px; color: #aaa; margin-bottom: 4px; }
.spd-meta span, .spd-meta a { color: #555; text-decoration: none; }
.spd-meta a:hover { color: #000; }

/* Tabs */
.spd-tabs-section { border-top: 2px solid #f0f0f0; padding-top: 40px; margin-bottom: 56px; }
.spd-tabs { display: flex; gap: 0; border-bottom: 2px solid #f0f0f0; margin-bottom: 28px; }
.spd-tab {
  padding: 13px 24px; font-size: 14px; font-weight: 600; color: #999;
  border: none; background: transparent; cursor: pointer; font-family: var(--font,'Tajawal',sans-serif);
  border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all .2s;
}
.spd-tab:hover { color: #111; }
.spd-tab.active { color: #000; border-bottom-color: #000; }
.spd-tab-content { display: none; }
.spd-tab-content.active { display: block; }
.spd-desc-body { font-size: 14px; line-height: 1.9; color: #444; }
.spd-specs { margin-top: 24px; }
.spd-specs h4 { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.spd-specs-table { width: 100%; border-collapse: collapse; }
.spd-specs-table th, .spd-specs-table td { padding: 10px 14px; font-size: 13px; border-bottom: 1px solid #f5f5f5; text-align: right; }
.spd-specs-table th { font-weight: 600; color: #555; width: 35%; background: #fafafa; }

.spd-ship-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.spd-ship-card { background: #f9f9f9; border-radius: 14px; padding: 24px; }
.spd-ship-card i { font-size: 24px; color: #111; display: block; margin-bottom: 12px; }
.spd-ship-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.spd-ship-card ul { list-style: none; padding: 0; }
.spd-ship-card li { font-size: 13px; color: #555; padding: 5px 0; display: flex; align-items: center; gap: 8px; }
.spd-ship-card li::before { content: '✓'; color: #22c55e; font-weight: 700; flex-shrink: 0; }

/* Related */
.spd-related { margin-bottom: 56px; }
.spd-related-title { font-size: 18px; font-weight: 800; margin-bottom: 20px; }
.spd-related-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.spd-rel-card { text-decoration: none; color: #111; border-radius: 12px; overflow: hidden; border: 1px solid #f0f0f0; transition: box-shadow .2s; }
.spd-rel-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.spd-rel-img { aspect-ratio: 3/4; background: #f7f7f7; position: relative; overflow: hidden; }
.spd-rel-img img { width:100%;height:100%;object-fit:contain;padding:8px;transition:transform .4s; }
.spd-rel-card:hover .spd-rel-img img { transform: scale(1.04); }
.spd-rel-body { padding: 10px 12px 14px; }
.spd-rel-name { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; line-height: 1.4; -webkit-line-clamp:2;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden; }
.spd-rel-price { font-size: 14px; font-weight: 800; color: #111; }

/* ── Old PDP (kept for backward compat) ── */
.pdp-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: start;
}

/* Gallery */
.pdp-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.pdp-main-img {
  border-radius: 16px; overflow: hidden;
  background: #f4f4f4; aspect-ratio: 4/5;
  position: relative; margin-bottom: 12px;
  cursor: zoom-in;
}
.pdp-main-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.pdp-main-img:hover img { transform: scale(1.04); }
.pdp-main-img .img-badges {
  position: absolute; top: 14px; right: 14px;
  display: flex; flex-direction: column; gap: 6px;
}
.img-badge {
  padding: 5px 12px; border-radius: 50px;
  font-size: 11px; font-weight: 700;
  backdrop-filter: blur(4px);
}
.img-badge-sale { background: rgba(229,57,53,.9); color: #fff; }
.img-badge-new  { background: rgba(0,0,0,.8); color: #fff; }

.pdp-thumbs {
  display: flex; gap: 8px; overflow-x: auto;
  padding-bottom: 4px;
}
.pdp-thumbs::-webkit-scrollbar { height: 3px; }
.pdp-thumbs::-webkit-scrollbar-thumb { background: #e0e0e0; }
.pdp-thumb {
  flex: 0 0 72px; height: 94px;
  border-radius: 10px; overflow: hidden;
  background: #f4f4f4; cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s;
}
.pdp-thumb.active { border-color: #000; }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Product Info */
.pdp-info {}
.pdp-brand { font-size: 12px; font-weight: 600; letter-spacing: 2px; color: #c9a96e; text-transform: uppercase; margin-bottom: 8px; }
.pdp-title { font-size: 26px; font-weight: 900; line-height: 1.3; margin-bottom: 12px; }
.pdp-rating-row {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px; font-size: 13px;
}
.pdp-stars { color: #f39c12; font-size: 14px; }
.pdp-rating-num { font-weight: 700; }
.pdp-reviews-link { color: #aaa; border-bottom: 1px solid #e0e0e0; }
.pdp-sold { color: #2e7d32; font-weight: 600; }

.pdp-price-row { margin-bottom: 20px; }
.pdp-price-now { font-size: 32px; font-weight: 900; display: block; margin-bottom: 2px; }
.pdp-price-was { font-size: 15px; color: #aaa; text-decoration: line-through; }
.pdp-discount-pct {
  display: inline-block; background: #fce4ec; color: #c62828;
  font-size: 13px; font-weight: 700;
  padding: 3px 10px; border-radius: 50px; margin-right: 8px;
}
.pdp-vat-note { font-size: 11px; color: #aaa; margin-top: 4px; }

/* Variants */
.pdp-variants { margin-bottom: 24px; }
.pdp-var-label {
  font-size: 13px; font-weight: 700; margin-bottom: 10px;
  display: flex; align-items: center; justify-content: space-between;
}
.pdp-var-label .selected-val { font-weight: 400; color: #666; }

.pdp-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-size {
  min-width: 46px; padding: 9px 14px;
  border: 1.5px solid #e0e0e0; border-radius: 10px;
  font-size: 13px; font-weight: 600; text-align: center;
  cursor: pointer; transition: all .2s;
  background: #fff; font-family: var(--font);
}
.pdp-size:hover { border-color: #000; }
.pdp-size.active { background: #000; color: #fff; border-color: #000; }
.pdp-size.out-of-stock { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

.pdp-colors { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-color {
  width: 34px; height: 34px; border-radius: 50%;
  cursor: pointer; border: 3px solid #fff;
  outline: 2px solid transparent;
  transition: all .2s; position: relative;
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.pdp-color:hover { outline-color: #aaa; }
.pdp-color.active { outline-color: #000; }

/* Quantity + CTA */
.pdp-qty-row {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.pdp-qty-wrap {
  display: flex; align-items: center;
  border: 1.5px solid #e0e0e0; border-radius: 50px;
  overflow: hidden;
}
.pdp-qty-btn {
  width: 40px; height: 46px;
  background: #fff; border: none;
  font-size: 18px; cursor: pointer;
  transition: background .2s; color: #333;
  font-family: var(--font);
}
.pdp-qty-btn:hover { background: #f4f4f4; }
.pdp-qty-input {
  width: 50px; height: 46px; border: none;
  text-align: center; font-size: 16px; font-weight: 700;
  font-family: var(--font); outline: none;
}

.pdp-cta { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.pdp-add-cart {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px; background: #000; color: #fff;
  border: none; border-radius: 50px; font-family: var(--font);
  font-size: 15px; font-weight: 700; cursor: pointer;
  transition: all .25s; text-decoration: none;
}
.pdp-add-cart:hover { background: #1a1a1a; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.pdp-buy-now {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px; background: #fff; color: #000;
  border: 2px solid #000; border-radius: 50px;
  font-family: var(--font); font-size: 15px; font-weight: 700;
  cursor: pointer; transition: all .25s; text-decoration: none;
}
.pdp-buy-now:hover { background: #f9f9f9; }
.pdp-wishlist-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px; background: #fff; color: #666;
  border: 1.5px solid #e0e0e0; border-radius: 50px;
  font-family: var(--font); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .25s;
}
.pdp-wishlist-btn:hover { border-color: #e53935; color: #e53935; }
.pdp-wishlist-btn.active { background: #fce4ec; border-color: #e53935; color: #e53935; }

/* Trust badges */
.pdp-trust {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin-bottom: 22px;
}
.trust-item {
  background: #f9f9f9; border-radius: 10px;
  padding: 12px 8px; text-align: center;
  font-size: 11.5px; color: #555; line-height: 1.4;
}
.trust-item i { font-size: 20px; color: #000; display: block; margin-bottom: 5px; }

/* Delivery estimate */
.pdp-delivery {
  display: flex; align-items: center; gap: 12px;
  background: #f0fdf4; border: 1px solid #bbf7d0;
  border-radius: 10px; padding: 12px 16px;
  font-size: 13px; margin-bottom: 20px;
}
.pdp-delivery i { color: #16a34a; font-size: 18px; }

/* Product Tabs */
.pdp-tabs { margin-top: 40px; }
.pdp-tab-nav {
  display: flex; gap: 0;
  border-bottom: 2px solid #f0f0f0; margin-bottom: 28px;
  overflow-x: auto;
}
.pdp-tab-btn {
  padding: 12px 24px; font-family: var(--font);
  font-size: 14px; font-weight: 600; color: #999;
  border: none; background: none; cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: all .2s; white-space: nowrap;
}
.pdp-tab-btn.active { color: #000; border-bottom-color: #000; }
.pdp-tab-content { display: none; }
.pdp-tab-content.active { display: block; }
.pdp-tab-content p { font-size: 14.5px; line-height: 1.9; color: #444; margin-bottom: 14px; }
.pdp-tab-content table { width: 100%; border-collapse: collapse; }
.pdp-tab-content table td {
  padding: 11px 14px; border-bottom: 1px solid #f5f5f5;
  font-size: 13.5px;
}
.pdp-tab-content table td:first-child { color: #888; width: 40%; }

/* Reviews summary */
.reviews-summary {
  display: grid; grid-template-columns: auto 1fr;
  gap: 32px; align-items: center; margin-bottom: 28px;
  padding: 24px; background: #fafafa; border-radius: 14px;
}
.reviews-big { text-align: center; }
.reviews-big .score { font-size: 56px; font-weight: 900; line-height: 1; }
.reviews-big .stars { color: #f39c12; font-size: 20px; margin: 6px 0; }
.reviews-big .count { font-size: 13px; color: #999; }
.reviews-bars { flex: 1; }
.reviews-bar-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 7px; font-size: 12px;
}
.reviews-bar-row .stars-num { width: 30px; color: #666; }
.reviews-bar-track {
  flex: 1; height: 6px; background: #e0e0e0; border-radius: 3px; overflow: hidden;
}
.reviews-bar-fill { height: 100%; background: #f39c12; border-radius: 3px; }
.reviews-bar-row .pct { width: 35px; color: #aaa; text-align: left; }

/* Related */
.pdp-related { padding: 48px 0; border-top: 1px solid #f0f0f0; margin-top: 40px; }

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
  .spd-related-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .spd-trust { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .about-features { grid-template-columns: repeat(2, 1fr); }
  .pdp-layout { gap: 32px; }
}

@media (max-width: 900px) {
  .products-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
  .shop-page-title { font-size: 18px; }
  /* filter bar: allow chips to wrap */
  .fbar-inner { flex-wrap: wrap; }
  .fbar-right { width: 100%; justify-content: flex-end; padding-top: 4px; }
}

@media (max-width: 768px) {
  .shop-content { padding: 16px 0 60px; }
  /* filter bar: scrollable chips on mobile */
  .fbar-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px;
                scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .fbar-chips::-webkit-scrollbar { display: none; }
  .fbar-inner { flex-wrap: wrap; gap: 6px; }
  .fbar-right { padding-top: 0; }
  /* filter panels: full width */
  .fbar-panel { position: fixed; top: auto; bottom: 0; right: 0; left: 0;
                min-width: unset; width: 100%; border-radius: 20px 20px 0 0;
                box-shadow: 0 -8px 40px rgba(0,0,0,.16); }
  .products-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .shop-count { font-size: 11px; padding: 3px 10px; }
  /* SPD */
  .spd-layout { grid-template-columns: 1fr; gap: 24px; }
  .spd-gallery { position: static; grid-template-columns: 60px 1fr; gap: 8px; }
  .spd-thumb { width: 60px; height: 72px; }
  .spd-trust { grid-template-columns: repeat(2, 1fr); }
  .spd-related-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .spd-ship-grid { grid-template-columns: 1fr; }
  /* Other */
  .policy-layout { grid-template-columns: 1fr; }
  .policy-sidebar { position: static; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .about-features { grid-template-columns: 1fr; }
  .about-team { padding: 32px 24px; }
  .wishlist-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .reviews-summary { grid-template-columns: 1fr; }
  .pdp-layout { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
  .pcard-body { padding: 8px 10px 10px; }
  .pcard-name { font-size: 12px; }
  .pcard-price .price-now { font-size: 14px; }
  .wishlist-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .spd-trust { grid-template-columns: repeat(4, 1fr); }
  .spd-related-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .spd-actions { flex-wrap: wrap; }
  .spd-atc-btn { min-width: unset; flex: 1; }
  .sort-select { padding: 7px 10px; font-size: 12px; }
  .shop-page-title { font-size: 17px; }
  .fbar-btn { padding: 7px 11px; font-size: 12px; }
}

/* ══════════════════════════════════════════
   CART PAGE — FULL PAGE
   ══════════════════════════════════════════ */
.riza-cart-page { padding: 40px 0 80px; min-height: 60vh; background: #fafafa; }
.cart-page-head { margin-bottom: 40px; }
.cart-page-head h1 { font-size: 28px; font-weight: 800; margin-bottom: 6px; }
.cart-page-head p { color: #888; font-size: 14px; }

/* Empty State */
.cart-empty-state { text-align: center; padding: 80px 20px; }
.cart-empty-icon { font-size: 72px; color: #e0e0e0; margin-bottom: 24px; }
.cart-empty-state h2 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.cart-empty-state p { color: #888; margin-bottom: 32px; }

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

/* Items col */
.cart-items-head {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  padding: 12px 20px;
  background: #000;
  color: #fff;
  border-radius: 12px 12px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
}
.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr 120px 100px;
  gap: 20px;
  align-items: center;
  background: #fff;
  padding: 18px 20px;
  border-bottom: 1px solid #f0f0f0;
  transition: background .2s;
}
.cart-item:hover { background: #fafafa; }
.cart-item-img-wrap {
  aspect-ratio: 3/4;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
}
.cart-item-img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.cart-item-name {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  line-height: 1.4;
  display: block;
  margin-bottom: 6px;
  text-decoration: none;
}
.cart-item-name:hover { color: #000; }
.cart-item-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #f5f5f5;
  color: #999;
  font-size: 11px;
  transition: all .2s;
  margin-top: 8px;
  text-decoration: none;
}
.cart-item-remove:hover { background: #fee; color: #e53935; }
.cart-item-price-mob { display: none; }

/* Qty */
.qty-ctrl {
  display: flex;
  align-items: center;
  border: 1.5px solid #e5e5e5;
  border-radius: 50px;
  overflow: hidden;
  width: fit-content;
}
.qty-ctrl button {
  width: 32px; height: 32px;
  background: transparent;
  border: none;
  font-size: 18px;
  font-weight: 300;
  color: #333;
  cursor: pointer;
  transition: background .2s;
  line-height: 1;
}
.qty-ctrl button:hover { background: #f5f5f5; }
.qty-ctrl input {
  width: 44px;
  border: none;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  outline: none;
  color: #111;
  padding: 0;
  -moz-appearance: textfield;
}
.qty-ctrl input::-webkit-outer-spin-button,
.qty-ctrl input::-webkit-inner-spin-button { -webkit-appearance: none; }

.cart-item-subtotal { font-size: 15px; font-weight: 700; color: #111; text-align: center; }

/* Actions row */
.cart-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 0 0 12px 12px;
  border-top: 2px solid #f5f5f5;
  flex-wrap: wrap;
}
.coupon { display: flex; gap: 8px; flex: 1; min-width: 200px; }
.coupon-input {
  flex: 1;
  border: 1.5px solid #e5e5e5;
  border-radius: 50px;
  padding: 9px 16px;
  font-size: 13px;
  font-family: var(--font, 'Tajawal', sans-serif);
  outline: none;
  transition: border-color .2s;
}
.coupon-input:focus { border-color: #111; }
.btn-outline-dark {
  padding: 9px 18px;
  border: 1.5px solid #111;
  border-radius: 50px;
  background: transparent;
  color: #111;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s;
}
.btn-outline-dark:hover { background: #111; color: #fff; }
.cart-update-btn {
  padding: 9px 20px;
  border: 1.5px solid #ddd;
  border-radius: 50px;
  background: transparent;
  color: #888;
  font-size: 12px;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.cart-update-btn:hover { border-color: #111; color: #111; }

/* Totals */
.cart-totals-col { position: sticky; top: 90px; }
.cart-totals-box {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
}
.cart-totals-box h3 { font-size: 18px; font-weight: 800; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid #f0f0f0; }
.totals-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid #f8f8f8;
  gap: 12px;
}
.totals-row span { color: #666; }
.totals-row strong { font-weight: 700; color: #111; }
.totals-total { padding: 16px 0; margin-top: 8px; border-bottom: none; border-top: 2px solid #111; }
.totals-total span { font-size: 16px; font-weight: 700; color: #111; }
.totals-total strong { font-size: 20px; font-weight: 800; }
.totals-vat-note { font-size: 11px; color: #aaa; margin-bottom: 20px; }
.text-green { color: #16a34a !important; }
.cart-shipping { font-size: 13px; text-align: left; }

/* WC checkout button */
.cart-totals-box .wc-proceed-to-checkout { display: block; margin: 20px 0 12px; }
.cart-totals-box .checkout-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  padding: 16px !important;
  background: #000 !important;
  color: #fff !important;
  border-radius: 50px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border: none !important;
  transition: background .2s !important;
}
.cart-totals-box .checkout-button:hover { background: #222 !important; }
.cart-trust-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 11px;
  color: #aaa;
  margin-top: 16px;
}
.cart-trust-row span { display: flex; align-items: center; gap: 5px; }
.cart-trust-row i { font-size: 12px; }
.cart-continue-link {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
  font-size: 13px;
  color: #888;
  text-decoration: none;
  transition: color .2s;
}
.cart-continue-link:hover { color: #111; }

/* ══════════════════════════════════════════
   MY ACCOUNT PAGE
   ══════════════════════════════════════════ */
.riza-account-page { min-height: 70vh; background: #fafafa; }

/* Auth (login/register) */
.account-auth-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  padding: 40px 20px;
}
.account-auth-box {
  background: #fff;
  border-radius: 20px;
  padding: 48px 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 8px 40px rgba(0,0,0,.08);
}
.account-auth-logo { text-align: center; margin-bottom: 8px; }
.account-auth-box h2 { text-align: center; font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.account-auth-box > p { text-align: center; color: #888; font-size: 13px; margin-bottom: 28px; }
.auth-tabs { display: flex; border-bottom: 2px solid #f0f0f0; margin-bottom: 28px; }
.auth-tab {
  flex: 1; background: transparent; border: none;
  padding: 12px; font-size: 14px; font-weight: 600;
  color: #999; cursor: pointer; transition: color .2s;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
}
.auth-tab.active { color: #111; border-bottom-color: #111; }
.auth-panel { display: none; }
.auth-panel.active { display: block; }
.auth-field { margin-bottom: 16px; }
.auth-field label { display: block; font-size: 12px; font-weight: 600; color: #555; margin-bottom: 6px; letter-spacing: .3px; }
.auth-field input {
  width: 100%; border: 1.5px solid #e5e5e5; border-radius: 10px;
  padding: 12px 14px; font-size: 14px; outline: none;
  transition: border-color .2s; background: #fafafa;
  font-family: var(--font, 'Tajawal', sans-serif);
}
.auth-field input:focus { border-color: #111; background: #fff; }
.auth-field-pw { position: relative; }
.auth-field-pw input { padding-left: 44px; }
.toggle-pw { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #aaa; cursor: pointer; font-size: 14px; }
.auth-remember { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-size: 13px; }
.auth-remember a { color: #888; }
.auth-remember a:hover { color: #111; }
.auth-submit-btn {
  width: 100%; padding: 14px;
  background: #000; color: #fff;
  border: none; border-radius: 50px;
  font-size: 15px; font-weight: 700;
  cursor: pointer; transition: background .2s;
  font-family: var(--font, 'Tajawal', sans-serif);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.auth-submit-btn:hover { background: #222; }

/* Account Hero */
.account-hero { background: #000; padding: 32px 0; }
.account-hero-inner { display: flex; align-items: center; gap: 20px; }
.account-avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(255,255,255,.2); flex-shrink: 0; }
.acct-avatar-img { width: 100%; height: 100%; object-fit: cover; }
.account-hero-info h1 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.account-hero-info p { font-size: 13px; color: rgba(255,255,255,.5); }
.account-logout-btn { margin-right: auto; display: flex; align-items: center; gap: 8px; padding: 10px 20px; border: 1px solid rgba(255,255,255,.2); border-radius: 50px; color: rgba(255,255,255,.7); font-size: 13px; text-decoration: none; transition: all .2s; }
.account-logout-btn:hover { border-color: #fff; color: #fff; }

/* Account Body */
.account-body { padding: 40px 0 80px; }

/* Quick Links */
.account-quick-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 36px; }
.acct-quick-card {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border-radius: 14px; padding: 18px 16px;
  text-decoration: none; color: #111;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: all .2s; position: relative;
  border: 1.5px solid transparent;
}
.acct-quick-card:hover { border-color: #000; box-shadow: 0 4px 20px rgba(0,0,0,.1); transform: translateY(-2px); }
.acct-quick-icon { width: 44px; height: 44px; background: #f5f5f5; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #333; flex-shrink: 0; }
.acct-quick-label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.acct-quick-sub { display: block; font-size: 12px; color: #999; }
.acct-quick-badge { position: absolute; top: 12px; left: 12px; background: #e53935; color: #fff; font-size: 10px; font-weight: 700; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.acct-arrow { margin-right: auto; color: #ccc; font-size: 12px; }

/* Account Section */
.account-section { margin-top: 32px; }
.account-section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.account-section-head h3 { font-size: 17px; font-weight: 800; }
.account-section-head a { font-size: 12px; color: #888; text-decoration: underline; }

/* Order cards in account */
.acct-order-card { background: #fff; border-radius: 14px; margin-bottom: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.05); overflow: hidden; }
.acct-order-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid #f5f5f5; }
.acct-order-num { font-weight: 700; font-size: 14px; margin-left: 10px; }
.acct-order-date { font-size: 12px; color: #999; }
.acct-order-status { font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 20px; }
.acct-order-total { font-size: 15px; font-weight: 700; }
.acct-order-items { display: flex; gap: 8px; padding: 14px 18px; }
.acct-order-item { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: #f5f5f5; }
.acct-order-item img { width: 100%; height: 100%; object-fit: contain; }
.acct-order-item-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #ccc; font-size: 20px; }
.acct-order-item-more { width: 56px; height: 56px; border-radius: 8px; background: #f5f5f5; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #666; }
.acct-order-foot { padding: 12px 18px; border-top: 1px solid #f5f5f5; display: flex; gap: 8px; }
.acct-btn-sm { padding: 7px 16px; border-radius: 50px; font-size: 12px; font-weight: 600; background: #000; color: #fff; border: none; text-decoration: none; transition: background .2s; }
.acct-btn-sm:hover { background: #333; }
.acct-btn-ghost { background: transparent; color: #888; border: 1px solid #ddd; }
.acct-btn-ghost:hover { background: #fee; color: #e53935; border-color: #fcc; }

/* Sidebar + endpoint */
.account-endpoint-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 32px; }
.account-sidebar-nav { background: #fff; border-radius: 14px; padding: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.account-sidebar-link { display: flex; align-items: center; padding: 12px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; color: #444; text-decoration: none; transition: all .2s; margin-bottom: 2px; }
.account-sidebar-link:hover, .account-sidebar-link.is-active { background: #000; color: #fff; }
.account-endpoint-content { background: #fff; border-radius: 14px; padding: 28px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }

/* Responsive */
@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-totals-col { position: static; }
  .cart-item { grid-template-columns: 80px 1fr; grid-template-rows: auto auto; }
  .cart-item-qty-wrap { grid-column: 2; }
  .cart-item-subtotal { display: none; }
  .cart-item-price-mob { display: block; font-size: 14px; font-weight: 700; margin-top: 4px; }
  .cart-items-head { display: none; }
  .account-quick-links { grid-template-columns: 1fr; }
  .account-endpoint-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .account-auth-box { padding: 32px 20px; }
  .account-hero-inner { flex-wrap: wrap; }
  .account-logout-btn { margin-right: 0; width: 100%; justify-content: center; }
}

/* ══════════════════════════════════════════════════════════════
   MULTI-STEP CHECKOUT  (rco-*)
   ══════════════════════════════════════════════════════════════ */

/* Page wrapper */
.riza-checkout-page {
  min-height: 80vh;
  background: #f8f6f2;
  padding: 0 0 80px;
}

/* ── Wizard Header ── */
.rco-wizard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 24px;
  margin-bottom: 8px;
}
.rco-back-link {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid #ddd; border-radius: 50%;
  color: #333; font-size: 15px; text-decoration: none;
  transition: all .2s; flex-shrink: 0;
}
.rco-back-link:hover { border-color: #111; background: #111; color: #fff; }
.rco-header-brand {
  font-size: 20px; font-weight: 900; letter-spacing: 3px;
  color: #111; flex-shrink: 0;
}

/* Step indicator */
.rco-wizard-steps {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
  padding: 0 24px;
}
.rco-wstep {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  flex-shrink: 0;
}
.rco-wstep-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  border: 2px solid #ddd;
  background: #fff;
  color: #bbb;
  transition: all .35s;
  position: relative;
  z-index: 1;
}
.rco-wstep.active .rco-wstep-circle {
  background: #111; border-color: #111; color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
}
.rco-wstep.completed .rco-wstep-circle {
  background: #c9a96e; border-color: #c9a96e; color: #fff;
}
.rco-wstep.completed .rco-wstep-circle::after {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.rco-wstep.completed .rco-wstep-circle i { opacity: 0; }
.rco-wstep-label {
  font-size: 11px; font-weight: 600; color: #bbb;
  white-space: nowrap; transition: color .3s;
}
.rco-wstep.active .rco-wstep-label   { color: #111; }
.rco-wstep.completed .rco-wstep-label { color: #c9a96e; }

/* Connecting lines */
.rco-wstep-line {
  flex: 1;
  height: 2px;
  background: #e0e0e0;
  min-width: 40px;
  max-width: 80px;
  margin-bottom: 18px;
  transition: background .35s;
}
.rco-wstep-line.filled { background: #c9a96e; }

/* ── Layout ── */
.rco-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

/* ── Step panels ── */
.rco-step-panel {
  display: none;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  overflow: hidden;
}
.rco-step-panel.active { display: block; }

.rco-panel-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 28px 20px;
  border-bottom: 1px solid #f0ece4;
}
.rco-panel-num {
  width: 40px; height: 40px;
  background: #111; color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700;
  flex-shrink: 0;
}
.rco-panel-head-text h2 { font-size: 18px; font-weight: 800; color: #111; margin-bottom: 2px; }
.rco-panel-head-text p  { font-size: 13px; color: #999; }

.rco-panel-body { padding: 28px; }

.rco-panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-top: 1px solid #f0ece4;
  background: #faf8f5;
}

/* ── Navigation buttons ── */
.rco-btn-next {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  background: #111; color: #fff;
  border: none; border-radius: 50px;
  font-size: 14px; font-weight: 700;
  cursor: pointer; transition: all .2s;
  font-family: var(--font, 'Tajawal', sans-serif);
}
.rco-btn-next:hover { background: #c9a96e; transform: translateY(-1px); }
.rco-btn-next i { font-size: 12px; }

.rco-btn-prev {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px;
  background: transparent; color: #888;
  border: 1.5px solid #ddd; border-radius: 50px;
  font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .2s;
  font-family: var(--font, 'Tajawal', sans-serif);
}
.rco-btn-prev:hover { border-color: #111; color: #111; }

/* ── WC Billing/Shipping fields ── */
.rco-wc-fields .woocommerce-billing-fields,
.rco-wc-fields .woocommerce-shipping-fields { margin: 0; }
.rco-wc-fields .form-row { margin-bottom: 16px; }
.rco-wc-fields .form-row label {
  display: block; font-size: 12px; font-weight: 600;
  color: #555; margin-bottom: 6px; letter-spacing: .3px;
}
.rco-wc-fields .form-row .required { color: #c9a96e; }
.rco-wc-fields input.input-text,
.rco-wc-fields select,
.rco-wc-fields textarea {
  width: 100% !important;
  border: 1.5px solid #e8e2d8 !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  font-size: 14px !important;
  background: #fdfcfb !important;
  color: #111 !important;
  outline: none !important;
  transition: border-color .2s, box-shadow .2s !important;
  font-family: var(--font, 'Tajawal', sans-serif) !important;
  box-shadow: none !important;
}
.rco-wc-fields input.input-text:focus,
.rco-wc-fields select:focus,
.rco-wc-fields textarea:focus {
  border-color: #111 !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(17,17,17,.06) !important;
}
.rco-wc-fields input.rco-field-error,
.rco-wc-fields select.rco-field-error {
  border-color: #e53935 !important;
  box-shadow: 0 0 0 3px rgba(229,57,53,.1) !important;
}
/* Two-column billing grid */
.rco-wc-fields .woocommerce-billing-fields__field-wrapper,
.rco-wc-fields .woocommerce-shipping-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.rco-wc-fields .form-row-wide { grid-column: 1 / -1; }
.rco-wc-fields .woocommerce-additional-fields { grid-column: 1 / -1; }

/* Ship to diff address toggle */
.rco-wc-fields .woocommerce-shipping-fields h3 {
  font-size: 15px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
}
.rco-section-divider {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; color: #555;
  margin: 24px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #e0d8cc;
}

/* ── Shipping cards ── */
.rco-shipping-body { display: flex; flex-direction: column; gap: 12px; }
.rco-ship-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 2px solid #ede8e0;
  border-radius: 14px;
  cursor: pointer;
  transition: all .2s;
  background: #fff;
  position: relative;
}
.rco-ship-card:hover { border-color: #c9a96e; background: #fdfaf4; }
.rco-ship-card.selected {
  border-color: #111;
  background: #fdfaf4;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.rco-ship-card input[type="radio"] { display: none; }

.rco-ship-icon {
  width: 48px; height: 48px;
  background: #f5f0e8;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #c9a96e;
  flex-shrink: 0; transition: all .2s;
}
.rco-ship-card.selected .rco-ship-icon { background: #111; color: #c9a96e; }

.rco-ship-info { flex: 1; }
.rco-ship-info strong { display: block; font-size: 15px; font-weight: 700; color: #111; margin-bottom: 2px; }
.rco-ship-info small { font-size: 12px; color: #999; }

.rco-ship-price { font-size: 16px; font-weight: 800; color: #111; }
.rco-free-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: #f0fdf4; color: #16a34a;
  border: 1px solid #bbf7d0; border-radius: 20px;
  padding: 4px 12px; font-size: 13px; font-weight: 700;
}

.rco-ship-check {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid #ddd;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: transparent;
  transition: all .2s; flex-shrink: 0;
}
.rco-ship-card.selected .rco-ship-check {
  background: #111; border-color: #111; color: #fff;
}

/* No shipping available */
.rco-no-ship {
  display: flex; align-items: center; gap: 12px;
  padding: 20px; border-radius: 12px;
  background: #fff8f0; border: 1px solid #fde8c8;
  color: #c27c00; font-size: 14px;
}
.rco-no-ship--info { background: #f0f8ff; border-color: #bae6fd; color: #0369a1; }
.rco-no-ship i { font-size: 20px; flex-shrink: 0; }

/* ── Payment body (WC renders its own HTML here) ── */
.rco-payment-body { padding: 0 !important; min-height: 200px; }
.rco-payment-body #payment {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  float: none !important;
}
/* WC uses wc_payment_methods OR payment_methods class */
.rco-payment-body #payment ul.payment_methods,
.rco-payment-body #payment ul.wc_payment_methods {
  padding: 24px 24px 0 !important;
  margin: 0 !important;
  list-style: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}
.rco-payment-body #payment ul.payment_methods li,
.rco-payment-body #payment ul.wc_payment_methods li {
  background: #fdfaf5 !important;
  border: 2px solid #ede8e0 !important;
  border-radius: 14px !important;
  padding: 16px 20px !important;
  transition: all .2s !important;
  margin: 0 !important;
}
.rco-payment-body #payment ul.payment_methods li.payment_method_active,
.rco-payment-body #payment ul.wc_payment_methods li.payment_method_active,
.rco-payment-body #payment ul.payment_methods li:has(input:checked),
.rco-payment-body #payment ul.wc_payment_methods li:has(input:checked) {
  border-color: #111 !important;
  background: #fff !important;
  box-shadow: 0 4px 16px rgba(0,0,0,.07) !important;
}
.rco-payment-body #payment ul.payment_methods li label,
.rco-payment-body #payment ul.wc_payment_methods li label {
  font-weight: 600 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #111 !important;
}
.rco-payment-body #payment ul.payment_methods li img,
.rco-payment-body #payment ul.wc_payment_methods li img { max-height: 28px !important; }
.rco-payment-body .payment_box {
  margin-top: 12px !important;
  padding: 14px !important;
  background: #f8f6f2 !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  color: #666 !important;
}
.rco-payment-body #payment .woocommerce-terms-and-conditions-wrapper {
  padding: 16px 24px !important;
  font-size: 12.5px !important;
  color: #888 !important;
}
.rco-payment-body #payment .place-order {
  padding: 20px 24px !important;
  background: #fff !important;
  border-top: 1px solid #f0ece4 !important;
  margin: 0 !important;
}
.rco-payment-body #payment #place_order {
  width: 100% !important;
  padding: 16px !important;
  background: #111 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  transition: all .25s !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  font-family: var(--font, 'Tajawal', sans-serif) !important;
  letter-spacing: .5px !important;
}
.rco-payment-body #payment #place_order:hover {
  background: #c9a96e !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(0,0,0,.18) !important;
}
/* WC loading spinner overlay — keep it working */
.rco-payment-body #payment .blockUI { border-radius: 14px; }
/* No payment gateways message */
.rco-payment-body #payment .no-gateways {
  padding: 32px 24px;
  text-align: center;
  color: #888;
  font-size: 14px;
}
/* No gateways admin message (shown outside #payment) */
.rco-no-gateways-msg {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 24px;
  text-align: center;
  color: #888;
}
.rco-no-gateways-msg i {
  font-size: 36px;
  color: #e53935;
}
.rco-no-gateways-msg p {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
  margin: 0;
}
.rco-no-gateways-msg a {
  color: #c9a96e;
  font-weight: 600;
  text-decoration: none;
}
.rco-no-gateways-msg a:hover { text-decoration: underline; }

/* Secure payment note */
.rco-panel-foot--pay { background: #fff; border-top-color: #f0ece4; }
.rco-pay-secure-note {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: #aaa;
}
.rco-pay-secure-note i { color: #c9a96e; }

/* ── Sidebar ── */
.rco-sidebar { position: sticky; top: 24px; }
.rco-summary-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  overflow: hidden;
}

.rco-summary-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px 18px;
  border-bottom: 1px solid #f0ece4;
}
.rco-summary-head h3 {
  font-size: 16px; font-weight: 800; color: #111;
  display: flex; align-items: center; gap: 8px;
}
.rco-summary-head h3 i { color: #c9a96e; }
.rco-summary-badge {
  background: #111; color: #fff;
  border-radius: 20px; padding: 2px 10px;
  font-size: 12px; font-weight: 700;
}

.rco-summary-items { padding: 16px 24px; display: flex; flex-direction: column; gap: 14px; }

.rco-sitem {
  display: flex; align-items: center; gap: 12px;
}
.rco-sitem-img {
  position: relative; flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 10px; overflow: hidden;
  background: #f5f0e8;
}
.rco-sitem-img img { width: 100%; height: 100%; object-fit: cover; }
.rco-sitem-qty {
  position: absolute; top: -6px; left: -6px;
  background: #111; color: #fff;
  border-radius: 50%;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
}
.rco-sitem-info { flex: 1; min-width: 0; }
.rco-sitem-name {
  display: block; font-size: 13px; font-weight: 600; color: #111;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 2px;
}
.rco-sitem-var { font-size: 11px; color: #999; }
.rco-sitem-price { font-size: 13px; font-weight: 700; color: #111; flex-shrink: 0; }

/* Coupon */
.rco-coupon-wrap { padding: 0 24px 16px; border-bottom: 1px solid #f0ece4; }
.rco-coupon-form-row { display: flex; gap: 8px; }
.rco-coupon-input {
  flex: 1; padding: 10px 14px;
  border: 1.5px solid #e8e2d8; border-radius: 10px;
  font-size: 13px; color: #111;
  outline: none; background: #fdfcfb;
  font-family: var(--font, 'Tajawal', sans-serif);
  transition: border-color .2s;
}
.rco-coupon-input:focus { border-color: #111; }
.rco-coupon-btn {
  padding: 10px 16px;
  background: #111; color: #fff;
  border: none; border-radius: 10px;
  font-size: 12px; font-weight: 700;
  cursor: pointer; transition: all .2s;
  font-family: var(--font, 'Tajawal', sans-serif);
  white-space: nowrap; display: flex; align-items: center; gap: 5px;
}
.rco-coupon-btn:hover { background: #c9a96e; }
.rco-coupon-applied {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 8px; padding: 8px 12px;
  background: #f0fdf4; border-radius: 8px;
  font-size: 12px;
}
.rco-coupon-applied i { color: #16a34a; }
.rco-coupon-discount { color: #16a34a; font-weight: 700; }

/* Totals */
.rco-totals-wrap { padding: 16px 24px; border-bottom: 1px solid #f0ece4; }
.rco-total-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 0; font-size: 13px; color: #666;
}
.rco-discount-row { color: #16a34a; font-weight: 600; }
.rco-total-grand {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0 4px;
  margin-top: 8px;
  border-top: 2px solid #111;
  font-size: 15px; font-weight: 700; color: #111;
}
.rco-total-grand strong { font-size: 20px; font-weight: 900; }

/* Trust row */
.rco-trust-row {
  display: flex; justify-content: space-around;
  padding: 16px 24px;
  background: #faf8f5;
}
.rco-trust-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 10px; color: #999; font-weight: 600;
}
.rco-trust-item i { font-size: 16px; color: #c9a96e; }

/* ══════════════════════════════════════════════════════════════
   THANK YOU PAGE  (rty-*)
   ══════════════════════════════════════════════════════════════ */

.riza-thankyou-page {
  min-height: 80vh;
  background: #f8f6f2;
  padding: 0 0 80px;
}

/* ── Hero ── */
.rty-hero {
  margin-bottom: 32px;
  border-radius: 0 0 24px 24px;
  overflow: hidden;
}
.rty-hero--success { background: linear-gradient(135deg, #111 0%, #1a1a1a 100%); }
.rty-hero--error   { background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%); }
.rty-hero--warning { background: linear-gradient(135deg, #78350f 0%, #92400e 100%); }
.rty-hero--info    { background: linear-gradient(135deg, #111 0%, #222 100%); }

.rty-hero-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 48px 0;
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: 24px;
}
.rty-hero-text h1 { font-size: 28px; font-weight: 900; color: #fff; margin-bottom: 8px; }
.rty-hero-text p  { font-size: 15px; color: rgba(255,255,255,.65); }

/* Animated checkmark */
.rty-anim-wrap {
  width: 72px; height: 72px; flex-shrink: 0;
}
.rty-check-svg {
  width: 72px; height: 72px;
  display: block;
}
.rty-check-circle {
  stroke: #c9a96e;
  stroke-width: 2;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: rty-circle-draw .6s ease-in-out forwards;
}
.rty-check-tick {
  stroke: #c9a96e;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: rty-tick-draw .4s ease-in-out .6s forwards;
}
@keyframes rty-circle-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes rty-tick-draw {
  to { stroke-dashoffset: 0; }
}

/* Error icon */
.rty-error-icon {
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: #fca5a5;
  flex-shrink: 0;
}

/* ── Meta cards ── */
.rty-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.rty-meta-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.rty-meta-icon {
  width: 44px; height: 44px;
  background: #f5f0e8;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #c9a96e;
  flex-shrink: 0;
}
.rty-meta-icon--gold    { background: #fef9f0; color: #c9a96e; }
.rty-meta-icon--success { background: #f0fdf4; color: #16a34a; }
.rty-meta-icon--error   { background: #fef2f2; color: #dc2626; }
.rty-meta-icon--warning { background: #fffbeb; color: #d97706; }
.rty-meta-icon--info    { background: #eff6ff; color: #2563eb; }

.rty-meta-label { display: block; font-size: 11px; color: #999; font-weight: 600; margin-bottom: 3px; letter-spacing: .3px; }
.rty-meta-val   { display: block; font-size: 15px; font-weight: 800; color: #111; }
.rty-status-success { color: #16a34a; }
.rty-status-error   { color: #dc2626; }
.rty-status-warning { color: #d97706; }
.rty-status-info    { color: #2563eb; }

/* ── Detail grid ── */
.rty-detail-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

/* ── Box component ── */
.rty-box {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
  overflow: hidden;
}
.rty-box-head {
  display: flex; align-items: center; gap: 10px;
  padding: 20px 24px;
  border-bottom: 1px solid #f0ece4;
}
.rty-box-head h3 { font-size: 16px; font-weight: 800; color: #111; }
.rty-box-head i  { color: #c9a96e; font-size: 18px; }

/* Items list */
.rty-items-list { padding: 8px 24px; }
.rty-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f8f5f0;
}
.rty-item:last-child { border-bottom: none; }
.rty-item-img {
  width: 60px; height: 60px;
  border-radius: 10px; overflow: hidden;
  background: #f5f0e8; flex-shrink: 0;
}
.rty-item-img img { width: 100%; height: 100%; object-fit: cover; }
.rty-img-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #ccc; font-size: 22px; }
.rty-item-info { flex: 1; min-width: 0; }
.rty-item-name {
  display: block; font-size: 14px; font-weight: 700; color: #111;
  text-decoration: none; margin-bottom: 3px;
}
a.rty-item-name:hover { color: #c9a96e; }
.rty-item-meta { display: block; font-size: 12px; color: #999; margin-bottom: 2px; }
.rty-item-qty  { font-size: 12px; color: #aaa; }
.rty-item-price { font-size: 14px; font-weight: 800; color: #111; flex-shrink: 0; }

/* Totals inside box */
.rty-totals { padding: 0 24px 4px; }
.rty-total-row {
  display: flex; justify-content: space-between;
  padding: 9px 0; font-size: 13px; color: #666;
  border-top: 1px solid #f5f0ea;
}
.rty-total-discount { color: #16a34a; font-weight: 600; }
.rty-total-grand {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0 20px;
  border-top: 2px solid #111;
  font-size: 15px; font-weight: 700; color: #111;
  margin-top: 4px;
}
.rty-total-grand strong { font-size: 22px; font-weight: 900; }

/* Info boxes (sidebar right) */
.rty-side-boxes { display: flex; flex-direction: column; gap: 16px; }
.rty-info-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  overflow: hidden;
}
.rty-info-box-head {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 20px;
  background: #faf8f5;
  border-bottom: 1px solid #f0ece4;
  font-size: 13px; font-weight: 700; color: #444;
}
.rty-info-box-head i { color: #c9a96e; }
.rty-info-box-body {
  padding: 14px 20px;
  font-size: 13.5px; line-height: 1.7; color: #555;
  font-style: normal;
}

/* CTA box */
.rty-cta-box {
  display: flex; flex-direction: column; gap: 10px;
}
.rty-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 20px;
  border-radius: 50px;
  font-size: 14px; font-weight: 700;
  text-decoration: none; transition: all .2s;
  cursor: pointer;
}
.rty-btn--primary { background: #111; color: #fff; }
.rty-btn--primary:hover { background: #c9a96e; transform: translateY(-1px); }
.rty-btn--outline { background: transparent; color: #555; border: 1.5px solid #ddd; }
.rty-btn--outline:hover { border-color: #111; color: #111; }

/* Fallback (no order) actions */
.rty-fallback-actions { display: flex; justify-content: center; padding: 40px 0; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .rco-layout { grid-template-columns: 1fr 300px; gap: 20px; }
}

@media (max-width: 900px) {
  .rco-layout { grid-template-columns: 1fr; }
  .rco-sidebar { position: static; order: -1; }
  .rco-summary-items { max-height: 220px; overflow-y: auto; }
  .rty-meta-grid { grid-template-columns: repeat(2, 1fr); }
  .rty-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .rco-wizard-header { padding: 16px 0 20px; }
  .rco-wstep-label { display: none; }
  .rco-wstep-circle { width: 38px; height: 38px; font-size: 14px; }
  .rco-wstep-line { min-width: 24px; }
  .rco-panel-head { padding: 20px 20px 16px; }
  .rco-panel-body { padding: 20px; }
  .rco-panel-foot { padding: 16px 20px; }
  .rco-wc-fields .woocommerce-billing-fields__field-wrapper,
  .rco-wc-fields .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
  .rty-hero-inner { flex-direction: column; text-align: center; padding: 36px 20px; gap: 16px; }
  .rty-meta-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

@media (max-width: 480px) {
  .rco-header-brand { display: none; }
  .rco-wizard-steps { padding: 0 12px; }
  .rty-meta-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .rty-meta-card { padding: 14px; }
}

/* ══════════════════════════════════════════════════════════════
   PREMIUM AUTH PAGE  (rco-auth-*)
   Login + Register with animated tab switching
   ══════════════════════════════════════════════════════════════ */

/* Page wrapper */
.rco-auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8f6f2 0%, #ede8df 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

/* Card */
.rco-auth-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  max-width: 880px;
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 32px 100px rgba(0,0,0,.18), 0 8px 32px rgba(0,0,0,.1);
}

/* ── Brand Panel ── */
.rco-auth-brand {
  background: #0f0f0f;
  padding: 52px 36px;
  display: flex;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}

/* Decorative rings */
.rco-auth-deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(201,169,110,.15);
  pointer-events: none;
}
.rco-auth-deco-ring--1 {
  width: 360px; height: 360px;
  top: -120px; right: -120px;
  border-width: 40px;
  border-color: rgba(201,169,110,.07);
}
.rco-auth-deco-ring--2 {
  width: 180px; height: 180px;
  bottom: 60px; left: -70px;
}
.rco-auth-deco-ring--3 {
  width: 80px; height: 80px;
  bottom: 180px; right: 24px;
  border-color: rgba(201,169,110,.25);
}

.rco-auth-brand-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  width: 100%;
}

/* Logo */
.rco-auth-logo {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 44px; font-weight: 700;
  font-style: italic; letter-spacing: 5px;
  color: #fff; margin-bottom: 14px;
  line-height: 1;
}
.rco-auth-logo-r { color: #c9a96e; }

/* Gold bar */
.rco-auth-gold-bar {
  width: 40px; height: 3px;
  background: linear-gradient(90deg, #c9a96e, #e8c98a);
  border-radius: 2px; margin-bottom: 18px;
}

.rco-auth-tagline {
  font-size: 20px; font-weight: 300;
  color: rgba(255,255,255,.75);
  line-height: 1.5; margin-bottom: 36px;
}

/* Features list */
.rco-auth-features {
  display: flex; flex-direction: column; gap: 16px;
  flex: 1;
}
.rco-auth-feat {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,.55);
}
.rco-auth-feat-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  background: rgba(201,169,110,.12);
  border: 1px solid rgba(201,169,110,.25);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: #c9a96e; font-size: 13px;
}

/* Back link */
.rco-auth-brand-bottom { margin-top: 36px; }
.rco-auth-home-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,.35);
  text-decoration: none; transition: color .2s;
}
.rco-auth-home-link:hover { color: #c9a96e; }

/* ── Form Panel ── */
.rco-auth-form-panel {
  background: #fff;
  padding: 40px 44px 40px;
  display: flex; flex-direction: column;
}

/* Tab switcher */
.rco-auth-tabs {
  display: flex;
  position: relative;
  background: #f5f0e8;
  border-radius: 14px;
  padding: 5px;
  margin-bottom: 32px;
  gap: 2px;
}
.rco-auth-tab {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 16px;
  background: transparent; border: none;
  border-radius: 10px;
  font-size: 13px; font-weight: 600; color: #999;
  cursor: pointer; transition: color .25s;
  font-family: var(--font, 'Tajawal', sans-serif);
  position: relative; z-index: 1;
}
.rco-auth-tab i { font-size: 12px; }
.rco-auth-tab.active { color: #111; }

/* Sliding pill indicator */
.rco-auth-tab-indicator {
  position: absolute;
  top: 5px; bottom: 5px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  transition: width .3s cubic-bezier(.4,0,.2,1), right .3s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}

/* Auth panels */
.rco-auth-panel {
  display: none;
}
.rco-auth-panel.active {
  display: block;
  animation: rco-auth-in .36s ease forwards;
}
@keyframes rco-auth-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.rco-auth-panel-head { margin-bottom: 24px; }
.rco-auth-panel-head h2 {
  font-size: 22px; font-weight: 800; color: #111; margin-bottom: 4px;
}
.rco-auth-panel-head p { font-size: 13px; color: #999; }

/* Fields */
.rco-field {
  margin-bottom: 16px;
}
.rco-field label {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: #555;
  margin-bottom: 7px; letter-spacing: .3px; text-transform: uppercase;
}
.rco-field label i { color: #c9a96e; font-size: 11px; }
.rco-field input {
  width: 100%;
  border: 1.5px solid #e8e2d8;
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 14px;
  color: #111;
  background: #fdfcfb;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  font-family: var(--font, 'Tajawal', sans-serif);
}
.rco-field input:focus {
  border-color: #111;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(17,17,17,.06);
}
.rco-field input.rco-field-error {
  border-color: #e53935;
  box-shadow: 0 0 0 3px rgba(229,57,53,.08);
}
.rco-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.rco-field-row .rco-field { margin-bottom: 0; }

/* Password field */
.rco-pw-wrap { position: relative; }
.rco-pw-wrap input { padding-left: 46px; }
.rco-pw-toggle {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #bbb; cursor: pointer;
  font-size: 14px; padding: 4px; transition: color .2s;
}
.rco-pw-toggle:hover { color: #111; }

/* Password strength */
.rco-pw-strength {
  display: flex; align-items: center; gap: 10px;
  margin-top: 7px;
}
.rco-pw-bar {
  flex: 1; height: 4px; background: #f0ece4;
  border-radius: 2px; transition: width .3s, background .3s;
  width: 0;
}
.rco-pw-bar.weak   { background: #e53935; }
.rco-pw-bar.fair   { background: #f59e0b; }
.rco-pw-bar.good   { background: #3b82f6; }
.rco-pw-bar.strong { background: #16a34a; }
.rco-pw-label { font-size: 11px; color: #999; white-space: nowrap; min-width: 60px; }

/* Auth meta (remember + forgot) */
.rco-auth-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; margin-top: -4px;
}
.rco-remember {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: #666; cursor: pointer;
  user-select: none;
}
.rco-remember input[type="checkbox"] { display: none; }
.rco-check-box {
  width: 18px; height: 18px;
  border: 1.5px solid #ddd; border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; flex-shrink: 0;
}
.rco-remember input:checked ~ .rco-check-box {
  background: #111; border-color: #111;
}
.rco-remember input:checked ~ .rco-check-box::after {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free'; font-weight: 900;
  font-size: 9px; color: #fff;
}
.rco-forgot {
  font-size: 12px; color: #c9a96e; text-decoration: none;
  transition: color .2s;
}
.rco-forgot:hover { color: #111; }

/* Submit button */
.rco-auth-submit {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 15px 20px;
  background: #111; color: #fff;
  border: none; border-radius: 14px;
  font-size: 15px; font-weight: 700;
  cursor: pointer; transition: all .25s;
  font-family: var(--font, 'Tajawal', sans-serif);
  margin-bottom: 20px;
  position: relative; overflow: hidden;
}
.rco-auth-submit::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(201,169,110,.15) 100%);
  opacity: 0; transition: opacity .3s;
}
.rco-auth-submit:hover { background: #000; transform: translateY(-1px); box-shadow: 0 8px 28px rgba(0,0,0,.2); }
.rco-auth-submit:hover::before { opacity: 1; }
.rco-auth-submit .rco-btn-icon {
  width: 32px; height: 32px;
  background: rgba(255,255,255,.12);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; transition: background .2s;
}
.rco-auth-submit:hover .rco-btn-icon { background: rgba(201,169,110,.3); }

/* Switch link */
.rco-auth-switch {
  text-align: center; font-size: 13px; color: #999; margin: 0;
}
.rco-auth-switch-btn {
  background: none; border: none;
  color: #c9a96e; font-weight: 700; font-size: 13px;
  cursor: pointer; padding: 0; margin-right: 4px;
  text-decoration: underline; text-underline-offset: 2px;
  font-family: var(--font, 'Tajawal', sans-serif);
  transition: color .2s;
}
.rco-auth-switch-btn:hover { color: #111; }

/* Terms note */
.rco-terms-note {
  font-size: 11.5px; color: #aaa; text-align: center;
  margin-bottom: 16px; line-height: 1.6;
}
.rco-terms-note a { color: #888; text-decoration: underline; }
.rco-terms-note a:hover { color: #111; }

/* Auto-password note */
.rco-pw-auto-note {
  font-size: 13px; color: #888;
  background: #f8f6f2; border-radius: 10px;
  padding: 12px 14px; margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.rco-pw-auto-note i { color: #c9a96e; }

/* WC notices inside auth page */
.rco-auth-form-panel .woocommerce-error,
.rco-auth-form-panel .woocommerce-message,
.rco-auth-form-panel .woocommerce-info {
  border-radius: 12px !important;
  margin-bottom: 20px !important;
  font-size: 13px !important;
}

/* ── Responsive ── */
@media (max-width: 820px) {
  .rco-auth-card { grid-template-columns: 1fr; }
  .rco-auth-brand { padding: 36px 28px; }
  .rco-auth-deco-ring--1 { width: 220px; height: 220px; top: -80px; right: -80px; }
  .rco-auth-brand-inner { flex-direction: row; align-items: center; gap: 24px; }
  .rco-auth-features { display: none; }
  .rco-auth-tagline { font-size: 16px; margin-bottom: 0; }
  .rco-auth-gold-bar { margin-bottom: 10px; }
  .rco-auth-logo { font-size: 32px; }
  .rco-auth-brand-bottom { display: none; }
}

@media (max-width: 520px) {
  .rco-auth-page { padding: 0; align-items: flex-start; }
  .rco-auth-card { border-radius: 0; box-shadow: none; }
  .rco-auth-brand-inner { flex-direction: column; gap: 8px; }
  .rco-auth-form-panel { padding: 28px 20px; }
  .rco-auth-tabs { margin-bottom: 24px; }
  .rco-field-row { grid-template-columns: 1fr; }
}
