:root {
  --color-gold: #e4ba79;
  --color-dark-blue: #0d2c4a;
  --color-white: #ffffff;
  --color-light-gray-text: #cccccc;
  --color-input-icon: #a0a0a0;
  --color-input-placeholder: #a8b4bf;
  --color-input-name-bg: #5a6156;
  --color-input-other-bg: #3c4f60;
  --color-input-border: #6f7b87;
  --color-button-text-dark: #333333;
  --font-vogue: "1FTV VIP Vogue", serif;
  --font-reey: "1K Reey", cursive;
  --font-beausans: "BT Beau Sans", sans-serif;
  --font-default: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.sub-heading-reey {
  color: #e4ba79;
  text-align: center;
  font-family: "1K Reey";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.heading-vogue.sub-title {
  font-size: 2.8em;
  margin-top: 0;
  margin-bottom: 20px;
}
.heading-vogue {
  color: #e4ba79;

  text-align: center;
  font-family: "1FTV VIP Vogue";
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 110%; /* 52.8px */
}
.description-beausans {
  color: var(--White, #fff);
  text-align: center;
  /* M_Heading/H4: Regular */
  font-family: "BT Beau Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.product_main {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  padding: 15px 0;
  margin-bottom: 15px;
  border-bottom: 1px solid #fff;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.card-container {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.card-image {
  height: 360px;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card-container:hover .card-image img {
  transform: scale(1.05);
}

.hover-buttons {
	position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* height: 100%; */
    /* background-color: hsl(36deg 66% 68% / 20%); */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 30px;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.card-container:hover{
	
}
.card-container:hover .hover-buttons {
  opacity: 1;
  pointer-events: auto;
}

.cart-btn,
.checkout-btn {
    background-color: #E4BA79;
    color: #0a1a2f;
    border: none;
    padding: 10px 26px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
    justify-content: center;
}
.cart-btn {
  background-color: #fff;
}
.cart-btn:hover,
.checkout-btn:hover {
  background-color: #e8b978;
}
.btn-icon img {
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.checkout-btn {
	background-color: #E4BA79;
    color: #0a1a2f;
    width: 80%;
    text-align: center;
    font-weight: 500;
}

.checkout-btn:hover {
  background-color: #e8b978;
}

.card-footer {
  padding: 10px 0;
  color: #fff;
  font-weight: bold;
  display: grid;
}

.card-title {
  font-size: 14px;
  text-transform: uppercase;
}

.card-price {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
}
.fancybox__content {
  width: 90%;
  padding: 0 !important;
}
.product-list {
  display: block;
}

/* Hide the template initially */
#giftcard-popup-template {
  display: none;
}

.detailed-view-main-area {
  /* Renamed class */
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.detailed-view-image-container {
  /* Renamed class */
  flex-shrink: 0;
  width: 300px;
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  overflow: hidden;
}

.detailed-view-image-container img {
  display: block;
  width: 100%;
  height: auto;
}

.detailed-view-section {
  /* Renamed class */
  flex-grow: 1;
  flex-basis: 200px;
}

.detailed-view-section h3 {
  color: #8c8c8c;
  font-size: 1em;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 10px;
  font-family: "BT Beau Sans";
}

.detailed-view-section p,
.detailed-view-section ul {
  color: #000;
  font-size: 0.9em;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

.detailed-view-section ul {
  list-style: disc;
  padding-left: 20px;
}

.detailed-view-section ul li {
  margin-bottom: 5px;
  list-style: disc;
}

.detailed-view-expiration p {
  /* Renamed class */
  color: #0a2c4a;
  font-weight: 600;
  font-size: 1em;
}

.detailed-view-buttons {
  /* Renamed class */
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex-shrink: 0;
  width: 180px;
  margin-left: auto;
  align-items: flex-end;
  margin-top: 20px;
}

.detailed-view-buttons button {
  padding: 12px 20px;
  font-size: 1em;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  text-align: center;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.detailed-view-buy-now {
  /* Renamed class */
  background-color: #0a2c4a;
  color: #fff;
}

.detailed-view-add-to-card {
  /* Renamed class */
  background-color: #fcfaf2;
  color: #0a2c4a;
  border: 1px solid #0a2c4a;
}

.detailed-view-buttons button:hover {
  opacity: 0.9;
}
.giftcard-detailed-view {
  /* Renamed class for clarity */
  background-color: #fcfaf2; /* Match your page background */
  border-radius: 8px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  max-width: 100%; /* Limit width */
  box-sizing: border-box;
  /* For popup, Fancybox handles margin/display. For mobile, CSS controls it. */
}

.giftcard-detailed-view h2 {
  color: #0a2c4a; /* Dark blue */
  font-size: 2em; /* Adjust size as needed */
  font-weight: 600; /* Semi-bold */
  margin-top: 0;
  margin-bottom: 30px;
}
.giftcard-mobile-details {
  display: none;
}
@media (max-width: 768px) {
	.container {
		width:100%;
	}
  .giftcard-mobile-details {
    display: block;
  }
  .sub-heading-reey {
    font-size: 12px;
  }
  .heading-vogue.sub-title {
    font-size: 24px;
  }
  .description-beausans {
    font-size: 13px;
  }
  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .card-container {
    height: 240px;
  }

  .card-image {
    height: 180px;
  }
  .cart-btn,
  .checkout-btn {
    padding: 8px 10px;
  }
  .fancybox__slide {
    padding: 130px 8px 8px 8px !important;
  }
  .product-list {
    display: none;
  }

  .popup-main-area {
    flex-direction: column;
    gap: 30px;
  }

  .popup-image-container {
    width: 100%; /* Image takes full width */
    max-width: 400px; /* Limit max width even when full width */
    margin: 0 auto; /* Center the image */
  }
  .detailed-view-main-area {
    flex-direction: column;
    gap: 30px;
  }

  .detailed-view-image-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .detailed-view-buttons button {
    width: 100%;
    border: 1px solid;
  }

  .detailed-view-section {
    flex-basis: auto;
  }
  .detailed-view-buttons {
    width: 100%;
    margin-left: 0;
    align-items: stretch;
    margin-top: 0;
    flex-direction: row-reverse;
  }
  .detailed-view-section-group {
    display: flex;
    justify-content: space-between;
  }
  .detailed-view-section-group .detailed-view-section {
    width: 48%;
    flex-grow: unset;
  }
  .popup-buttons button {
    width: 100%; /* Buttons take full width */
  }

  .popup-section {
    flex-basis: auto; /* Remove flex-basis */
  }
  .detailed-view-add-to-card {
    border: 1px solid;
  }
}

@media (max-width: 480px) {
  .giftcard-popup-content h2 {
    font-size: 1.3em;
    text-align: center;
  }

  .giftcard-popup-content {
    padding: 20px;
  }
  .giftcard-detailed-view h2 {
    font-size: 1.5em;
    text-align: center;
  }

  .giftcard-detailed-view {
    padding: 20px;
    margin-bottom: 20px;
  }

  .detailed-view-section h3 {
    font-size: 0.9em;
  }

  .detailed-view-section p,
  .detailed-view-section ul {
    font-size: 0.85em;
  }

  .detailed-view-buttons button {
    padding: 10px 15px;
    font-size: 0.9em;
	justify-content: center;
  }
  .section-title {
    /* Adjust section title size for mobile */
    font-size: 1.5em;
  }
}
