/**
 * FIGS Product Theme
 * Version 2.8.0
 */

.figs-product-theme-active #product-product {
    max-width: 1480px;
}

.figs-product-theme-active #product-product .breadcrumb {
    margin-bottom: 14px;
}

/* Actual OpenCart structure:
   #content > .row > .col-sm-8 and #content > .row > .col-sm-4
*/
@media (min-width: 768px) {
    .figs-product-theme-active #product-product #content > .row.figs-product-hero-row {
        display: flex !important;
        align-items: flex-start !important;
        gap: 34px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .figs-product-theme-active #product-product #content > .row.figs-product-hero-row > .figs-image-column,
    .figs-product-theme-active #product-product #content > .row.figs-product-hero-row > .figs-buy-column {
        float: none !important;
        width: calc(50% - 17px) !important;
        max-width: calc(50% - 17px) !important;
        flex: 0 0 calc(50% - 17px) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        position: static !important;
        top: auto !important;
    }
}

/* Gallery left side */
.figs-product-theme-active .figs-gallery {
    margin-bottom: 10px;
}

.figs-gallery-main .thumbnail {
    margin-bottom: 10px;
    border-radius: 6px;
}

.figs-product-theme-active .figs-gallery-main img {
    width: 100%;
}

.figs-product-theme-active .figs-gallery-thumb {
    display: inline-block;
    width: 72px;
    margin-right: 8px;
    margin-bottom: 6px;
    vertical-align: top;
}

.figs-product-theme-active .figs-gallery-thumb .thumbnail {
    margin-bottom: 0;
    border-radius: 5px;
}

.figs-product-theme-active .figs-gallery-thumb .thumbnail:hover {
    border-color: #ff6600;
}

/* Buy column */
.figs-product-theme-active .figs-buy-column > .btn-group {
    display: none !important;
}

.figs-product-theme-active .figs-buy-column h1 {
    clear: both;
    margin: 0 0 8px;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: #111;
}

.figs-product-theme-active .figs-buy-column h2 {
    margin: 8px 0 10px;
    font-size: 31px;
    font-weight: 900;
    line-height: 1;
    color: #111;
}

.figs-product-theme-active .figs-buy-column ul.list-unstyled {
    margin-bottom: 8px;
}

.figs-product-theme-active .figs-buy-column ul.list-unstyled li {
    font-size: 12px;
    line-height: 1.35;
}

.figs-product-theme-active .figs-buy-column ul.list-unstyled li h2 {
    margin-bottom: 0;
}

.figs-product-theme-active .figs-buy-column > ul.list-unstyled[style*="display: none"] {
    display: none !important;
}

/* Trust strip */
.figs-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 15px;
    margin: 8px 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    color: #222;
}

.figs-trust-strip span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.figs-trust-strip .fa {
    color: #111;
    font-size: 15px;
}

/* Buy/options */
.figs-buy-box {
    margin-top: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.figs-buy-box hr,
.figs-buy-box h3 {
    display: none;
}

.figs-option-card {
    margin-bottom: 9px !important;
    padding: 0;
    border: 0;
    background: transparent;
}

.figs-option-card.required {
    border-left: 0;
}

.figs-option-card label.control-label,
.figs-option-card > label {
    display: block;
    margin-bottom: 4px;
    color: #111;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.figs-option-card.required label.control-label:before,
.figs-option-card.required > label:before {
    color: #ff6600;
}

.figs-select-wrap {
    position: relative;
}

.figs-select-wrap:after {
    content: "\f107";
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    font-family: FontAwesome;
    color: #ff6600;
    pointer-events: none;
}

.figs-select-wrap select.form-control {
    height: 40px;
    padding-right: 34px;
    border-color: #d8d8d8;
    border-radius: 5px;
    background: #fff;
    box-shadow: none;
    font-size: 13px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.figs-select-wrap select.form-control:focus,
.figs-option-card input.form-control:focus {
    border-color: #ff6600;
    box-shadow: 0 0 0 2px rgba(255,102,0,.12);
}

.figs-option-card .radio,
.figs-option-card .checkbox {
    margin-top: 4px;
    margin-bottom: 4px;
}

.figs-option-card .radio label,
.figs-option-card .checkbox label {
    display: block;
    padding: 8px 9px 8px 30px;
    border: 1px solid #e2e2e2;
    border-radius: 5px;
    background: #fff;
    line-height: 1.25;
}

.figs-option-card .radio label:hover,
.figs-option-card .checkbox label:hover {
    border-color: #ff6600;
    background: #fff7f1;
}

.figs-qty-cart-row {
    display: grid;
    grid-template-columns: 96px minmax(160px, 1fr) 145px;
    gap: 12px;
    align-items: end;
    margin-top: 10px;
}

.figs-qty-cart-row label {
    grid-column: 1;
    margin-bottom: 4px !important;
}

.figs-qty-cart-row input#input-quantity {
    grid-column: 1;
    height: 46px;
    border-color: #d8d8d8;
    border-radius: 5px;
    text-align: center;
    font-size: 16px;
    font-weight: 800;
    box-shadow: none;
}

.figs-qty-cart-row br {
    display: none;
}

.figs-qty-cart-row #button-cart {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
}

.figs-cart-button,
#button-cart.figs-cart-button {
    height: 46px;
    border: 0;
    border-radius: 5px;
    background: linear-gradient(135deg, #ff6600, #ff4f00);
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .02em;
    box-shadow: 0 4px 10px rgba(255,102,0,.22);
}

.figs-cart-button:hover,
.figs-cart-button:focus,
#button-cart.figs-cart-button:hover,
#button-cart.figs-cart-button:focus {
    background: #e65c00;
    color: #fff;
}

