* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif !important;
}

i {
    font-family: 'FontAwesome', sans-serif !important;
}

.product-page-container {
    max-width: 1200px; 
    margin: 50px auto;
    padding: 0 20px;
}

.product-page-container .product {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.image-section {
    width: 48%;
}

.product-details {
    width: 46%;
}

.product-image-shadow {
    box-shadow: 0 0 54px 0 rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    padding: 20px;
}

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

/*#canvas {*/
/*    max-width: 100%;*/
/*    height: auto;*/
/*    display: block;*/
/*    margin: 0 auto;*/
/*}*/

.product-thumbnail-container {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.product-thumbnail-container img {
    width: 50px;
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
}

.product-thumbnail-container img:hover,
.product-thumbnail-container img.selected {
    border-color: black;
}

.product-header {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 20px;
}

.price-tag {
    background-color: #f8f8f8;
    border: 2px solid #e3e3e3;
    border-radius: 8px;
    padding: 5px 15px;
    position: relative;
    display: inline-block;
    height: fit-content;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.price-tag:before {
    content: "";
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 12px 12px 12px 0;
    border-style: solid;
    border-color: transparent #e3e3e3 transparent transparent;
}

.price-tag:after {
    content: "";
    position: absolute;
    left: -9px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 10px 10px 10px 0;
    border-style: solid;
    border-color: transparent #f8f8f8 transparent transparent;
}

.price-label {
    font-size: 20px;
    font-weight: 700;
    color: #2e9e5b;
    display: inline-block;
    position: relative;
}

.product-rating {
    color: rgba(239, 177, 62, 1);
    margin: 15px 0;
}

.product-rating .fa-star,
.product-rating .fa-star-o,
.product-rating .fa-star-half-o {
    color: rgba(239, 177, 62, 1);
    font-size: 24px;
}

.product-rating span, .product-main-heading-tag span {
    color: rgba(148, 158, 170, 1);
    font-size: 14px;
    font-weight: 400;
    display: block;
}

.product-main-heading-tag {
    font-size: 24px;
    font-weight: 400;
    color: rgba(30, 37, 45, 1);
}

.product-main-description {
    color: rgba(113, 113, 113, 1);
    line-height: normal;
}


.color-option {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid #ddd;
}

.color-option[data-color-name="white"].selected::after,
.color-option[data-color-name="yellow"].selected::after {
    color: #000000;
}

.product-colors {
    display: flex;
    gap: 12px;
}

.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 50px;
}

.form-group.slogan {
    gap: 22px;
}

.form-group label {
    min-width: 80px;
}

.form-control {
    flex: 1;
    padding: 5px 12px;
    border: 1px solid rgba(217, 217, 217, 1);
    border-radius: 7px;
    font-size: 14px;
    margin-left: 0;
}

select.form-control {
    cursor: pointer;
}

#get_uni_slogan {
    background-color: rgba(46, 79, 126, 1);
    color: #fff;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
    border: 2px solid rgba(46, 79, 126, 1);
}

.product-continue-btn {
    background-color: rgba(46, 79, 126, 1);
    color: #fff;
    padding: 12px 0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    margin-top: 30px;
    font-size: 16px;
    font-weight: 600;
    max-width: 300px;
    margin: 70px auto 0 auto;
    display: block;
}

.description-heading {
    color: rgba(30, 37, 45, 1);
    font-size: 20px;
    font-weight: 700;
    margin: 50px 0 15px 0;
}

.product-page-description ul {
    margin: 15px 0 0 0;
    line-height: 30px;
}

.product-page-description ul li {
    list-style-type: disc;
    color: rgba(113, 113, 113, 1);
}

.description-paragraph {
    color: rgba(113, 113, 113, 1);
    font-size: 14px;
    line-height: 1.6;
}

.product-details-block .detail {
    display: flex;
    margin-bottom: 8px;
    font-size: 16px;
}

.product-details-block .label {
    font-weight: 600;
    color: #000000;
    font-size: 16px;
    width: 250px;
    text-align: left;
}

#canvas {
    position: relative !important;
}
.canvas-container {
    height: auto !important;
}
.note {
    display: flex;
    gap: 130px;
    margin: 20px 0 10px 0;
    align-items: center;
}

