/* Shop Content & Categories */
.shop-content {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  /* تحسين التمرير في الموبايل */
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

@media (max-width: 575px) {
  .shop-header {
    padding: 0.75rem 0;
  }
  
  .shop-header__content {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  
  .shop-close,
  .cart-toggle {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }
  
  .shop-close span {
    display: inline;
    font-size: 0.85rem;
    font-weight: 500;
  }
  
  .shop-title-wrapper {
    align-items: center;
  }
  
  .shop-title-wrapper h1 {
    font-size: clamp(1.35rem, 6vw, 1.6rem);
  }
  
  .shop-content {
    padding: 0.75rem 0.75rem 1.5rem;
    /* إضافة مساحة إضافية في الأسفل لتجنب شريط المتصفح */
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 60px));
  }
  
  .shop-search {
    padding: 0 0.75rem;
  }
  
  .shop-categories {
    padding: 0 0.75rem 0.65rem;
    margin: 0 -0.75rem 1.25rem;
  }
  
  .products-grid {
    gap: 0.75rem;
    /* إضافة مساحة إضافية في الأسفل للمنتجات */
    margin-bottom: calc(1rem + env(safe-area-inset-bottom, 40px));
  }
  
  .product-card {
    width: calc((100% - (0.75rem * 2)) / 3);
    min-width: 100px;
    max-width: 140px;
  }
  
  .product-card__image {
    height: 155px;
  }
  
  .product-card__desc {
    font-size: 0.85rem;
  }
  
  .checkout-modal {
    padding: 1rem;
  }
  
  .checkout-modal__content {
    padding: 1.25rem;
    border-radius: 1rem;
    max-width: 520px;
  }
  
  .checkout-form .form-row {
    margin-bottom: 1rem;
  }
}

.shop-categories {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.shop-search {
  display: flex;
  justify-content: center;
  margin-bottom: 1.75rem;
  padding: 0 1rem;
}

.shop-search__field {
  position: relative;
  width: min(420px, 100%);
}

#product-search {
  width: 100%;
  padding: 0.8rem 1rem;
  padding-inline-end: 2.75rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: var(--color-surface);
}

#product-search:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(130, 207, 226, 0.15);
}

.shop-search__field i {
  position: absolute;
  top: 50%;
  inset-inline-end: 1rem;
  transform: translateY(-50%);
  color: var(--color-muted);
  font-size: 1.1rem;
}

.category-btn {
  padding: 0.75rem 1.5rem;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  color: var(--color-muted);
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.category-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

/* Products Grid */
.products-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 100%;
}

.product-card {
  width: calc((100% - (1.5rem * 4)) / 5);
  min-width: 200px;
  max-width: 260px;
  flex-shrink: 0;
}

.products-empty {
  text-align: center;
  color: var(--color-muted);
  font-size: 1rem;
  padding: 2rem 1rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--color-border);
}

.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(130, 207, 226, 0.3);
}

.product-card__image {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #f5f5f5;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.1);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
}

.product-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.product-card__desc {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.product-price span {
  font-size: 0.9rem;
  font-weight: 400;
}

.add-to-cart-btn {
  padding: 0.75rem 1.5rem;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.add-to-cart-btn:hover {
  background: var(--color-dark);
  transform: scale(1.05);
}

/* Cart Sidebar */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: var(--color-surface);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
  z-index: 10001;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-sidebar.active {
  right: 0;
}

[dir="rtl"] .cart-sidebar {
  right: auto;
  left: -400px;
}

[dir="rtl"] .cart-sidebar.active {
  left: 0;
}

.cart-sidebar__header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-sidebar__header h2 {
  font-size: 1.5rem;
  margin: 0;
}

.cart-sidebar__close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-muted);
  cursor: pointer;
  transition: color 0.3s ease;
}

.cart-sidebar__close:hover {
  color: var(--color-accent);
}