.figs-wishlist-button {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: end;
    height: 46px;
    border: 1px solid #d8d8d8;
    border-radius: 5px;
    background: #fff;
    color: #222;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .01em;
}

.figs-wishlist-button:hover,
.figs-wishlist-button:focus {
    border-color: #ff6600;
    color: #ff6600;
    background: #fff7f1;
}

.figs-wishlist-button .fa {
    margin-right: 5px;
}

/* Desktop horizontal required options */
@media (min-width: 768px) {
    .figs-product-theme-active .figs-buy-box .form-group.required {
        display: grid;
        grid-template-columns: minmax(145px, 36%) 1fr;
        gap: 10px;
        align-items: center;
    }

    .figs-product-theme-active .figs-buy-box .form-group.required label.control-label {
        margin-bottom: 0;
    }

    .figs-product-theme-active .figs-buy-box .form-group.required > div {
        min-width: 0;
    }
}

/* Rating and right-side description */
.figs-product-theme-active .rating {
    margin: 10px 0 12px;
    padding: 0 0 10px;
    border-bottom: 1px solid #eee;
    font-size: 12px;
}

.figs-product-theme-active .rating p {
    margin: 0;
}

.figs-right-description {
    margin-top: 0;
    padding-top: 2px;
}

.figs-description-panel {
    position: relative;
    overflow: hidden;
    transition: max-height 0.28s ease;
    font-size: 13px;
    line-height: 1.5;
}

.figs-description-panel p {
    margin-bottom: 7px;
}

.figs-description-collapsed::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 70px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 72%);
}

.figs-description-expanded {
    overflow: visible;
}

.figs-description-expanded::after,
.figs-description-no-fade::after {
    display: none;
}

.figs-description-toggle {
    display: block;
    margin: 6px auto 13px;
    padding: 5px 13px;
    border: 0;
    background: transparent;
    color: #ff6600;
    font-weight: 900;
    font-size: 12px;
    line-height: 1.2;
    cursor: pointer;
    text-transform: uppercase;
}

.figs-description-toggle:hover,
.figs-description-toggle:focus {
    color: #e65c00;
    outline: none;
}

.figs-description-toggle .fa {
    margin-left: 5px;
}

/* Accordions remain under image/gallery */
.figs-tab-content-cleaned {
    border: 0 !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
}

.figs-product-theme-active .nav-tabs {
    margin-top: 0;
}

.figs-product-theme-v24 .figs-image-column > .nav-tabs {
    display: none !important;
}

.figs-product-accordion-wrap {
    margin: 5px 0 24px;
}

.figs-accordion-item {
    margin-bottom: 8px;
    border: 1px solid #dfdfdf;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}

.figs-accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 14px;
    border: 0;
    background: #fff;
    color: #111;
    text-align: left;
    font-weight: 900;
    font-size: 14px;
    line-height: 1.25;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: .01em;
}