.note small {
    color: #1269ba;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 23px;
}
.note small i.fa-solid.fa-circle-info::before {
    position: absolute;
    content: "\f05a";
    font-style: normal;
    font-size: 19px;
}
.note small i.fa-solid.fa-circle-info {
    display: inline-block;
    position: relative;
    margin-top: -26px;
}

@media (max-width: 768px) {
    .product-page-container {
        max-width: 100%;
        margin: 90px auto 50px;
    }

    .image-section, .product-details {
        width: 100%;
    }

    .form-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
    }

    .form-group.slogan {
        gap: 7px;
    }

    .note {
        gap: 0;
    }

    .form-group label {
        margin-bottom: 5px;
    }

    .product-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .price-tag {
        margin-top: 10px;
    }
    .product-page-description ul {
        margin-top: 10px;
    }
    .description-heading {
        margin: 40px 0 10px 0;
    }
}

.error-message {
    color: #d9534f;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.input-error {
    border: 1px solid #d9534f !important;
}

.product-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

/* Image Gallery */
.product-images {
    flex: 0 0 55%;
    display: flex;
}

.thumbnails {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-right: 15px;
}

.thumbnail {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    padding: 1px;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-image {
    flex: 1;
    position: relative;
}

.main-image img {
    width: 100%;
    height: auto;
    /*max-height: 500px;*/
    object-fit: contain;
}

.share-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #555;
}

/* Product Info */
.product-info {
    flex: 1;
    min-width: 300px;
}

.store-link {
    color: #007185;
    text-decoration: none;
    margin-bottom: 8px;
    display: inline-block;
    font-size: 14px;
}

.store-link:hover {
    color: #C7511F;
    text-decoration: underline;
}

.product-title {
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    margin-bottom: 8px;
    color: #0F1111;
}



