.header-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 20px;
  padding-bottom: 20px;
  z-index: 1000;
  box-sizing: border-box;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}


.first-section {
  margin-top: 100px;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 60px 0;
  background-image: url('../images/Rectangle 204.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-blend-mode: darken;
}

.first-title {
  color: white;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 40px;
  text-align: center;
  margin: 0;
}

.detail-section {
    position: relative;
    padding-top: 40px;
    padding-bottom: 40px;
    width: 100%;
    /* background-color: #f8f9fa; */
}

.detail-container {
    width: 100%;
}

.main-content {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.business-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 15px;
}

.action-btn {
    width: 36px;
    height: 36px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.action-btn:hover {
    background-color: #4CAF50;
    color: white;
}

.business-name-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.business-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.business-nib {
    font-size: 16px;
    color: #FF9800;
    font-weight: 500;
}


.business-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.business-address i {
    color: #4CAF50;
    margin-top: 2px;
    flex-shrink: 0;
}

.business-details {
    margin-bottom: 20px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    justify-content: start;
    max-width: fit-content;
}

.detail-column {
    padding: 0 15px;
    text-align: left;
    position: relative;
    min-width: 120px;
}

.detail-column:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #e0e0e0;
}

.detail-title {
    font-size: 12px;
    color: #888;
    font-weight: 500;
    margin-bottom: 0px;
    padding-bottom: 8px;
    /* border-bottom: 1px solid #e0e0e0; */
}

.detail-value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    /* padding-top: 8px; */
}

.business-info-section {
    margin-bottom: 30px;
}

.info-row {
    display: flex;
    margin-bottom: 1px;
    align-items: center;
}

.info-label {
    background-color: #00A652;
    color: white;
    padding: 10px 15px;
    border: 1px solid #00A652;
    font-size: 14px;
    font-weight: 500;
    width: 20%;
    text-align: left;
    white-space: nowrap;
}

.info-value {
    background-color: #FFF;
    color: #333;
    padding: 10px 15px;
    border: 1px solid #AAA;
    font-size: 14px;
    font-weight: 500;
    flex: 1;
    text-align: left;
}


.contact-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;

}


.account-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 15px;
}

.account-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
    background: #fff;
}

.account-item:hover {
    background-color: #f8f9fa;
}

.account-logo {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.account-name {
    font-size: 12px;
    color: #333;
    font-weight: 500;
}



.products-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.product-card {
    display: flex;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 10px;
    gap: 12px;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.product-image {
    width: 130px;
    height: 130px;
    background-color: #f0f0f0;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.product-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
    flex: 1;
}

.product-badge {
    font-size: 10px;
    background-color: #ffebee;
    color: #c62828;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    margin-left: 8px;
}


.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.product-info p {
    font-size: 90%;
}

.product-name {
    font-size: 12px;
    color: #333;
    font-weight: 500;
    margin-bottom: 5px;
}

.product-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 14px;
    font-weight: bold;
    color: #4CAF50;
}

.product-btn {
    font-size: 12px;
    padding: 4px 8px;
    border: none;
    border-radius: 6px;
    background-color: #2196F3;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.product-btn:hover {
    background-color: #1976D2;
}



@media (max-width: 1024px) {
    .details-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {

}

@media (max-width: 768px) {
    .first-section {
        padding: 60px 0;
    }
    .first-title {
        font-size: 40px;
    }

            .business-name-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .business-address {
        flex-direction: column;
        gap: 5px;
    }

    .details-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 878px) {
    .info-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .info-label {
        width: 92%;
        margin-bottom: 10px;
    }

    .info-value {
        width: 92%;
        margin-bottom: 20px;
    }
}


@media (max-width: 480px) {

    .business-title {
        font-size: 20px;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .detail-column:not(:last-child)::after {
        display: none;
    }

    .detail-column:not(:last-child) {
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .product-card {
        flex-direction: column;
    }

    .product-image {
        width: 100%;
        height: 150px;
    }

    .product-info {
        padding: 15px;
    }
}
