/**
 * Qin SiteToolkit Module CSS
 * Hide SKU information from product page
 */

.product.attribute.sku {
    display: none !important;
}
/* Minimal stylesheet to satisfy MIME type and static asset pipeline */
.apf-hidden { display: none; }
.footer .footer-columns { display: flex; flex-wrap: nowrap; gap: 24px; align-items: flex-start; clear: both; width: 100%; }
.footer .footer-column { flex: 0 0 calc((100% - 48px)/3); min-width: 0; box-sizing: border-box; padding-right: 0; }
.footer-title { font-weight: 600; margin: 0 0 8px; text-transform: uppercase; }
.footer .footer-column p { margin: 0 0 8px; }
.footer .footer-column .links { list-style: none; margin: 0; padding: 0; }
.footer .footer-column .links li { margin: 0 0 6px; }
@media (max-width: 992px) {
  .footer .footer-columns { flex-wrap: wrap; }
  .footer .footer-column { flex: 0 0 100%; }
}

.catalog-product-view .page-title .base,
.catalog-product-view .product-info-main .page-title .base {
  font-size: 24px !important;
  line-height: 31px !important;
  font-weight: 400 !important;
  display: inline !important;
}
.catalog-product-view .page-title,
.catalog-product-view .product-info-main .page-title {
  line-height: 31px !important;
}
.catalog-product-view h1.page-title {
  font-size: 24px !important;
  line-height: 31px !important;
  font-weight: 400 !important;
  margin-bottom: 16px !important;
}

/* Amazon-style Swatch Size */
.swatch-option.image {
    width: 60px !important;
    height: 60px !important;
    margin: 0 10px 10px 0 !important;
    background-size: cover !important;
}
.swatch-option.image:hover, .swatch-option.image.selected {
    outline: 2px solid #e77600 !important;
    border: 1px solid #e77600 !important;
}

.swatch-option.color.qst-disabled-color-placeholder {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    margin: 0 10px 10px 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    background-color: var(--qst-disabled-swatch-color, #f5f5f5) !important;
    background-image:
        repeating-linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.45) 0,
            rgba(255, 255, 255, 0.45) 6px,
            rgba(140, 140, 140, 0.12) 6px,
            rgba(140, 140, 140, 0.12) 12px
        ) !important;
    background-size: cover !important;
}

.swatch-option.color.qst-disabled-color-placeholder::before {
    content: attr(data-qst-short-label);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #4c4c4c;
    text-transform: uppercase;
    pointer-events: none;
}

