/* Product Page Styles */
.prod-detail .rebranding-pdp-top-container {
    display: grid;
    grid-template-columns: 735px 421px;
    gap: 0 84px;
}

.prod-detail .rebranding-pdp-top-container.prod-detail-anonymous-container {
    grid-template-columns: 1fr 610px;
    gap: 0 27px;
    margin-top: -50px;
}

.prod-detail .rebranding-pdp-top-container .prod-info {
    flex: 1;
    border: 1px solid #F0F0F0;
    border-radius: 4px;
    padding: 38px 40px 19px 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pdp-right-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.prod-detail .product-view__content {
    width: 100%;
    height: -moz-fit-content;
    height: fit-content;
    border: 1px solid #D9D9D9;
    border-radius: 4px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #333;
}

.product-view__content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 15px 0 0 0;
    border-top: 1px solid #caeaf4;
}

.pdp-right-column .pdp-download-docs {
    margin-top: 0;
}

.prod-detail .product-view__content.anonymous {
    border: none;
    padding: 0;
    width: auto;
    gap: 0;
}

/* Anonymous action buttons */
.anon-actions {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    justify-content: flex-end;
}

.anon-actions__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 64px;
    padding: 4px 8px;
    font-family: Calibri, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 0.12px;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.anon-actions__btn--primary {
    background-color: #0057B8;
    color: #FFF;
    border: 1px solid #0057B8;
}

.anon-actions__btn--primary:hover {
    background-color: #003d7a;
    border-color: #003d7a;
}

.anon-actions__btn--secondary {
    background-color: #FFF;
    color: #425563;
    border: 1px solid #425563;
}

.anon-actions__btn--secondary:hover {
    background-color: #f5f5f5;
}

.anon-actions__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.prod-detail .prod-info .pdp_body .top-left-container-title-wrapper {
    display: flex;
    justify-content: space-between;
}

.prod-detail .prod-info .pdp_body .top-left-container-title-wrapper .top-left-container-title {
    color: #666;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    height: 36px;
}

.prod-detail .prod-info .pdp_body .top-left-container-title-wrapper .top-left-container-title sup {
    font-size: 0.7em;
    vertical-align: super;
    line-height: 0;
    position: relative;
    top: -0.4em;
}

.prod-detail .prod-info .pdp_body .top-left-container-action-wrapper {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-right: 72px;
}

.prod-detail .prod-info .pdp_body .top-left-container-action-wrapper .link-share {
    border-radius: 4px;
    display: flex;
    gap: 4px;
    padding: 4px 8px;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 0.16px;
    border: 1px solid #425563;
    background: #fff;
    color: #425563;
    text-decoration: none;
}

.prod-detail .prod-info .pdp_body .top-left-container-action-wrapper .link-share i {
    color: #425563;
    font-size: 14px;
    -webkit-text-stroke: 1px #425563;
    -webkit-text-fill-color: white;
}

/* Custom share icon using CSS */
.custom-share-icon {
    width: 16px;
    height: 16px;
    position: relative;
    display: inline-block;
}

.custom-share-icon::before,
.custom-share-icon::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #425563;
    border: 1px solid #425563;
}

.custom-share-icon::before {
    top: 2px;
    left: 2px;
}

.custom-share-icon::after {
    top: 2px;
    right: 2px;
}

.custom-share-icon {
    background: #425563;
    border: 1px solid #425563;
    border-radius: 50%;
    width: 3px;
    height: 3px;
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
}

.custom-share-icon::before {
    content: '';
    position: absolute;
    width: 1px;
    height: 6px;
    background: #425563;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
}

.custom-share-icon::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 6px;
    background: #425563;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    transform-origin: bottom;
}

.prod-detail .prod-info .top-left-container-uint-wrapper {
    display: flex;
    align-items: center;
    gap: 13px;
}

.prod-detail .prod-info .top-left-container-uint-wrapper .top-left-container-uint {
    color: #0057B8;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
}

.prod-detail .prod-info .top-left-container-uint-wrapper .product-logos {
    display: flex;
    align-items: center;
    gap: 8px;
}

.prod-detail .prod-info .top-left-container-uint-wrapper .product-logos .product-logo-custom {
    object-fit: contain;
    height: 21px;
    max-width: 135px;
}

.prod-detail .prod-info .pdp_body .prod-info__desc {
    margin-top: 16px;
}

.prod-detail .prod-info .top-left-container-behavior {
    display: flex;
    gap: 8px;
    align-items: center;
    color: #0057B8;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    margin-bottom: 16px;
}

.prod-detail .prod-info .top-left-container-behavior-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 12px;
    line-height: 16px;
    width: 70%;
}

