* {
    box-sizing: border-box;
}

body {
    background: #DBDACB;
    font-family: 'Bebas Neue', sans-serif;
    color: #282828;
    overflow-x: hidden;
}

.container {
    max-width: 1040px;
    margin: 0 auto;
    width: 100%;
}

.hero-section {
    background-image: url(http://saletringo.com/wp-content/themes/converted-theme/assets/images/hero-bg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #DBDACB;
    padding-top: 12px;
    padding-bottom: 24px;
}

.hero-section .container {
    max-width: 1176px;
}

.heading-primary {
    font-weight: 400;
    font-size: 152px;
    line-height: 80%;
    text-transform: uppercase;
    margin-bottom: 221px;
    margin-left: 171px;
}

.heading-tertiary {
    font-weight: 400;
    font-size: 28px;
    line-height: 30px;
    letter-spacing: 5%;
    text-transform: uppercase;
}

.heading-left {
    display: block;
    margin-left: 50px;
}

.catalog-section {
    padding: 64px 0px;
}

.catalog-section .container {
    max-width: 1176px;
}

.catalog-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.heading-secondary {
    max-width: 792px;
    font-weight: 400;
    font-size: 96px;
    line-height: 110.00000000000001%;
    letter-spacing: 0%;
    text-align: center;
    text-transform: uppercase;
}

.catalog-item {
    background: #E6E7DC;
    border-radius: 10px;
    padding: 12px;
}

.catalog-item img {
    margin-top: 12px;
}

.catalog-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.catalog-column-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.bestsellers-section {
    padding-top: 64px;
    padding-bottom: 383px;
}

.bestsellers-section .container {
    max-width: 1176px;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
}

.bestseller-image {
    position: absolute;
    top: 0;
    right: 67px;
}

.behind-section {
    background-image: url(http://saletringo.com/wp-content/themes/converted-theme/assets/images/behind-bg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #DBDACB;
    padding-top: 500px;
    padding-bottom: 24px;
}

.behind-section .container {
    max-width: 1176px;
}

.behind-title {
    display: flex;
    gap: 24px;
}

.title {
    font-weight: 400;
    font-size: 64px;
    line-height: 90%;
    letter-spacing: 5%;
    text-transform: uppercase;
}

.title:nth-child(1) {
    width: 100%;
    max-width: 767px;
}

.testimonials-section {
    padding-top: 64px;
    padding-bottom: 64px;
}

.testimonials-section .container {
    max-width: 1176px;
}  

.testimonials-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 32px;
}

.testimonials-item {
    padding: 60px;
}

.testimonials-item:nth-child(1) {
    background: #D15F35;
}

.testimonials-item:nth-child(2) {
    background: #282828;
    color: #DBDACB;
}

.testimonial-image {
    display: block;
    margin: 0 auto;
    margin-bottom: 48px;
}

.testimonial-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.text {
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    text-transform: capitalize;
}

.footer {
    background: #282828;
    padding: 32px 0px;
    color: #FFFFFF99;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-link {
    text-decoration: none;
    font-size: 16px;
    line-height: 120%;
    color: #FFFFFF66;
}

.footer-info {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
}

.footer-nav {
    display: flex;
    gap: 32px;
}

.header {
    position: fixed;
    width: 100%;
    top: 12px;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1176px;
}

.header-link {
    text-decoration: none;
    color: #DBDACB;
    font-weight: 400;
    font-size: 20px;
    line-height: 90%;
    text-transform: capitalize;
}

.nav-links {
    display: flex;
    gap: 237px;
}

html {
    scroll-behavior: smooth;
}

.popup {
    position: fixed;
    bottom: 0;
    left: 0;
    background: #DBDACB;
    padding: 32px;
    max-width: 716px;
}

.popup-title {
    font-weight: 400;
    font-size: 96px;
    line-height: 80%;
    letter-spacing: 4%;
    text-transform: capitalize;
    margin-bottom: 16px;
}

.popup-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
}

.text a {
    color: #282828;
}

.btn-primary {
    background: #282828;
    border-radius: 10px;
    color: #DBDACB;
    padding: 12px;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 40px;
    line-height: 120%;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
}

.popup.hidden {
    display: none;
}

.main-section {
    padding-top: 136px;
    padding-bottom: 80px;
}

.main-title {
    font-weight: 400;
    font-size: 36px;
    line-height: 110.00000000000001%;
    letter-spacing: -2%;
    text-align: center;
    margin-bottom: 48px;
}

.main-header .header-link {
    color: #282828;
}

.main-header .header-link:hover {
    color: #404040;
}

.main-header .container {
    max-width: 1040px;
}

.products-section {
    padding-top: 120px;
    padding-bottom: 64px;
}

.products-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.products-item {
    background: #E6E7DC;
    border-radius: 10px;
    padding: 12px;  
}

.products-item img {
    margin-top: 12px;
}

.product-price {
    font-weight: 400;
    font-size: 20px;
    text-align: right;
    text-transform: uppercase;
    margin: 12px 0px;
}

