/* =========================================================
   DARK THRONE
   PREMIUM MEN'S STREETWEAR
   MAIN WEBSITE STYLESHEET
========================================================= */


/* =========================================================
   01. RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #f5f5f5;
    color: #111;

    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}


/* =========================================================
   02. GLOBAL VARIABLES
========================================================= */

:root {

    --black: #0d0d0d;
    --dark: #111111;
    --dark-2: #181818;
    --dark-3: #222222;

    --orange: #ff7a00;
    --orange-hover: #ff9500;

    --white: #ffffff;
    --light: #f5f5f5;
    --light-2: #eeeeee;

    --gray: #777777;
    --gray-light: #999999;

    --border: #dddddd;

    --success: #159447;
    --danger: #e53935;

    --container: 1250px;

    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;

    --shadow:
        0 5px 20px rgba(0, 0, 0, 0.08);

    --shadow-hover:
        0 12px 35px rgba(0, 0, 0, 0.15);

    --transition:
        all 0.3s ease;
}


/* =========================================================
   03. CONTAINER
========================================================= */

.container {
    width: 92%;
    max-width: var(--container);
    margin: 0 auto;
}


/* =========================================================
   04. TOP BAR
========================================================= */

.top-bar {
    background: var(--black);
    color: var(--white);
    font-size: 12px;
}

.top-bar .container {
    min-height: 36px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-bar p {
    letter-spacing: 0.5px;
}

.top-links {
    display: flex;
    gap: 25px;
}

.top-links a {
    color: #cccccc;
    transition: var(--transition);
}

.top-links a:hover {
    color: var(--orange);
}


/* =========================================================
   05. MAIN HEADER
========================================================= */

.header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;

    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.08);
}

.header-main {
    min-height: 82px;

    display: grid;
    grid-template-columns:
        auto
        minmax(300px, 1fr)
        auto;

    align-items: center;

    gap: 35px;
}


/* =========================================================
   06. LOGO
========================================================= */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    white-space: nowrap;
}

.logo img {
    width: 48px;
    height: 48px;

    object-fit: contain;
}

.logo span {
    color: var(--black);

    font-size: 19px;
    font-weight: 900;

    letter-spacing: 2px;
}


/* =========================================================
   07. SEARCH
========================================================= */

.search-container form {
    width: 100%;

    display: flex;

    background: #f2f2f2;

    border: 1px solid transparent;

    border-radius: var(--radius);

    overflow: hidden;

    transition: var(--transition);
}

.search-container form:focus-within {
    border-color: var(--orange);

    background: var(--white);

    box-shadow:
        0 0 0 3px rgba(255, 122, 0, 0.1);
}

.search-container input {
    flex: 1;

    min-width: 0;

    border: none;
    outline: none;

    background: transparent;

    padding: 14px 18px;

    color: var(--black);

    font-size: 14px;
}

.search-container input::placeholder {
    color: #888;
}

.search-container button {
    border: none;

    background: var(--orange);

    color: var(--white);

    padding: 0 25px;

    font-weight: 700;

    transition: var(--transition);
}

.search-container button:hover {
    background: var(--orange-hover);
}


/* =========================================================
   08. HEADER ACTIONS
========================================================= */

.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.account-link,
.cart-link {
    display: flex;
    flex-direction: column;

    font-size: 14px;

    transition: var(--transition);
}

.account-link span,
.cart-link span {
    font-weight: 700;
}

.account-link small,
.cart-link small {
    color: var(--gray);
    font-size: 11px;
}

.account-link:hover,
.cart-link:hover {
    color: var(--orange);
}

.cart-count {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 20px;
    height: 20px;

    margin-left: 5px;

    background: var(--orange);

    color: var(--white);

    border-radius: 50%;

    font-size: 11px;
}


/* =========================================================
   09. NAVIGATION
========================================================= */

.navigation {
    border-top: 1px solid #eeeeee;
}

.navigation nav {
    min-height: 48px;

    display: flex;
    align-items: center;

    gap: 28px;

    overflow-x: auto;

    scrollbar-width: none;
}

