/******************** Category Card Styles ********************/
.category-card {
  max-width: 400px;
  background-image: var(--category-image);
  background-size: cover;
  aspect-ratio: 1175 / 1396;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: right;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.category-card-title {
  color: #fff !important;
  margin: 1rem;
  padding: 0rem;
  -webkit-text-stroke: 0.5px black;
}

@media (max-width: 767px) {
  .category-card-title {
    margin: 0.5rem;
  }
}

.category-card:nth-child(odd) {
  justify-self: end;
}

/* RIGHT column → push left */
.category-card:nth-child(even) {
  justify-self: start;
}

@media (max-width: 767px) {
  .category-card {
    margin: 0 auto;
  }
}
/******************** End of Category Card Styles ********************/

/******************** Product Card Styles ********************/
.product-card {
  display: flex;
  justify-content: space-between;
  width: 100%;
  flex-direction: column;
  max-width: 330px;
  overflow: hidden;
  transition: transform var(--product-card-hover-duration, 0.3s) ease;
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

.triple-images-container img {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
  aspect-ratio: 451 / 482;
  display: block;
}

@media (max-width: 767px) {
  .triple-images-container {
    gap: 0.125rem;
  }

  .triple-images-container img {
    aspect-ratio: 451 / 482;
  }
}

.product-card:hover {
  transform: translateY(var(--product-card-hover-y, -4px));
  box-shadow: var(--product-card-hover-shadow, none);
}

.product-card-link {
  text-decoration: none;
  cursor: pointer;
  position: relative;
  z-index: 2;
  pointer-events: auto;
  display: block;
  width: 100%;
}

.product-card-image-wrapper {
  width: 100%;
  height: 340px;
  aspect-ratio: 285 / 360;
  line-height: 0;
  cursor: pointer;
  position: relative;
}

@media (max-width: 767px) {
  .product-card-image-wrapper {
    height: 260px;
  }
}

.product-card-image-wrapper img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.product-card-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-card-add-to-cart-wrapper {
  padding: 0 0.5rem;
  display: flex;
  justify-content: center;
}

.product-card-add-to-cart-btn {
  display: inline-block !important;
  width: auto !important;
  background: none !important;
  color: inherit !important;
  min-width: auto;
  font-family: "Bona Nova SC", serif;
  font-size: 0.9rem;
  padding: 0.125rem 0.5rem !important;
  white-space: nowrap;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 767px) {
  .product-card-add-to-cart-btn {
    padding: 0.25rem 0.5rem !important;
  }
}

.product-card-header {
  align-items: end;
  width: 100%;
  margin-bottom: 0.2rem;
}

.product-card-text-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-decoration: none;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.product-card-title {
  margin: 0.25rem 0 0 0;
}

.product-card-title:hover {
  color: #6b7280;
}

.product-card-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 40px;
  flex-shrink: 0;
}

/* Ensure cart buttons are always clickable and on top */
.cart-icon-button,
.add_to_cart_button,
.ajax_add_to_cart,
.product-card-add-to-cart-btn {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.product-card-wishlist-toggle-container {
  border: 0.5px solid #00000070;
  position: relative;
  width: 2rem;
  height: 2rem;
  background: #ffffff6e;
  border-radius: 50px;
}

.product-card-wishlist-toggle-container:hover {
  background: #ffffff;
}

.product-card-wishlist-toggle-container img {
  width: 24px;
  height: 24px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.product-card-wishlist-toggle {
  padding: 4px;
  border: none;
  background: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.product-card-wishlist-toggle-empty {
  width: 1.5rem !important;
  height: 1.5rem !important;
  max-width: 1.5rem !important;
  max-height: 1.5rem !important;
  min-width: 1.5rem !important;
  min-height: 1.5rem !important;
  object-fit: contain;
  object-position: center;
  position: absolute;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 1;
  display: block;
}

.product-card-wishlist-toggle-filled {
  width: 1.5rem !important;
  height: 1.5rem !important;
  max-width: 1.5rem !important;
  max-height: 1.5rem !important;
  min-width: 1.5rem !important;
  min-height: 1.5rem !important;
  object-fit: contain;
  object-position: center;
  position: absolute;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) scale(0) !important;
  z-index: 2;
  opacity: 0;
  transition: all 0.4s ease-in-out;
  display: block;
}

.product-card-wishlist-toggle-container.has-items
  .product-card-wishlist-toggle-filled {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) !important;
}

/* Loading state */
.product-card-wishlist-toggle.wishlist-loading {
  pointer-events: none;
  opacity: 0.6;
}

.product-card-wishlist-toggle.wishlist-loading
  .product-card-wishlist-toggle-container {
  position: relative;
}

.product-card-wishlist-toggle.wishlist-loading
  .product-card-wishlist-toggle-container::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid #00000030;
  border-top-color: #000000;
  border-radius: 50%;
  animation: wishlist-spin 0.6s linear infinite;
  z-index: 3;
}

.product-card-wishlist-toggle.wishlist-loading
  .product-card-wishlist-toggle-container
  img {
  opacity: 0.3;
}

@keyframes wishlist-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#trending-section {
  position: relative;
  touch-action: pan-y pinch-zoom;
}