.cart-sidebar__items {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.cart-empty {
  text-align: center;
  color: var(--color-muted);
  padding: 2rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--color-background);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.cart-item__image {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__details {
  flex: 1;
}

.cart-item__title {
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.cart-item__price {
  color: var(--color-primary);
  font-weight: 600;
}

.cart-item__quantity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.qty-btn:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.cart-item__remove {
  background: none;
  border: none;
  color: #ff4444;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0.5rem;
}

.cart-sidebar__footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Checkout Modal */
.checkout-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10002;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.checkout-modal.active {
  display: flex;
}

.checkout-modal__content {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.checkout-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-muted);
  cursor: pointer;
}

.checkout-modal__close:hover {
  color: var(--color-accent);
}

.checkout-modal h2 {
  margin-bottom: 1.5rem;
  color: var(--color-accent);
}

.checkout-form .form-row {
  margin-bottom: 1.5rem;
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-method:hover {
  border-color: var(--color-primary);
}

.payment-method input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-primary);
}

.payment-method input[type="radio"]:checked + span {
  color: var(--color-primary);
  font-weight: 600;
}

/* Responsive */
@media (min-width: 1200px) {
  .product-card {
    width: calc((100% - (1.5rem * 4)) / 5);
    min-width: 200px;
    max-width: 260px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .product-card {
    width: calc((100% - (1.5rem * 3)) / 4);
    min-width: 200px;
    max-width: 250px;
  }
}

@media (min-width: 769px) and (max-width: 991px) {
  .product-card {
    width: calc((100% - (1.5rem * 2)) / 3);
    min-width: 200px;
    max-width: 240px;
  }
}

@media (max-width: 768px) {
  .shop-header__content {
    padding: 0 1rem;
    gap: 1rem;
    align-items: stretch;
  }
  
  .shop-close span {
    display: inline;
    font-size: 0.9rem;
  }
  
  .shop-close,
  .cart-toggle {
    padding: 0.65rem 1rem;
    font-size: 1rem;
  }
  
  .shop-header__title {
    justify-content: center;
    gap: 0.5rem;
  }
  
  .shop-header__title i {
    font-size: 1.75rem;
  }
  
  .shop-content {
    padding: 1rem;
    /* إضافة مساحة إضافية في الأسفل لتجنب شريط المتصفح في الشاشات المتوسطة */
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 50px));
  }
  
  .shop-search {
    margin-bottom: 1.25rem;
    padding: 0;
  }
  
  .products-grid {
    gap: 1rem;
    /* إضافة مساحة إضافية في الأسفل للمنتجات في الشاشات المتوسطة */
    margin-bottom: calc(1rem + env(safe-area-inset-bottom, 35px));
  }
  
  .product-card {
    width: calc((100% - (1rem * 2)) / 3);
    min-width: 100px;
    max-width: 150px;
  }
  
  .shop-categories {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    margin: 0 -1rem 1.5rem;
    padding: 0 1rem 0.75rem;
    gap: 0.75rem;
    scroll-snap-type: x proximity;
  }
  
  .shop-categories::-webkit-scrollbar {
    display: none;
  }
  
  .category-btn {
    flex: 0 0 auto;
    scroll-snap-align: start;
    font-size: 0.85rem;
    padding: 0.6rem 1.1rem;
  }
  
  .product-card {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  }
  
  .product-card__image {
    height: 210px;
  }
  
  .product-card__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    /* ضمان أن أزرار إضافة للسلة مرئية */
    margin-bottom: 0.5rem;
  }
  
  .product-price {
    font-size: 1.3rem;
  }
  
  .add-to-cart-btn {
    width: 100%;
    justify-content: center;
  }
  
  .cart-sidebar {
    width: 100%;
    right: -100%;
  }
  
  [dir="rtl"] .cart-sidebar {
    left: -100%;
  }
  
  .cart-sidebar__footer {
    padding: 1.5rem 1rem;
    /* إضافة مساحة إضافية لتجنب تغطية شريط المتصفح السفلي */
    padding-bottom: calc(2rem + env(safe-area-inset-bottom, 30px));
    margin-bottom: calc(0.75rem + env(safe-area-inset-bottom, 8px));
    /* رفع العنصر لأعلى أكثر */
    transform: translateY(-0.75rem);
  }
  
  .cart-total {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    padding: 0.75rem;
    background: var(--color-background);
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-primary);
    font-weight: 600;
    /* رفع الإجمالي أكثر */
    transform: translateY(-0.5rem);
  }
  
  /* رفع زر إتمام الطلب في الشاشات المتوسطة */
  .cart-sidebar__footer .button {
    transform: translateY(-0.5rem);
    margin-top: 0.25rem;
    padding: 0.9rem 1.4rem;
    font-size: 1rem;
    font-weight: 600;
  }
  
  .checkout-modal {
    padding: 1rem;
    /* إضافة مساحة إضافية للمودال */
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 15px));
  }
  
  .checkout-modal__content {
    padding: 1.5rem;
    max-width: 100%;
    /* إضافة مساحة إضافية للمحتوى */
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 15px));
  }
  
  .checkout-form .form-row {
    margin-bottom: 1rem;
  }
  
  .checkout-form input,
  .checkout-form textarea,
  .checkout-form select {
    font-size: 16px;
  }
}

