main {
    padding-top: 80px;
}

@media (max-width: 768px) {
    main {
        padding: 0 20px;
    }
}

/* Gift Container */
.gift-container {

    width: fit-content;
    margin: 0 auto;
}

/* Product Hero Section */
.product-hero-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    width: 1200px;
    max-width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .product-hero-card {
        width: calc(100vw - 20px);
        padding: 16px;
        margin: 0 auto;
    }
}

.product-hero-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

@media (max-width: 768px) {
    .product-hero-header {
        flex-direction: column-reverse;
        gap: 0;
        align-items: center;
    }
}

.product-hero-logo {
    width: 228px;
    height: 73px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .product-hero-logo {
        width: 150px;
        height: auto;
    }
}

.product-hero-title {
    font-size: 40px;
    font-weight: 500;
    line-height: 50px;
    color: #0B0427;
    text-align: right;
    margin: 0;
}

@media (max-width: 768px) {
    .product-hero-title {
        font-size: 28px;
        line-height: 36px;
    }
}

.product-hero-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

@media (max-width: 768px) {
    .product-hero-image-container {
        height: auto;
        overflow: hidden;
    }
}

.product-hero-image {
    width: 758px;
    max-width: 100%;
    height: 370px;
    object-fit: cover;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .product-hero-image {
        width: 100%;
        height: auto;
        aspect-ratio: 758/370;
    }
}

/* Gift Card */
.gift-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    width: 1200px;
    max-width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .gift-card {
        width: 100%;
        padding: 16px;
        margin-bottom: 16px;
    }
}

/* Receive Gift Button */
.receive-gift-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background: #2020B3;
    border: 2px solid #fff;
    border-radius: 6px;
    width: 100%;
    height: 80px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.receive-gift-button span {
    font-size: 29px;
    font-weight: 600;
    line-height: 20px;
    color: #fff;
    text-align: center;
}

.receive-gift-button:hover {
    background: #1a1a99;
}

@media (max-width: 768px) {
    .receive-gift-button {
        height: 60px;
    }

    .receive-gift-button span {
        font-size: 22px;
    }
}

/* Product Details Section */
.product-details-section {
    display: flex;
    flex-direction: column;
    gap: 13px;
    width: 100%;
}

.section-divider {
    width: 100%;
    height: 1.5px;
    background: #E1E1E1;
    border: none;
    margin: 0;
}

.section-title {
    font-size: 29px;
    font-weight: 600;
    line-height: 34px;
    color: #000;
    text-align: right;
    margin: 0;
}

.product-description {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    color: #181818;
    text-align: right;
    width: 100%;
}

.product-description p {
    margin: 0;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 22px;
        line-height: 28px;
    }

    .product-description {
        font-size: 16px;
    }
}

/* Expiry Section */
.expiry-section {
    display: flex;
    flex-direction: column;
    gap: 13px;
    width: 100%;
}

.expiry-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    background: #FEF8EF;
    border-radius: 8px;
    width: 100%;
    height: 39px;
}

.expiry-text {
    font-size: 19px;
    font-weight: 600;
    line-height: 30px;
    color: #000;
    text-align: center;
}

@media (max-width: 768px) {
    .expiry-badge {
        height: auto;
        padding: 12px 16px;
    }

    .expiry-text {
        font-size: 16px;
        line-height: 1.4;
    }
}

/* Info Cards Section */
.info-cards-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    width: 1200px;
    max-width: 100%;
    margin-bottom: 100px;
}

@media (max-width: 768px) {
    .info-cards-container {
        flex-direction: column;
        width: 100%;
        margin-bottom: 50px;
    }
}

.info-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.info-card-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
}

.info-card-title {
    font-size: 22px;
    font-weight: 500;
    line-height: 50px;
    color: #0B0427;
    margin: 0;
}

.info-card-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.info-card.open .info-card-toggle {
    transform: rotate(180deg);
}

/* Accordion Content */
.info-card-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
}

.info-card.open .info-card-content {
    max-height: 2000px;
    opacity: 1;
    margin-top: 20px;
}

/* Info List */
.info-list {
    list-style-type: disc;
    padding-right: 20px;
    margin: 0;
    text-align: right;
}

