@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;700&display=swap');

/* Equipment Grid Container */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0;
    max-width: 100%;
    margin: 0 auto;
}

/* Equipment Item (Single Tile) */
.equipment-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background-color: #FFFFFF;
    background-image: url(https://www.minikop-wypozyczalnia.pl/wp-content/uploads/2022/07/biker4-wrap-bg1.svg);
    background-repeat: no-repeat;
    background-position: bottom right;
    transition: all 0.3s ease;
    padding-bottom: 80px;
    border: 2px solid #ffc700;
    box-sizing: border-box;
}

.equipment-item:hover {
    background-color: #ffc700;
    background-image: url(https://www.minikop-wypozyczalnia.pl/wp-content/uploads/2022/07/biker4-wrap-bg3.svg);
    text-decoration: none;
}

/* Equipment Thumbnail (Image Container) */
.equipment-thumbnail {
    width: 100%;
    height: 250px;
    margin: 0 auto;
    overflow: hidden;
    background-color: #FFFFFF;
}

.equipment-thumbnail img {
    width: 100%;
    height: 100% !important;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.equipment-item:hover .equipment-thumbnail img {
    transform: scale(1.05);
}

/* Equipment Content (Text Container) */
.equipment-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    text-align: center;
    padding: 20px 20px 0 20px;
}

.equipment-title {
    margin-bottom: 10px;
    font-family: 'Syne', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    letter-spacing: 0px;
    color: #002046;
    text-transform: uppercase;
}

.equipment-description {
    font-size: 13px;
    font-weight: normal;
    font-family: 'Syne', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #002046;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Equipment Pricing */
.equipment-pricing {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 32, 70, 0.15);
}

.equipment-pricing .price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 18px;
    padding: 0 10px;
}

.equipment-pricing .price-item:last-child {
    margin-bottom: 0;
}

.equipment-pricing .price-label {
    font-weight: 600;
    color: #002046;
    font-family: 'Lexend', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.equipment-pricing .price-value {
    font-weight: 700;
    color: #002046;
    font-family: 'Syne', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Responsive Grid */
@media (max-width: 1239px) and (min-width: 768px) {
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    
    .equipment-title {
        font-size: 18px;
        line-height: 24px;
    }
    
    .equipment-item {
        padding-bottom: 40px;
    }
}

.equipment-available {
    border-left: 4px solid #46b450;
}

.equipment-unavailable {
    border-left: 4px solid #dc3232;
}

.equipment-maintenance {
    border-left: 4px solid #ffb900;
}

/* Single Equipment Page Styles */
.equipment-single-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.equipment-category {
    margin-bottom: 1rem;
}

.category-label {
    display: inline-block;
    color: #0073aa;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-left: 1.5rem;
}

.category-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1rem;
    height: 2px;
    background-color: #0073aa;
    transform: translateY(-50%);
}

.equipment-header {
    margin-bottom: 2rem;
}

.equipment-header h1 {
    font-size: 2.5rem;
    color: #002046;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
    font-family: 'Syne', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    text-transform: uppercase;
}

.equipment-subtitle {
    font-size: 1.2rem;
    color: #002046;
    margin: 0;
    font-weight: 600;
    font-family: 'Lexend', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.equipment-flex-container {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.equipment-left-column {
    flex: 1;
    min-width: 0;
}

.equipment-right-column {
    flex: 1;
    min-width: 0;
}

.equipment-main-image {
    background: #FFFFFF;
    padding: 2rem;
    border: none;
    border-radius: 0;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.equipment-main-image img {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: contain;
    display: block;
}

.equipment-key-info {
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 0;
    margin-bottom: 2rem;
    border-left: 4px solid #ffc700;
}

.key-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #002046;
    font-family: 'Lexend', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-weight: 600;
}

.key-info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 24px;
    height: 24px;
    margin-right: 1rem;
    background-size: contain;
    background-repeat: no-repeat;
}

.price-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230073aa"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm.31-8.86c-1.77-.45-2.34-.94-2.34-1.67 0-.84.79-1.43 2.1-1.43 1.38 0 1.9.66 1.94 1.64h1.71c-.05-1.34-.87-2.57-2.49-2.97V5H10.9v1.69c-1.51.32-2.72 1.3-2.72 2.81 0 1.79 1.49 2.69 3.66 3.21 1.95.46 2.34 1.15 2.34 1.87 0 .53-.39 1.39-2.1 1.39-1.6 0-2.23-.72-2.32-1.64H8.04c.1 1.7 1.36 2.66 2.86 2.97V19h2.34v-1.67c1.52-.29 2.72-1.16 2.73-2.77-.01-2.2-1.9-2.96-3.66-3.42z"/></svg>');
}

.deposit-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230073aa"><path d="M21 18v1c0 1.1-.9 2-2 2H5c-1.11 0-2-.9-2-2V5c0-1.1.89-2 2-2h14c1.1 0 2 .9 2 2v1h-9c-1.11 0-2 .9-2 2v8c0 1.1.89 2 2 2h9zm-9-2h10V8H12v8zm4-2.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"/></svg>');
}

.fuel-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230073aa"><path d="M19.77 7.23l.01-.01-3.72-3.72L15 4.56l2.11 2.11c-.94.36-1.61 1.26-1.61 2.33 0 1.38 1.12 2.5 2.5 2.5.36 0 .69-.08 1-.21v7.21c0 .55-.45 1-1 1s-1-.45-1-1V14c0-1.1-.9-2-2-2h-1V5c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2v16h10v-7.5h1.5v5c0 1.38 1.12 2.5 2.5 2.5s2.5-1.12 2.5-2.5V9c0-.69-.28-1.32-.73-1.77zM12 10H6V5h6v5zm6 0c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"/></svg>');
}

.equipment-description {
    color: #002046;
    line-height: 1.8;
    font-size: 1.1rem;
    font-family: 'Lexend', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.equipment-details-section {
    border-top: 1px solid #e0e0e0;
    padding-top: 3rem;
    margin-top: 3rem;
}

.pricing-details {
    margin-bottom: 3rem;
}

.pricing-details h2,
.equipment-specs h2,
.equipment-additional h2 {
    font-size: 1.8rem;
    color: #002046;
    margin: 0 0 1.5rem 0;
    font-family: 'Syne', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-table {
    background: #FFFFFF;
    border: none;
    border-radius: 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0, 32, 70, 0.15);
    font-family: 'Lexend', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.price-row:last-child {
    border-bottom: none;
}

.price-row.deposit-row {
    background: #ffc700;
    font-weight: 700;
}

.price {
    font-weight: 700;
    color: #002046;
    font-family: 'Syne', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 1.2rem;
}

.specs-content {
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 0;
    line-height: 1.8;
    border-left: 4px solid #ffc700;
    font-family: 'Lexend', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #002046;
}

.additional-content {
    background: #FFFFFF;
    padding: 2rem;
    border: none;
    border-radius: 0;
    line-height: 1.8;
    font-family: 'Lexend', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #002046;
}

@media (max-width: 768px) {
    .equipment-flex-container {
        flex-direction: column;
    }

    .equipment-header h1 {
        font-size: 2rem;
    }

    .equipment-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .equipment-header h1 {
        font-size: 2rem;
    }

    .equipment-main-image {
        height: 300px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .specs-content {
        grid-template-columns: 1fr;
    }
}