/* NOTE!!!! - THIS IS THE LOCAL COPY OF THE POT TEMPLATE. THIS SHOULD BE UPLOADED TO DO SPACE
/ebay/listing_templates/stylesheets/pot.css

on DO SPACES OR UPDATE LISTING_CSS_URL IN DB
*/
/* latin-ext */
@font-face {
    font-family: 'Signika';
    font-style: normal;
    font-weight: 300;
    src: local("Signika-Light"), url(https://fonts.gstatic.com/s/signika/v6/Z-FsjIS3sPD5Zt6xiv44RyEAvth_LlrfE80CYdSH47w.woff2) format("woff2");
    unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: 'Signika';
    font-style: normal;
    font-weight: 300;
    src: local("Signika-Light"), url(https://fonts.gstatic.com/s/signika/v6/koFYE26bhT88HgRA8f4vbfk_vArhqVIZ0nv9q090hN8.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

:root {
    --primary-color: #06364f;
    --secondary-color: #509952;
    --light-gray: #E8E8E8;
    --dark-gray: #333;
}

#qs_container {
    min-width: 300px;
    padding: 1em;
    font-family: "Signika", sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: var(--dark-gray);
    box-sizing: border-box;
}

#qs_container img {
    max-width: 100%;
}

#qs_container .qs_tabletOnly {
    display: none;
}

/** header **/
#qs_header {
    padding-bottom: 1em;
    border-bottom: 1px solid var(--light-gray);
    overflow: hidden;
}

#qs_logo {
    float: left;
    width: 40%;
    box-sizing: border-box;
}

#qs_logo img {
    max-width: 100%;
}

#qs_topNav {
    float: left;
    width: 60%;
    box-sizing: border-box;
}

#qs_search {
    padding-top: 3em;
    text-align: right;
    box-sizing: border-box;
}

#qs_search form {
    margin: 0;
}

#qs_search input {
    width: 100%;
    max-width: 300px;
    padding: .5em;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
}

#qs_mobileDescription {
    display: none;
}

/** content **/
#qs_content {
    clear: both;
    margin-top: 2em;
}

#qs_content .qs_header {
    display: block;
    margin: 0 0 .5em 0;
    padding: 0.3em 0;
    font-size: 1.25em;
    font-weight: 400;
    color: var(--secondary-color);
    border-bottom: 1px solid var(--light-gray);
}

#qs_content h3 {
    margin: 0;
    font-size: 1em;
    font-weight: 400;
    color: var(--secondary-color);
}

#qs_content .qs_showSection {
    display: none;
}

#qs_content .qs_section {
    line-height: 1.5em;
    clear: both;
    margin: 1em 0 3em 0;
    overflow: hidden;
    text-align: left;
}

#qs_content .qs_section section {
    padding: 0 1em;
    margin-top: 1em;
    overflow: hidden;
}

#qs_content .qs_section section > p:first-child {
    margin-top: 0;
}

#qs_content .qs_section section p:last-child {
    margin-bottom: 0;
}

#qs_content .qs_section ul {
    padding: 0;
    margin: 0;
    list-style-type: disc;
    list-style-position: inside;
}

#qs_content .qs_section li {
    line-height: 1.5em;
}

#qs_content .qs_section table {
    width: 100%;
    margin-top: .5em;
    border-collapse: collapse;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

#qs_content .qs_section table th,
#qs_content .qs_section table td {
    padding: .7em;
    font-size: 1rem;
    font-weight: normal;
    text-align: left;
    color: var(--dark-gray);
    border: 1px solid #ddd;
}

#qs_content .qs_section table th {
    background-color: rgba(6, 54, 79, 0.05);
    font-weight: 400;
}

#qs_content .qs_col {
    float: left;
    box-sizing: border-box;
}

#qs_content .qs_itemCondition .qs_col {
    width: 50%;
}

#qs_content .qs_itemCondition .qs_col:first-child {
    padding-right: 1.5em;
}

#qs_content .qs_itemCondition .qs_col:last-child {
    padding-left: 1.5em;
}

#qs_content .qs_itemCondition p {
    margin-top: 0;
}

#qs_content .qs_productFeatures .qs_col {
    margin-right: 1em;
}

#qs_content .qs_productFeatures .qs_col:last-child {
    margin-right: 0;
}

#qs_content .qs_productFeatures .qs_col div {
    display: block;
    height: 87px;
    width: 160px;
    margin-bottom: 1em;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 4px;
}

#qs_content .qs_productFeatures .qs_col div:last-child {
    margin-bottom: 0;
}

#qs_content .qs_productInfo .qs_col {
    width: 100%;
}

#qs_content .qs_productInfo .qs_col:first-child {
    padding-right: 1.5em;
}

#qs_content .qs_productInfo .qs_col:last-child {
    padding-left: 1.5em;
}

#qs_content .qs_productInfo .qs_col div {
    margin-bottom: 3em;
}

#qs_content .qs_productInfo .qs_col div:last-child {
    margin-bottom: 0;
}

#qs_nav {
    float: left;
    width: 20%;
    padding-right: 1em;
    box-sizing: border-box;
}

#qs_nav li {
    display: block;
    margin: 0;
}

