/* Voucher Shop Styles */
 .no-data-message {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    background-color: #6631F7;
    padding: 20px;
    border-radius: 10px;
    font-family: 'Oxanium';
    font-size: 20px;
	    margin-top: 50px !important;
}



.newssearch input[type="text"] {
  width: 100%;
  max-width: 400px;
  padding:7px 18px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  outline: none;
  background-color: #ffffff;
  color:#000;
}

.newssearch input[type="text"]::placeholder {
  color: #999;
  font-style: italic;
}

.newssearch input[type="text"]:focus {
  box-shadow: 0 0 0 3px rgba(100, 149, 237, 0.3);
  background-color: #f9f9f9;
}
/* Base styles */
body {
    background: linear-gradient(135deg, #1a0d35 0%, #2d1152 100%);
    background-color: #1a0d35; /* Fallback */
    color: #fff;
    font-family: 'Roboto', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Hero section with main heading */
.vouchers-hero {
    padding: 100px 0 30px 0px;
    text-align: center;
    background-image: url('/wp-content/uploads/2024/06/shopBanner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    /*height: 450px;*/
    display: flex;
    align-items: center;
}

.vouchers-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 13, 53, 0.7);
    z-index: 1;
}

.vouchers-hero .container {
    position: relative;
    z-index: 2;
}

/* Main heading */
.vouchers-collection {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 1px;
    text-align: left;
    font-size: 100px !important;
}
.entry-header.with-topbar{
    display: none;
}
/* Vouchers container */
.vouchers-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
}

/* Filter row */
.voucher-filter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.showing-results {
    color: #fff;
    font-size: 0.9rem;
}

.default-sorting {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
}

/* Voucher grid - exactly as in screenshot */
.vouchers-grid {
    display: grid; 
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 0px;
}

/* Voucher item container */
.voucher-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Voucher card styling - exactly matching screenshot */
.voucher-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1/1;
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    margin-bottom: 5px;
}

.voucher-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.voucher-image {
    width: 100%;
    height: 100%;
    border-radius: 25px;
}

.voucher-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    height: 100%;
    border-radius: 25px;
}

.voucher-name {
    color: #fff;
    padding: 10px 0;
    font-weight: 400;
    width: 100%;
    white-space: normal;
    font-size: 20px;
    padding: 20px;
    font-family: "Oxanium";
}

/* No vouchers message */
.no-vouchers-found {
    text-align: center;
    color: #fff;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

/* Footer links section */
.footer-links-section {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 40px 0;
    margin-top: 30px;
}

.footer-links-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.footer-column h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #fff;
}

/* Help box */
.help-box {
    background-color: rgba(86, 43, 176, 0.3);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.help-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.help-icon img {
    width: 40px;
    height: 40px;
}

.help-box p {
    margin-bottom: 15px;
    color: #ddd;
}

.contact-us-btn {
    display: inline-block;
    background-color: #6c42d1;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.contact-us-btn:hover {
    background-color: #8456e9;
}

.entry-header.single-page-header {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .vouchers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .vouchers-collection {
        font-size: 2.5rem;
    }
	
	.vouchers-hero .vouchers-collection {
  font-size: 36px;
}
}

@media (max-width: 767px) {
    .vouchers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .voucher-filter-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .vouchers-collection {
        font-size: 2rem;
    }
    
    .footer-links-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
	.voucher-filter-row.d-none {
  display: inline-block;
}
.voucher-sorting , .newssearch{
  width: 50%;
  float: left;
}

.voucher-sorting label {
	display:none;
}
	
	
    .vouchers-grid {
        /*grid-template-columns: 1fr;*/
		 grid-template-columns: repeat(2, 1fr);
    }
    
    .vouchers-collection {
        font-size: 1.8rem;
    }
}

/* Voucher Detail Page Styles */

/* Main container */
.voucher-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 150px;
}

/* Two-column layout */
.voucher-detail-layout {
    /*display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;*/
	
	 display: flex;
  gap: 20px;          /* Adds space between the two boxes */
  align-items: flex-start;  /* Prevents equal height */
}