.figs-accordion-header:hover,
.figs-accordion-header:focus,
.figs-accordion-open .figs-accordion-header {
    color: #ff6600;
    outline: none;
}

.figs-accordion-title,
.figs-accordion-title-left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.figs-accordion-title-left > .fa {
    width: 18px;
    color: #111;
    font-size: 17px;
    text-align: center;
}

.figs-accordion-open .figs-accordion-title-left > .fa,
.figs-accordion-header:hover .figs-accordion-title-left > .fa {
    color: #ff6600;
}

.figs-accordion-icon {
    flex: 0 0 auto;
    color: #111;
    font-size: 18px;
    line-height: 1;
}

.figs-accordion-content {
    display: none;
    padding: 0 14px 15px;
    color: #333;
    font-size: 13px;
    line-height: 1.48;
}

.figs-accordion-content table {
    width: 100%;
}

.figs-accordion-content img,
.figs-description-panel img {
    max-width: 100%;
    height: auto;
}

.figs-product-details-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.figs-product-details-list li {
    padding: 6px 0;
    border-bottom: 1px solid #f1f1f1;
}

.figs-product-details-list li:last-child {
    border-bottom: 0;
}

/* Mobile */
@media (max-width: 767px) {
    .figs-product-theme-active .figs-buy-column {
        padding-left: 15px;
    }

    .figs-product-theme-active .figs-buy-column h1 {
        font-size: 24px;
        margin-top: 12px;
    }

    .figs-trust-strip {
        gap: 8px 12px;
        font-size: 12px;
    }

    .figs-qty-cart-row {
        grid-template-columns: 88px 1fr;
        gap: 10px;
    }

    .figs-qty-cart-row .figs-wishlist-button {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .figs-product-theme-active .figs-gallery-thumb {
        width: 62px;
    }

    .figs-description-toggle {
        width: 100%;
        margin: 7px 0 13px;
        padding: 9px 14px;
        border: 1px solid #ff6600;
        border-radius: 4px;
        background: #ff6600;
        color: #fff;
    }

    .figs-description-toggle:hover,
    .figs-description-toggle:focus {
        background: #e65c00;
        color: #fff;
    }

    .figs-accordion-header {
        padding: 13px 12px;
        font-size: 13px;
    }

    .figs-accordion-content {
        padding: 0 12px 14px;
        font-size: 13px;
    }
}


/* FIGS Product Theme v2.5 alignment + buy box polish */

/* Keep product hero aligned with breadcrumb/container edges */
@media (min-width: 768px) {
    .figs-product-theme-active #product-product {
        max-width: 1170px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .figs-product-theme-active #product-product #content > .row.figs-product-hero-row {
        gap: 34px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .figs-product-theme-active #product-product #content > .row.figs-product-hero-row > .figs-image-column,
    .figs-product-theme-active #product-product #content > .row.figs-product-hero-row > .figs-buy-column {
        width: calc(50% - 17px) !important;
        max-width: calc(50% - 17px) !important;
        flex: 0 0 calc(50% - 17px) !important;
    }

    .figs-product-theme-active .figs-buy-column h1 {
        margin-top: 4px !important;
    }
}

/* Add the subtle orange top rule like the live buy box */
.figs-product-theme-active .figs-buy-box {
    margin-top: 10px !important;
    padding-top: 12px !important;
    border-top: 3px solid #ff6600 !important;
}

/* Charcoal cart button with orange accent feel */
.figs-product-theme-active #button-cart.figs-cart-button,
.figs-product-theme-active .figs-cart-button {
    background: #3a3a3a !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
}

.figs-product-theme-active #button-cart.figs-cart-button:hover,
.figs-product-theme-active #button-cart.figs-cart-button:focus,
.figs-product-theme-active .figs-cart-button:hover,
.figs-product-theme-active .figs-cart-button:focus {
    background: #242424 !important;
    color: #fff !important;
}

/* Wishlist button stays next to cart and matches the cleaner desktop layout */
.figs-product-theme-active #figs-wishlist-next-to-cart,
.figs-product-theme-active .figs-wishlist-button {
    height: 46px !important;
    border: 1px solid #ddd !important;
    border-radius: 5px !important;
    background: #fff !important;
    color: #222 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: .02em !important;
}