.btn-primary {
    text-decoration: none;
    display: block;
}

/* ============================================
   ACCESSIBILITY & INTERACTIVE STATES
   ============================================ */

/* Header Navigation Links */
.header-link:hover {
    color: #FFFFFF;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

.header-link:focus {
    outline: 2px solid #FFFFFF;
    outline-offset: 4px;
    color: #FFFFFF;
    border-radius: 4px;
}

.header-link:active {
    transform: translateY(0);
    color: #CCCCCC;
}

/* Footer Links */
.footer-link:hover {
    color: #FFFFFF;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.footer-link:focus {
    outline: 2px solid #FFFFFF66;
    outline-offset: 2px;
    color: #FFFFFF;
    border-radius: 4px;
}

.footer-link:active {
    color: #CCCCCC;
}

/* Social Media Links */
.footer-socials a:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.footer-socials a:focus {
    outline: 2px solid #FFFFFF66;
    outline-offset: 4px;
    border-radius: 4px;
}

.footer-socials a:active {
    transform: scale(0.95);
}

/* Primary Buttons */
.btn-primary:hover {
    background: #404040;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 40, 40, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:focus {
    outline: 3px solid #DBDACB;
    outline-offset: 3px;
    background: #404040;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(40, 40, 40, 0.2);
    background: #1a1a1a;
}

/* Text Links */
.text a:hover {
    color: #404040;
    text-decoration: underline;
    font-weight: 500;
    transition: all 0.3s ease;
}

.text a:focus {
    outline: 2px solid #282828;
    outline-offset: 2px;
    border-radius: 2px;
    color: #404040;
}

.text a:active {
    color: #1a1a1a;
}

/* Catalog Items (if they become clickable) */
.catalog-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(40, 40, 40, 0.15);
    transition: all 0.3s ease;
}

.catalog-item:focus-within {
    outline: 3px solid #282828;
    outline-offset: 2px;
    transform: translateY(-2px);
}

/* Keyboard Navigation Enhancement */
*:focus {
    scroll-margin-top: 100px; /* Account for fixed header */
}

/* Improve focus visibility for better accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline-style: solid;
    outline-width: 2px;
}

/* Skip to main content link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #282828;
    color: #DBDACB;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
    outline: 2px solid #DBDACB;
}

.product-header .container {
    max-width: 1176px;
}

.product-section {
    padding-top: 68px;
    padding-bottom: 12px;
}

.product-section .container {
    max-width: 1176px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.product-title {
    font-weight: 400;
    font-size: 100px;
    line-height: 80%;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.features-title {
    font-weight: 400;
    font-size: 32px;
    line-height: 120%;
    text-align: right;
    text-transform: capitalize;
    max-width: 285px;
    margin-top: 55px;
    margin-bottom: 12px;
}

.product-section .product-price {
    font-weight: 400;
    font-size: 56px;
    line-height: 110.00000000000001%;
    text-transform: uppercase;
    margin-top: 55px;
    margin-bottom: 12px;
}

@media(max-width: 1200px) {
    .heading-primary {
        font-weight: 400;
        font-size: 86.86px;
        line-height: 80%;
        margin-left: 0px;
    }

    .container {
        padding: 0px 12px;
    }

    .hero-section {
        padding-top: 224px;
    }

    .heading-secondary {
        font-size: 72px;
    }

    .catalog-row {
        grid-template-columns: repeat(1, 1fr);
    }

    .catalog-item img {
        width: 100%;
    }

    .behind-section {
        padding-top: 362px;
    }

    .behind-title {
        flex-direction: column;
        gap: 24px;
    }

    .title {
        font-size: 40px;
    }

    .testimonials-row {
        grid-template-columns: repeat(1, 1fr);
    }

    .testimonials-item {
        padding: 60px 30px;
    }

    .footer-info,
    .footer-nav {
        flex-wrap: wrap;
    }

    .footer-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .catalog-column-row .catalog-item:nth-child(2) img {
        min-height: 85%;
    }

    .bestsellers-section {
        padding-bottom: 410px;
        overflow: hidden;
    }

    .bestseller-image {
        max-width: unset;
        left: 0;
        right: auto;
    }

    .nav-links {
        gap: 69px;
    }

    .popup {
        max-width: 360px;
    }

    /* Mobile accessibility adjustments */
    .header-link:hover,
    .footer-link:hover,
    .btn-primary:hover {
        transform: none; /* Disable hover transforms on mobile for better touch experience */
    }

    /* Larger touch targets for mobile */
    .header-link,
    .footer-link,
    .btn-primary {
        min-height: 44px; /* Minimum touch target size */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .products-list {
        grid-template-columns: repeat(1, 1fr);
    }

    .products-item img {
        width: 100%;
        min-height: 447px;
        object-fit: cover;
    }

    .product-section .container {
        display: flex;
        flex-direction: column-reverse;
    }

    .features-title {
        margin-top: 207px;
    }

    .product-section .product-price {
        margin-top: 207px;
    }

    .product-title {
        word-break: break-word;
    }
}