.prod-detail .prod-info .top-left-container-behavior-info .behavior-content-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.prod-detail .prod-info .top-left-container-behavior-info .behavior-content-item .content-item-text {
    color: #666;
    font-weight: 700;
    flex: 1;
    min-width: 0;
}

.prod-detail .prod-info .top-left-container-behavior-info .behavior-content-item .content-item-value {
    color: #333;
    text-align: left;
    flex-shrink: 0;
    white-space: nowrap;
    min-width: 150px;
}

.prod-detail .prod-info .top-left-container-behavior-info .behavior-content-item .content-item-value .font-bold {
    font-weight: 700;
}

.prod-detail .prod-info .top-left-container-behavior-info .behavior-content-item .content-item-value span {
    display: inline;
    white-space: nowrap;
}

.prod-detail .prod-info .more_details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 12px;
}

.prod-detail .prod-info .more_details .divider {
    height: 1px;
    width: 100%;
    background: #D9D9D9;
    margin: 16px 0 6px 0;
}

.prod-detail .prod-info .more_details .more-detail-header {
    display: flex;
}

.prod-detail .prod-info .more_details .more-detail-header .more-detail-header-cell {
    font-weight: 700;
    line-height: 16px;
}

.prod-detail .prod-info .more_details .more-detail-header .more-detail-header-cell.detail {
    color: #0057B8;
    width: 40%;
}

.prod-detail .prod-info .more_details .more-detail-header .more-detail-header-cell.method {
    color: #687F91;
    width: 20%;
    text-transform: uppercase;
}

.prod-detail .prod-info .more_details .more-detail-header .more-detail-header-cell.uint {
    color: #687F91;
    width: 20%;
    text-transform: uppercase;
}

.prod-detail .prod-info .more_details .more-detail-header .more-detail-header-cell.value {
    color: #687F91;
    width: 20%;
    text-transform: uppercase;
}

.prod-detail .prod-info .more_details .more-detail-body {
    display: flex;
    flex-direction: column;
}

.prod-detail .prod-info .more_details .more-detail-body .more-detail-body-item {
    display: flex;
}

.prod-detail .prod-info .more_details .more-detail-body .more-detail-body-cell.detail {
    color: #666;
    width: 40%;
    font-weight: 700;
}

.prod-detail .prod-info .more_details .more-detail-body .more-detail-body-cell {
    line-height: 24px;
}

.prod-detail .prod-info .more_details .more-detail-body .more-detail-body-cell.method {
    color: #333;
    width: 20%;
}

.prod-detail .prod-info .more_details .more-detail-body .more-detail-body-cell.uint {
    color: #333;
    width: 20%;
}

.prod-detail .prod-info .more_details .more-detail-body .more-detail-body-cell.value {
    color: #333;
    width: 20%;
}

.prod-detail .rebranding-pdp-top-container .pdp-download-docs {
    margin-right: 0;
}

/* PDP Download Docs */
.pdp-download-docs {
    width: 100%;
}

.pdp-download-docs__tabs {
    padding: 0;
    display: flex;
    gap: 4px;
    width: 100%;
    background: #fff;
    border: none;
    flex-wrap: nowrap;
    list-style: none;
    margin: 0;
}

.pdp-download-docs__tab-item {
    padding: 0;
}

.pdp-download-docs__tab-link {
    display: flex;
    height: 36px;
    padding: 0 10px 10px 10px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    border-radius: 8px 8px 0 0;
    border: 1px solid #EEF3F6;
    border-bottom: none;
    text-transform: uppercase;
    background: #fff;
    color: #262626;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    font-family: Calibri, sans-serif;
    font-size: 12px;
    line-height: 16px;
}

.pdp-download-docs__tab-link.active {
    background: #FAFAFA;
}

.pdp-download-docs__content {
    width: 100%;
}

.pdp-download-docs__pane {
    display: none;
}

.pdp-download-docs__pane.active {
    display: block;
}

.pdp-download-docs__file-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 0 4px 4px 4px;
    background: #FAFAFA;
    gap: 4px 20px;
    padding: 13.5px 10px 16px 10px;
    list-style: none;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.pdp-download-docs__file-item {
    background: #FFF;
    height: 36px;
    color: #425563;
    font-size: 12px;
    line-height: 16px;
}

.pdp-download-docs__file-link {
    border-radius: 4px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: Calibri, sans-serif;
    color: #425563;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid #F0F0F0;
    text-decoration: none;
}

.pdp-download-docs__file-icon {
    font-size: 14px;
    color: #425563;
    flex-shrink: 0;
}

