/**
 * Elementor Widgets Styling - Ohyeah Booking
 */

.ohyeah-archive-grid {
    display: grid;
    gap: 30px;
    margin: 20px 0;
}

.ohyeah-cols-1 { grid-template-columns: 1fr; }
.ohyeah-cols-2 { grid-template-columns: repeat(2, 1fr); }
.ohyeah-cols-3 { grid-template-columns: repeat(3, 1fr); }
.ohyeah-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Tour Card Styling */
.ohyeah-tour-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
}

.ohyeah-tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Image Section */
.ohyeah-tour-card-image {
    position: relative;
    padding-top: 60%; /* Aspect Ratio */
    background: #f8fafc;
    overflow: hidden;
}

.ohyeah-tour-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ohyeah-tour-card:hover .ohyeah-tour-card-image img {
    transform: scale(1.05);
}

/* Badges */
.ohyeah-tour-card-badge-top {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 5;
}

.ohyeah-wishlist-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ohyeah-wishlist-icon:hover {
    background: #fff;
    color: #ef4444;
}

.ohyeah-tour-card-badge-bottom {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 5;
}

.ohyeah-badge-avatar {
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 2px solid #fff;
}

/* Card Body */
.ohyeah-tour-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ohyeah-tour-title {
    margin: 0 0 12px 0 !important;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.ohyeah-tour-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s;
}

.ohyeah-tour-title a:hover {
    color: #3b82f6;
}

.ohyeah-tour-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
}

.ohyeah-rating-star {
    color: #f59e0b;
    font-size: 14px;
}

.ohyeah-rating-value {
    font-weight: 700;
    color: #1e293b;
}

/* Footer Section */
.ohyeah-tour-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ohyeah-tour-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
}

.price-value {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

.ohyeah-tour-duration {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
}

.ohyeah-tour-duration .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #94a3b8;
}

/* Responsiveness */
@media (max-width: 991px) {
    .ohyeah-cols-3, .ohyeah-cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .ohyeah-cols-2, .ohyeah-cols-3, .ohyeah-cols-4 { grid-template-columns: 1fr; }
    .ohyeah-tour-card-body { padding: 20px; }
}

/* Category List Styling */
.ohyeah-category-wrapper {
    margin: 30px 0;
    position: relative;
}

.ohyeah-category-grid {
    display: grid;
    gap: 30px;
}

.ohyeah-category-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.ohyeah-category-link {
    text-decoration: none !important;
    display: block;
}

.ohyeah-category-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    background: #f1f5f9;
}

.ohyeah-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ohyeah-category-card:hover .ohyeah-category-image img {
    transform: scale(1.1);
}

.ohyeah-cat-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 5px 0 !important;
}

.ohyeah-cat-count {
    font-size: 14px;
    color: #64748b;
    margin: 0 !important;
    font-weight: 500;
}

/* Carousel Overrides */
.ohyeah-category-carousel {
    padding: 10px 0 50px 0;
}

.ohyeah-category-carousel .swiper-button-next,
.ohyeah-category-carousel .swiper-button-prev {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: #0f172a;
}

.ohyeah-category-carousel .swiper-button-next:after,
.ohyeah-category-carousel .swiper-button-prev:after {
    font-size: 18px;
    font-weight: 700;
}