/* Mobile Small Screens - إصلاح السلة للشاشات الصغيرة */
@media (max-width: 480px) {
  .cart-sidebar__footer {
    padding: 2rem 0.75rem;
    position: sticky;
    bottom: 0;
    background: var(--color-surface);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    /* رفع الإجمالي وزر إتمام الطلب لأعلى أكثر */
    margin-top: 2rem;
    /* إضافة مساحة إضافية أكبر لتجنب تغطية شريط المتصفح السفلي */
    padding-bottom: calc(3rem + env(safe-area-inset-bottom, 40px));
    margin-bottom: calc(1.5rem + env(safe-area-inset-bottom, 15px));
    /* رفع العنصر بالكامل لأعلى أكثر */
    transform: translateY(-1.5rem);
  }
  
  .cart-total {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    padding: 0.75rem;
    background: var(--color-background);
    border-radius: var(--radius-sm);
    /* رفع الإجمالي أكثر */
    transform: translateY(-1.25rem);
    /* إضافة حدود واضحة */
    border: 2px solid var(--color-primary);
    font-weight: bold;
  }
  
  /* رفع زر إتمام الطلب أكثر */
  .cart-sidebar__footer .button {
    transform: translateY(-0.75rem);
    margin-top: 0.5rem;
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 600;
  }
  
  .cart-sidebar__items {
    padding: 1rem;
    /* تقليل المساحة السفلية لرفع المحتوى */
    padding-bottom: 0.25rem;
  }
  
  .cart-item {
    padding: 0.75rem;
    margin-bottom: 0.75rem;
  }
  
  .cart-item__image {
    width: 70px;
    height: 70px;
  }
  
  .cart-item__title {
    font-size: 0.95rem;
  }
  
  .cart-item__price {
    font-size: 0.9rem;
  }
  
  .checkout-modal {
    padding: 0.5rem;
    align-items: flex-end;
  }
  
  .checkout-modal__content {
    padding: 1.25rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-height: 85vh;
  }
  
  .checkout-modal h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .checkout-form .form-row {
    margin-bottom: 0.85rem;
  }
  
  .checkout-form label {
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
  }
  
  .checkout-form input,
  .checkout-form textarea,
  .checkout-form select {
    padding: 0.65rem;
    font-size: 16px;
  }
  
  .checkout-form button[type="submit"] {
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    width: 100%;
    margin-top: 0.5rem;
  }
  
  .payment-method {
    padding: 0.75rem;
  }
  
  .payment-method span {
    font-size: 0.9rem;
  }
  
  /* ضمان أن المنتجات في الصف الأخير مرئية بالكامل */
  .product-card:last-child,
  .product-card:nth-last-child(2),
  .product-card:nth-last-child(3) {
    margin-bottom: calc(0.5rem + env(safe-area-inset-bottom, 30px));
  }
}


/* ==================== DISCOUNT STYLES ==================== */

/* Discount Badge */
.discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  padding: 0.375rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
  z-index: 2;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Price Wrapper */
.product-price-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Original Price (Strikethrough) */
.product-price--original {
  font-size: 0.875rem;
  color: #999;
  text-decoration: line-through;
  font-weight: 400;
}

/* Discounted Price */
.product-price--discounted {
  color: #ef4444 !important;
  font-size: 1.25rem;
  font-weight: 700;
}

/* RTL Support - في العربي الخصم يظهر يسار والفئة يمين */
[dir="rtl"] .discount-badge {
  right: auto;
  left: 10px;
}

/* Category Badge - تأكد إنها على الجهة المعاكسة */
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
}

[dir="rtl"] .product-badge {
  left: auto;
  right: 10px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .discount-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }
  
  .product-price--discounted {
    font-size: 1.1rem;
  }
}


/* ==================== IMAGE GALLERY MODAL ==================== */

.image-gallery-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.image-gallery-modal.active {
  display: flex;
}

.gallery-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(239, 68, 68, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.gallery-close:hover {
  background: rgba(220, 38, 38, 1);
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

[dir="rtl"] .gallery-close {
  right: auto;
  left: 20px;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10002;
}

.gallery-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
  left: 20px;
}

.gallery-next {
  right: 20px;
}

[dir="rtl"] .gallery-prev {
  left: auto;
  right: 20px;
}

[dir="rtl"] .gallery-next {
  right: auto;
  left: 20px;
}

.gallery-image-container {
  max-width: 90%;
  max-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-image-container img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.gallery-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding: 10px;
  overflow-x: auto;
  max-width: 90%;
}

.gallery-thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s;
  border: 3px solid transparent;
}

.gallery-thumbnail:hover {
  opacity: 0.8;
}

.gallery-thumbnail.active {
  opacity: 1;
  border-color: white;
}

.gallery-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Product Card Image - Make clickable */
.product-card__image {
  position: relative;
  cursor: pointer;
}

.product-card__image::after {
  content: '\f002'; /* Font Awesome search icon */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: white;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.product-card__image:hover::after {
  opacity: 0.8;
}

.product-card__image:hover img {
  filter: brightness(0.7);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .gallery-close {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    top: 15px;
    right: 15px;
  }
  
  [dir="rtl"] .gallery-close {
    right: auto;
    left: 15px;
  }
  
  .gallery-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .gallery-prev {
    left: 10px;
  }

  .gallery-next {
    right: 10px;
  }

  [dir="rtl"] .gallery-prev {
    left: auto;
    right: 10px;
  }

  [dir="rtl"] .gallery-next {
    right: auto;
    left: 10px;
  }

  .gallery-thumbnail {
    width: 60px;
    height: 60px;
  }

  .gallery-image-container {
    max-height: 60vh;
  }

  .gallery-image-container img {
    max-height: 60vh;
  }
}