#qs_nav li a {
    display: block;
    padding: .5em;
    text-decoration: none;
    color: var(--dark-gray);
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    border-radius: 0 4px 4px 0;
}

#qs_nav li a:hover {
    background-color: rgba(80, 153, 82, 0.1);
    border-left: 3px solid var(--secondary-color);
    color: var(--primary-color);
}

/** item  **/
#qs_item {
    float: none;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* Keep text sections left-aligned while maintaining centered images */
#qs_packageContents,
#qs_doesNotInclude,
#qs_itemCondition,
#qs_productInfo,
#qs_shipping {
    text-align: left;
}

/* Ensure table content is left-aligned */
#qs_content .qs_section table th,
#qs_content .qs_section table td {
    text-align: left;
}

#qs_itemTitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-color);
    line-height: 1.5;
}

#qs_carousel {
    display: block;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

#qs_currentImage {
    display: block;
    width: 100%;
    text-align: center;
    margin: 1em auto;
}

#qs_currentImage input {
    display: none;
}

#qs_currentImage input:checked + img {
    display: block;
}

#qs_currentImage img {
    display: none;
    margin: 0 auto;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#qs_imageSelector {
    display: block;
    text-align: center;
    margin: 0 auto;
}

#qs_imageSelector label {
    display: inline-block;
    margin: .25em;
    vertical-align: middle;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
}

#qs_imageSelector label:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#qs_imageSelector img {
    width: 100px;
    height: 100px;
}

#qs_warrantyLogo_desktop {
    margin-top: 1em;
}

#qs_warrantyLogo_tablet {
    max-width: 300px;
    margin: 2em auto 1em auto;
}

/** media queries **/
@media (max-width: 875px) {
    #qs_container .qs_desktopOnly {
        display: none;
    }

    #qs_container .qs_tabletOnly {
        display: block;
    }

    #qs_item {
        float: none;
        width: 100%;
        padding: 0;
        text-align: center;
    }

    #qs_item li {
        text-align: left;
    }
}

@media (max-width: 700px) {
    #qs_search {
        padding: 0;
    }

    #qs_content .qs_itemCondition .qs_col {
        float: none;
        width: 100%;
    }

    #qs_content .qs_itemCondition .qs_col:first-child,
    #qs_content .qs_itemCondition .qs_col:last-child {
        padding: 0;
    }

    #qs_content .qs_itemCondition .qs_col:last-child {
        margin-top: 2em;
    }

    #qs_content .qs_productInfo .qs_col {
        float: none;
        width: 100%;
    }

    #qs_content .qs_productInfo .qs_col:first-child,
    #qs_content .qs_productInfo .qs_col:last-child {
        padding: 0;
    }

    #qs_content .qs_productInfo .qs_col div:last-child {
        margin-bottom: 3em;
    }

    #qs_content .qs_productInfo .qs_col:last-child div:last-child {
        margin-bottom: 0;
    }

    #qs_content .qs_productFeatures .qs_col {
        width: 33.33333%;
        margin: 0;
    }

    #qs_content .qs_productFeatures .qs_col div {
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    #qs_logo,
    #qs_topNav {
        float: none;
        width: 100%;
        text-align: center;
    }

    #qs_logo {
        margin-bottom: 2em;
    }

    #qs_search {
        margin-top: 1em;
    }

    #qs_search input {
        max-width: none;
    }

    #qs_itemTitle {
        padding: .7em;
        color: #fff;
        background: var(--primary-color);
        border-radius: 4px;
    }

    #qs_content .qs_header {
        position: relative;
        padding: .7em;
        margin-bottom: 0;
        color: #fff;
        background: var(--primary-color);
        border-radius: 4px;
        cursor: pointer;
    }

    #qs_content .qs_header::after {
        content: "\2B";
        position: absolute;
        right: .7em;
        font-family: sans-serif;
        font-weight: bold;
    }

    #qs_content .qs_header + section {
        display: none;
        margin: 0.5em 0 1em 0;
        padding: 0.7em;
        overflow: hidden;
        border: 1px solid var(--light-gray);
        border-radius: 0 0 4px 4px;
    }

    #qs_content .qs_section {
        margin: 0.7em 0;
    }

    #qs_content .qs_showSection:checked ~ label::after {
        content: "\2212";
    }

    #qs_content .qs_showSection:checked ~ label ~ section {
        display: block;
        overflow: auto;
    }

    #qs_content .qs_section table th,
    #qs_content .qs_section table td {
        font-size: 0.9rem;
    }
}

@media (max-width: 550px) {
    #qs_container {
        padding: .7em;
    }

    #qs_content {
        margin-top: 1em;
    }

    #qs_content .qs_section section {
        padding: 0;
    }

    #qs_content .qs_section ul {
        padding-left: 1.5em;
        list-style-position: outside;
    }
}

@media (max-width: 500px) {
    #qs_content .qs_productFeatures .qs_col {
        width: 100%;
    }

    #qs_content .qs_productFeatures .qs_col div {
        float: left;
        width: 50%;
        margin: 0;
    }
}

@media (max-width: 400px) {
    body {
        margin: 0;
    }

    #qs_container {
        font-size: 14px;
    }
}

h3 {
    padding-top: 2rem;
}
