/**
 * GetYourGuide Partner Essentials - Official Card Redesign (White Theme)
 */

:root {
    --gyg-blue: #00112c;
    --gyg-light-blue: #637381;
    --gyg-red: #d92d20;
    --gyg-bg: #f9fafb;
    --gyg-border: #e5e7eb;
    --gyg-radius: 16px;
    --gyg-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gyg-grid-container {
    padding: 40px 20px;
    background: var(--gyg-bg);
}

.gyg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 3rem;
}

/* HEADER */
.gyg-header {
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Inter', sans-serif;
}

.gyg-header h2 {
    color: var(--gyg-blue);
    font-size: 40px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.03em;
}

.gyg-header p {
    color: var(--gyg-light-blue);
    font-size: 16px;
    margin: 10px 0 0;
}

/* CARD */
.gyg-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--gyg-border);
    border-radius: var(--gyg-radius);
    overflow: hidden;
    text-decoration: none !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transition: var(--gyg-transition);
    height: 100%;
    color: inherit;
}

.gyg-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

/* MEDIA */
.gyg-card-media {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.gyg-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gyg-card:hover .gyg-card-media img {
    transform: scale(1.05);
}

.gyg-heart-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gyg-blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 5;
    transition: var(--gyg-transition);
}

.gyg-heart-btn:hover {
    transform: scale(1.1);
    color: var(--gyg-red);
}

/* BODY */
.gyg-card-body {
    padding: 16px;
    flex-grow: 1;
}

.gyg-location {
    font-size: 12px;
    font-weight: 700;
    color: var(--gyg-light-blue);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.gyg-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--gyg-blue);
    margin: 0 0 8px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gyg-details {
    font-size: 14px;
    color: var(--gyg-light-blue);
    line-height: 1.4;
}

/* FOOTER */
.gyg-card-footer {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid #f3f4f6;
}

.gyg-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: var(--gyg-blue);
}

.gyg-rating strong {
    font-weight: 700;
}

.gyg-star {
    color: var(--gyg-blue);
    font-size: 16px;
}

.gyg-reviews {
    color: var(--gyg-light-blue);
}

.gyg-price {
    display: flex;
    flex-direction: column;
    text-align: right;
    line-height: 1.2;
}

.gyg-old-price {
    font-size: 12px;
    color: var(--gyg-light-blue);
}

.gyg-old-price del {
    text-decoration: line-through;
}

.gyg-new-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--gyg-red);
}

/* SHOW MORE BUTTON REDESIGN - MATCHING IMAGE */
.gyg-show-more-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 60px;
}

.gyg-show-more-wrapper::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #e0f0ff;
    z-index: 1;
}

.gyg-show-more-btn {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border: 1px solid #0071eb;
    color: #0071eb;
    padding: 10px 48px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--gyg-transition);
    box-shadow: none;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: none;
}

.gyg-show-more-btn:hover {
    background: #f0f7ff;
    border-color: #005bb8;
    color: #005bb8;
    transform: translateY(0);
    box-shadow: none;
}

.gyg-show-more-btn::after {
    display: none; /* Removed arrow per image */
}

/* STAGGER */
.gyg-card {
    opacity: 0;
    transform: translateY(20px);
    animation: gyg-fade-in-up 0.5s ease-out forwards;
}

@keyframes gyg-fade-in-up {
    to { opacity: 1; transform: translateY(0); }
}

.gyg-card:nth-child(n) { animation-delay: calc(0.05s * var(--stagger-index, 0)); }

.gyg-card-hidden {
    display: none !important;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .gyg-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 640px) {
    .gyg-grid { grid-template-columns: 1fr; }
    .gyg-header h2 { font-size: 32px; }
}