.navigation nav::-webkit-scrollbar {
    display: none;
}

.navigation nav a {
    position: relative;

    white-space: nowrap;

    color: #333;

    font-size: 14px;
    font-weight: 600;

    padding: 15px 0;

    transition: var(--transition);
}

.navigation nav a:hover {
    color: var(--orange);
}

.navigation nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 7px;

    width: 0;
    height: 2px;

    background: var(--orange);

    transition: var(--transition);
}

.navigation nav a:hover::after {
    width: 100%;
}


/* =========================================================
   10. HERO
========================================================= */

.hero {
    background:
        linear-gradient(
            135deg,
            #0d0d0d 0%,
            #171717 55%,
            #252525 100%
        );

    color: var(--white);

    overflow: hidden;
}

.hero-grid {
    min-height: 580px;

    display: grid;

    grid-template-columns:
        1fr
        0.9fr;

    align-items: center;

    gap: 60px;
}

.hero-content {
    max-width: 650px;
}

.section-label {
    display: inline-block;

    margin-bottom: 15px;

    color: var(--orange);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.hero h1 {
    margin-bottom: 22px;

    font-size:
        clamp(42px, 6vw, 78px);

    line-height: 0.98;

    font-weight: 900;

    letter-spacing: -2px;
}

.hero p {
    max-width: 550px;

    margin-bottom: 32px;

    color: #cccccc;

    font-size: 17px;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 100%;
}

.hero-image img {
    width: 100%;
    max-height: 500px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 25px 30px rgba(0, 0, 0, 0.5)
        );
}


/* =========================================================
   11. BUTTONS
========================================================= */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;
}

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 25px;

    border-radius: var(--radius-sm);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 0.5px;

    transition: var(--transition);
}

.btn-primary {
    background: var(--orange);

    color: var(--white);
}

.btn-primary:hover {
    background: var(--orange-hover);

    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid #555;

    color: var(--white);

    background: transparent;
}

.btn-outline:hover {
    border-color: var(--orange);

    color: var(--orange);
}


/* =========================================================
   12. GENERAL SECTIONS
========================================================= */

.section {
    padding: 80px 0;
}

.section-heading {
    margin-bottom: 40px;

    text-align: center;
}

.section-heading h2,
.products-header h2 {
    margin-bottom: 10px;

    color: var(--black);

    font-size:
        clamp(30px, 4vw, 42px);

    line-height: 1.1;
}

.section-heading p,
.products-header p {
    color: var(--gray);

    font-size: 15px;
}


/* =========================================================
   13. CATEGORIES
========================================================= */

.categories {
    background: var(--white);
}

.category-grid {
    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 18px;
}

.category-card {
    background: var(--white);

    border-radius: var(--radius);

    overflow: hidden;

    box-shadow: var(--shadow);

    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow-hover);
}

.category-image {
    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: #eeeeee;
}

.category-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.06);
}

.category-content {
    padding: 15px;
}

.category-content h3 {
    margin-bottom: 5px;

    font-size: 16px;
}

.category-content span {
    color: var(--orange);

    font-size: 12px;

    font-weight: 700;
}


/* =========================================================
   14. PROMOTIONAL BANNER
========================================================= */

.promo-section {
    padding: 0 0 80px;

    background: var(--white);
}

.promo-banner {
    min-height: 180px;

    padding: 35px 45px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            135deg,
            var(--black),
            #252525
        );

    color: var(--white);
}

.promo-banner span {
    color: var(--orange);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;
}

.promo-banner h2 {
    margin: 5px 0;

    font-size: 32px;
}

.promo-banner p {
    color: #bbbbbb;
}


/* =========================================================
   15. PRODUCTS SECTION
========================================================= */

.products-section {
    background: var(--light);
}

.products-header {
    margin-bottom: 35px;

    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;
}

.products-header .section-label {
    margin-bottom: 8px;
}

.view-all {
    color: var(--orange);

    font-size: 14px;

    font-weight: 800;

    white-space: nowrap;
}

