/*
Theme Name: أبتل للتجارة - Aptel Laser
Theme URI: https://aptellaser.com
Author: Aptel
Description: ثيم ووردبريس لشركة أبتل للتجارة - ماكينات الليزر الصناعية. متوافق مع ووكومرس والسلة الجانبية.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aptel-laser
*/

/* ===== Variables - أزرق داكن + أزرق سماوي ===== */
:root {
  --aptel-primary: #0c2d52;
  --aptel-primary-dark: #061e36;
  --aptel-primary-light: #0f3460;
  --aptel-azure: #38bdf8;
  --aptel-azure-light: #7dd3fc;
  --aptel-accent: #38bdf8;
  --aptel-text: #1e293b;
  --aptel-text-light: #64748b;
  --aptel-bg: #0c2d52;
  --aptel-bg-light: #0f3460;
  --aptel-white: #ffffff;
  --aptel-border: #1e3a5f;
  --aptel-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  --aptel-radius: 8px;
  --aptel-transition: 0.35s ease;
  --aptel-transition-slow: 0.5s ease;
}

/* ===== Animations ===== */
@keyframes aptel-fade-in-up {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes aptel-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes aptel-scale-in {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes aptel-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes aptel-shine {
  0% { background-position: -200% center; }
 100% { background-position: 200% center; }
}
@keyframes aptel-pulse-soft {
  0%, 100% { box-shadow: 0 4px 20px rgba(0, 180, 216, 0.2); }
  50% { box-shadow: 0 4px 28px rgba(0, 180, 216, 0.35); }
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: 'Segoe UI', 'Tahoma', 'Arial', sans-serif;
  color: #e2e8f0;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  direction: rtl;
  background: #061e36 !important;
  background-color: #061e36 !important;
}
#aptel-main { background: #0c2d52 !important; background-color: #0c2d52 !important; min-height: 50vh; color: #e2e8f0; }
a { color: #7dd3fc; text-decoration: none; transition: var(--aptel-transition); }
a:hover { color: #bae6fd; }
img { max-width: 100%; height: auto; display: block; }

/* ===== Layout ===== */
.aptel-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
.aptel-header {
  background: #061e36 !important;
  background-color: #061e36 !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--aptel-transition);
}
.aptel-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  gap: 1rem;
}
.aptel-logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--aptel-white);
}
.aptel-logo img { max-height: 36px; width: auto; }
.aptel-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.aptel-nav a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--aptel-transition);
}
.aptel-nav a:hover { color: var(--aptel-azure-light); }
.aptel-cart-trigger {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  background: #38bdf8 !important;
  background-color: #38bdf8 !important;
  color: #061e36 !important;
  border-radius: var(--aptel-radius);
  cursor: pointer;
  border: none;
  font-size: 0.9rem;
  transition: var(--aptel-transition);
}
.aptel-cart-trigger:hover { background: #7dd3fc !important; background-color: #7dd3fc !important; color: #061e36 !important; transform: scale(1.03); }
.aptel-cart-count {
  background: var(--aptel-white);
  color: var(--aptel-primary);
  padding: 0.15rem 0.4rem;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ===== Hero + فيديو خلفية ===== */
.aptel-hero {
  position: relative;
  color: #fff;
  padding: 5rem 0;
  text-align: center;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0c2d52 0%, #061e36 50%, rgba(56, 189, 248, 0.2) 100%) !important;
}
.aptel-hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.aptel-hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.aptel-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 45, 82, 0.9) 0%, rgba(6, 30, 54, 0.92) 50%, rgba(56, 189, 248, 0.15) 100%);
  z-index: 1;
}
.aptel-hero .aptel-container {
  position: relative;
  z-index: 2;
}
.aptel-hero h1 {
  margin: 0 0 0.5rem;
  font-size: 2.5rem;
  animation: aptel-fade-in-up 0.8s ease forwards;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.aptel-hero p {
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
  animation: aptel-fade-in-up 0.8s ease 0.15s forwards;
  opacity: 0;
  animation-fill-mode: forwards;
  text-shadow: 0 1px 10px rgba(0,0,0,0.2);
}
.aptel-hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: aptel-fade-in-up 0.8s ease 0.3s forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}
.aptel-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--aptel-radius);
  font-weight: 600;
  transition: var(--aptel-transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.aptel-btn-primary {
  background: #38bdf8 !important;
  background-color: #38bdf8 !important;
  color: #061e36 !important;
}
.aptel-btn-primary:hover { background: #7dd3fc !important; background-color: #7dd3fc !important; color: #061e36 !important; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4); }
.aptel-btn-outline {
  background: transparent;
  color: var(--aptel-white);
  border: 2px solid rgba(255,255,255,0.8);
}
.aptel-btn-outline:hover { background: rgba(255,255,255,0.15); color: var(--aptel-white); border-color: var(--aptel-white); transform: translateY(-2px); }

/* ===== Sections ===== */
.aptel-section {
  padding: 3rem 0;
  animation: aptel-fade-in 0.6s ease;
}
.aptel-section-alt { background: #0f3460 !important; background-color: #0f3460 !important; }
.aptel-section-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.75rem;
  color: var(--aptel-white);
  animation: aptel-fade-in-up 0.6s ease;
}

/* ===== Categories Grid + أنيميشن ===== */
.aptel-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}
.aptel-cat-card {
  background: var(--aptel-white);
  padding: 1.5rem;
  border-radius: var(--aptel-radius);
  box-shadow: var(--aptel-shadow);
  text-align: center;
  transition: var(--aptel-transition);
  animation: aptel-fade-in-up 0.6s ease backwards;
  border: 1px solid var(--aptel-border);
}
.aptel-cat-card:nth-child(1) { animation-delay: 0.05s; }
.aptel-cat-card:nth-child(2) { animation-delay: 0.1s; }
.aptel-cat-card:nth-child(3) { animation-delay: 0.15s; }
.aptel-cat-card:nth-child(4) { animation-delay: 0.2s; }
.aptel-cat-card:nth-child(5) { animation-delay: 0.25s; }
.aptel-cat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 180, 216, 0.15);
  border-color: var(--aptel-azure-light);
}
.aptel-cat-icon {
  font-size: 2.75rem;
  margin-bottom: 0.5rem;
  display: inline-block;
  transition: var(--aptel-transition);
}
.aptel-cat-card:hover .aptel-cat-icon { animation: aptel-float 2s ease-in-out infinite; }
.aptel-cat-card h3 { margin: 0 0 0.25rem; font-size: 1.1rem; color: #0c2d52; }
.aptel-cat-card p { color: #64748b; font-size: 0.9rem; }

/* ===== Products Grid (WooCommerce style) + أنيميشن ===== */
.aptel-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.aptel-product-card {
  background: var(--aptel-white);
  border-radius: var(--aptel-radius);
  overflow: hidden;
  box-shadow: var(--aptel-shadow);
  transition: var(--aptel-transition);
  animation: aptel-scale-in 0.5s ease backwards;
  border: 1px solid var(--aptel-border);
}
.aptel-product-card:nth-child(1) { animation-delay: 0.05s; }
.aptel-product-card:nth-child(2) { animation-delay: 0.1s; }
.aptel-product-card:nth-child(3) { animation-delay: 0.15s; }
.aptel-product-card:nth-child(4) { animation-delay: 0.2s; }
.aptel-product-card:nth-child(5) { animation-delay: 0.25s; }
.aptel-product-card:nth-child(6) { animation-delay: 0.3s; }
.aptel-product-card:nth-child(7) { animation-delay: 0.35s; }
.aptel-product-card:nth-child(8) { animation-delay: 0.4s; }
.aptel-product-card:hover {
  box-shadow: 0 12px 30px rgba(0, 180, 216, 0.15);
  transform: translateY(-4px);
  border-color: var(--aptel-azure-light);
}
.aptel-product-image {
  aspect-ratio: 1;
  background: var(--aptel-bg);
  position: relative;
  overflow: hidden;
}
.aptel-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--aptel-transition-slow);
}
.aptel-product-card:hover .aptel-product-image img { transform: scale(1.06); }
.aptel-product-body { padding: 1.25rem; }
.aptel-product-title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  line-height: 1.4;
}
.aptel-product-title a { color: #0c2d52; }
.aptel-product-title a:hover { color: #38bdf8; }
.aptel-product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0c2d52;
  margin-bottom: 0.75rem;
}
.aptel-product-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.aptel-product-actions .aptel-btn { padding: 0.5rem 1rem; font-size: 0.9rem; }

/* ===== About ===== */
.aptel-about {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.aptel-about p { color: #cbd5e1; margin-bottom: 1rem; }

/* ===== Contact ===== */
.aptel-contact-wrap {
  max-width: 500px;
  margin: 0 auto;
}
.aptel-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  text-align: center;
}
.aptel-contact-info a { color: var(--aptel-azure); }
.aptel-form-group {
  margin-bottom: 1rem;
}
.aptel-form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 500;
  color: #e2e8f0;
}
.aptel-form-group input,
.aptel-form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #1e3a5f;
  border-radius: var(--aptel-radius);
  font-size: 1rem;
  font-family: inherit;
  background: #0f3460;
  color: #e2e8f0;
}
.aptel-form-group input::placeholder,
.aptel-form-group textarea::placeholder { color: #94a3b8; }
.aptel-form-group textarea { min-height: 120px; resize: vertical; }

/* ===== Side Cart ===== */
.aptel-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--aptel-transition);
}
.aptel-cart-overlay.is-open { opacity: 1; visibility: visible; transition: var(--aptel-transition); }
.aptel-side-cart {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: var(--aptel-white);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform var(--aptel-transition);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
}
.aptel-side-cart.is-open { transform: translateX(0); animation: aptel-fade-in 0.3s ease; }
.aptel-side-cart-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--aptel-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.aptel-side-cart-header h3 { margin: 0; font-size: 1.25rem; }
.aptel-cart-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
  color: var(--aptel-text);
}
.aptel-side-cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}
.aptel-cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--aptel-border);
}
.aptel-cart-item:last-child { border-bottom: none; }
.aptel-cart-item-image {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  background: var(--aptel-bg);
  border-radius: var(--aptel-radius);
  overflow: hidden;
}
.aptel-cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.aptel-cart-item-details { flex: 1; min-width: 0; }
.aptel-cart-item-title { font-weight: 600; margin-bottom: 0.25rem; }
.aptel-cart-item-title a { color: var(--aptel-text); }
.aptel-cart-item-qty { font-size: 0.9rem; color: var(--aptel-text-light); }
.aptel-cart-item-remove {
  background: none;
  border: none;
  color: #c00;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0;
}
.aptel-side-cart-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--aptel-border);
}
.aptel-cart-total {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.aptel-cart-buttons { display: flex; flex-direction: column; gap: 0.5rem; }
.aptel-cart-empty { text-align: center; padding: 2rem; color: var(--aptel-text-light); }

/* ===== WooCommerce Overrides ===== */
.woocommerce .aptel-products-grid,
.woocommerce-page .aptel-products-grid { margin: 0; }
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 1.5rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 2rem !important;
}
.woocommerce ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--aptel-white);
  border-radius: var(--aptel-radius);
  overflow: hidden;
  box-shadow: var(--aptel-shadow);
}
.woocommerce ul.products li.product .woocommerce-loop-product__link { display: block; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 1rem 1.25rem 0; margin: 0; font-size: 1.05rem; }
.woocommerce ul.products li.product .price { padding: 0 1.25rem; margin: 0.5rem 0; font-size: 1.25rem; color: var(--aptel-azure); }
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart { margin: 0 1.25rem 1rem; }
.woocommerce a.button,
.woocommerce button.button {
  background: #38bdf8 !important;
  background-color: #38bdf8 !important;
  color: #061e36 !important;
  border: none !important;
  padding: 0.5rem 1rem !important;
  border-radius: var(--aptel-radius) !important;
  transition: var(--aptel-transition) !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover { background: #7dd3fc !important; background-color: #7dd3fc !important; color: #061e36 !important; transform: translateY(-1px); }
.woocommerce .woocommerce-breadcrumb { margin-bottom: 1rem; padding: 0; }
.woocommerce .aptel-container .summary .price { font-size: 1.5rem; color: var(--aptel-primary); }
.woocommerce div.product form.cart { margin: 1rem 0; }
.woocommerce .quantity input { padding: 0.5rem; border-radius: var(--aptel-radius); border: 1px solid var(--aptel-border); }
.woocommerce .cart_totals table { border-radius: var(--aptel-radius); }
.woocommerce .cart_totals th { background: var(--aptel-bg); }
.woocommerce-checkout .aptel-container { padding: 2rem 20px; }

/* ===== صفحة المنتج المفردة - لون خط متناسق مع الخلفية الداكنة ===== */
.single-product .aptel-section,
.single-product .aptel-container,
.single-product #aptel-main {
  background: #0c2d52 !important;
  color: #e2e8f0 !important;
}
.single-product .product .summary,
.single-product .product .woocommerce-product-details__short-description,
.single-product .product_tabs,
.single-product .woocommerce-Tabs-panel,
.single-product p {
  color: #e2e8f0 !important;
}
.single-product .product .summary .product_title,
.single-product .product h1,
.single-product .product h2,
.single-product .product h3 {
  color: #fff !important;
}
.single-product .price,
.single-product .amount {
  color: #38bdf8 !important;
}
.single-product a:not(.button) {
  color: #7dd3fc !important;
}
.single-product a:not(.button):hover {
  color: #bae6fd !important;
}
.single-product .woocommerce-breadcrumb,
.single-product .woocommerce-breadcrumb a {
  color: #94a3b8 !important;
}
.single-product label {
  color: #cbd5e1 !important;
}
.single-product table th,
.single-product table td {
  color: #e2e8f0 !important;
  border-color: #1e3a5f !important;
}
.single-product .quantity input {
  background: #0f3460 !important;
  border-color: #1e3a5f !important;
  color: #fff !important;
}

/* ===== صفحة المنتج - تخطيط منسق ===== */
.single-product .aptel-section { padding: 2rem 0; }
.single-product .product { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 768px) {
  .single-product .product { grid-template-columns: 1fr; }
}
.single-product .woocommerce-product-gallery { margin-bottom: 1.5rem; border-radius: var(--aptel-radius); overflow: hidden; }
.single-product .summary { padding: 0; }
.single-product .summary .product_title { font-size: 1.75rem; margin-bottom: 0.75rem; }
.single-product .summary .price { font-size: 1.5rem; margin-bottom: 1rem; }
.single-product .woocommerce-product-details__short-description { margin-bottom: 1rem; line-height: 1.7; }
.single-product form.cart { margin: 1.25rem 0; }
.single-product .single_add_to_cart_button { background: #38bdf8 !important; color: #061e36 !important; padding: 0.75rem 1.5rem; border-radius: var(--aptel-radius); }

/* ===== المنتجات ذات الصلة - منسقة وفتح Quick View ===== */
.single-product .related.products,
.woocommerce .related.products {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #1e3a5f;
}
.single-product .related.products h2,
.woocommerce .related.products > h2 {
  color: #fff !important;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.single-product .related ul.products,
.woocommerce .related ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
  gap: 1.5rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.single-product .related ul.products li.product,
.woocommerce .related ul.products li.product {
  background: #0f3460 !important;
  border: 1px solid #1e3a5f;
  border-radius: var(--aptel-radius);
  padding: 0 !important;
  overflow: hidden;
}
.single-product .related ul.products li.product .aptel-product-title a,
.single-product .related ul.products li.product .woocommerce-loop-product__title { color: #e2e8f0 !important; }
.single-product .related ul.products li.product .price { color: #38bdf8 !important; }
.single-product .related ul.products li.product .button { background: #38bdf8 !important; color: #061e36 !important; }

/* ===== Footer ===== */
.aptel-footer {
  background: #061e36 !important;
  background-color: #061e36 !important;
  color: #fff;
  padding: 2rem 0;
  margin-top: 3rem;
  text-align: center;
  animation: aptel-fade-in 0.5s ease;
}
.aptel-footer a { color: rgba(255,255,255,0.9); }
.aptel-footer a:hover { color: var(--aptel-white); }
.aptel-footer p { margin: 0; opacity: 0.9; }

/* ===== Utility ===== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }

/* ===== نافذة تفاصيل المنتج (Quick View) ===== */
.aptel-quick-view-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 30, 54, 0.88);
  z-index: 9996;
  opacity: 0;
  visibility: hidden;
  transition: var(--aptel-transition);
}
.aptel-quick-view-overlay.is-open { opacity: 1; visibility: visible; }
.aptel-quick-view-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 95%;
  max-width: 560px;
  max-height: 90vh;
  overflow: auto;
  background: var(--aptel-white);
  z-index: 9997;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transition: var(--aptel-transition);
}
.aptel-quick-view-modal.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.aptel-quick-view-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 40px;
  height: 40px;
  background: #38bdf8 !important;
  color: #061e36 !important;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: var(--aptel-transition);
}
.aptel-quick-view-close:hover { background: #7dd3fc !important; color: #061e36 !important; }
.aptel-quick-view-body { padding: 1.5rem; }
.aptel-quick-view-image {
  width: 100%;
  aspect-ratio: 1;
  background: var(--aptel-bg);
  border-radius: var(--aptel-radius);
  overflow: hidden;
  margin-bottom: 1rem;
}
.aptel-quick-view-image img { width: 100%; height: 100%; object-fit: cover; }
.aptel-quick-view-title { margin: 0 0 0.5rem; font-size: 1.35rem; color: var(--aptel-primary); }
.aptel-quick-view-price { font-size: 1.5rem; font-weight: 700; color: var(--aptel-azure); margin-bottom: 1rem; }
.aptel-quick-view-desc { color: var(--aptel-text-light); font-size: 0.95rem; margin-bottom: 1rem; line-height: 1.6; }
.aptel-quick-view-sku,
.aptel-quick-view-cats { font-size: 0.9rem; color: #64748b; margin: 0 0 0.5rem; }
.aptel-quick-view-attrs { margin: 0.75rem 0; padding: 0; list-style: none; }
.aptel-quick-view-attrs dt { font-weight: 600; color: #0c2d52; margin-top: 0.5rem; }
.aptel-quick-view-attrs dd { margin: 0.25rem 0 0; color: #475569; }
.aptel-quick-view-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1rem; }
.aptel-quick-view-actions .aptel-btn { flex: 1 1 auto; min-width: 120px; }
.aptel-add-to-favorites.is-favorite { background: #fef3c7 !important; color: #92400e !important; border-color: #f59e0b !important; }
.aptel-quick-view-actions .aptel-btn-checkout { border-color: #38bdf8 !important; color: #38bdf8 !important; }
.aptel-quick-view-actions .aptel-btn-checkout:hover { background: #38bdf8 !important; color: #061e36 !important; }
.aptel-quick-view-loading { text-align: center; padding: 3rem; color: #64748b; }

/* ===== RTL ===== */
[dir="rtl"] .aptel-side-cart { right: auto; left: 0; transform: translateX(-100%); }
[dir="rtl"] .aptel-side-cart.is-open { transform: translateX(0); }
[dir="rtl"] .aptel-quick-view-close { left: auto; right: 1rem; }
