/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #4A523A;
    background-color: #F5F8ED;
    position: relative;
    overflow-x: hidden;
}

/* Garden Background Section */
.garden-background-section {
    position: relative;
    min-height: 100vh;
    opacity: 0;
    animation: fadeInBackground 2s ease-out forwards;
    overflow: hidden;
}

/* Sharp background layer - always visible */
.garden-background-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/garden.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

/* Blurred background layer - fades in */
.garden-background-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/garden.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: blur(3px);
    z-index: -1;
    opacity: 0;
    transition: opacity 4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes fadeInBackground {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Container for invitation and header */
.invitation-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(50px);
    animation: dropInInvitation 1.5s ease-out 1s forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

@keyframes dropInInvitation {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Overlay layer - fades in */
.garden-background-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(245, 248, 237, 1), rgba(245, 248, 237, 1));
    z-index: -1;
    opacity: 0;
    transition: opacity 4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Blur and dimming effect for background when invitation appears */
.garden-background-section.invitation-loaded::after,
.garden-background-section.invitation-loaded .overlay {
    opacity: 1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    text-align: center;
    padding: 40px 0 30px;
}

.countdown-banner {
    background: linear-gradient(135deg, #AAB296 0%, #73995C 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(170, 178, 150, 0.3);
}

/* Main Content */
.main-content {
    padding: 40px 20px;
    max-width: 1800px;
    margin: 0 auto;
    width: 100%;
    background-color: #F5F8ED;
    position: relative;
    z-index: 1;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.page-title {
    font-family: 'Lato', Arial, Helvetica, sans-serif;
    font-size: 2.5rem;
    color: #4A523A;
    margin: 0;
}

.controls {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.filter-section, .sort-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-section label, .sort-section label {
    font-weight: 600;
    color: #4A523A;
    font-size: 0.9rem;
}

.filter-buttons, .sort-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn, .sort-btn {
    padding: 8px 16px;
    border: 2px solid #E6D9C2;
    background: white;
    color: #8C8273;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover, .sort-btn:hover {
    border-color: #73995C;
    color: #73995C;
}

.filter-btn.active, .sort-btn.active {
    background: #73995C;
    border-color: #73995C;
    color: white;
}

/* Gifts Grid */
.gifts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    margin: 0 auto 60px;
    max-width: 1600px;
}

@media (min-width: 1200px) {
    .gifts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gift-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    min-height: 450px;
}

.gift-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gift-image {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #AAB296 0%, #73995C 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.gift-image.has-image {
    background: none;
    padding: 0;
}

.gift-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.gift-image .fallback-emoji {
    display: none;
    font-size: 3rem;
    color: #73995C;
    background: rgba(255, 255, 255, 0.9);
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.gift-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="gift-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23gift-pattern)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.gift-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    flex: 1;
}

.gift-title {
    font-family: 'Lato', Arial, Helvetica, sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #4A523A;
    margin-bottom: 15px;
    line-height: 1.4;
}

.gift-description {
    color: #8C8273;
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.6;
    flex: 1;
}

.gift-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #73995C;
    margin-bottom: 20px;
    margin-top: auto;
}

.gift-link {
    display: inline-block;
    background: linear-gradient(135deg, #AAB296 0%, #73995C 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.gift-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(170, 178, 150, 0.4);
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid #E6D9C2;
}

.visitor-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #8C8273;
    font-size: 0.9rem;
    min-height: 1.2em;
}

.visitor-counter #visitor-count {
    min-width: 250px;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    line-height: 1.2;
    display: inline-block;
}

.visitor-counter i {
    color: #73995C;
    animation: heartbeat 2s infinite;
}

.visitor-counter.loading #visitor-count {
    animation: pulse 1.5s infinite;
    opacity: 0.7;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .content-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .controls {
        flex-direction: column;
        gap: 20px;
    }
    
    .gifts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gift-card {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .countdown-banner {
        font-size: 0.9rem;
        padding: 12px 20px;
    }
    
    .gift-content {
        padding: 20px;
    }
    
    .gift-title {
        font-size: 1.1rem;
    }
}

/* Responsive design for invitation card */
@media (max-width: 768px) {
    .garden-background-section {
        background-attachment: scroll; /* Better performance on mobile */
    }
    
    .invitation-card {
        margin: 20px auto 40px;
        max-width: 95%;
    }
    
    .invitation-content {
        padding-top: 15px;
        padding-bottom: 30px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .golden-frame {
        width: 350px;
        height: 350px;
        max-width: 100%;
        max-height: 100%;
        margin: 0 auto 0px;
    }
    
    .couple-names-frame {
        font-size: 3.2rem;
        line-height: 0.9;
    }
    
    .invite-word {
        font-size: 1.4rem;
        letter-spacing: 1.5px;
    }
    
    .family-text {
        font-size: 1.5rem;
    }
    
    .celebration-text {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .date-time, .venue {
        font-size: 1.1rem;
        letter-spacing: 0.8px;
    }
    
    .address-line {
        font-size: 1rem;
    }
    
    .inv-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-width: 80px;
    }
    
    .rsvp-instructions {
        font-size: 0.7rem;
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .invitation-card {
        margin: 15px auto 30px;
        max-width: 98%;
    }
    
    .invitation-content {
        padding-top: 10px;
        padding-bottom: 25px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .golden-frame {
        width: 280px;
        height: 280px;
        max-width: 100%;
        max-height: 100%;
        margin: 0 auto 0px;
    }
    
    .couple-names-frame {
        font-size: 2.5rem;
        line-height: 1;
    }
    
    .invite-word {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .family-text {
        font-size: 1.3rem;
    }
    
    .celebration-text {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .date-time, .venue {
        font-size: 1rem;
        letter-spacing: 0.5px;
    }
    
    .address-line {
        font-size: 0.9rem;
    }
    
    .invitation-buttons {
        gap: 15px;
        margin: 25px 0;
    }
    
    .inv-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
        min-width: 70px;
    }
    
    .rsvp-instructions {
        font-size: 0.65rem;
        max-width: 300px;
    }
    
    .separator-image {
        width: 25px;
    }
}

@media (max-width: 360px) {
    .golden-frame {
        width: 240px;
        height: 240px;
        max-width: 100%;
        max-height: 100%;
    }
    
    .couple-names-frame {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .invite-word {
        font-size: 1.1rem;
    }
    
    .family-text {
        font-size: 1.1rem;
    }
    
    .celebration-text {
        font-size: 0.9rem;
    }
    
    .date-time, .venue {
        font-size: 0.9rem;
    }
    
    .address-line {
        font-size: 0.8rem;
    }
    
    .inv-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
        min-width: 60px;
    }
}

/* Virtual Invitation Card - Matching Design */
.invitation-card {
    margin: 40px auto 60px;
    max-width: 600px;
    perspective: 1000px;
    /* cursor: pointer; */
}

.invitation-border {
    /* d5a369 */
    background: linear-gradient(135deg, rgba(213, 163, 105, 0.75), rgba(213, 163, 105, 0.05), rgba(213, 163, 105, 0.75));
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.invitation-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.36),
        rgba(255, 255, 255, 0.68),
        rgba(255, 255, 255, 0.46),
        transparent
    );
    background-position: var(--shine-x, -100%) 0;
    background-size: 200% 100%;
    border-radius: 12px;
    transition: background-position 0.1s ease-out;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    clip-path: polygon(
        0 0, 
        100% 0, 
        100% 100%, 
        0 100%, 
        0 0,
        12px 12px,
        12px calc(100% - 12px),
        calc(100% - 12px) calc(100% - 12px),
        calc(100% - 12px) 12px,
        12px 12px
    );
}

.invitation-border.shine::before {
    opacity: 1;
    background-position: var(--shine-x, 100%) 0;
}

.invitation-content {
    background-color: #EBF2E5;
    background-image: url('images/convite-fundo.png');
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 3px;
    border: none;
    padding-top: 20px;
    padding-bottom: 40px;
    padding-left: 30px;
    padding-right: 30px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 1px 8px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
    text-align: center;
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.invitation-card.hovering .invitation-content {
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Golden Frame */
.golden-frame {
    position: relative;
    width: 500px;
    height: 500px;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto -45px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.frame-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.frame-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.frame-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: filter 0.1s ease-out;
}

.frame-image-container.shine .frame-image {
    filter: brightness(1.025);
}

.frame-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
}

.frame-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.couple-names-frame {
    font-family: 'Allura', cursive;
    font-size: 4.5rem;
    color: #4A523A;
    margin: 0;
    font-weight: 400;
    z-index: 2;
    position: relative;
    line-height: 0.8;
}

/* Invitation Text */
.invitation-text-section {
    margin: 0px 0;
}

.invite-word {
    font-size: 1.35rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #5a6346;
    margin: 0 0 0px 0;
    letter-spacing: 2px;
}

.family-text {
    font-size: 1.6rem;
    color: #c09355;
    margin: 0px 0;
    font-family: 'EB Garamond', serif;
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.5px;
    line-height: 1.1;
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        90deg,
        #c09355,
        #c09355,
        #c09355
    );
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    transition: background 0.1s ease-out;
}

.family-text.shine {
    background: linear-gradient(
        90deg,
        #c09355,
        #d4b076,
        #e0c08a,
        #d4b076,
        #c09355
    );
    background-clip: text;
    -webkit-background-clip: text;
    background-size: 200% 100%;
    background-position: var(--shine-x, 0%) 0;
}

.celebration-text {
    font-size: 1.35rem;
    color: #c09355;
    margin: 4px 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-bottom: 30px;
}

.garamond-text {
    font-family: 'EB Garamond', serif;
    font-weight: 700;
    font-style: italic;
    color: #5a6346;
}

.celebration-text strong {
    color: #4A523A;
    font-weight: bold;
}

/* Event Details */
.event-details {
    margin: 0px 0;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 8px 12px;
}

.event-details:hover {
    background-color: rgba(115, 153, 92, 0.1);
    transform: translateY(-1px);
}

.date-time, .venue {
    font-size: 1.3rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #5a6346;
    margin: 2px 0;
    letter-spacing: 1px;
    line-height: 1.3;
}

/* Decorative Divider */
.decorative-divider {
    margin-top: 10px;
    margin-bottom: 10px;
}

.separator-image {
    width: 30px;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* Address */
.address-section {
    margin: 0px 0;
}

.address-link {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: block;
    border-radius: 8px;
    padding: 8px 12px;
    margin: -8px -12px;
}

.address-link:hover {
    color: #73995C;
    transform: translateY(-1px);
    background-color: rgba(115, 153, 92, 0.1);
}

.address-line {
    font-size: 1.1rem;
    color: #5a6346;
    margin: 1px 0;
    font-family: 'EB Garamond', serif;
    font-weight: 400;
    line-height: 1.2;
}

.address-icon {
    font-size: 0.9rem;
    color: #73995C;
    margin-right: 6px;
}

/* Buttons */
.invitation-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 35px 0;
    flex-wrap: wrap;
}

.inv-btn {
    background: #f8f9fa;
    color: #5a6346;
    border: 1.2px solid #8C8273;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 90px;
}

.inv-btn.rsvp-btn {
    background: #d5a369;
    color: white;
    border-color: #c09355;
    position: relative;
    overflow: hidden;
}

.inv-btn.rsvp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: var(--shine-x, -100%);
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        rgba(255, 255, 255, 0.6),
        rgba(255, 255, 255, 0.4),
        transparent
    );
    background-size: 200% 100%;
    transition: left 0.1s ease-out;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
}

.inv-btn.rsvp-btn.shine::before {
    opacity: 1;
    left: var(--shine-x, 100%);
}

.inv-btn.rsvp-btn:hover {
    background: #a67c3f;
    border-color: #a67c3f;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(192, 147, 85, 0.4);
}

.inv-btn.gifts-btn {
    background: #d7e6cd;
    color: #5a6346;
    border-color: #5a6346;
}

.inv-btn.gifts-btn:hover {
    background: #5a6346;
    border-color: #5a6346;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(90, 99, 70, 0.4);
}

/* RSVP Instructions */
.rsvp-instructions {
    font-size: 0.75rem;
    color: #8C8273;
    margin-top: 0px;
    line-height: 1.4;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'EB Garamond', serif;
    font-weight: 400;
}

/* Loading Animation */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    font-size: 1.2rem;
    color: #8C8273;
}