/* Left column - Voucher information */
.voucher-info-column {
    background-color: #291767;
    border-radius: 12px;
    padding: 30px;
    color: #fff;
    position: relative;
	flex: 1;
}

/* Voucher title */
.voucher-title {
    font-size: 34px;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0 0 15px 0;
    color: #fff;
    font-family: "Bebas Neue";
}

/* Price range */
.voucher-price-range {
    margin-bottom: 20px;
}

.voucher-price-range p {
    font-size: 26px;
    font-weight: 600;
    margin: 0;
    font-family: poppins;
    letter-spacing: -0.03em;
}

/* Description */
.voucher-description {
    margin-bottom: 30px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Denomination cards grid */
.denomination-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 100px;
}

/* Denomination card */
.denomination-card {
    background-color: #3a1b66;
    border: 2px solid #3a1b66;
    border-radius: 8px;
    padding: 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.denomination-card.selected {
    border-color: #fff;
    background-color: #4c2786;
}

.denomination-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.denomination-card-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45px;
    margin-bottom: 10px;
}

.denomination-card img,
.denomination-icon img {
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
}

.denomination-price {
    font-size: 12px;
    font-weight: 500;
	font-family: poppins;
}

/* Add to cart section */
.add-to-cart-section {
    margin-top: 20px;
    background-color: #6631F7;
    border-radius:0 0 8px 8px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 20px;
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
}
.selected-price {
    color: #fff;
    font-size: 26px;
    font-weight: 600;
	
    /*font-family: "Oxanium", sans-serif;*/
	font-family: poppins;
}
.voucher-description p{
	font-family: "Oxanium", sans-serif;
}
.add-to-cart-button {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 30px;
    padding: 10px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    font-family: "Oxanium";
    font-size: 20px;
    line-height: 25px;
    border: 1px solid #ffffff !important;
}
.add-to-cart-button:hover {
    background-color: #fff;
    color: #6c42d1;
    border-width: 1px !important;
}

/* Right column - Voucher image */
.voucher-image-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-radius: 25px;
	flex: 1;
}

.voucher-primary-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: 100%;
    border-radius: 25px;
}

/* Thumbnails */
.voucher-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
	cursor:pointer;
}

/* .voucher-thumbnail {
    background-color: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
} */

.voucher-thumbnail img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
}
/* Cart Validation Message Styling */
.cart-validation-message {
    margin: 20px 0;
    padding: 15px;
    background-color: #6c42d1;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-in-out;
    position: absolute;
    bottom: 67px;
    width: 100%;
    left: 0;
}
.voucher-item a {
    text-align: left;
    width: 100%;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.validation-message-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.validation-icon {
    font-size: 20px;
    margin-right: 10px;
}

.validation-message-inner p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}
.voucher-sorting {
    display: flex;
    gap: 20px;
    align-items: center;
}
.voucher-sorting select {
    padding: 8px 15px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(30, 30, 60, 0.8);
    color: white;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 30px;
}
/* Responsive adjustments */
@media (max-width: 767px) {
    .cart-validation-message {
        padding: 12px;
    }
    
    .validation-message-inner p {
        font-size: 14px;
    }
}
/* Responsive styles */
@media (max-width: 991px) {
    .voucher-detail-layout {
        grid-template-columns: 1fr;
		display: grid;
    }
    
    .voucher-image-column {
        order: -1;
    }
}

@media (max-width: 767px) {
    .denomination-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .denomination-cards-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 991px) {
    .add-to-cart-section {
        padding: 12px 15px;
    }
    
    .selected-price {
        font-size: 18px;
    }
    
    .add-to-cart-button {
        padding: 8px 20px;
        font-size: 14px;
    }
    .voucher-detail-container{
        padding-top: 50px;
    }
}

@media (max-width: 480px) {
    .add-to-cart-section {
        flex-direction: column;
        gap: 15px;
    }
    
    .add-to-cart-button {
        width: 100%;
    }
}