.ratings {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.rating-score {
    font-weight: bold;
    margin-right: 8px;
}

.rating-stars {
    color: #FFA41C;
    margin-right: 8px;
    font-size: 18px;
}

.rating-count {
    color: #007185;
    text-decoration: none;
    margin-right: 8px;
}

.rating-count:hover {
    color: #C7511F;
    text-decoration: underline;
}

.search-page {
    color: #007185;
    text-decoration: none;
    border-left: 1px solid #ddd;
    padding-left: 8px;
}

.search-page:hover {
    color: #C7511F;
    text-decoration: underline;
}

.sustainability {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
}

.sustainability i {
    color: #168342;
    margin-right: 5px;
    font-size: 16px;
}

.sustainability-text {
    margin-right: 5px;
}

.down-arrow {
    color: #555;
    font-size: 10px;
}

.popularity-badge {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 4px 8px;
    display: inline-block;
    font-size: 12px;
    margin-bottom: 15px;
}

.price-section {
    margin-bottom: 15px;
}

.price-label {
    font-size: 14px;
    color: #565959;
}

.price-amount {
    font-size: 18px;
    font-weight: 500;
    color: #0F1111;
}

.prime-logo {
    height: 22px;
    vertical-align: middle;
    margin-left: 5px;
}

.delivery-info {
    margin-left: 5px;
    color: #565959;
    font-size: 14px;
}

.free-returns {
    color: #007185;
    font-size: 14px;
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.free-returns span {
    margin-right: 5px;
}

.bulk-pricing {
    margin: 20px 0;
    border-top: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
    padding: 15px 0;
}

.bulk-pricing-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.bulk-options {
    display: flex;
    gap: 15px;
}

.bulk-option {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    flex: 1;
}

.bulk-option.best-value {
    border-color: #007185;
}

.best-value-tag {
    color: #007185;
    font-size: 12px;
    display: block;
    margin-bottom: 5px;
}

.bulk-quantity {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.discount-percentage {
    color: #CC0C39;
    font-weight: bold;
    margin-right: 8px;
}

.bulk-price {
    font-weight: bold;
    font-size: 18px;
}

.unit-price {
    display: block;
    color: #565959;
    font-size: 12px;
    margin-top: 3px;
}

.promo {
    margin-bottom: 15px;
}

.promo-text {
    font-size: 14px;
}

.promo-link {
    color: #007185;
    text-decoration: none;
}

.promo-link:hover {
    color: #C7511F;
    text-decoration: underline;
}

.other-sellers {
    margin-bottom: 20px;
    font-size: 14px;
}

.other-sellers a {
    color: #007185;
    text-decoration: none;
}

.other-sellers a:hover {
    color: #C7511F;
    text-decoration: underline;
}

.basket-banner {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    background-color: #f8f8f8;
}

.color-swatches {
    margin-bottom: 15px;
}

.basket-colors {
    display: flex;
    gap: 10px;
    margin-right: 15px;
}

.basket-text {
    flex: 1;
}

.basket-link {
    color: #007185;
    text-decoration: none;
    font-weight: bold;
}

.basket-link:hover {
    color: #C7511F;
    text-decoration: underline;
}

.product-option {
    margin-bottom: 15px;
}

.option-label {
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}

.size-dropdown {
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 200px;
    background-color: #f8f8f8;
    cursor: pointer;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 20px;
    display: flex;
}

.modal-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #222;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: 2px solid #3465a4;
    border-radius: 8px;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    font-size: 30px;
}

.close-button:hover {
    background-color: #f0f0f0;
}

.modal-body {
    padding: 20px;
}

.size-category {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 20px 0;
    color: #222;
}

.size-chart-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
}

.size-chart-table th,
.size-chart-table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #e0e0e0;
}

.size-chart-table th {
    background-color: #f9f9f9;
    font-weight: bold;
    color: #333;
}

.size-chart-table tr:nth-child(even) {
    background-color: #fafafa;
}

.size-chart-table tr:hover {
    background-color: #f2f2f2;
}

.size-cart-block {
    float: right;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .product-images {
        flex: 0 0 100%;
    }

    .bulk-options {
        flex-direction: column;
    }
}

.purchase-buttons {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.price-label {
    font-size: 20px;
    font-weight: 700;
    color: #2e9e5b;
    display: inline-block;
    position: relative;
}

.add-to-cart-btn, .buy-now-btn {
    padding: 10px 0;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    width: 120px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(15, 17, 17, 0.15);
}

.add-to-cart-btn {
    background-color: #FFD814;
    border: 1px solid #FCD200;
    color: #0F1111;
}

.add-to-cart-btn:hover {
    background-color: #F7CA00;
}

.buy-now-btn {
    background-color: #FFA41C;
    border: 1px solid #FF8F00;
    color: #0F1111;
}

.buy-now-btn:hover {
    background-color: #FA8900;
}

.product-details-container {
    margin: 30px 0;
    font-family: Arial, sans-serif;
    color: #0F1111;
}

.section-heading {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 30px;
    color: #0F1111;
}

.details-table {
    width: 100%;
    margin-bottom: 20px;
}

.details-row {
    display: flex;
    border-bottom: 1px solid #e7e7e7;
    padding: 12px 0;
}

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

.details-label {
    flex: 0 0 25%;
    font-weight: 700;
    padding-right: 20px;
}

.details-value {
    flex: 0 0 75%;
}

.reviews-value {
    display: flex;
    align-items: center;
}

.rating-score {
    margin-right: 8px;
}

.rating-stars {
    color: #FFA41C;
    margin-right: 8px;
}

.down-arrow {
    color: #555;
    font-size: 10px;
    margin-right: 8px;
}

.rating-count {
    color: #007185;
    text-decoration: none;
}

.rating-count:hover {
    color: #C7511F;
    text-decoration: underline;
}

.sustainability-section {
    margin: 25px 0;
    padding: 15px;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
}

.sustainability-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.sustainability-icon {
    color: #168342;
    margin-right: 8px;
    font-size: 18px;
}

.sustainability-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.sustainability-desc {
    margin-bottom: 15px;
    font-size: 14px;
}

.sustainability-feature {
    margin-bottom: 20px;
}

.feature-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.feature-desc {
    margin-bottom: 10px;
    font-size: 14px;
}

.section-divider {
    height: 1px;
    background-color: #e7e7e7;
    margin: 30px 0;
}

.product-description {
    margin-bottom: 20px;
    font-size: 14px;
}

.about-list {
    padding-left: 20px;
    margin-bottom: 30px;
}

.about-list li {
    margin-bottom: 12px;
    line-height: 1.5;
    position: relative;
    list-style-type: disc;
}

.about-list li::marker {
    color: #565959;
}
.university-field {
    display: flex;
    align-items: center;
    border: 1px solid rgba(217, 217, 217, 1);
    border-radius: 5px;
    width: 100%;
}
#uni_name {
    border: none;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .details-row {
        flex-direction: column;
    }

    .details-label {
        flex: 0 0 100%;
        margin-bottom: 5px;
    }

    .details-value {
        flex: 0 0 100%;
    }

    .reviews-value {
        flex-wrap: wrap;
    }
}