.prod-detail .prod-info .top-left-container-desc {
    margin: 16px 0;
    font-size: 14px;
    color: #333333;
}

.prod-detail .prod-info .top-left-container-desc span {
    font-weight: 700;
}

.prod-detail .prod-info .top-left-container-desc ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.prod-detail .prod-info .top-left-container-info-wrapper {
    background: #FAFAFA;
    padding: 14px 22px 13px 22px;
    color: #333;
    font-size: 12px;
    line-height: 16px;
    border-radius: 4px;
}

.pdp_p_text {
    line-height: 16px;
    margin: 0;
}

.font_bold {
    font-weight: bold;
}

/* Product unavailable message for logged in users */
.product-view__content .tab-container {
    width: 100%;
}

.product-view__content .tab-container .tab-content {
    padding: 0;
}

.prod-detail .rebranding-pdp-top-container .pdp-no-add-to-cart-message {
    margin-top: 66px;
    margin-bottom: 291px;
    color: #000;
    text-align: center;
    font-size: 13px;
    font-weight: 400;
    line-height: 16px;
}

.pdp-add-nav {
    border: none;
    background: none;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    display: none;
}

.prod-detail .tab-container .nav-tabs.pdp-add-nav li a {
    display: none;
}

/* Add to Cart Box */
.add-cart-box {
    width: 100%;
}

.add-cart-box__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.add-cart-box__title {
    font-family: Calibri, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    color: #333;
    margin: 0;
}

.add-cart-box__pickup {
    display: flex;
    align-items: center;
    gap: 8px;
}

.add-cart-box__pickup-label {
    font-family: Calibri, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 16px;
    color: #333;
    cursor: pointer;
}

.add-cart-box__toggle {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
    cursor: pointer;
}

.add-cart-box__toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.add-cart-box__toggle-slider {
    position: absolute;
    inset: 0;
    background-color: #D9D9D9;
    border-radius: 32px;
    transition: background-color 0.2s;
}

.add-cart-box__toggle-slider::before {
    content: '';
    position: absolute;
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: #FFF;
    border-radius: 50%;
    transition: transform 0.2s;
}

.add-cart-box__toggle-input:checked + .add-cart-box__toggle-slider {
    background-color: #2AC06F;
}

.add-cart-box__toggle-input:checked + .add-cart-box__toggle-slider::before {
    transform: translateX(16px);
}

.add-cart-box__divider {
    height: 1px;
    background: #D9D9D9;
    margin-bottom: 20px;
}

.add-cart-box__form {
    width: 100%;
}

.add-cart-box__row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.add-cart-box__row--end {
    justify-content: flex-end;
}

.add-cart-box__field {
    flex: 1;
    min-width: 0;
}

.add-cart-box__row--end .add-cart-box__field {
    flex: 0 1 calc(50% - 8px);
}

.add-cart-box__label {
    display: block;
    font-family: Calibri, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 16px;
    color: #333;
    margin-bottom: 4px;
}

.add-cart-box__select,
.add-cart-box__input {
    width: 100%;
    height: 32px;
    padding: 7px;
    font-family: Calibri, sans-serif;
    font-size: 14px;
    line-height: 16px;
    color: #333;
    border: 1px solid #D9D9D9;
    border-radius: 4px;
    background-color: #FFFFFF;
    box-sizing: border-box;
}

.add-cart-box__select {
    padding-right: 28px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 7px center;
}

.add-cart-box__select:focus,
.add-cart-box__input:focus {
    outline: none;
    border-color: #0057B8;
}

.add-cart-box__footer {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.add-cart-box__total-weight {
    font-family: Calibri, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: #666;
    text-align: right;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.add-cart-box__total-weight .weight-value {
    font-weight: 700;
    color: #333;
}

.add-cart-box__btn {
    width: calc(50% - 8px);
    padding: 8px 12px;
    font-family: Calibri, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    text-align: center;
    background-color: #0057B8;
    cursor: pointer;
    box-sizing: border-box;
}

.add-cart-box__btn:disabled {
    background-color: #E0E0E0;
    cursor: not-allowed;
}

.add-cart-box__btn:not(:disabled):hover {
    background-color: #003d7a;
}

@media (max-width: 768px) {
    .add-cart-box__row {
        flex-direction: column;
        gap: 12px;
    }

    .add-cart-box__row--end {
        justify-content: stretch;
    }

    .add-cart-box__row--end .add-cart-box__field {
        flex: 1;
    }

    .add-cart-box__btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .add-cart-box__title {
        font-size: 18px;
        line-height: 20px;
    }
}
