/* =========================================================
   URBAN STREET KITCHEN - GLOBAL
   ========================================================= */

html,
body,
.site,
.site-content,
.ast-container,
#primary,
.site-main {
    background: #000000 !important;
}

body {
    color: #f8f5ee;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header,
.ast-primary-header-bar,
.main-header-bar,
.ast-builder-grid-row-container {
    background: #000000 !important;
}

.main-header-menu .menu-link,
.ast-builder-menu-1 .menu-item > .menu-link,
.site-header a {
    color: #f8f5ee !important;
}

.main-header-menu .menu-link:hover,
.ast-builder-menu-1 .menu-item > .menu-link:hover,
.site-header a:hover {
    color: #c89b3c !important;
}

.main-header-menu .current-menu-item > .menu-link,
.main-header-menu .current_page_item > .menu-link {
    color: #c89b3c !important;
}

.site-header,
.ast-primary-header-bar,
.main-header-bar {
    border-bottom: none !important;
    box-shadow: none !important;
}

/* Håll logga + meny på samma bredd som resten */
.ast-primary-header-bar .ast-builder-grid-row,
.ast-primary-header-bar .site-primary-header-wrap {
    width: 100% !important;
    max-width: 1120px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* =========================================================
   HERO
   ========================================================= */

.usk-hero {
    position: relative;

    width: min(1120px, calc(100vw - 40px)) !important;
    max-width: 1120px !important;

    margin-left: 50% !important;
    margin-right: 0 !important;
    transform: translateX(-50%) !important;

    height: 310px;

    box-sizing: border-box;
    overflow: hidden;

    background-image:
        linear-gradient(
            90deg,
            rgba(8,8,8,0.99) 0%,
            rgba(8,8,8,0.97) 27%,
            rgba(8,8,8,0.90) 45%,
            rgba(8,8,8,0.68) 63%,
            rgba(8,8,8,0.18) 82%,
            rgba(8,8,8,0.00) 100%
        ),
        url('https://urbanstreetkitchen.se/wp-content/uploads/2026/09/hero1.png');

    background-size: cover;
    background-position: center 57%;
    background-repeat: no-repeat;
}

.usk-hero-inner {
    width: 100%;
    height: 100%;

    box-sizing: border-box;

    display: flex;
    align-items: center;

    padding: 26px 55px;
}

.usk-hero-content {
    width: 100%;
}

.usk-hero-topline {
    color: #c89b3c !important;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;

    margin-bottom: 14px;
}

.usk-hero-main {
    display: grid;

    grid-template-columns:
        minmax(370px, 1.45fr)
        minmax(180px, 0.85fr)
        minmax(180px, 0.85fr)
        minmax(180px, 0.85fr);

    align-items: center;
    gap: 0;
}

.usk-hero-intro {
    padding-right: 38px;
}

.usk-hero-title {
    margin: 0 0 22px 0 !important;

    color: #f8f5ee !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 27px !important;
    line-height: 1.08 !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;

    max-width: 440px;

    text-shadow: 0 2px 5px rgba(0,0,0,0.55);
}


/* =========================================================
   HERO BUTTON
   ========================================================= */

.usk-hero .usk-hero-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 18px !important;

    padding: 12px 24px !important;

    background-color: #c89b3c !important;
    background-image: none !important;

    border: 1px solid #c89b3c !important;
    border-radius: 7px !important;

    color: #000000 !important;

    text-decoration: none !important;

    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;

    box-shadow: none !important;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.usk-hero .usk-hero-btn,
.usk-hero .usk-hero-btn span {
    color: #000000 !important;
}

.usk-hero .usk-hero-btn:hover {
    background-color: #d4a846 !important;
    border-color: #d4a846 !important;
    color: #000000 !important;
    transform: translateY(-1px);
}


/* =========================================================
   HERO FEATURES
   ========================================================= */

.usk-hero-feature {
    min-height: 125px;
    padding: 6px 24px;
    box-sizing: border-box;

    border-left: 1px solid rgba(200,155,60,0.30) !important;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background: rgba(5,5,5,0.26);

    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

.usk-hero .usk-hero-icon {
    color: #c89b3c !important;

    font-size: 25px;
    line-height: 1;

    margin-bottom: 13px;

    text-shadow: 0 1px 4px rgba(0,0,0,0.90);
}

.usk-hero-feature-title {
    color: #f8f5ee !important;

    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;

    white-space: nowrap;

    margin-bottom: 8px;

    text-shadow: 0 1px 4px rgba(0,0,0,0.95);
}

.usk-hero-feature-text {
    color: rgba(248,245,238,0.90) !important;

    font-size: 15px;
    line-height: 1.5;

    max-width: 185px;

    text-shadow: 0 1px 4px rgba(0,0,0,0.90);
}


/* =========================================================
   CATEGORY TABS
   ========================================================= */

.usk-category-tabs {
    width: 100%;
    max-width: 1120px;

    margin: 26px auto 24px auto;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

    gap: 14px;

    box-sizing: border-box;
}

.usk-cat-btn {
    appearance: none;

    border: 1px solid #c89b3c !important;
    border-radius: 999px !important;

    background: #000000 !important;
    color: #f8f5ee !important;

    padding: 10px 24px !important;

    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;

    white-space: nowrap;
    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.usk-cat-btn:hover {
    background: #15110a !important;
    color: #f8f5ee !important;
    transform: translateY(-1px);
}

.usk-cat-btn.active {
    background: #c89b3c !important;
    border-color: #c89b3c !important;
    color: #000000 !important;
}


/* =========================================================
   PRODUCT GRID - 3 EQUAL COLUMNS WITH REAL SPACING
   ========================================================= */

.woocommerce ul.products.columns-3 {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;

    column-gap: 20px !important;
    row-gap: 40px !important;

    width: 100% !important;
    max-width: 1120px !important;

    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
}

.woocommerce ul.products.columns-3 > li.product {
    float: none !important;
    clear: none !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    flex-direction: column !important;

    background: #f3eee4 !important;

    border: 1px solid rgba(200,155,60,0.45) !important;
    border-radius: 12px !important;

    overflow: hidden !important;
    box-sizing: border-box !important;
}


/* =========================================================
   PRODUCT IMAGE
   ========================================================= */

.woocommerce ul.products li.product .astra-shop-thumbnail-wrap {
    width: 100% !important;
}

.woocommerce ul.products li.product a img {
    width: 100% !important;
    display: block !important;

    margin: 0 !important;

    border-radius: 0 !important;
}


/* Dölj Astras lilla hover-varukorg på bilden */
.woocommerce ul.products li.product .ast-on-card-button {
    display: none !important;
}


/* =========================================================
   PRODUCT SUMMARY
   ========================================================= */

.woocommerce ul.products li.product .astra-shop-summary-wrap {
    flex: 1 1 auto !important;

    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: auto 1fr auto !important;

    column-gap: 16px !important;

    padding: 0 0 18px 0 !important;

    box-sizing: border-box !important;
}

.woocommerce ul.products li.product .ast-woo-product-category {
    display: none !important;
}

.woocommerce ul.products li.product a {
    text-decoration: none !important;
}


/* =========================================================
   PRODUCT TITLE
   ========================================================= */

.woocommerce ul.products li.product .ast-loop-product__link {
    grid-column: 1 / -1 !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: #111111 !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 22px !important;
    line-height: 1.08 !important;
    font-weight: 700 !important;

    min-height: 52px !important;

    margin: 18px 20px 8px 20px !important;
    padding: 0 !important;
}


/* =========================================================
   PRODUCT PRICE
   ========================================================= */

.woocommerce ul.products li.product .price {
    grid-column: 1 !important;
    grid-row: 3 !important;

    align-self: center !important;

    display: block !important;

    color: #111111 !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 19px !important;
    font-weight: 700 !important;

    margin: 0 0 0 20px !important;
}


/* =========================================================
   PRODUCT BUTTON
   ========================================================= */

.woocommerce ul.products li.product .button {
    grid-column: 2 !important;
    grid-row: 3 !important;

    align-self: center !important;

    float: none !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-width: 150px !important;

    margin: 0 18px 0 0 !important;
    padding: 12px 22px !important;

    background: #0b0b0b !important;

    border: 1px solid #0b0b0b !important;
    border-radius: 8px !important;

    color: #c89b3c !important;

    font-size: 15px !important;
    font-weight: 700 !important;

    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
}

.woocommerce ul.products li.product .button:hover {
    background: #c89b3c !important;
    border-color: #c89b3c !important;
    color: #000000 !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1200px) {

    .usk-hero {
        height: auto;
        min-height: 310px;
    }

    .usk-hero-inner {
        min-height: 310px;
        padding: 28px 32px;
    }

    .usk-hero-main {
        grid-template-columns:
            minmax(320px, 1.25fr)
            1fr
            1fr
            1fr;
    }

    .usk-hero-title {
        font-size: 26px !important;
    }

    .usk-hero-feature {
        padding-left: 18px;
        padding-right: 14px;
    }
}

@media (max-width: 900px) {

    .woocommerce ul.products.columns-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .usk-hero {
        width: calc(100vw - 20px) !important;

        height: auto;
        min-height: 0;

        background-image:
            linear-gradient(
                180deg,
                rgba(8,8,8,0.97) 0%,
                rgba(8,8,8,0.92) 48%,
                rgba(8,8,8,0.65) 72%,
                rgba(8,8,8,0.35) 100%
            ),
            url('https://urbanstreetkitchen.se/wp-content/uploads/2026/09/hero1.png');

        background-position: center center;
    }

    .usk-hero-inner {
        height: auto;
        min-height: 0;

        padding: 24px 20px;
    }

    .usk-hero-main {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .usk-hero-intro {
        padding-right: 0;
    }

    .usk-hero-title {
        font-size: 25px !important;
        max-width: 100%;
    }

    .usk-hero .usk-hero-btn {
        width: 100% !important;
        box-sizing: border-box;
    }

    .usk-hero-feature {
        min-height: auto;

        padding: 10px 12px 10px 14px;

        background: rgba(5,5,5,0.32);
    }

    .usk-hero-feature-title {
        white-space: normal;
    }

    .usk-hero-feature-text {
        max-width: none;
    }

    .usk-category-tabs {
        gap: 9px;

        margin-top: 20px;
        margin-bottom: 20px;

        padding: 0 14px;
    }

    .usk-cat-btn {
        padding: 9px 16px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 600px) {

    .woocommerce ul.products.columns-3 {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .woocommerce ul.products li.product .astra-shop-summary-wrap {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto auto !important;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        min-height: 0 !important;

        font-size: 19px !important;

        margin: 16px 16px 8px 16px !important;
    }

    .woocommerce ul.products li.product .price {
        grid-column: 1 !important;
        grid-row: auto !important;

        margin: 8px 16px !important;
    }

    .woocommerce ul.products li.product .button {
        grid-column: 1 !important;
        grid-row: auto !important;

        width: calc(100% - 32px) !important;
        min-width: 0 !important;

        margin: 0 16px 16px 16px !important;
    }
}