.info-list li {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    color: #0B0427;
    margin-bottom: 4px;
}

.info-list li:last-child {
    margin-bottom: 0;
}

.info-link {
    color: #0B0427;
    text-decoration: underline;
}

/* Supplier Content */
.supplier-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.supplier-description {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    color: #0B0427;
    text-align: right;
    margin: 0;
}

/* Contact Phone */
.supplier-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-phone {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #0B0427;
}

.phone-numbers {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    font-size: 15px;
    font-weight: 400;
    color: #0B0427;
}

.phone-numbers .separator {
    color: #E1E1E1;
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-label {
    font-size: 15px;
    font-weight: 400;
    color: #0B0427;
    text-align: right;
}

.social-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.social-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #E1E1E1;
    border-radius: 8px;
    color: #0B0427;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: border-color 0.2s ease;
}

.social-button:hover {
    border-color: #5454D4;
}

.social-button svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Contact Form Section */
.contact-form-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #E1E1E1;
}

.contact-form-title {
    font-size: 18px;
    font-weight: 600;
    color: #0B0427;
    margin: 0 0 8px 0;
    text-align: right;
}

.contact-form-subtitle {
    font-size: 15px;
    font-weight: 400;
    color: #0B0427;
    margin: 0 0 20px 0;
    text-align: right;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.form-row.two-cols {
    flex-direction: row;
    gap: 16px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E1E1E1;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    color: #0B0427;
    background: #fff;
    text-align: right;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #5454D4;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #999;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2346494F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    padding-left: 40px;
    cursor: pointer;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: #2020B3;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
    align-self: flex-start;
}

.form-submit-button:hover {
    background: #1a1a99;
}

.form-submit-button svg {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .info-card-title {
        font-size: 18px;
        line-height: 1.4;
    }

    .social-buttons {
        justify-content: center;
    }

    .form-row.two-cols {
        flex-direction: column;
    }

    .form-submit-button {
        width: 100%;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    z-index: 9999999;
}

.modal-content {
    background: #fff;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

/* Modal Image */
.modal-image {
    width: 100%;
    height: 195px;
    overflow: hidden;
    border-radius: 9px 9px 0 0;
    margin: 12px;
    margin-bottom: 0;
    width: calc(100% - 24px);
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 9px;
}

/* Modal Body */
.modal-body {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    padding: 12px 20px;
}

/* Modal Logo */
.modal-logo {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.logo-text {
    font-size: 24px;
    font-weight: 400;
    color: #2020B3;
    text-decoration: underline;
}

.logo-text strong {
    font-weight: 700;
}

/* Modal Title & Subtitle */
.modal-title {
    font-size: 29px;
    font-weight: 600;
    line-height: 30px;
    color: #000;
    text-align: right;
    width: 100%;
    margin: 0;
}

.modal-subtitle {
    font-size: 23px;
    font-weight: 500;
    line-height: 32px;
    color: #000;
    text-align: right;
    width: 100%;
    margin: 0;
}

/* Modal Divider */
.modal-divider {
    width: 100%;
    height: 1.5px;
    background: #E1E1E1;
    border: none;
    margin: 0;
}

/* Confirmation Section */
.modal-confirmation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.confirmation-text {
    font-size: 21px;
    font-weight: 500;
    line-height: 32px;
    color: #000;
    text-align: center;
    margin: 0;
}

/* Modal Buttons */
.modal-buttons {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.modal-btn {
    width: 100px;
    padding: 12px;
    border-radius: 4px;
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-yes {
    background: #2020B3;
    border: none;
    color: #fff;
}

.btn-yes:hover {
    background: #1a1a99;
}

.btn-no {
    background: #fff;
    border: 1px solid #AAAAAA;
    color: #000;
}

.btn-no:hover {
    border-color: #666;
}

@media (max-width: 768px) {
    .modal-content {
        max-width: 90%;
        margin: 20px;
    }

    .modal-image {
        height: 150px;
    }

    .modal-title {
        font-size: 24px;
    }

    .modal-subtitle {
        font-size: 18px;
    }

    .confirmation-text {
        font-size: 18px;
    }

    .modal-btn {
        font-size: 18px;
        width: 80px;
    }
}