.view-all:hover {
    text-decoration: underline;
}


/* =========================================================
   16. PRODUCT GRID
========================================================= */

.products-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}


/* =========================================================
   17. PRODUCT CARD
========================================================= */

.product-card {
    position: relative;

    background: var(--white);

    border-radius: var(--radius);

    overflow: hidden;

    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.05);

    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow-hover);
}

.product-img {
    position: relative;

    aspect-ratio: 1 / 1.08;

    background: #eeeeee;

    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}


/* =========================================================
   18. PRODUCT BADGE
========================================================= */

.product-badge {
    position: absolute;

    top: 12px;
    left: 12px;

    z-index: 2;

    padding: 6px 9px;

    background: var(--orange);

    color: var(--white);

    border-radius: 4px;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 0.5px;
}


/* =========================================================
   19. PRODUCT INFORMATION
========================================================= */

.product-info {
    padding: 18px;
}

product-name {
    margin-bottom: 7px;

    color: var(--black);

    font-size: 16px;

    font-weight: 700;

    line-height: 1.3;

    overflow: hidden;
}

.product-price {
    color: var(--orange);

    font-size: 20px;

    font-weight: 900;

    margin-bottom: 15px;
}
.product-description {
    min-height: 40px;

    margin-bottom: 12px;

    color: var(--gray);

    font-size: 12px;

    line-height: 1.5;

    overflow: hidden;
}

/* =========================================================
   20. PRODUCT BUTTON
========================================================= */

.product-btn {
    width: 100%;

    min-height: 44px;

    border: none;

    border-radius: var(--radius-sm);

    background: var(--black);

    color: var(--white);

    font-size: 13px;

    font-weight: 800;

    transition: var(--transition);
}

.product-btn:hover {
    background: var(--orange);

    transform: translateY(-1px);
}


/* =========================================================
   21. BRAND BANNER
========================================================= */

.brand-banner {
    padding: 100px 0;

    background:
        linear-gradient(
            135deg,
            #0d0d0d,
            #1d1d1d
        );

    color: var(--white);

    text-align: center;
}

.brand-banner h2 {
    margin-bottom: 20px;

    font-size:
        clamp(35px, 6vw, 65px);

    line-height: 1;

    font-weight: 900;
}

.brand-banner p {
    max-width: 550px;

    margin: 0 auto 30px;

    color: #bbbbbb;
}


/* =========================================================
   22. BENEFITS
========================================================= */

.benefits {
    background: var(--white);
}

.benefits-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.benefit-card {
    padding: 30px 20px;

    text-align: center;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    transition: var(--transition);
}

.benefit-card:hover {
    border-color: var(--orange);

    transform: translateY(-4px);

    box-shadow: var(--shadow);
}

.benefit-icon {
    width: 55px;
    height: 55px;

    margin: 0 auto 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff1e6;

    color: var(--orange);

    font-size: 22px;

    font-weight: 900;
}

.benefit-card h3 {
    margin-bottom: 8px;

    font-size: 17px;
}

.benefit-card p {
    color: var(--gray);

    font-size: 13px;
}


/* =========================================================
   23. ABOUT SECTION
========================================================= */

.about {
    background: var(--light);
}

.about-grid {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    align-items: center;

    gap: 70px;
}

.about-image {
    overflow: hidden;

    border-radius: var(--radius-lg);

    background: #dddddd;
}

.about-image img {
    width: 100%;

    aspect-ratio: 1 / 1;

    object-fit: cover;
}

.about-content h2 {
    margin-bottom: 25px;

    font-size:
        clamp(35px, 5vw, 55px);

    line-height: 1;

    font-weight: 900;
}

.about-content p {
    margin-bottom: 18px;

    color: var(--gray);

    font-size: 15px;
}


/* =========================================================
   24. COMMUNITY
========================================================= */

.community {
    padding: 90px 0;

    background: var(--black);

    color: var(--white);

    text-align: center;
}

.community h2 {
    margin-bottom: 15px;

    font-size:
        clamp(35px, 5vw, 55px);

    line-height: 1;
}