/******************** End of Product Card Styles ********************/

/******************** Images Gallery Styles ********************/
.images-gallery-container img {
  width: 288px;
  height: 420px;
  object-fit: cover;
}

/******************** End of Images Gallery Styles ********************/

/******************** Button Styles ********************/
.button-sts,
.wc-proceed-to-checkout a {
  font-weight: unset !important;
  background-color: var(--button-bg-color, #000) !important;
  color: var(--button-text-color, #fff) !important;
  border: var(--button-bg-color, #111) 1px solid !important;
  border-radius: var(--button-border-radius, 0.125rem) !important;
  /* padding: var(--button-padding-desktop, 0.5rem 1rem) !important; */
}

.button-sts:hover,
.wc-proceed-to-checkout a:hover {
  background-color: var(--button-hover-bg, #fff) !important;
  color: var(--button-hover-text, #000) !important;
}

.button-sts:focus,
.wc-proceed-to-checkout a:focus {
  background-color: var(--button-hover-bg, #fff) !important;
  color: var(--button-hover-text, #000) !important;
  outline: none !important;
}

@media (max-width: 767px) {
  .button-sts,
  .wc-proceed-to-checkout a {
    padding: var(--button-padding-mobile, 0.5rem 1rem) !important;
  }
}

.product-flex-container .arrow-button {
  --arrow-translate-x: 0;
  --arrow-translate-y: -50%;
  color: #4b5563;
  position: absolute;
  cursor: pointer;
  top: 50%;
  width: var(--arrow-button-size);
  height: var(--arrow-button-size);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  transform: translate(var(--arrow-translate-x), var(--arrow-translate-y));
}

#prev-btn,
#trending-prev-btn,
[data-carousel-prev] {
  border: 0.5px solid #00000070;
  left: 0;
  --arrow-translate-x: calc(-50% - var(--arrow-button-size));
  --arrow-translate-y: -50%;
}

#next-btn,
#trending-next-btn,
[data-carousel-next] {
  border: 0.5px solid #00000070;
  right: 0;
  --arrow-translate-x: calc(50% + var(--arrow-button-size));
  --arrow-translate-y: -50%;
}

.product-flex-container .arrow-button svg {
  width: var(--arrow-button-size);
  height: var(--arrow-button-size);
}

/* Profile Page Buttons */
.btn {
  padding: 0.5rem 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: var(--button-bg-color, black);
  color: var(--button-text-color, white);
  border: 1px solid var(--button-bg-color, black);
}

.btn-primary:hover {
  background: var(--button-hover-bg, white);
  color: var(--button-hover-text, black);
}

.btn-secondary {
  color: black;
  border: 1px solid #e5e7eb;
}

.btn-secondary:hover {
  background: #f9fafb;
  border: 1px solid black;
}

.btn-logout {
  background: #ef4444;
  color: white;
}

.btn-logout:hover {
  background: #dc2626;
}

/******************** End of Button Styles ********************/

/******************** Cookie Consent Popup Styles ********************/
.bt-cookie-consent-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  background-color: var(--color-background, #fffcf5);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  direction: rtl;
}

.bt-cookie-consent-popup.show {
  transform: translateY(0);
}

.bt-cookie-consent-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem;
}

.bt-cookie-consent-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.bt-cookie-consent-text {
  flex: 1;
  min-width: 250px;
  margin: 0;
  font-size: var(--font-size-text);
  line-height: 1.5;
}

.bt-cookie-consent-link {
  color: var(--color-text-global, #000);
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.bt-cookie-consent-link:hover {
  opacity: 0.8;
}

.bt-cookie-consent-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.bt-cookie-consent-accept-btn {
  padding: 0.5rem 1.5rem;
  white-space: nowrap;
}

/* Dismiss button - hidden for now, might add back later */
.bt-cookie-consent-dismiss-btn {
  display: none; /* Hidden - button is commented out in HTML */
  /* background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-global, #000);
  transition: opacity 0.3s ease;
  min-width: 2rem;
  min-height: 2rem; */
}

.bt-cookie-consent-dismiss-btn:hover {
  opacity: 0.7;
}

.bt-cookie-consent-dismiss-btn:focus {
  outline: 2px solid var(--color-text-global, #000);
  outline-offset: 2px;
}

.bt-cookie-consent-dismiss-btn svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 767px) {
  .bt-cookie-consent-content {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .bt-cookie-consent-text {
    text-align: center;
    min-width: auto;
  }

  .bt-cookie-consent-buttons {
    justify-content: center;
    width: 100%;
  }

  .bt-cookie-consent-accept-btn {
    flex: 1;
    max-width: 200px;
  }

  .bt-cookie-consent-container {
    padding: 1rem 0.75rem;
  }
}

/******************** End of Cookie Consent Popup Styles ********************/

/******************** Newsletter Checkbox Styles ********************/
.newsletter-checkbox-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.newsletter-checkbox-row input[type="checkbox"] {
  flex-shrink: 0;
  margin: 0;
}

.newsletter-checkbox-row label {
  margin: 0;
}

#newsletter_signup {
  width: auto;
}

.newsletter-radio-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.newsletter-radio-row input[type="radio"] {
  flex-shrink: 0;
  margin: 0;
  width: auto;
}

.newsletter-radio-row label {
  margin: 0;
}

/* Style WooCommerce-generated newsletter channel radio buttons */
.newsletter-channel-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.newsletter-radio-row input[type="radio"] {
  flex-shrink: 0;
  margin: 0;
}

.newsletter-radio-row label {
  margin: 0;
}
/******************** End of Newsletter Checkbox Styles ********************/

/******************** Auth Pages Styles ********************/
.bt-auth-container {
  max-width: 500px;
  margin: 3rem auto;
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bt-auth-title {
  font-family: var(--font-family-bona-nova-sc);
  font-size: var(--font-size-h2);
  text-align: center;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.bt-auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.bt-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bt-form-label {
  font-family: var(--font-family-alef);
  font-size: var(--font-size-text);
  color: #1a1a1a;
  font-weight: 500;
}

.bt-form-label .required {
  color: #dc2626;
  margin-right: 0.25rem;
}

.bt-form-input {
  font-family: var(--font-family-alef);
  font-size: var(--font-size-text);
  padding: var(--input-padding, 0.75rem 1rem);
  border: 1px solid var(--input-border-color, #d1d5db);
  border-radius: var(--input-border-radius, 6px);
  background: var(--input-bg-color, white);
  color: var(--input-text-color, #1a1a1a);
  direction: rtl;
  transition: border-color 0.2s ease;
}

.bt-form-input:focus {
  outline: none;
  border-color: var(--input-focus-border-color, #1a1a1a);
}

.bt-form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  direction: rtl;
  padding: 1rem;
  border-radius: 6px;
}

.bt-form-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  margin-top: 2px;
  flex-shrink: 0;
}

.bt-form-checkbox-label {
  font-family: var(--font-family-alef);
  font-size: var(--font-size-small);
  color: #4b5563;
  cursor: pointer;
  line-height: 1.5;
}

.bt-form-error {
  background: #fee2e2;
  color: #991b1b;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-family: var(--font-family-alef);
  font-size: var(--font-size-small);
  text-align: center;
  direction: rtl;
}

.bt-form-success {
  background: #d1fae5;
  color: #065f46;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-family: var(--font-family-alef);
  font-size: var(--font-size-small);
  text-align: center;
  direction: rtl;
}

.bt-form-submit {
  font-family: var(--font-family-bona-nova-sc);
  font-size: var(--font-size-text);
  background: var(--button-bg-color, #000000);
  color: var(--button-text-color, white);
  border: none;
  padding: var(--button-padding-desktop, 0.875rem 2rem);
  border-radius: var(--button-border-radius, 6px);
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-weight: 500;
}

.bt-form-submit:hover {
  background: var(--button-hover-bg, #1f2937);
  color: var(--button-hover-text, var(--button-text-color, white));
}

.bt-form-submit:active {
  transform: scale(0.98);
}

.bt-auth-links {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.bt-auth-link {
  font-family: var(--font-family-alef);
  font-size: var(--font-size-small);
  color: #4b5563;
  text-decoration: none;
  transition: color 0.2s ease;
}

.bt-auth-link:hover {
  color: #1a1a1a;
  text-decoration: underline;
}

.bt-auth-divider {
  margin: 0 0.5rem;
  color: #9ca3af;
}

.bt-google-signin-wrapper {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  direction: ltr; /* Google button is LTR */
}

.bt-google-signin-btn {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  width: 100%;
  font-family: var(--font-family-alef);
  font-size: var(--font-size-text);
  background: white;
  color: #1a1a1a;
  border: 1px solid #d1d5db;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  direction: rtl;
  margin-bottom: 1.5rem;
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

.bt-google-signin-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bt-google-signin-btn:active {
  transform: scale(0.98);
  background: #f3f4f6;
}

.bt-google-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.bt-auth-divider-text {
  text-align: center;
  margin: 1.5rem 0;
  position: relative;
  font-family: var(--font-family-alef);
  font-size: var(--font-size-small);
  color: #6b7280;
}

.bt-auth-divider-text::before,
.bt-auth-divider-text::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 45%;
  height: 1px;
  background: #e5e7eb;
}

.bt-auth-divider-text::before {
  right: 0;
}

.bt-auth-divider-text::after {
  left: 0;
}

.bt-auth-divider-text span {
  background: white;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

.bt-google-loading {
  text-align: center;
  padding: 0.875rem 2rem;
  font-family: var(--font-family-alef);
  font-size: var(--font-size-text);
  color: #4b5563;
  direction: rtl;
}

.bt-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.bt-form-group.full-width {
  grid-column: 1 / -1;
}

.bt-newsletter-options {
  margin-top: 0.75rem;
  margin-right: 1.5rem;
  display: none;
}

.bt-newsletter-options.active {
  display: block;
}

.bt-newsletter-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.bt-newsletter-option input[type="radio"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.bt-newsletter-option label {
  font-family: var(--font-family-alef);
  font-size: var(--font-size-small);
  color: #4b5563;
  cursor: pointer;
}

@media (max-width: 767px) {
  .bt-auth-container {
    margin: 2rem 1rem;
    padding: 1.5rem;
  }

  .bt-auth-title {
    font-size: var(--font-size-h2-mobile);
  }

  .bt-form-row {
    grid-template-columns: 1fr;
  }

  .bt-google-signin-btn {
    padding: 0.75rem 1.5rem;
    font-size: var(--font-size-small);
  }

  .bt-google-icon {
    width: 18px;
    height: 18px;
  }
}
/******************** End of Auth Pages Styles ********************/

/******************** Footer Styles ********************/
.footer-container {
  width: 100%;
  position: relative;
  z-index: 0;
}

.footer-container::before {
  content: "";
  position: absolute;
  background-image: url("/wp-content/uploads/2025/12webp/footer-image.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.5;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
}

.footer-container > * {
  position: relative;
  z-index: 1;
}

#ast-scroll-top {
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

#ast-scroll-top.show {
  display: flex !important;
  opacity: 1;
}

.social-media-icons-container ul {
  justify-items: center;
}

footer .social-media-icon {
  height: 32px !important;
  width: auto !important;
}

@media (max-width: 767px) {
  .social-media-icons-container ul {
    justify-items: left;
  }

  footer .social-media-icon {
    height: 24px !important;
  }
}

footer .social-media-url {
  margin: 0 0 0.5rem 0;
}

/* Newsletter Section */
.newsletter-section {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  margin-top: 1rem;
}

.newsletter-section .inline-flex {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.newsletter-section .mb-3 {
  margin-bottom: 0.75rem;
}

.newsletter-section .mb-4 {
  margin-bottom: 1rem;
}

.newsletter-section .mb-6 {
  margin-bottom: 1.5rem;
}

.newsletter-section .text-lg {
  font-size: 1.125rem;
}

.newsletter-section .text-xs {
  font-size: 0.75rem;
}

.newsletter-section .gap-2 {
  gap: 0.5rem;
}

.newsletter-section .gap-3 {
  gap: 0.75rem;
}

.newsletter-section .gap-4 {
  gap: 1rem;
}

.newsletter-section .flex {
  display: flex;
}

.newsletter-section .items-center {
  align-items: center;
}

.newsletter-section .justify-center {
  justify-content: center;
}

.newsletter-section .flex-wrap {
  flex-wrap: wrap;
}

.newsletter-section .cursor-pointer {
  cursor: pointer;
}

.newsletter-section .text-right {
  text-align: right;
}

.newsletter-section .rounded {
  border-radius: 0.25rem;
}

.newsletter-section .rounded-md {
  border-radius: 0.375rem;
}

.newsletter-section .bg-black {
  background-color: #000;
}

.newsletter-section .bg-white {
  background-color: #fff;
}

.newsletter-section .text-white {
  color: #fff;
}

.newsletter-section .text-black {
  color: #000;
}

.newsletter-section .border-2 {
  border-width: 2px;
}

.newsletter-section .border-black {
  border-color: #000;
}

.newsletter-section .px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.newsletter-section .px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.newsletter-section .py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.newsletter-section .inline-block {
  display: inline-block;
}

.newsletter-section .text-base {
  font-size: 1rem;
}

.newsletter-section .hover\:bg-gray-800:hover {
  background-color: #1f2937;
}

.newsletter-section .hover\:bg-gray-100:hover {
  background-color: #f3f4f6;
}

.newsletter-section .hover\:text-gray-700:hover {
  color: #374151;
}

.newsletter-section .transition-colors {
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.newsletter-section .underline {
  text-decoration: underline;
}

.newsletter-section .hidden {
  display: none;
}

.newsletter-section .text-green-600 {
  color: #16a34a;
}

.newsletter-section .text-red-600 {
  color: #dc2626;
}

.newsletter-section .text-gray-800 {
  color: #1f2937;
}

.newsletter-section input[type="radio"],
.newsletter-section input[type="checkbox"] {
  accent-color: #000;
}

.newsletter-section input[type="radio"]:focus,
.newsletter-section input[type="checkbox"]:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
}

/* Footer Links Grid */
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  text-align: center;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

@media (min-width: 768px) {
  .footer-links-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.footer-links-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links-grid ul.space-y-2 > li + li {
  margin-top: 0.5rem;
}

.footer-links-grid a {
  text-decoration: none;
  color: inherit;
}

.footer-links-grid a:hover {
  opacity: 0.6;
}

/* Footer Main Container */
.footer-main-container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Social Media Icons */
.social-media-icons-container {
  width: 100%;
}

.social-media-icons-container ul a {
  display: flex;
  justify-content: space-evenly;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  align-items: center;
  overflow-wrap: anywhere;
  direction: ltr;
  unicode-bidi: plaintext;
}

@media (max-width: 767px) {
  .social-media-icons-container ul a {
    margin-bottom: 0;
  }
}

/* Copyright */
.footer-copyright {
  text-align: center;
}

.footer-copyright .font-alef {
  font-family: var(--font-family-alef);
}

.footer-copyright .text-14px {
  font-size: 0.875rem;
  margin: 0;
}

.footer-copyright .text-12px {
  font-size: 0.75rem;
}

.footer-copyright .mt-2 {
  margin-top: 0.25rem;
}

.footer-copyright a {
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer-copyright a:hover {
  color: #6b7280;
}

/******************** End of Footer Styles ********************/

/******************** Archive Messages ********************/
.no-products-message {
  text-align: center;
  padding: 4rem 2rem;
  font-family: var(--font-family-bona-nova-sc);
  font-size: 20px;
  color: #6b7280;
}
/******************** End of Archive Messages ********************/

/******************** Gift Card Preview Modal Styles ********************/
.bt-gift-card-modal {
  display: none;
  position: fixed;
  z-index: 100000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.bt-gift-card-modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 90%;
  max-width: 800px;
  border-radius: 8px;
  max-height: 90vh;
  overflow-y: auto;
  box-sizing: border-box;
}

.bt-gift-card-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 15px;
}

.bt-gift-card-modal-title {
  margin: 0;
}

.bt-gift-card-modal-close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.bt-gift-card-modal-close:hover,
.bt-gift-card-modal-close:focus {
  color: #000;
}

.bt-gift-card-modal-body {
  background: #fff;
  padding: 20px;
  border: 1px solid var(--color-background);
  border-radius: 4px;
  box-sizing: border-box;
  overflow-x: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Make all tables responsive within modal */
.bt-gift-card-modal-body table {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: auto;
  border-collapse: collapse;
  box-sizing: border-box;
}

/* WooCommerce outer_wrapper table - ensure it doesn't overflow */
.bt-gift-card-modal-body .outer_wrapper,
.bt-gift-card-modal-body table.outer_wrapper {
  width: 100% !important;
  max-width: 100% !important;
}

/* Table cells - ensure text wraps */
.bt-gift-card-modal-body td,
.bt-gift-card-modal-body th {
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

/* Text elements - ensure wrapping */
.bt-gift-card-modal-body p,
.bt-gift-card-modal-body div {
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

/* Images - ensure they scale */
.bt-gift-card-modal-body img {
  max-width: 100%;
  height: auto;
}

/* Links and buttons - ensure they wrap */
.bt-gift-card-modal-body a {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.bt-gift-card-modal-footer {
  margin-top: 20px;
  text-align: right;
}

.bt-gift-card-modal-close-btn {
  padding: 10px 20px;
}

/* Mobile Responsive Styles */
@media (max-width: 767px) {
  .bt-gift-card-modal-content {
    width: 95%;
    margin: 2% auto;
    padding: 0.5rem;
    max-height: 96vh;
  }

  .bt-gift-card-modal-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .bt-gift-card-modal-title {
    font-size: 1.25rem;
    flex: 1;
    min-width: 0;
  }

  .bt-gift-card-modal-close {
    font-size: 24px;
    flex-shrink: 0;
  }

  .bt-gift-card-modal-body {
    padding: 1rem;
    overflow-x: auto;
  }

  /* Mobile table optimizations */
  .bt-gift-card-modal-body table {
    font-size: 0.9rem;
  }

  .bt-gift-card-modal-body td,
  .bt-gift-card-modal-body th {
    padding: 0.5rem 0.25rem;
    font-size: 0.875rem;
  }

  /* Ensure gift card codes wrap on mobile */
  .bt-gift-card-modal-body p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  /* Make buttons full width on mobile if needed */
  .bt-gift-card-modal-body a[style*="display: inline-block"] {
    display: block !important;
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
  }

  .bt-gift-card-modal-footer {
    margin-top: 1rem;
    text-align: center;
  }

  .bt-gift-card-modal-close-btn {
    width: 100%;
    padding: 12px 20px;
  }
}
/******************** End of Gift Card Preview Modal Styles ********************/

/******************** Instagram Feed Styles ********************/
.instagram-feed-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  direction: ltr;
}

.instagram-feed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.instagram-post-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  border-radius: 8px;
  background: #f5f5f5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-post-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.instagram-post-item:focus {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.instagram-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.instagram-video-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.instagram-post-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.instagram-post-item:hover .instagram-post-overlay {
  opacity: 1;
}

.instagram-post-stats {
  display: flex;
  gap: 1.5rem;
  color: white;
}

.instagram-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.instagram-stat svg {
  fill: currentColor;
}

/* Instagram Modal */
.instagram-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.instagram-modal.active {
  opacity: 1;
  visibility: visible;
}

.instagram-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.instagram-modal-content {
  position: relative;
  background: white;
  border-radius: 12px;
  max-width: 90vw;
  max-height: 90vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.instagram-modal-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease;
}

.instagram-modal-close:hover {
  background: rgba(0, 0, 0, 0.9);
}

.instagram-modal-close svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.instagram-modal-body {
  display: flex;
  max-height: 90vh;
  overflow-y: auto;
}

.instagram-modal-image-container {
  position: relative;
  width: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.instagram-modal-image {
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.instagram-modal-video-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.instagram-modal-video-badge svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.instagram-modal-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 50vw;
  min-width: 35vw;
}

.instagram-modal-stats {
  display: flex;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e5e5;
}

.instagram-modal-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}

.instagram-modal-stat svg {
  fill: currentColor;
}

.instagram-modal-caption {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.instagram-modal-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  margin-top: 0.5rem;
  transition: color 0.2s ease;
}

.instagram-modal-link:hover {
  color: #0052a3;
  text-decoration: underline;
}

.instagram-modal-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Responsive Design */
@media (max-width: 767px) {
  .instagram-feed-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .instagram-post-stats {
    gap: 1rem;
  }

  .instagram-stat {
    font-size: 0.875rem;
  }

  .instagram-modal-content {
    max-width: 95vw;
    max-height: 95vh;
    border-radius: 8px;
  }

  .instagram-modal-body {
    flex-direction: column;
  }

  .instagram-modal-image-container {
    min-height: 300px;
    max-height: 60vh;
  }

  .instagram-modal-image {
    max-height: 60vh;
  }

  .instagram-modal-info {
    padding: 1rem;
  }

  .instagram-modal-stats {
    gap: 0.75rem;
  }

  .instagram-modal-stat {
    font-size: 0.9rem;
  }

  .instagram-modal-stat svg {
    width: 20px;
    height: 20px;
  }

  .instagram-modal-caption {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .instagram-feed-grid {
    gap: 0.5rem;
  }

  .instagram-post-stats {
    gap: 0.75rem;
  }

  .instagram-stat {
    font-size: 0.8rem;
  }
}
/******************** End of Instagram Feed Styles ********************/

/******************** Why Choose Us Block Styles ********************/
.why-choose-us-section {
  padding: 2rem 0;
}

.why-choose-us-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  width: 100%;
}

.why-choose-us-title-wrapper .h2-sts {
  margin: 0;
  white-space: nowrap;
}

.why-choose-us-line {
  flex: 1;
  height: 1px;
  background-color: var(--color-text-global);
  display: block;
  max-width: 200px;
}

.why-choose-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2rem 1.5rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.why-choose-us-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.why-choose-us-icon-wrapper {
  width: 100%;
  max-width: 5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-choose-us-icon {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.why-choose-us-headline {
  margin-top: 0.5rem;
  margin-bottom: 0;
  text-align: center;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .why-choose-us-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 1fr;
    gap: 2rem;
  }

  .why-choose-us-icon-wrapper {
    max-width: 4rem;
    margin-bottom: 1.25rem;
  }
}

@media (max-width: 767px) {
  .why-choose-us-section {
    padding: 1.5rem 0;
  }

  .why-choose-us-grid {
    gap: 1.5rem 1rem;
  }

  .why-choose-us-icon-wrapper {
    max-width: 3rem;
    margin-bottom: 0.75rem;
  }
}
/******************** End of Why Choose Us Block Styles ********************/
