/**
 * Aopcode_ControlContent - Extracted CSS for Luma theme
 * Magento 2.4.9
 *
 * Sections:
 * 1. Home page promo blocks (.blocks-promo / .block-promo)
 * 2. Product detail page (.cms-product-* + .table-fill)
 * 3. CMS pages (quality-control etc.)
 */

/* =========================================================
   1. HOME PAGE - Promo Blocks (extracted from home_custom.css)
   ========================================================= */

.cms-index-index .page-title {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.widget .block-promo img {
    max-width: none;
}

.block-promo {
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    display: block;
    width: 100%;
    color: #333 !important;
}

.block-promo:hover {
    text-decoration: none;
}

.block-promo .content {
    display: block;
    box-sizing: border-box;
    position: absolute;
    z-index: 1;
    overflow: hidden;
    padding: 25px 35px 35px;
}

.block-promo .title {
    display: block;
    font-weight: 300;
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 15px;
}

.block-promo .info {
    display: block;
    font-weight: 300;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.block-promo .more {
    font-size: 1.6rem;
}

.block-promo .icon.more {
    display: inline-block;
    text-decoration: none;
}

.block-promo .icon.more:after {
    font-family: 'luma-icons';
    content: '\e608';
    font-size: 12px;
    line-height: inherit;
    color: inherit;
    overflow: hidden;
    speak: none;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    margin: 0 0 0 5px;
}

.block-promo .button.more {
    font-size: 1.8rem;
    background-image: none;
    background: #1979c3;
    padding: 10px 15px;
    color: #fff;
    border: 1px solid #1979c3;
    cursor: pointer;
    display: inline-block;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    box-sizing: border-box;
    vertical-align: middle;
    border-radius: 3px;
    text-decoration: none;
}

.block-promo .button.more:focus,
.block-promo .button.more:active,
.block-promo .button.more:hover {
    background: #006bb4;
    border: 1px solid #006bb4;
    color: #fff;
}

.block-promo .button.more.disabled,
.block-promo .button.more[disabled],
fieldset[disabled] .block-promo .button.more {
    cursor: default;
    pointer-events: none;
    opacity: .5;
}

.block-promo .title + .button {
    margin-top: 10px;
}

.block-promo sup {
    top: -0.2em;
}

.block-promo-2columns .content {
    padding: 20px 25px;
}

/* Home specific classes used in your HTML */
.home-main .content,
.home-performance .content,
.home-eco .content {
    background-color: rgba(255, 255, 255, 0.1);
}

.home-main {
    max-width: 1280px;
    height: 450px;
}

.home-pants .content {
    top: 0;
    left: 0;
    width: 80%;
}

.home-pants .title {
    display: block;
    font-weight: 600;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    white-space: nowrap;
    margin-bottom: 0;
}

.home-t-shirts {
    background: #ffdd16;
}

.home-erin {
    height: 373px;
}

.home-erin .content {
    top: 0;
    right: 0;
    width: 60%;
}

.home-performance {
    height: 664px;
}

.home-performance .content {
    top: 25px;
    right: 25px;
    left: 25px;
}

.home-eco {
    height: 274px;
}

.block-promo-hp .bg-white,
.block-promo-hp .home-erin .content {
    padding: 20px;
}

/* Responsive - Home */
@media only screen and (max-width: 399px) {
    .home-main img {
        margin-left: -310px;
    }
    .home-eco img {
        margin-left: -150px;
    }
    .home-pants,
    .home-performance {
        height: 580px;
    }
    .home-pants img,
    .home-performance img {
        margin-left: -50px;
    }
}

@media only screen and (max-width: 767px) {
    .blocks-promo {
        margin-left: -15px;
        margin-right: -15px;
    }
    .block-promo {
        margin-bottom: 8px;
    }
    .block-promo .title {
        font-size: 2.2rem;
    }
    .block-promo .info {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
    .block-promo .more {
        font-size: 1.4rem;
    }
    .block-promo .icon.more:after {
        font-size: 1rem;
    }
    .block-promo .button.more {
        font-size: 1.2rem;
        padding: 8px 12px;
    }
    .block-promo .content {
        padding: 15px 20px 20px;
    }
    .home-pants {
        max-width: 417px;
    }
    .home-erin {
        max-width: 426px;
    }
    .home-performance {
        max-width: 415px;
    }
    .home-eco {
        max-width: 858px;
    }
    .home-pants,
    .home-performance {
        height: 580px;
    }
    .home-main .content {
        top: 20px;
        right: 0;
        width: 65%;
    }
    .home-eco .content {
        width: 65%;
        top: 20px;
        right: 0;
    }
    .home-erin .content {
        padding-top: 30px;
    }
    .home-pants img {
        position: absolute;
        z-index: 0;
        bottom: -10px;
    }
    .home-pants .title {
        font-size: 4rem;
    }
    .home-performance img {
        position: absolute;
        z-index: 0;
        top: -20px;
    }
    .home-t-shirts .image {
        display: block;
        padding: 20px 20px 0;
    }
    .home-t-shirts img {
        max-width: 100% !important;
    }
    .home-t-shirts .content {
        position: static;
    }
}

@media all and (min-width: 640px), print {
    .block-promo {
        margin-bottom: 16px;
    }
    .block-promo-wrapper:before,
    .block-promo-wrapper:after {
        content: "";
        display: table;
    }
    .block-promo-wrapper:after {
        clear: both;
    }
    .block-promo-wrapper .block-promo {
        float: left;
        border-right: 16px solid #fff;
    }
    .block-promo-2columns .block-promo {
        width: 50%;
    }
    .block-promo-3columns .block-promo {
        width: 33.3%;
    }
    .block-promo-2columns .block-promo:nth-child(2n),
    .block-promo-3columns .block-promo:nth-child(3n) {
        border-right: 0;
    }
}

@media all and (min-width: 768px), print {
    .block-promo-hp {
        margin: 0 -8px;
    }
    .block-promo-hp .block-promo {
        border-left: 8px solid #fff;
        border-right: 8px solid #fff;
    }
    .block-promo-wrapper .home-performance {
        float: right;
    }
    .home-pants,
    .home-erin,
    .home-performance {
        width: 33.3%;
    }
    .home-t-shirts,
    .home-eco {
        width: 66.7%;
    }
    .home-main .content {
        top: 40px;
        right: 40px;
        width: 40%;
    }
    .home-t-shirts {
        height: 276px;
        display: table;
    }
    .home-t-shirts .content,
    .home-t-shirts .image {
        display: table-cell;
    }
    .home-t-shirts .content {
        position: static;
        width: 40%;
    }
    .home-t-shirts .image {
        width: 60%;
        vertical-align: middle;
        text-align: center;
        padding-left: 10px;
    }
    .home-t-shirts img {
        max-width: 100% !important;
        float: right;
    }
    .home-eco .content {
        width: 70%;
        top: 45px;
        right: 45px;
    }
    .home-pants {
        height: 664px;
    }
    .home-pants .title {
        font-size: 44px !important;
        font-size: 4.4rem !important;
        line-height: 1.2;
    }
}

/* =========================================================
   2. PRODUCT DETAIL PAGE - Table + description styles
   ========================================================= */

/* Product description paragraphs */
.cms-product-details {
    margin-bottom: 1.2em;
    line-height: 1.6;
    color: #333;
}

.cms-product-whychoose {
    margin: 12px 0;
    line-height: 1.5;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.cms-product-whychoose img {
    vertical-align: middle;
    margin-right: 4px;
}

/* Table styles (from spec_table.css) - fixed full width */
.table-fill {
    background: white;
    border-radius: 3px;
    border-collapse: collapse;
    width: 100% !important;
    max-width: 100%;
    margin: 20px 0;
    table-layout: auto;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.table-fill th {
    color: #D5DDE5;
    background: #1b1e24;
    border-bottom: 4px solid #9ea7af;
    border-right: 1px solid #343a45;
    font-size: 14px;
    font-weight: 500;
    padding: 16px 12px;
    text-align: center;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    vertical-align: middle;
}

.table-fill th:first-child {
    border-top-left-radius: 3px;
}

.table-fill th:last-child {
    border-top-right-radius: 3px;
    border-right: none;
}

.table-fill tr {
    border-top: 1px solid #C1C3D1;
    border-bottom: 1px solid #C1C3D1;
    color: #666B85;
    font-size: 14px;
    font-weight: normal;
}

.table-fill tr:hover td {
    background: #4E5066;
    color: #FFFFFF;
    border-top: 1px solid #22262e;
}

.table-fill tr:first-child {
    border-top: none;
}

.table-fill tr:last-child {
    border-bottom: none;
}

.table-fill tr:nth-child(odd) td {
    background: #EBEBEB;
}

.table-fill tr:nth-child(odd):hover td {
    background: #4E5066;
}

.table-fill tr:last-child td:first-child {
    border-bottom-left-radius: 3px;
}

.table-fill tr:last-child td:last-child {
    border-bottom-right-radius: 3px;
}

.table-fill td {
    background: #FFFFFF;
    padding: 14px 12px;
    text-align: center;
    vertical-align: middle;
    font-weight: 400;
    font-size: 14px;
    border-right: 1px solid #C1C3D1;
}

.table-fill td:last-child {
    border-right: 0;
}

.table-fill th.text-left,
.table-fill td.text-left {
    text-align: left;
}

.table-fill th.text-center,
.table-fill td.text-center {
    text-align: center;
}

.table-fill th.text-right,
.table-fill td.text-right {
    text-align: right;
}

/* Mobile: allow horizontal scroll without breaking table layout */
@media only screen and (max-width: 767px) {
    .table-fill {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
    .table-fill thead,
    .table-fill tbody,
    .table-fill tr {
        display: table;
        width: 100%;
        table-layout: fixed;
    }
    .table-fill th,
    .table-fill td {
        padding: 10px 8px;
        font-size: 12px;
    }
}

/* =========================================================
   3. CMS PAGES (Quality Control etc.)
   ========================================================= */

.quality-control-page .slogan-text {
    font-weight: 300;
    color: #333;
    margin: 20px 0;
}

.quality-control-page .process-steps .step-item {
    padding: 20px;
    background: #f8f8f8;
    border-radius: 4px;
    min-height: 140px;
    text-align: center;
}

.quality-control-page .inspection-grid .inspection-item {
    padding: 20px;
    background: #f8f8f8;
    border-radius: 4px;
    text-align: center;
}

.quality-control-page .background-light {
    background: #f8f8f8;
}

.quality-control-page .margin-bottom-xl {
    margin-bottom: 40px;
}

.quality-control-page .margin-bottom-l {
    margin-bottom: 30px;
}

.quality-control-page .margin-bottom-m {
    margin-bottom: 20px;
}

.quality-control-page .margin-top-m {
    margin-top: 20px;
}

.quality-control-page .margin-top-xl {
    margin-top: 40px;
}

.quality-control-page .padding-xl {
    padding: 40px 20px;
}

.quality-control-page .text-center {
    text-align: center;
}

.quality-control-page .cta-section .action.primary,
.quality-control-page .cta-section .action.secondary {
    margin: 5px;
}

@media (max-width: 768px) {
    .quality-control-page .process-steps .col-md-3 {
        width: 100%;
        margin-bottom: 15px;
    }
    .quality-control-page .inspection-grid .col-md-4 {
        width: 100%;
    }
}
