/* Main container styling */
#detail {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";


    /* Main heading style */
    h1 {
        font-size: 26px;
        font-weight: 400;
    }

    /* Main feature text styling */
    .main-feature {
        font-weight: 400;
        letter-spacing: 1px;
        color: #212529;
        margin-bottom: 10px;
        font-size: 20px;
    }

    /* Product price styling */
    #product-price {
        font-size: 20px;
        margin-bottom: 40px;
    }

    /* Variant styling */
    .variant-label {
        font-size: 16px;
        font-weight: 400;
        letter-spacing: 1px;
        margin-bottom: 15px;
    }

    .variant-title {
        font-size: 16px;
        letter-spacing: 1px;
        margin-left: 10px;
    }

    /* Color and size list styling */
    .color-list, .list-size {
        border-radius: 0;
    }

    .color-list li:hover,
    .list-size li:hover {
        background: rgba(0, 0, 0, 0.08);
        transition: all 0.2s ease-in-out;
    }

    .color-list,
    .list-size {
        max-height: 300px;
        overflow-y: scroll;
        min-width: initial !important;
        width: 100%;
        overscroll-behavior: contain;
        margin-bottom: 10px;
        align-items: center;
        letter-spacing: 1px;
    }

    .color-list li,
    .list-size li {
        margin-bottom: 10px;
    }

    .color-list li:nth-last-child(1),
    .list-size li:nth-last-child(1) {
        margin-bottom: 0 !important;
    }

    #select-size img {
        height: 40px;
        transform: rotate(-15deg);
        padding-top: 5px;
    }
    .list-size a{
        padding: 10px 0;
    }

    .color-list a {
        align-items: center;
    }

    /* Product description styles */
    .short-description {
        font-size: 16px;
        font-weight: 300;
        letter-spacing: 1px;
        line-height: 30px;
        text-align: justify;
        margin: 20px 0;
    }

    #long-description,
    #details,
    #care-instructions {
        letter-spacing: 1px;
        background-color: #EDEEF0;
    }

    #details .list-group {
        row-gap: 15px;
    }

    /* Accordion styling */
    .acc-panel {
        overflow: hidden;
        max-height: 0;
    }

    .acc-panel.open {
        max-height: 800px;
    }

    .acc-toggle {
        display: flex;
        justify-content: space-between;
        width: 170px;
        background: none;
        border: 0;
        padding: 14px 40px 14px 0;
        font-size: 16px;
        font-weight: 500;
        letter-spacing: 1px;
    }

    .acc-icon {
        font-weight: 600;
    }

    .acc-toggle[aria-expanded="false"] .acc-icon::after {
        content: "+";
    }

    .acc-toggle[aria-expanded="true"] .acc-icon::after {
        content: "−";
    }

    .acc-body {
        padding: 10px;
    }

    /* Reassurance section */
    #reassurance {
        margin: 30px 0;
    }

    #reassurance p {
        font-size: 16px;
        font-weight: 400;
        letter-spacing: 1px;
        line-height: 30px;
        text-align: justify;
    }

    #reassurance p i {
        margin-right: 5px;
    }

    /* Image styling */
    img {
        max-width: 100%;
        vertical-align: top;
    }

    /* Form elements */
    select,
    option {
        padding: 10px;
    }

    /* Gallery styling */
    .gallery {
        display: flex;
        margin: 10px auto;
        max-width: 600px;
        position: relative;
        padding-top: 66.6666666667%;
    }

    @media screen and (min-width: 600px) {
        .gallery {
            padding-top: 400px;
        }
    }

    .gallery__img {
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
        width: 100%;
        height: auto;
    }

    .gallery__attachment {
        cursor: pointer;
    }

    .gallery__thumb {
        padding-top: 200px;
        margin: 6px;
        display: block;
    }

    .gallery__selector {
        display: none;
    }

    .gallery__item > .gallery__selector:checked ~ .gallery__img,
    .gallery__item > .gallery__selector:checked ~ figure > .gallery__img,
    .gallery__item > .gallery__selector:checked ~ figure > a > .gallery__img{
        opacity: 1;
        z-index: 99;
    }

    .gallery__item > .gallery__selector:checked ~ .gallery__thumb > img {
        box-shadow: 0 0 0 2px #000000;
    }

    .gallery__thumb:focus-visible img,
    .gallery__thumb:hover img {
        box-shadow: 0 0 0 2px #000000;
    }

    /* Cart button styling */
    .btn-add-to-cart {
        border: 2px solid #ffffff;
        padding: 20px 50px;
        color: #ffffff !important;
        cursor: pointer;
        overflow: hidden;
        font-size: 12px;
        letter-spacing: 1px;
        transition: all .4s;
        background-color: #000000;
        text-transform: uppercase;
        text-decoration: none;
    }

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

    .btn-add-to-cart:focus-visible {
        outline: 2px solid #000;
        outline-offset: 2px;
    }

    /* Utility classes */
    a.disabled {
        pointer-events: none;
        opacity: .6;
    }

    .in-stock {
        color: green;
    }

    .out-stock {
        color: #DB021D;
    }

    ul {
        padding: 0;
    }

    /* Related products section */
    #products-link,
    #recent-view {
        margin: 100px 0;
    }

    #products-link h2,
    #recent-view h2 {
        color: #000000;
        font-size: 25px;
        font-weight: normal;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 30px;
    }

    /* Handle choices dropdown */
    #anses-choices {
        width: 100%;
        border-radius: 0;
        border: 1px solid #dee2e6 !important;
    }


    /* Mobile Styles */
    @media screen and (max-width: 767px) {

        .btn-add-to-cart {
            position: fixed;
            width: 100%;
            padding: 25px 0;
            left: 0;
            bottom: 0;
            border: 0;
            text-align: center;
            z-index: 10;
        }

    }

}