.figs-product-theme-active #figs-wishlist-next-to-cart:hover,
.figs-product-theme-active .figs-wishlist-button:hover {
    border-color: #ff6600 !important;
    color: #ff6600 !important;
}

/* Slightly cleaner divider above the right-side description */
.figs-product-theme-active .figs-right-description {
    border-top: 1px solid #eeeeee;
    padding-top: 18px;
    margin-top: 8px;
}


/* FIGS Product Theme v2.6 */

/* Remove remaining divider lines */
.figs-trust-strip,
.figs-right-description,
.figs-buy-column hr,
.figs-buy-column .rating,
.figs-buy-column ul.list-unstyled {
    border-bottom: 0 !important;
    border-top: 0 !important;
}

/* Mobile reorder:
   Image -> Description -> Accordions -> Options/Add To Cart */
@media (max-width: 767px) {
    .figs-right-description {
        order: 2 !important;
    }

    .figs-product-accordion-wrap {
        order: 3 !important;
    }

    .figs-buy-box {
        order: 4 !important;
    }

    .figs-image-column,
    .figs-buy-column {
        display: flex !important;
        flex-direction: column !important;
    }
}


/* FIGS Product Theme v2.7 alignment + mobile order refinements */

/* Move the whole product hero slightly left so image aligns better with breadcrumb */
@media (min-width: 768px) {
    .figs-product-theme-active #product-product #content > .row.figs-product-hero-row {
        margin-left: -34px !important;
        margin-right: 0 !important;
    }

    .figs-product-theme-active #product-product #content > .row.figs-product-hero-row > .figs-image-column {
        padding-left: 0 !important;
    }

    .figs-product-theme-active #product-product #content > .row.figs-product-hero-row > .figs-buy-column {
        padding-right: 0 !important;
    }
}

/* With the divider lines removed, pull the description up a bit */
.figs-product-theme-active .figs-right-description {
    margin-top: 0 !important;
    padding-top: 8px !important;
    border-top: 0 !important;
}

.figs-product-theme-active .rating {
    margin-bottom: 4px !important;
    padding-bottom: 4px !important;
    border-bottom: 0 !important;
}

/* Mobile real order is now handled by JS:
   image -> description preview -> accordions -> buy/options */
@media (max-width: 767px) {
    .figs-product-theme-active .figs-right-description {
        margin-top: 12px !important;
        padding-top: 0 !important;
    }

    .figs-product-theme-active .figs-product-accordion-wrap {
        margin-top: 8px !important;
    }

    .figs-product-theme-active .figs-buy-box {
        margin-top: 14px !important;
    }
}


/* FIGS Product Theme v2.8 final desktop polish */

/* User-approved alignment adjustment */
@media (min-width: 768px) {
    .figs-product-theme-active #product-product #content > .row.figs-product-hero-row {
        margin-left: -34px !important;
        margin-right: 0 !important;
    }

    .figs-product-theme-active #product-product #content > .row.figs-product-hero-row > .figs-image-column {
        padding-left: 0 !important;
    }

    .figs-product-theme-active #product-product #content > .row.figs-product-hero-row > .figs-buy-column {
        padding-right: 0 !important;
    }
}

/* Keep only availability/status in the trust strip, no extra gray divider lines */
.figs-product-theme-active .figs-trust-strip {
    border: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 10px !important;
}

.figs-product-theme-active .figs-right-description {
    margin-top: 0 !important;
    padding-top: 8px !important;
    border-top: 0 !important;
}

.figs-product-theme-active .rating {
    margin-bottom: 4px !important;
    padding-bottom: 4px !important;
    border-bottom: 0 !important;
}

/* Charcoal default add-to-cart, FIGS orange hover */
.figs-product-theme-active #button-cart.figs-cart-button,
.figs-product-theme-active .figs-cart-button {
    background: #3a3a3a !important;
    color: #fff !important;
    border-color: #3a3a3a !important;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.figs-product-theme-active #button-cart.figs-cart-button:hover,
.figs-product-theme-active #button-cart.figs-cart-button:focus,
.figs-product-theme-active .figs-cart-button:hover,
.figs-product-theme-active .figs-cart-button:focus {
    background: #ff6600 !important;
    color: #fff !important;
    border-color: #ff6600 !important;
}

.figs-accordion-content td {
    white-space: normal !important;
    overflow-wrap: break-word;
    word-break: break-word;
}