.community p {
    max-width: 550px;

    margin: 0 auto 30px;

    color: #bbbbbb;
}

.community-buttons {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 15px;
}


/* =========================================================
   25. FOOTER
========================================================= */

footer {
    background: #080808;

    color: var(--white);

    padding: 70px 0 25px;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr
        1fr;

    gap: 50px;

    padding-bottom: 50px;

    border-bottom:
        1px solid #292929;
}

.footer-logo img {
    width: 70px;
    height: 70px;

    object-fit: contain;

    margin-bottom: 15px;
}

.footer-brand h3 {
    margin-bottom: 12px;

    color: var(--orange);

    font-size: 17px;

    letter-spacing: 2px;
}

.footer-brand p {
    max-width: 300px;

    color: #999;

    font-size: 13px;
}

.footer-column {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.footer-column h3 {
    margin-bottom: 10px;

    font-size: 15px;
}

.footer-column a {
    width: fit-content;

    color: #999;

    font-size: 13px;

    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--orange);

    transform: translateX(3px);
}


/* =========================================================
   26. FOOTER BOTTOM
========================================================= */

.footer-bottom {
    padding-top: 25px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    color: #666;

    font-size: 11px;
}


/* =========================================================
   27. LOADING / EMPTY / ERROR STATES
========================================================= */

.loading,
.empty-state,
.error {
    grid-column: 1 / -1;

    padding: 60px 20px;

    text-align: center;

    color: var(--gray);

    background: var(--white);

    border-radius: var(--radius);
}

.error {
    color: var(--danger);
}


/* =========================================================
   28. RESPONSIVE - TABLET
========================================================= */

@media (max-width: 1100px) {

    .header-main {
        grid-template-columns:
            auto
            1fr;

        gap: 20px;
    }

    .header-actions {
        grid-column: 2;
        grid-row: 1;

        justify-content: flex-end;
    }

    .search-container {
        grid-column: 1 / -1;
        grid-row: 2;

        padding-bottom: 18px;
    }

    .category-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

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

    .benefits-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =========================================================
   29. RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 768px) {

    .container {
        width: 94%;
    }

    .top-bar .container {
        justify-content: center;
    }

    .top-links {
        display: none;
    }

    .header-main {
        display: flex;

        flex-wrap: wrap;

        gap: 15px;

        padding: 15px 0;
    }

    .logo {
        flex: 1;
    }

    .logo span {
        font-size: 16px;
    }

    .header-actions {
        gap: 15px;
    }

    .account-link small,
    .cart-link small {
        display: none;
    }

    .search-container {
        width: 100%;

        order: 3;

        padding-bottom: 0;
    }

    .navigation nav {
        gap: 20px;
    }

    .navigation nav a {
        font-size: 12px;
    }

    .hero-grid {
        min-height: auto;

        grid-template-columns: 1fr;

        padding-top: 70px;
        padding-bottom: 70px;

        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        max-height: 350px;
    }

    .section {
        padding: 60px 0;
    }

    .category-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 12px;
    }

    .promo-banner {
        flex-direction: column;

        align-items: flex-start;

        padding: 30px;
    }

    .products-header {
        flex-direction: column;

        align-items: flex-start;
    }

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

        gap: 12px;
    }

    .product-info {
        padding: 13px;
    }

    .product-name {
        font-size: 14px;
    }

    .product-price {
        font-size: 17px;
    }

    .about-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .about-content {
        text-align: center;
    }

    .about-content .section-label {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;

        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;
    }

}


/* =========================================================
   30. SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .logo img {
        width: 40px;
        height: 40px;
    }

    .logo span {
        font-size: 14px;

        letter-spacing: 1px;
    }

    .header-actions {
        gap: 10px;
    }

    .account-link,
    .cart-link {
        font-size: 12px;
    }

    .search-container button {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .category-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

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

    .product-description {
        display: none;
    }

    .product-btn {
        font-size: 11px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        font-size: 10px;
    }

}