/* Swatch pagination */
.qst-swatch-pager {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.qst-page-list {
    display: inline-flex;
    gap: 6px;
    flex-wrap: nowrap;
    white-space: nowrap;
}
.qst-page-btn {
    background: #fff;
    border: 1px solid #c7c7c7;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 13px;
    line-height: 18px;
    cursor: pointer;
}
.qst-page-btn:hover {
    border-color: #8f8f8f;
}
.qst-page-btn.active {
    border-color: #0071ce;
    color: #0071ce;
    font-weight: 600;
}
.qst-page-btn.disabled {
    opacity: 0.5;
    cursor: default;
}
.qst-page-ellipsis {
    pointer-events: none;
}
.qst-page-info {
    margin-left: 8px;
    font-size: 13px;
    line-height: 18px;
    color: #666;
    white-space: nowrap;
}

/* Grid layout for paged swatches: 2 rows x 6 columns per page */
.swatch-attribute.qst-paged .swatch-attribute-options {
    display: grid;
    grid-template-columns: repeat(6, 60px);
    /* grid-auto-rows: 60px; */
    gap: 10px;
}
.swatch-attribute.qst-paged .swatch-option {
    margin: 0 !important;
}

.swatch-attribute.qst-paged .swatch-option.text {
    box-sizing: border-box;
    width: 60px !important;
    max-width: 60px !important;
    min-width: 60px !important;
    padding: 4px 6px !important;
    white-space: normal !important;
    overflow: hidden !important;
    word-break: break-word;
    height: auto !important;
}

.swatch-attribute .swatch-attribute-options {
    margin-bottom: 8px !important;
}

.swatch-attribute {
    margin-bottom: 20px !important;
}

.swatch-option.disabled,
.swatch-option-disabled {
    border: 1px dashed rgba(190, 188, 186, 0.8) !important;
    opacity: 0.3 !important;
}
.swatch-option.disabled:after,
.swatch-option-disabled:after {
    content: none !important;
    display: none !important;
    background: none !important;
}

.swatch-option.text {
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: break-word;
  overflow: hidden !important;
  text-overflow: clip !important;
  box-sizing: border-box;
  width: 100px !important;
  max-width: 100px !important;
  min-width: 60px !important;
  height: auto !important;
  line-height: 1.2;
  padding: 4px 6px;
}

.swatch-attribute .swatch-option.text,
.swatch-opt .swatch-option.text {
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: break-word;
  overflow: hidden !important;
  text-overflow: clip !important;
  box-sizing: border-box;
  width: 100px !important;
  max-width: 100px !important;
  min-width: 60px !important;
  height: auto !important;
  line-height: 1.2;
  padding: 4px 6px;
}

.swatch-attribute .swatch-attribute-options .swatch-option.text,
.swatch-opt .swatch-attribute-options .swatch-option.text {
  width: auto !important;
}

.swatch-attribute .swatch-option.text.selected,
.swatch-opt .swatch-option.text.selected {
  height: auto !important;
}

.swatch-option.text.selected {
  height: auto !important;
}

/* Product attributes summary: two-column inline rows */
.product-attributes-summary .items {
  display: grid;
  grid-template-columns: 150px 1fr;
  column-gap: 8px;
  row-gap: 4px;
  align-items: baseline;
  margin: 8px 0;
  padding: 0;
}
.product-attributes-summary dt {
  font-weight: 700;
  margin: 0;
}
.product-attributes-summary dd {
  margin: 0;
}

.qst-make-handling .items {
  display: grid;
  grid-template-columns: 150px 1fr;
  column-gap: 8px;
  row-gap: 4px;
  align-items: baseline;
  margin: 8px 0;
  padding: 0;
}
.qst-make-handling dt {
  font-weight: 700;
  margin: 0;
}
.qst-make-handling dd {
  margin: 0;
}

/* Other Options button alignment and styling to match Add to Cart */
.catalog-product-view .box-tocart .action.other-options {
    vertical-align: top;
    box-sizing: border-box;
    min-height: 50px;
    padding: 17px 17px;
    font-size: 1.8rem;
}
.catalog-product-view .box-tocart .action.other-options:not(:last-child) {
    margin-bottom: 15px;
    box-sizing: border-box;
    min-height: 50px;
    padding: 17px 17px;
    font-size: 1.8rem;
}
@media (min-width: 768px) {
    .catalog-product-view .box-tocart .action.other-options {
        margin-bottom: 0;
        margin-right: 0;
        width: 36%; /* Smaller width to ensure it fits on the same line */
        display: inline-block;
    }
}

@media (max-width: 767px) {
    .catalog-product-view .box-tocart .action.tocart,
    .catalog-product-view .box-tocart .action.other-options {
        display: block;
        width: 100%;
    }
    .catalog-product-view .box-tocart .action.other-options {
        margin-top: 10px;
    }
}

.qin-review-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.qin-review-section-title {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 700;
    color: #0f1111;
}

.qin-review-summary-card {
    border-bottom: 1px solid #e7e7e7;
    padding-bottom: 20px;
}

.qin-review-summary-score {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.qin-review-summary-total {
    display: inline-block;
}

.qin-review-summary-average,
.qin-review-summary-out-of {
    font-size: 18px;
    line-height: 1.3;
    color: #0f1111;
}

.qin-review-summary-total {
    margin-bottom: 14px;
    color: #565959;
    font-size: 14px;
}

.qin-review-summary-bars {
    display: grid;
    gap: 8px;
}

.qin-review-summary-row {
    display: grid;
    grid-template-columns: 48px 1fr 40px;
    gap: 10px;
    align-items: center;
    font-size: 13px;
    border-radius: 6px;
}

.qin-review-summary-label,
.qin-review-summary-percent {
    color: #007185;
}

.qin-review-summary-label {
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    cursor: pointer;
    font-size: 13px;
}

.qin-review-summary-percent {
    padding: 0;
    border: 0;
    background: none;
    text-align: right;
    cursor: pointer;
    font-size: 13px;
}

.qin-review-summary-bar {
    position: relative;
    display: block;
    height: 18px;
    border: 1px solid #d5d9d9;
    border-radius: 4px;
    background: #f0f2f2;
    overflow: hidden;
}

.qin-review-summary-bar-fill {
    display: block;
    height: 100%;
    background: #f69931;
}

.qin-review-summary-filter-row.is-active .qin-review-summary-bar {
    border-color: #c7511f;
}

.qin-review-summary-percent:hover,
.qin-review-summary-label:hover,
.qin-review-summary-label.is-active,
.qin-review-summary-percent.is-active {
    color: #c7511f;
}

.qin-review-filter-empty {
    margin: 0 0 20px;
    padding: 14px 16px;
    border: 1px solid #d5d9d9;
    border-radius: 8px;
    background: #f8fafa;
    color: #565959;
    font-size: 14px;
}

.qin-review-main {
    min-width: 0;
}

.qin-review-media-gallery {
    margin: 0 0 28px;
}

.qin-review-media-gallery-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 12px;
}

.qin-review-media-gallery-title strong {
    font-size: 30px;
    line-height: 1.25;
    color: #0f1111;
}

.qin-review-media-gallery-title a {
    color: #007185;
    font-weight: 600;
}

.qin-review-top-header {
    margin-bottom: 12px;
}

.qin-review-items {
    margin: 0;
    padding: 0;
    list-style: none;
}

.qin-review-item {
    margin: 0 0 20px;
    padding: 0 0 20px;
    border-bottom: 1px solid #e7e7e7;
}

.qin-review-item:last-child {
    border-bottom: 0;
}

.qin-review-item-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.qin-review-item-title {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
    color: #0f1111;
}

.qin-review-item-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #565959;
}