/* Category badges */
.category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: #73995C;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px 20px;
    border-bottom: 1px solid #E6D9C2;
}

.modal-title {
    font-family: 'Lato', Arial, Helvetica, sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #4A523A;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #8C8273;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: #F5F8ED;
    color: #4A523A;
}

.modal-body {
    display: flex;
    padding: 30px;
    gap: 30px;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-image-container {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-emoji-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #AAB296 0%, #73995C 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-emoji {
    font-size: 8rem;
    color: white;
}

.modal-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #8C8273;
    margin: 0;
}

.modal-price {
    font-size: 2rem;
    font-weight: 700;
    color: #73995C;
    margin: 0;
}

.modal-category-badge {
    display: inline-block;
    background: #F5F8ED;
    color: #73995C;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid #E6D9C2;
}

.modal-footer {
    padding: 20px 30px 30px;
    border-top: 1px solid #E6D9C2;
    text-align: center;
}

.modal-buy-btn {
    display: inline-block;
    background: linear-gradient(135deg, #AAB296 0%, #73995C 100%);
    color: white;
    padding: 15px 40px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-width: 200px;
}

.modal-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(170, 178, 150, 0.4);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .modal-body {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    
    .modal-image-container {
        min-width: auto;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .modal-price {
        font-size: 1.6rem;
    }
} 