.product-image-container {
    width: 100%;
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.product-image-container canvas {
    width: 100% !important;
    height: auto !important;
    display: block;
}

/* Media queries for responsive design */
@media screen and (max-width: 768px) {
    .product-image-container {
        max-width: 90%;
    }
}

@media screen and (max-width: 480px) {
    .product-image-container {
        max-width: 100%;
    }
}

.product-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px; /* Add perspective for 3D effect */
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

#canvas {
    display: block;
    margin: 0 auto;
    backface-visibility: hidden; /* Hide back side during flip */
}

.flip-button {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
    z-index: 100;
    bottom: -40px;
    left: 0;
    right: 0;
    width: fit-content;
    margin: 0 auto;
}

.flip-button:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.product-image-shadow {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Flip animation classes */
.flip-start {
    animation: flipOut 0.2s ease-out forwards;
}

.flip-end {
    animation: flipIn 0.2s ease-in forwards;
}

@keyframes flipOut {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(90deg);
    }
}

@keyframes flipIn {
    0% {
        transform: rotateY(-90deg);
    }
    100% {
        transform: rotateY(0deg);
    }
}


.signin-notification {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.notification-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.notification-content i {
    font-size: 30px;
    color: #3a5795;
    margin-bottom: 10px;
}

.notification-content p {
    margin-bottom: 15px;
    color: #333;
}

.notification-buttons {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.signin-btn, .create-account-btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
}

.signin-btn {
    background-color: #3a5795;
    color: white;
    border: none;
}

.create-account-btn {
    background-color: white;
    color: #3a5795;
    border: 1px solid #3a5795;
}

.price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.original-label {
    font-size: 18px;
    font-weight: 500;
    text-decoration: line-through;
    position: relative;
}

.current-price {
    font-size: 22px;
    font-weight: 700;
    color: #dc3545;
}

.status-label {
    font-size: 13px;
    color: #6c757d;
    background-color: #e9ecef;
    padding: 4px 10px;
    border-radius: 12px;
}

/* Size error message styling */
.size-error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
    padding: 12px; 
    background-color: #fdf2f2;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    font-weight: 500;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.size-error-message::before {
    content: "⚠️ ";
    margin-right: 5px;
}

.commitment-description p{
    line-height: 1;
}
.product-description ul, .care-instructions ul, .commitment-description ul {
    white-space: normal !important;
}
.product-description br, .care-instructions br, .commitment-description br {
    display: none;
}
.product-description, .care-instructions, .commitment-description{
    white-space: pre-line;
}