.qin-review-item-author-link {
    color: #007185;
    font-weight: 600;
    text-decoration: none;
}

.qin-review-item-author-link:hover {
    color: #c7511f;
    text-decoration: underline;
}

.qin-review-item-body {
    margin-bottom: 12px;
    color: #0f1111;
    font-size: 14px;
    line-height: 1.6;
}

.qin-amazonreview-verified-purchase {
    margin-left: 10px;
    color: #c45500;
    font-weight: 700;
    font-size: 12px;
    white-space: nowrap;
}

.qin-amazonreview-review-media {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 10px 0 0;
}

.qin-amazonreview-review-media-link {
    position: relative;
    display: block;
    border: 1px solid #ddd;
    padding: 2px;
    background: #fff;
    overflow: hidden;
}

.qin-amazonreview-review-media-image {
    display: block;
    width: 90px;
    height: 90px;
    object-fit: cover;
}

.qin-amazonreview-review-media-link.is-video .qin-amazonreview-review-media-image {
    background: #000;
}

.qin-amazonreview-review-media-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(15, 17, 17, 0.72);
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
    pointer-events: none;
}

.qin-amazonreview-review-media-play::before {
    content: '';
    position: absolute;
    left: 52%;
    top: 50%;
    transform: translate(-38%, -50%);
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 10px solid #fff;
}

.qin-review-media-stars {
    position: absolute;
    left: 8px;
    bottom: 6px;
    display: inline-block;
    line-height: 1;
    font-size: 13px;
    letter-spacing: 1px;
    pointer-events: none;
}

.qin-review-media-stars-base,
.qin-review-media-stars-fill {
    display: block;
}

.qin-review-media-stars-base {
    color: rgba(255, 255, 255, 0.42);
}

.qin-review-media-stars-fill {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #f69931;
}

.qin-review-media-modal video.qin-review-media-modal-video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: calc(100% - 8px);
    background: #000;
    object-fit: contain;
}

.qin-review-media-modal video.qin-review-media-modal-video::-webkit-media-controls {
    display: flex !important;
    opacity: 1 !important;
}

.qin-review-media-modal video.qin-review-media-modal-video::-webkit-media-controls-panel {
    display: flex !important;
    opacity: 1 !important;
}

.qin-review-media-modal-right {
    padding-top: 8px;
    box-sizing: border-box;
}

.qin-review-media-modal-thumbs button[data-media-index] {
    position: relative;
    z-index: 2;
}

.qin-amazonreview-helpful {
    margin-top: 10px;
    color: #565959;
    font-size: 12px;
}

.qin-review-stars {
    position: relative;
    display: inline-block;
    line-height: 1;
    font-size: 18px;
    letter-spacing: 1px;
    color: #d5d9d9;
}

.qin-review-stars.is-large {
    font-size: 22px;
}

.qin-review-stars-base,
.qin-review-stars-fill {
    display: block;
}

.qin-review-stars-fill {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #f69931;
}

.catalog-product-view .review-toolbar {
    margin: 0 0 18px;
}

.catalog-product-view #customer-reviews .toolbar.review-toolbar:last-of-type {
    margin-top: 18px;
}

.qin-product-details-sequential .qin-product-detail-tab-label {
    display: none;
}

.qin-product-details-sequential .product.data.items {
    display: block;
}

.qin-product-details-sequential .product.data.items > .data.item.content {
    display: block !important;
    float: none;
    width: 100%;
    margin: 0 0 32px;
    padding: 0;
    border: 0;
    box-shadow: none;
}

.qin-product-detail-heading {
    margin: 0 0 18px;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
    color: #0f1111;
}

.qin-product-detail-body {
    min-width: 0;
}

.qin-review-load-more-wrap {
    margin-top: 20px;
    text-align: left;
}

.qin-review-load-more {
    min-width: 210px;
    padding: 10px 18px;
    border: 1px solid #888c8c;
    border-radius: 999px;
    background: #fff;
    color: #0f1111;
    font-size: 16px;
    line-height: 1.3;
    cursor: pointer;
}

.qin-review-load-more:hover {
    background: #f7fafa;
}

@media (max-width: 991px) {
    .qin-review-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .qin-product-detail-heading,
    .qin-review-section-title,
    .qin-review-media-gallery-title strong {
        font-size: 24px;
    }
}
